[meta-xilinx] [PATCH 1/2] u-boot-xlnx : Add uEnv.txt for zc702 so it boots from SD card.

Nathan Rossi nathan.rossi at xilinx.com
Mon Nov 10 04:30:40 PST 2014


> -----Original Message-----
> From: meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-
> bounces at yoctoproject.org] On Behalf Of Philip Balister
> Sent: Saturday, November 01, 2014 12:26 AM
> To: meta-xilinx at yoctoproject.org
> Subject: [meta-xilinx] [PATCH 1/2] u-boot-xlnx : Add uEnv.txt for zc702 so
> it boots from SD card.

Applied.

Thanks,
Nathan

> 
> Signed-off-by: Philip Balister <philip at balister.org>
> ---
>  recipes-bsp/u-boot/u-boot-xlnx/zc702-zynq7/uEnv.txt | 4 ++++
>  recipes-bsp/u-boot/u-boot-xlnx_2014.01.bb           | 4 +++-
>  2 files changed, 7 insertions(+), 1 deletion(-)
>  create mode 100644 recipes-bsp/u-boot/u-boot-xlnx/zc702-zynq7/uEnv.txt
> 
> diff --git a/recipes-bsp/u-boot/u-boot-xlnx/zc702-zynq7/uEnv.txt
> b/recipes-bsp/u-boot/u-boot-xlnx/zc702-zynq7/uEnv.txt
> new file mode 100644
> index 0000000..0ed7dc5
> --- /dev/null
> +++ b/recipes-bsp/u-boot/u-boot-xlnx/zc702-zynq7/uEnv.txt
> @@ -0,0 +1,4 @@
> +kernel_image=uImage
> +devicetree_image=uImage-zc702-zynq7.dtb
> +bootargs=console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait
> earlyprintk
> +uenvcmd=echo Copying Linux from SD to RAM... && fatload mmc 0 0x3000000
> ${kernel_image} && fatload mmc 0 0x2A00000 ${devicetree_image} && bootm
> 0x3000000 - 0x2A00000
> diff --git a/recipes-bsp/u-boot/u-boot-xlnx_2014.01.bb b/recipes-bsp/u-
> boot/u-boot-xlnx_2014.01.bb
> index aa9400d..972ca7f 100644
> --- a/recipes-bsp/u-boot/u-boot-xlnx_2014.01.bb
> +++ b/recipes-bsp/u-boot/u-boot-xlnx_2014.01.bb
> @@ -6,4 +6,6 @@ LIC_FILES_CHKSUM =
> "file://README;beginline=1;endline=6;md5=157ab8408beab40cd8ce
>  SRCREV = "2a0536fa48db1fc5332e3cd33b846d0da0c8bc1e"
>  PV = "v2014.01${XILINX_EXTENSION}+git${SRCPV}"
> 
> -SRC_URI_append_zc702-zynq7 = " file://ps7_init.h file://ps7_init.c"
> +UBOOT_ENV_zc702-zynq7 = "uEnv"
> +
> +SRC_URI_append_zc702-zynq7 = " file://ps7_init.h file://ps7_init.c
> file://uEnv.txt"
> --
> 1.8.3.1
> 
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx



More information about the meta-xilinx mailing list