[poky] [PATCH v2] u-boot: enable dhcp for MPC8315 board
Ed Bartosh
ed.bartosh at linux.intel.com
Wed Jun 7 05:33:09 PDT 2017
sorry, wrong list
please, ignore
On Wed, Jun 07, 2017 at 03:28:09PM +0300, Ed Bartosh wrote:
> 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 at linux.intel.com>
> ---
> 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
>
> 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..df89e05
> --- /dev/null
> +++ b/meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch
> @@ -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
> 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
>
--
--
Regards,
Ed
More information about the poky
mailing list