From: Seung-Woo Kim Date: Thu, 7 Nov 2024 09:33:02 +0000 (+0900) Subject: tizen: bootscript: Set eth0 ip addr only for flash boot mode X-Git-Tag: accepted/tizen/unified/x/20241108.111144^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3618a43b1566ca3214b43d57e1a092f996e6f09;p=platform%2Fkernel%2Fu-boot-thead.git tizen: bootscript: Set eth0 ip addr only for flash boot mode The lpi-4a board has two ethernet interfaces and setting ipaddr without an interface, it tries all interface for all enabled autoconfiguration protocol. Sometimes, this causes boot hang to get recv from an ethernet interface for an autoconfiguration protocol. To remove the possible boot hang, set only eth0 ip addr for flash boot mode. Refer ip= part of below kernel doc: https://git.tizen.org/cgit/platform/kernel/linux-thead/tree/Documentation/admin-guide/nfs/nfsroot.rst?h=tizen Change-Id: I3aa5d59551aea147cd14d464eb501fcc0e843d54 Signed-off-by: Seung-Woo Kim --- diff --git a/tizen/bootscript/tizen-boot-lpi4a.scr b/tizen/bootscript/tizen-boot-lpi4a.scr index aa834e92..33226d9a 100644 --- a/tizen/bootscript/tizen-boot-lpi4a.scr +++ b/tizen/bootscript/tizen-boot-lpi4a.scr @@ -54,7 +54,7 @@ fi if test "${bootmode}" = "flash"; then; if test -n "${ipaddr}"; then; - ip_opt=\"ip=${ipaddr}::${gateway}:${netmask}\" + ip_opt=\"ip=${ipaddr}::${gateway}:${netmask}::eth0:off\" fi fi