diff mbox series

[meta-ti,scarthgap/master,1/3] wic: sdimage-2part-efi: Add rootwait kernel param

Message ID 20250728165437.571427-1-afd@ti.com
State New
Headers show
Series [meta-ti,scarthgap/master,1/3] wic: sdimage-2part-efi: Add rootwait kernel param | expand

Commit Message

Andrew Davis July 28, 2025, 4:54 p.m. UTC
This is important for many boot media such as MMC/SD as there may be a
delay in mounting rootfs which can cause boot failure if kernel does
not wait for the rootfs. Add this as one of the default params given
to the kernel. This is already the case for most U-Boot kernel cmd
lines, this adds the same when doing EFI boot.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 meta-ti-bsp/wic/sdimage-2part-efi.wks.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-ti-bsp/wic/sdimage-2part-efi.wks.in b/meta-ti-bsp/wic/sdimage-2part-efi.wks.in
index ae38daa7..7252411c 100644
--- a/meta-ti-bsp/wic/sdimage-2part-efi.wks.in
+++ b/meta-ti-bsp/wic/sdimage-2part-efi.wks.in
@@ -3,6 +3,6 @@ 
 # supports EFI.  Boot files are located in the first vfat partition with extra
 # reserved space.  We cannot use a GPT here.
 
-bootloader --timeout=3 --append="rootfstype=ext4 ${TI_WKS_BOOTLOADER_APPEND}"
+bootloader --timeout=3 --append="rootfstype=ext4 rootwait ${TI_WKS_BOOTLOADER_APPEND}"
 part --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --fstype=vfat --label boot --active --align 1024 --use-uuid --fixed-size 128M
 part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid