u-boot-zynq-uenv.bb: Enforce default load addresses
There is differences in the value of *_load_address environment
variables between U-Boot versions (u-boot/u-boot-xlnx) as well as any
environment stored in spi flash. Instead of relying on correct
configuration being set, set the expected values in uEnv.txt to avoid
issues.
@@ -45,7 +45,9 @@ do_compile() {
echo "machine_name=${MACHINE}" > ${WORKDIR}/uEnv.txt
echo "kernel_image=${KERNEL_IMAGETYPE}" >> ${WORKDIR}/uEnv.txt
+ echo "kernel_load_address=0x2080000" >> ${WORKDIR}/uEnv.txt
echo "devicetree_image=${@bootfiles_dtb_filepath(d)}" >> ${WORKDIR}/uEnv.txt
+ echo "devicetree_load_address=0x2000000" >> ${WORKDIR}/uEnv.txt
# bootargs, default to booting with the rootfs device being partition 2 of the first mmc device
echo 'bootargs=console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait earlyprintk' >> ${WORKDIR}/uEnv.txt
