Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD on OrangePi 5 (RK3588)




> Am 03.07.2023 um 10:48 schrieb Michael van Elst <mlelstv%serpens.de@localhost>:
> 
> bsiegert%gmail.com@localhost (Benny Siegert) writes:
> 
>> SDHC (RKCPFE2C) at acpi0 not configured
> 
> sdhc_acpi.c doesn't match this for whatever reason.

Thanks for the hint. I added an entry to sdhc_acpi.c, and it finds the device but fails to set the clock rate. The IRQ and memory look correct according to the RK3588 TRM.

sdhc0 at acpi0 (SDHC, RKCPFE2C-1): mem 0xfe2c0000-0xfe2c3fff irq 235
sdhc0: SDHC 1.0, rev 0, caps <00000000/00000000>, PIO
sdhc0: autoconfiguration error: unknown base clock frequency 
sdhc0: autoconfiguration error: couldn’t initialize host

In the same file, there is a hack for some other Rockchip SDHC but I could not figure out how to connect that to this device.


>> With the root filesystem on a USB storage device, the kernel panics when =
>> accessing the root device (https://photos.app.goo.gl/VK2ddfATYdU41ZMe7).
> 
> I would guess that's a race between USB storage and the USB console
> keyboard (which forces polled I/O). Does it crash without the USB
> keyboard?

No, but it hangs at „root device: " so I guess it does not find the USB storage either.

— 
Benny


Home | Main Index | Thread Index | Old Index