Re: [PATCH 0/6] RISC-V: Add eMMC support for TH1520 boards

From: Xi Ruoyao
Date: Sat Sep 23 2023 - 12:33:51 EST


On Fri, 2023-09-22 at 09:23 -0700, Drew Fustini wrote:
> > I've tested this branch and successfully booted a rootfs on Lichee Pi 4A
> > eMMC with rootdelay=10.
> >
> > Curiously is there some way to make it work without rootdelay?
>
> Thank you for testing.
>
> This is the kernel command line that I am using on both the lpi4 and
> the ahead:
>
> root=/dev/mmcblk0p3 ro rootfstype=ext4 rootwait console=ttyS0,115200
>
> I seem to recall that before I used rootwait that there would be a VFS
> oops because mmcblk0p3 didn't exist yet.
>
> Have you tried rootwait instead of the 10 second delay?

I just tried rootwait several times and it works for me.

(When I tried it yesterday it did not work initially, so I switched to
rootdelay. I guess I'd mistyped something in the initial attempt).

--
Xi Ruoyao <xry111@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University