From ee4307f15d83364f12233647f8f28c243d27465a Mon Sep 17 00:00:00 2001 From: Marek Szyprowski Date: Thu, 28 Jan 2021 11:08:57 +0100 Subject: [PATCH] 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 --- tizen/bootscript/tizen-boot-rpi3.scr | 1 + tizen/bootscript/tizen-boot-rpi4.scr | 1 + 2 files changed, 2 insertions(+) diff --git a/tizen/bootscript/tizen-boot-rpi3.scr b/tizen/bootscript/tizen-boot-rpi3.scr index fc59caf..49b0d6b 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 6a8b8af..759a284 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" -- 2.7.4