From cdae9de803833f69a084fb029a074340fd517734 Mon Sep 17 00:00:00 2001 From: Fathi Boudra Date: Wed, 25 Oct 2017 12:47:12 +0300 Subject: 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 Signed-off-by: Fathi Boudra --- rpb-uefi/staging/builders.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rpb-uefi') 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} -- cgit v1.2.3