summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2016-07-22 16:05:04 +0200
committerNathan Rossi <nathan@nathanrossi.com>2016-07-23 00:25:59 +1000
commit60985416089f7db0eab527396b18c9e5480a2979 (patch)
tree2a45ee4b4fc7d6e3dcfd66a325e1aa1c730c3a2a
parentdeb6e31b0076632d4aa9377f121d9e47a5949d67 (diff)
downloadmeta-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.bb3
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
8inherit deploy 8inherit deploy
9 9
10DEPENDS += "u-boot-mkimage-native"
11
10S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
11 13
12BRANCH = "master" 14BRANCH = "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}
49addtask deploy before do_build after do_compile 52addtask deploy before do_build after do_compile