Port-RISCV archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD on Allwinner D1 / Mango Pi MQ-Pro
Hi,
What needs to be done to fix this?
Have you made progress on this? I now have a Mango Pi and am
also interested in getting this working better.
I was able to get things running :) I used the u-boot binary boot blocks
from here:
https://mail-index.netbsd.org/port-riscv/2026/04/01/msg000269.html
and the diffs from here:
https://mail-index.netbsd.org/port-riscv/2024/08/04/msg000127.html
along with these diffs for the kernel config file (SUN20I_D1):
35c35
< options SOC_SUN20I_D1
---
#options SOC_SUN20I_D1
43,44c43,44
< sunxiresets* at fdt? pass 1 # Allwinner Misc. clock resets
< sunxigates* at fdt? pass 1 # Allwinner Misc. clock gates
---
#sunxiresets* at fdt? pass 1 # Allwinner Misc. clock resets
#sunxigates* at fdt? pass 1 # Allwinner Misc. clock gates
54c54
< #sunxiwdt* at fdt? # Allwinner watchdog
---
sunxiwdt* at fdt? # Allwinner watchdog
124a125,126
rgephy* at mii? phy ? # Realtek 8169S/8110S/8211 PHYs
rlphy* at mii? phy ? # Realtek 8139/8201L PHYs
The watchdog is mandatory, else you get a reboot very shortly after the
kernel finishes booting, and the phy* are for the USB ethernet adapters
I've used with the MQ-Pro.
I used this kernel and u-boot with the image here (although I made the
FFSv2 myself and added a swap partition):
https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/riscv-riscv64/binary/gzimg/riscv64.img.gz
and I've got a happy, running system (dmesg is linked in that page):
https://poofydoof.zia.io
I hope this helps :)
John
Home |
Main Index |
Thread Index |
Old Index