aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx/zc702-zynq7/uEnv.txt4
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx_2014.01.bb4
2 files changed, 7 insertions, 1 deletions
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 00000000..0ed7dc50
--- /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 aa9400d9..972ca7f8 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"