path: root/board/digilent/zybo/uEnv.txt
diff options
authorGravatar Sebastien Van Cauwenberghe <svancau@gmail.com>2016-07-24 17:36:58 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-10-15 18:44:02 +0200
commit0f8433ab04a13a052b4431f54cef98326d23bf71 (patch)
treec6b85866b8c8359e7e9ed5059dba359e776167c5 /board/digilent/zybo/uEnv.txt
parent75fc043ce0c2ebd96051683278cb792b84ab32d1 (diff)
configs: add defconfig for Digilent Zybo
This configuration allows out-of-the box Digilent Zybo support. It uses mainline U-boot and Linux kernel. This configuration generates a SD card image named sdcard.img. [Peter: rename genimage.cfg, cleanup post-image script, enable VFP support, use 4.6 kernel headers and add tools needed by genimage] Signed-off-by: Sebastien Van Cauwenberghe <svancau@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board/digilent/zybo/uEnv.txt')
1 files changed, 5 insertions, 0 deletions
diff --git a/board/digilent/zybo/uEnv.txt b/board/digilent/zybo/uEnv.txt
new file mode 100644
index 0000000000..1042538a5d
--- /dev/null
+++ b/board/digilent/zybo/uEnv.txt
@@ -0,0 +1,5 @@
+bootargs=root=/dev/mmcblk0p2 rootwait rw rootfstype=ext4
+fpgaboot=if fatload mmc 0 0x1000000 ${fpga_image}; then echo Booting FPGA from ${fpga_image}; fpga info 0 && fpga loadb 0 0x1000000 $filesize; else echo FPGA image ${fpga_image} was not found, skipping...; fi;
+sdboot=echo Booting from SD...; run fpgaboot; fatload mmc 0 0x1000000 ${kernel_image} && fatload mmc 0 0x2000000 zynq-zybo.dtb && bootm 0x1000000 - 0x2000000