tizen: bootscript: vf2: Set eth0 ip addr only for flash boot mode 20/298020/1 accepted/tizen/unified/riscv/20230903.234427
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 30 Aug 2023 06:35:00 +0000 (15:35 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 30 Aug 2023 06:38:22 +0000 (15:38 +0900)
commitc3dcf99b65eab51d5ce2b2154e0fe06bb31d3bbb
tree5c43038edace72261c6b1288868ad3e2441ffaef
parent11442368911b9042ade4b4d6b4bda523aaca7cff
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 <sw0312.kim@samsung.com>
tizen/bootscript/tizen-boot-vf2.scr