Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Results of more testing on Orange PI zero/one boards
On Mon, Sep 11, 2023 at 10:10:43PM +0100, Dave Tyson wrote:
> I have been doing a bit more testing of orangepi-zero and orangepi-one
> systems under NetBSD-9, NetBSD-10 and NetBSD-current. I reported a few
> problems a few weeks ago on these two boards and wanted to report what
> I have found. I am using images from armbsd.org
>
> Both boards seem to work fine on NetBSD-9.
>
> The orangepi-one board fails to boot successfully under NetBSD-10 or
> NetBSD-current. The problem is due to the kernel not finding a root
> device as the sdcard is not detected/attached.
>
> There is a workaround: If the orangepi-one dtb on the above media is
> replaced by the dtb supplied under NetBSD-9 then the board boots
> correctly. Looking at the differences between the decompiled dtbs
> from NetBSD-9 and NetBSD-10 there are a few significant differences
> and I wonder if something is tripping up the code which parses the
> in-core dtb to enumerate the device tree. If someone could point me
> to where in the source tree this code lives then I could try adding
> some debug code to see what is happening...
>
> dmesg NetBSD-10 unmodified:
sunximmc0 is not attached.
The source file for this driver is src/sys/arch/arm/sunxi/sunxi_mmc.c
the match function should return 1 when provided with the right compat
string.
I don't remember if
char *entry = fdtbus_get_string(faa->faa_phandle, "compatible");
printf("sunxi_mmc_match on %s called with %s\n", faa->faa_name, entry);
would do anything usefull in sunxi_mmc_match() but it's worth a try
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index