[meta-xilinx] [PATCH 2/7] u-boot-zynq-uenv.bb: Setup the loadbit_addr variable for bitstream
Nathan Rossi
nathan at nathanrossi.com
Sat Oct 7 02:57:59 PDT 2017
When a bitstream is available and being loaded, setup 'loadbit_addr' to
the expected value. Normally this variable is only set when using
u-boot-xlnx.
Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
---
recipes-bsp/u-boot/u-boot-zynq-uenv.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/recipes-bsp/u-boot/u-boot-zynq-uenv.bb b/recipes-bsp/u-boot/u-boot-zynq-uenv.bb
index 6cb9b9eca3..1aa27607a7 100644
--- a/recipes-bsp/u-boot/u-boot-zynq-uenv.bb
+++ b/recipes-bsp/u-boot/u-boot-zynq-uenv.bb
@@ -58,6 +58,8 @@ do_compile() {
BITSTREAMPATH="${@bootfiles_bitstream(d)[0]}"
if [ ! -z "$BITSTREAMPATH" ]; then
+ echo "loadbit_addr=0x100000" >> ${WORKDIR}/uEnv.txt
+
echo "bitstream_image=$BITSTREAMPATH" >> ${WORKDIR}/uEnv.txt
# if bitstream is "bit" format use loadb, otherwise use load
echo "bitstream_type=${@'loadb' if bootfiles_bitstream(d)[1] else 'load'}" >> ${WORKDIR}/uEnv.txt
--
2.14.2
More information about the meta-xilinx
mailing list