From: Jason Liu <r64343@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/1] MX5: Unable to get ip address when using dhcp
Date: Wed, 20 Oct 2010 14:11:28 +0800 [thread overview]
Message-ID: <1287555088-3125-1-git-send-email-r64343@freescale.com> (raw)
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
Signed-off-by: Jason Liu <r64343@freescale.com>
---
include/configs/mx51evk.h | 4 ++++
include/configs/vision2.h | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
index 291404c..b1f673d 100644
--- a/include/configs/mx51evk.h
+++ b/include/configs/mx51evk.h
@@ -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
diff --git a/include/configs/vision2.h b/include/configs/vision2.h
index a2ecbe5..7fdf17f 100644
--- a/include/configs/vision2.h
+++ b/include/configs/vision2.h
@@ -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
--
1.7.0.4
next reply other threads:[~2010-10-20 6:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 6:11 Jason Liu [this message]
2010-10-20 7:10 ` [U-Boot] [PATCH 1/1] MX5: Unable to get ip address when using dhcp Wolfgang Denk
2010-10-21 1:29 ` Jason Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1287555088-3125-1-git-send-email-r64343@freescale.com \
--to=r64343@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.