Skip to contentSkip to conversation

x86: theadorable-x86-common: Remove "ip=dhcp" from default environment

PATCH New Stefan Roese 2 participants 3 messages Aug 30, 2017 – Sep 2, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: theadorable-x86-common: Remove "ip=dhcp" from default environment

Without ethernet cable plugged, "ip=dhcp" leads to a complete hangup in Linux booting and the system does not boot into userland at all. Since its not required to have an active network connection on these board, lets remove this statement from the default environment.

---
 include/configs/theadorable-x86-common.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/configs/theadorable-x86-common.h +2 -2
index 37b78c1b57..8de659a496 100644
@@ -88,7 +88,7 @@
 		"/boot/initrd.img-${kernel-ver}-generic;"	\
 		"run boot\0"					\
 	"yocto_args=setenv bootargs root=/dev/sda${yocto_part} " \
-		"ip=dhcp panic=1\0"				\
+		"panic=1\0"				\
 	"yocto_args_fast=setenv bootargs root=/dev/sda${yocto_part} " \
 		"quiet panic=1\0"				\
 	"yocto_boot=run yocto_args addmtd addmisc addtty_yocto;" \
@@ -110,7 +110,7 @@
 		"fi\0"						\
 	"swupdate-initrd=/boot/swupdate-image-theadorable.ext4.gz\0" \
 	"swupdate-kernel=/boot/bzImage\0"			\
-	"swupdate_args=setenv bootargs root=/dev/ram rw ip=dhcp panic=1\0" \
+	"swupdate_args=setenv bootargs root=/dev/ram rw panic=1\0" \
 	"swupdate_dev=0\0"					\
 	"swupdate_factory=0\0"					\
 	"swupdate_interface=usb\0"				\
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 x86: theadorable-x86-common: Remove "ip=dhcp" from default environment

Quoted 11 lines · Stefan Roese

Without ethernet cable plugged, "ip=dhcp" leads to a complete hangup in Linux booting and the system does not boot into userland at all. Since its not required to have an active network connection on these board, lets remove this statement from the default environment.

---
 include/configs/theadorable-x86-common.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
#2 lore raw

PATCH 1/1 x86: theadorable-x86-common: Remove "ip=dhcp" from default environment

Quoted 6 lines · Bin Meng
Quoted 5 lines · Stefan Roese

Without ethernet cable plugged, "ip=dhcp" leads to a complete hangup in Linux booting and the system does not boot into userland at all. Since its not required to have an active network connection on these board, lets remove this statement from the default environment.

Quoted 8 lines
Quoted 6 lines
---
 include/configs/theadorable-x86-common.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

applied to u-boot-x86, thanks!