aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2014-10-31 10:25:54 -0400
committerNathan Rossi <nathan.rossi@xilinx.com>2014-11-05 13:46:43 +1000
commitd74bf7644418d0acf3cf0a35ee3a22c44e8ff9f2 (patch)
treef8086bd118e5cb93028b8836eb6598bbeb12acce
parent86d3a77188806aeeb943869deef8613a08e5f928 (diff)
downloadmeta-xilinx-d74bf7644418d0acf3cf0a35ee3a22c44e8ff9f2.tar.gz
meta-xilinx-d74bf7644418d0acf3cf0a35ee3a22c44e8ff9f2.tar.bz2
meta-xilinx-d74bf7644418d0acf3cf0a35ee3a22c44e8ff9f2.zip
u-boot-xlnx : Add uEnv.txt for zc702 so it boots from SD card.
Signed-off-by: Philip Balister <philip@balister.org>
-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"