diff options
| author | Nathan Rossi <nathan@nathanrossi.com> | 2017-05-15 21:27:31 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan@nathanrossi.com> | 2017-05-15 21:27:31 +1000 |
| commit | 0264be4b1718048e89f073825c61b10b858ebeab (patch) | |
| tree | de75264391f810ff2a68a9cfb9e392f3caf7ea18 /conf/machine/zc706-zynq7.conf | |
| parent | 0303b641295bb893c2f17f3fc7dd080ec76875ab (diff) | |
| download | meta-xilinx-0264be4b1718048e89f073825c61b10b858ebeab.tar.gz | |
u-boot-zynq-uenv.bb: Add recipe to generate uEnv.txt environment
Add a recipe to generate uEnv.txt environments for SD boot of Zynq
targets. This replaces the existing uEnv.txt for zc702/zedboard that
were manually created and populated only for u-boot-xlnx builds.
The generated uEnv.txt files also support auto loading of the fpga
bitstream before the kernel.
Also enable the use of this recipe for all *-zynq7 machines that use
U-Boot and have SD/eMMC available. And additionally setup
IMAGE_BOOT_FILES for these machines.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Diffstat (limited to 'conf/machine/zc706-zynq7.conf')
| -rw-r--r-- | conf/machine/zc706-zynq7.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/machine/zc706-zynq7.conf b/conf/machine/zc706-zynq7.conf index 1aff9d09..0df5aa71 100644 --- a/conf/machine/zc706-zynq7.conf +++ b/conf/machine/zc706-zynq7.conf | |||
| @@ -19,8 +19,16 @@ MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost usbgadget" | |||
| 19 | UBOOT_MACHINE = "zynq_zc706_config" | 19 | UBOOT_MACHINE = "zynq_zc706_config" |
| 20 | SPL_BINARY = "spl/boot.bin" | 20 | SPL_BINARY = "spl/boot.bin" |
| 21 | 21 | ||
| 22 | EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv" | ||
| 23 | |||
| 22 | SERIAL_CONSOLE = "115200 ttyPS0" | 24 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 23 | 25 | ||
| 24 | KERNEL_DEVICETREE = "zynq-zc706.dtb" | 26 | KERNEL_DEVICETREE = "zynq-zc706.dtb" |
| 25 | KERNEL_FEATURES += "features/rtc/rtc.scc" | 27 | KERNEL_FEATURES += "features/rtc/rtc.scc" |
| 26 | 28 | ||
| 29 | IMAGE_BOOT_FILES += " \ | ||
| 30 | boot.bin \ | ||
| 31 | ${KERNEL_IMAGETYPE}-zynq-zc706.dtb \ | ||
| 32 | uEnv.txt \ | ||
| 33 | " | ||
| 34 | |||
