diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-10-25 12:47:12 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-10-25 09:51:03 +0000 |
commit | cdae9de803833f69a084fb029a074340fd517734 (patch) | |
tree | b869737a37c60c460100523c88be2ab05deebf7c /rpb-uefi | |
parent | ba16e7913d7a5a2c984a92b317843e3eb708a7aa (diff) |
rpb-uefi-staging: hikey: set TOS_BIN to tee-pager.bin
See http://git.linaro.org/uefi/uefi-tools.git/commit/?id=b31fbcfea25d4147025669568f1e7d856ee17109
hikey is now supported in upstream atf, i.e.
https://github.com/ARM-software/arm-trusted-firmware
but the way the OP-TEE binary is loaded differs from
https://github.com/96boards-hikey/arm-trusted-firmware
so add a note to inform users about setting a different TOS_BIN when
using upstream atf, otherwise firmware boot will hang.
Change-Id: Ieb409130a91c686a0cad3443f4fb3d8cc5318b55
Suggested-by: Victor Chong <victor.chong@linaro.org>
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'rpb-uefi')
-rwxr-xr-x | rpb-uefi/staging/builders.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rpb-uefi/staging/builders.sh b/rpb-uefi/staging/builders.sh index 34d27c5a03..bcfec3c952 100755 --- a/rpb-uefi/staging/builders.sh +++ b/rpb-uefi/staging/builders.sh @@ -111,6 +111,11 @@ export JENKINS_WORKSPACE=${WORKSPACE} # WORKSPACE is used by uefi-build.sh unset WORKSPACE +# NOTE: If using upstream ATF, we should set TOS_BIN to tee-pager.bin +if [ "${MX_PLATFORM}" = "hikey" ]; then + sed -i "s|^TOS_BIN=tee.bin|TOS_BIN=tee-pager.bin|" ${UEFI_TOOLS_DIR}/platforms.config +fi + # Build UEFI for the desired platform, with the specified build type cd ${EDK2_DIR} bash -x ${UEFI_TOOLS_DIR}/uefi-build.sh -T ${TOOLCHAIN} -b ${MX_TYPE} -a ${ATF_DIR} -s ${OPTEE_OS_DIR} ${MX_PLATFORM} |