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



On 25/05/2026 21:53, John Klos wrote:
> 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

Not sure why this hasn't made it into pkgsrc

> 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.

GENERIC64 should work I think. I just added rgephy.




Home | Main Index | Thread Index | Old Index