From c3dcf99b65eab51d5ce2b2154e0fe06bb31d3bbb Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Wed, 30 Aug 2023 15:35:00 +0900 Subject: [PATCH] tizen: bootscript: vf2: Set eth0 ip addr only for flash boot mode The visionfive2 board has two ethernet interfaces and setting ipaddr without intercace, 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-starfive/tree/Documentation/admin-guide/nfs/nfsroot.rst?h=tizen Change-Id: Ia927d2e64945ef9cc48685e4640c9f366898eb6e Signed-off-by: Seung-Woo Kim --- tizen/bootscript/tizen-boot-vf2.scr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tizen/bootscript/tizen-boot-vf2.scr b/tizen/bootscript/tizen-boot-vf2.scr index 0be8dd6a62..2d5cd87508 100644 --- a/tizen/bootscript/tizen-boot-vf2.scr +++ b/tizen/bootscript/tizen-boot-vf2.scr @@ -84,7 +84,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