Skip to contentSkip to conversation

MX5: Unable to get ip address when using dhcp

PATCH New Jason Liu 3 participants 3 messages Oct 20, 2010 – Oct 21, 2010

lore
Share & tools
lore

Jason Liu

author
#0 lore raw

PATCH 1/1 MX5: Unable to get ip address when using dhcp

Can't get IP address with dhcp due to the dhcp server not allow the empty param list request under some network env

Add the advanced DHCP options to fix this issue:

CONFIG_BOOTP_SUBNETMASK
CONFIG_BOOTP_GATEWAY
CONFIG_BOOTP_DNS

---
 include/configs/mx51evk.h |    4 ++++
 include/configs/vision2.h |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)
include/configs/mx51evk.h +4 -0
index 291404c..b1f673d 100644
@@ -105,6 +105,10 @@
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_MII
 #define CONFIG_CMD_NET
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_DNS
+
 
 /* allow to overwrite serial and ethaddr */
 #define CONFIG_ENV_OVERWRITE
include/configs/vision2.h +4 -0
index a2ecbe5..7fdf17f 100644
@@ -127,6 +127,10 @@
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_MII
 #define CONFIG_CMD_NET
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_DNS
+
 
 /* allow to overwrite serial and ethaddr */
 #define CONFIG_ENV_OVERWRITE
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 MX5: Unable to get ip address when using dhcp

Dear Jason Liu,

Quoted 10 lines · In message <[email protected]> you wrote:

Can't get IP address with dhcp due to the dhcp server not allow the empty param list request under some network env

Add the advanced DHCP options to fix this issue:

CONFIG_BOOTP_SUBNETMASK
CONFIG_BOOTP_GATEWAY
CONFIG_BOOTP_DNS

Please test if Gray Remlin's patch "Fix potential empty DHCP Parameter Request List" fixes the problem for you; see
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/86874

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Life, loathe it or ignore it, you can't like it."
- Marvin the paranoid android
#2 lore raw

PATCH 1/1 MX5: Unable to get ip address when using dhcp

Hi, Wolfgang,

2010/10/20 Wolfgang Denk <[email protected]>:

Quoted 12 lines

Dear Jason Liu,

Quoted 9 lines · In message <[email protected]> you wrote:

Can't get IP address with dhcp due to the dhcp server not allow the empty param list request under some network env

Add the advanced DHCP options to fix this issue:

CONFIG_BOOTP_SUBNETMASK
CONFIG_BOOTP_GATEWAY
CONFIG_BOOTP_DNS

Quoted 5 lines
Quoted 1 line

Please test if Gray Remlin's patch "Fix potential empty DHCP Parameter Request List" fixes the problem for you; see
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/86874

I have tested this patch, it works. Thanks,

Quoted 16 lines

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, ? ? MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Life, loathe it or ignore it, you can't like it."
- Marvin the paranoid android
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot