diff options
author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2018-05-25 11:31:05 -0700 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2018-05-25 19:05:04 -0700 |
commit | 510da43cffd6db6588d7ed7251ecf95dc764616d (patch) | |
tree | e78c7f3726e0cdf77e4cef1a7a66ddb1235e6c17 | |
parent | ad1a6573057f2928e0dde6882edb4b5bad7b06a5 (diff) | |
download | meta-xilinx-510da43cffd6db6588d7ed7251ecf95dc764616d.tar.gz |
Update to newer commit supporting ATF in SPL
U-Boot is now able to boot to ARM Trusted Firmware (ATF). The boot
flow is SPL(EL3) loads ATF and full u-boot and jump to ATF(EL3) which
pass control to full u-boot(EL2).
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc | 2 | ||||
-rw-r--r-- | meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc b/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc index a83bdebe..02bbc732 100644 --- a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc +++ b/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc | |||
@@ -60,7 +60,7 @@ do_deploy() { | |||
60 | 60 | ||
61 | # Get the entry point address from the elf. | 61 | # Get the entry point address from the elf. |
62 | BL31_BASE_ADDR=$(${READELF} -h ${OUTPUT_DIR}/bl31/bl31.elf | egrep -m 1 -i "entry point.*?0x" | sed -r 's/.*?(0x.*?)/\1/g') | 62 | BL31_BASE_ADDR=$(${READELF} -h ${OUTPUT_DIR}/bl31/bl31.elf | egrep -m 1 -i "entry point.*?0x" | sed -r 's/.*?(0x.*?)/\1/g') |
63 | mkimage -A arm64 -O linux -T kernel -C none \ | 63 | mkimage -A arm64 -O arm-trusted-firmware -T kernel -C none \ |
64 | -a $BL31_BASE_ADDR -e $BL31_BASE_ADDR \ | 64 | -a $BL31_BASE_ADDR -e $BL31_BASE_ADDR \ |
65 | -d ${OUTPUT_DIR}/bl31.bin ${DEPLOYDIR}/${ATF_BASE_NAME}.ub | 65 | -d ${OUTPUT_DIR}/bl31.bin ${DEPLOYDIR}/${ATF_BASE_NAME}.ub |
66 | ln -sf ${ATF_BASE_NAME}.ub ${DEPLOYDIR}/${PN}.ub | 66 | ln -sf ${ATF_BASE_NAME}.ub ${DEPLOYDIR}/${PN}.ub |
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb index 0b5b085a..6388cf33 100644 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb | |||
@@ -3,7 +3,7 @@ XILINX_RELEASE_VERSION = "v2018.1" | |||
3 | 3 | ||
4 | UBRANCH ?= "master" | 4 | UBRANCH ?= "master" |
5 | 5 | ||
6 | SRCREV ?= "1c81b42a326e5b74a5b79e55de9c52b5781b7a8a" | 6 | SRCREV ?= "949e5cb9a736bac32ea8886e3953da55bdd30754" |
7 | 7 | ||
8 | include u-boot-xlnx.inc | 8 | include u-boot-xlnx.inc |
9 | include u-boot-spl-zynq-init.inc | 9 | include u-boot-spl-zynq-init.inc |