diff options
author | Mike Looijmans <mike.looijmans@topic.nl> | 2016-07-22 16:05:04 +0200 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2016-07-23 00:25:59 +1000 |
commit | 60985416089f7db0eab527396b18c9e5480a2979 (patch) | |
tree | 2a45ee4b4fc7d6e3dcfd66a325e1aa1c730c3a2a | |
parent | deb6e31b0076632d4aa9377f121d9e47a5949d67 (diff) | |
download | meta-xilinx-60985416089f7db0eab527396b18c9e5480a2979.tar.gz |
arm-trusted-firmware: Create and deploy the "atf.ub" file
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.
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r-- | recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb | 3 |
1 files changed, 3 insertions, 0 deletions
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 08f696b0..f384f5bc 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}" | |||
7 | 7 | ||
8 | inherit deploy | 8 | inherit deploy |
9 | 9 | ||
10 | DEPENDS += "u-boot-mkimage-native" | ||
11 | |||
10 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
11 | 13 | ||
12 | BRANCH = "master" | 14 | BRANCH = "master" |
@@ -45,5 +47,6 @@ do_deploy() { | |||
45 | install -d ${DEPLOYDIR} | 47 | install -d ${DEPLOYDIR} |
46 | install -m 0644 ${S}/build/${PLATFORM}/release/bl31/bl31.elf ${DEPLOYDIR}/bl31-${MACHINE}.elf | 48 | install -m 0644 ${S}/build/${PLATFORM}/release/bl31/bl31.elf ${DEPLOYDIR}/bl31-${MACHINE}.elf |
47 | install -m 0644 ${S}/build/${PLATFORM}/release/bl31.bin ${DEPLOYDIR}/bl31-${MACHINE}.bin | 49 | install -m 0644 ${S}/build/${PLATFORM}/release/bl31.bin ${DEPLOYDIR}/bl31-${MACHINE}.bin |
50 | mkimage -A arm64 -O linux -T kernel -C none -a 0xfffe5000 -e 0xfffe5000 -d ${S}/build/${PLATFORM}/release/bl31.bin ${DEPLOYDIR}/atf.ub | ||
48 | } | 51 | } |
49 | addtask deploy before do_build after do_compile | 52 | addtask deploy before do_build after do_compile |