From: Marek Szyprowski Date: Thu, 28 Jan 2021 10:08:57 +0000 (+0100) Subject: tizen: rpi: add temporary workaround for usb boot X-Git-Tag: accepted/tizen/unified/20221108.163909~89 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00bda4e839b85ad24300f9d93c220863686c22f2;p=platform%2Fkernel%2Fu-boot.git tizen: rpi: add temporary workaround for usb boot rootfs on USB device requires a bit more time to initialize and it is probed asynchronously. This might happen after the initramfs is mounted and init started, so add 2 seconds delay in case of USB boot to let initramfs to detect the rootfs. Signed-off-by: Marek Szyprowski Change-Id: If4c1f12bd556ee3811b035c403ce832cf16c940b --- diff --git a/tizen/bootscript/tizen-boot-rpi3.scr b/tizen/bootscript/tizen-boot-rpi3.scr index fc59caf53a..49b0d6bdad 100644 --- a/tizen/bootscript/tizen-boot-rpi3.scr +++ b/tizen/bootscript/tizen-boot-rpi3.scr @@ -5,6 +5,7 @@ if test "${target}" = "mmc0"; then; fi if test "${target}" = "usb0"; then; setenv bootdev usb + setenv opts "${opts} rootdelay=2" fi echo "Tizen: checking partition layout on boot device" diff --git a/tizen/bootscript/tizen-boot-rpi4.scr b/tizen/bootscript/tizen-boot-rpi4.scr index 6a8b8afde9..759a284306 100644 --- a/tizen/bootscript/tizen-boot-rpi4.scr +++ b/tizen/bootscript/tizen-boot-rpi4.scr @@ -5,6 +5,7 @@ if test "${target}" = "mmc0"; then; fi if test "${target}" = "usb0"; then; setenv bootdev usb + setenv opts "${opts} rootdelay=2" fi echo "Tizen: checking partition layout on boot device"