From e3618a43b1566ca3214b43d57e1a092f996e6f09 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Thu, 7 Nov 2024 18:33:02 +0900 Subject: [PATCH] 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 --- tizen/bootscript/tizen-boot-lpi4a.scr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1