[meta-xilinx] [PATCH] arm-trusted-firmware: Create and deploy the "atf.ub" file
Nathan Rossi
nathan at nathanrossi.com
Mon Jul 25 05:31:36 PDT 2016
On Sat, Jul 23, 2016 at 12:05 AM, Mike Looijmans
<mike.looijmans at topic.nl> wrote:
> To boot with the firmware loaded, we need the binary packaged as a u-boot
> image. Add the extra step to do so and output the file that u-boot SPL
> expects to find on the SD card.
Applied.
Thanks,
Nathan
>
> Signed-off-by: Mike Looijmans <mike.looijmans at topic.nl>
> ---
> recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
> index 08f696b..f384f5b 100644
> --- a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
> +++ b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
> @@ -7,6 +7,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
>
> inherit deploy
>
> +DEPENDS += "u-boot-mkimage-native"
> +
> S = "${WORKDIR}/git"
>
> BRANCH = "master"
> @@ -45,5 +47,6 @@ do_deploy() {
> install -d ${DEPLOYDIR}
> install -m 0644 ${S}/build/${PLATFORM}/release/bl31/bl31.elf ${DEPLOYDIR}/bl31-${MACHINE}.elf
> install -m 0644 ${S}/build/${PLATFORM}/release/bl31.bin ${DEPLOYDIR}/bl31-${MACHINE}.bin
> + mkimage -A arm64 -O linux -T kernel -C none -a 0xfffe5000 -e 0xfffe5000 -d ${S}/build/${PLATFORM}/release/bl31.bin ${DEPLOYDIR}/atf.ub
> }
> addtask deploy before do_build after do_compile
> --
> 1.9.1
>
More information about the meta-xilinx
mailing list