diff options
-rw-r--r-- | recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb | 6 |
1 files changed, 3 insertions, 3 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 b83b4e29..9f29fc4b 100644 --- a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb +++ b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb | |||
@@ -45,13 +45,13 @@ OUTPUT_DIR = "${S}/build/${PLATFORM}/release" | |||
45 | 45 | ||
46 | do_deploy() { | 46 | do_deploy() { |
47 | install -d ${DEPLOYDIR} | 47 | install -d ${DEPLOYDIR} |
48 | install -m 0644 ${OUTPUT_DIR}/bl31/bl31.elf ${DEPLOYDIR}/bl31-${MACHINE}.elf | 48 | install -m 0644 ${OUTPUT_DIR}/bl31/bl31.elf ${DEPLOYDIR}/arm-trusted-firmware-${MACHINE}.elf |
49 | install -m 0644 ${OUTPUT_DIR}/bl31.bin ${DEPLOYDIR}/bl31-${MACHINE}.bin | 49 | install -m 0644 ${OUTPUT_DIR}/bl31.bin ${DEPLOYDIR}/arm-trusted-firmware-${MACHINE}.bin |
50 | 50 | ||
51 | # Get the entry point address from the elf. | 51 | # Get the entry point address from the elf. |
52 | BL31_BASE_ADDR=$(${READELF} -h ${OUTPUT_DIR}/bl31/bl31.elf | egrep -m 1 -i "entry point.*?0x" | sed -r 's/.*?(0x.*?)/\1/g') | 52 | BL31_BASE_ADDR=$(${READELF} -h ${OUTPUT_DIR}/bl31/bl31.elf | egrep -m 1 -i "entry point.*?0x" | sed -r 's/.*?(0x.*?)/\1/g') |
53 | mkimage -A arm64 -O linux -T kernel -C none \ | 53 | mkimage -A arm64 -O linux -T kernel -C none \ |
54 | -a $BL31_BASE_ADDR -e $BL31_BASE_ADDR \ | 54 | -a $BL31_BASE_ADDR -e $BL31_BASE_ADDR \ |
55 | -d ${OUTPUT_DIR}/bl31.bin ${DEPLOYDIR}/atf.ub | 55 | -d ${OUTPUT_DIR}/bl31.bin ${DEPLOYDIR}/arm-trusted-firmware.ub |
56 | } | 56 | } |
57 | addtask deploy before do_build after do_compile | 57 | addtask deploy before do_build after do_compile |