[meta-xilinx] [PATCH 2/7] u-boot-zynq-uenv.bb: Setup the loadbit_addr variable for bitstream
Alistair Francis
alistair23 at gmail.com
Tue Oct 10 15:10:00 PDT 2017
On Sat, Oct 7, 2017 at 2:57 AM, Nathan Rossi <nathan at nathanrossi.com> wrote:
> 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>
Acked-by: Alistair Francis <alistair.francis at xilinx.com>
Thanks,
Alistair
> ---
> 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
>
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
More information about the meta-xilinx
mailing list