[meta-xilinx] [PATCHv2 1/2] u-boot-xlnx.inc : Add support for building working SPL.
Nathan Rossi
nathan.rossi at xilinx.com
Mon Oct 27 21:20:25 PDT 2014
> -----Original Message-----
> From: meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-
> bounces at yoctoproject.org] On Behalf Of Philip Balister
> Sent: Friday, October 24, 2014 6:50 AM
> To: meta-xilinx at yoctoproject.org
> Subject: [meta-xilinx] [PATCHv2 1/2] u-boot-xlnx.inc : Add support for
> building working SPL.
>
> You need to add the files ps7_init.[ch] via a board specific
> SRC_URI append. The ps7 files should be GPL licensed to avoid
> license headaches.
>
> Signed-off-by: Philip Balister <philip at balister.org>
> ---
> recipes-bsp/u-boot/u-boot-xlnx.inc | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-bsp/u-boot/u-boot-xlnx.inc b/recipes-bsp/u-boot/u-
> boot-xlnx.inc
> index ee6b32c..b578e45 100644
> --- a/recipes-bsp/u-boot/u-boot-xlnx.inc
> +++ b/recipes-bsp/u-boot/u-boot-xlnx.inc
> @@ -4,7 +4,17 @@ LICENSE = "GPLv2+"
>
> XILINX_EXTENSION = "-xilinx"
>
> -FILESEXTRAPATHS += "${THISDIR}/u-boot-xlnx:"
> SRC_URI = "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https"
>
> +SPL_BINARY = "boot.bin"
I realized this will cause build breakage for MicroBlaze, so I changed your patch to make this a override for zynq, so SPL_BINARY_zynq = "boot.bin".
I have pushed this and 2/2 to master.
Thanks,
Nathan
> +UBOOT_SUFFIX = "img"
> +
> +do_configure_prepend () {
> + if test -e ${WORKDIR}/ps7_init.h; then
> + cp ${WORKDIR}/ps7_init.h ${S}/board/xilinx/zynq/
> + cp ${WORKDIR}/ps7_init.c ${S}/board/xilinx/zynq/
> + fi
> +}
> +
> include u-boot-extra.inc
> +
> --
> 1.8.3.1
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
More information about the meta-xilinx
mailing list