u-boot: enable dhcp for MPC8315 board
PATCH 1/1 u-boot: enable dhcp for MPC8315 board
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.
--- meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc +3 -1
@@ -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"
Signature · 1 line
2.1.4
Quoted 2 lines · Ed Bartosh
+ file://MPC8315ERDB-enable-DHCP.patch \
This file isn't in the patch.
Ross
PATCH v2 1/1 u-boot: enable dhcp for MPC8315 board
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.
--- meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch | 12 ++++++++++++ meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch
meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch new file +12 -0
@@ -0,0 +1,12 @@ +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
meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc +3 -1
@@ -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"
Signature · 1 line
2.1.4
sorry, wrong list
please, ignore
Quoted 50 lines · Ed Bartosh
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 <[email protected]>--- meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch | 12 ++++++++++++ meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patchmeta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch new file +12
-0@@ -0,0 +1,12 @@ +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=ymeta/recipes-bsp/u-boot/u-boot-common_2017.01.inc +3
-1@@ -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"Signature · 1 line
2.1.4
Signature · 3 lines
-- Regards, Ed
Quoted 9 lines · Ed Bartosh
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 <[email protected]>
Quoted 8 lines
---
meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch | 12
++++++++++++
meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc | 4
+++-2 files changed, 15 insertions(+), 1 deletion(-)create mode 100644 meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable- DHCP.patch
These files are in OE-Core, not meta-yocto but you sent them to the poky list?
Cheers,
Richard
Quoted 19 lines · Richard Purdie
Quoted 9 lines · Ed Bartosh
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 <[email protected]>Quoted 8 lines
---
meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch | 12
++++++++++++
meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc | 4
+++-2 files changed, 15 insertions(+), 1 deletion(-)create mode 100644 meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable- DHCP.patch
Quoted 2 lines
These files are in OE-Core, not meta-yocto but you sent them to the poky list?
And really ought to be upstreamed? :)
Signature · 1 line
Tom
Quoted 10 lines · Tom Rini
Quoted 8 lines · Richard Purdie
Quoted 7 lines · Ed Bartosh
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.
Is this really something that should be part of the oe-core recipe? This looks more like something one would find in a BSP layer.
Quoted 9 lines · Trevor Woerner
Quoted 7 lines · Tom Rini
Quoted 6 lines · Richard Purdie
Quoted 5 lines · Ed Bartosh
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.
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Enabled dhcp client functionality for Yocto reference hardware MPC8315E-RDB.
Is this really something that should be part of the oe-core recipe? This looks more like something one would find in a BSP layer.
It was since it was needed to make this reference BSP slightly more usable. It's since been merged upstream.
Signature · 1 line
Tom
PATCH v2 1/1 u-boot: enable dhcp for MPC8315 board
In reply to Burton, RossGetting 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.
--- meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch | 12 ++++++++++++ meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch
meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch new file +12 -0
@@ -0,0 +1,12 @@ +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
meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc +3 -1
@@ -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"
Signature · 1 line
2.1.4
✗ patchtest: failure for u-boot: enable dhcp for MPC8315 board (rev2)
In reply to Ed Bartosh== Series Details ==
Series: u-boot: enable dhcp for MPC8315 board (rev2)
Revision: 2
URL : https://patchwork.openembedded.org/series/7108/
State : failure
== Summary ==
Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:
* Issue Added patch file is missing Upstream-Status in the header [test_upstream_status_presence]
Suggested fix Add Upstream-Status: <status> to the header of meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch (possible values: Pending, Submitted, Accepted, Backport, Denied, Inappropriate)
* Issue A patch file has been added, but does not have a Signed-off-by tag [test_signed_off_by_presence]
Suggested fix Sign off the added patch file (meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch)
If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).
---
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
PATCH v3 1/1 u-boot: enable dhcp for MPC8315 board
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.
--- .../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
meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch new file +19 -0
@@ -0,0 +1,19 @@ +Enabled dhcp client functionality for Yocto reference +hardware MPC8315E-RDB. + +Upstream-Status: Submitted + +Signed-off-by: Ed Bartosh <[email protected]> + +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
meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc +3 -1
@@ -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"
Signature · 1 line
2.1.4
PATCH v4 1/1 u-boot: enable dhcp for MPC8315 board
In reply to PatchworkGetting 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.
--- .../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
meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch new file +19 -0
@@ -0,0 +1,19 @@ +Enabled dhcp client functionality for Yocto reference +hardware MPC8315E-RDB. + +Upstream-Status: Pending + +Signed-off-by: Ed Bartosh <[email protected]> + +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
meta/recipes-bsp/u-boot/u-boot-common_2017.01.inc +3 -1
@@ -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"
Signature · 1 line
2.1.4