board/visionfive2: add rootwait to kernel command line

MMC cards are detected asynchronously, so the root device may not be
available when the kernel tries to mount the root filesystem.

Add rootwait to wait for the root device and avoid a kernel panic.

Fixes: 4567c35d06 ("configs/visionfive2: bump OpenSBI to 1.6, Linux to 6.12.24 and U-Boot to 2025.04")
Signed-off-by: Fengwei Tan <tfx2001@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fengwei Tan
2026-09-19 18:29:01 +08:00
committed by Thomas Petazzoni
parent 69d99305e5
commit c6a2765091

View File

@@ -1,4 +1,4 @@
label linux
kernel /boot/Image
devicetree /boot/jh7110-starfive-visionfive-2-v1.3b.dtb
append console=ttyS0,115200 root=/dev/mmcblk1p3
append console=ttyS0,115200 root=/dev/mmcblk1p3 rootwait