From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v3] u-boot: enable dhcp for MPC8315 board
Date: Wed, 7 Jun 2017 16:21:52 +0300 [thread overview]
Message-ID: <1496841712-26887-1-git-send-email-ed.bartosh@linux.intel.com> (raw)
In-Reply-To: <20170607123145.1043.50092@do.openembedded.org>
Getting ip address from DHCP server is much more convenient
than setting static ip. It allows to configure u-boot in
more generic way and to avoid hardcoding static ip in
u-boot configuration.
Enabled dhcp client functionality for Yocto reference
hardware MPC8315E-RDB.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
---
.../u-boot/files/MPC8315ERDB-enable-DHCP.patch | 19 +++++++++++++++++++
meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc | 4 +++-
2 files changed, 22 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch
diff --git a/meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch b/meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch
new file mode 100644
index 0000000..5a41108
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch
@@ -0,0 +1,19 @@
+Enabled dhcp client functionality for Yocto reference
+hardware MPC8315E-RDB.
+
+Upstream-Status: Submitted
+
+Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
+
+diff --git a/configs/MPC8315ERDB_defconfig b/configs/MPC8315ERDB_defconfig
+index 4e2b705..b02ab1f 100644
+--- a/configs/MPC8315ERDB_defconfig
++++ b/configs/MPC8315ERDB_defconfig
+@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
+ CONFIG_CMD_I2C=y
+ CONFIG_CMD_USB=y
+ # CONFIG_CMD_SETEXPR is not set
++CONFIG_CMD_DHCP=y
+ CONFIG_CMD_MII=y
+ CONFIG_CMD_PING=y
+ CONFIG_CMD_EXT2=y
diff --git a/meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc b/meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc
index df24c85..8ee1c32 100644
--- a/meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc
+++ b/meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc
@@ -9,6 +9,8 @@ PE = "1"
# repo during parse
SRCREV = "a705ebc81b7f91bbd0ef7c634284208342901149"
-SRC_URI = "git://git.denx.de/u-boot.git"
+SRC_URI = "git://git.denx.de/u-boot.git \
+ file://MPC8315ERDB-enable-DHCP.patch \
+"
S = "${WORKDIR}/git"
--
2.1.4
next prev parent reply other threads:[~2017-06-07 13:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-07 12:05 [PATCH] u-boot: enable dhcp for MPC8315 board Ed Bartosh
2017-06-07 12:12 ` Burton, Ross
2017-06-07 12:29 ` [PATCH v2] " Ed Bartosh
[not found] ` <1496838489-25242-1-git-send-email-ed.bartosh@linux.intel.com>
[not found] ` <1496838748.6630.214.camel@linuxfoundation.org>
[not found] ` <20170608004333.GH10782@bill-the-cat>
2018-05-04 2:01 ` [poky] " Trevor Woerner
2018-05-04 2:03 ` Tom Rini
2017-06-07 12:31 ` ✗ patchtest: failure for u-boot: enable dhcp for MPC8315 board (rev2) Patchwork
2017-06-07 13:21 ` Ed Bartosh [this message]
2017-06-07 13:24 ` [PATCH v4] u-boot: enable dhcp for MPC8315 board Ed Bartosh
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=1496841712-26887-1-git-send-email-ed.bartosh@linux.intel.com \
--to=ed.bartosh@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox