tizen: bootscript: vf2: Set eth0 ip addr only for flash boot mode
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 30 Aug 2023 06:35:00 +0000 (15:35 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 17 Oct 2023 11:02:46 +0000 (20:02 +0900)
commitbbf61268bb83006cd588333b2e39742904b8ac31
tree142815be184e22d8b5a81aac0437f6ca7c8bfb83
parentcd09e41017db11f8d724ed76a53f290ee9453c48
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