diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2019-11-05 21:41:56 +0530 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2019-11-05 16:12:28 +0000 |
commit | 75c4da19fc01696843b212d495226a67256fcce1 (patch) | |
tree | f4f97405ca722a8496dd47c1b0321fa3b4955e78 /rpb-uefi | |
parent | cdd65dd08b523716132a17727e1c1e924d289126 (diff) |
rpb-uefi: hikey: generate ptable
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Change-Id: I2c6708637df1d88ead620c8ab1aa894417e610c0
Diffstat (limited to 'rpb-uefi')
-rwxr-xr-x | rpb-uefi/staging/builders.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/rpb-uefi/staging/builders.sh b/rpb-uefi/staging/builders.sh index f0e9751b81..fc10f2afb4 100755 --- a/rpb-uefi/staging/builders.sh +++ b/rpb-uefi/staging/builders.sh @@ -115,6 +115,7 @@ cd $LOADER_DIR if [ "${BUILD_TYPE}" = "debug" ]; then sed -i "s/BUILD_OPTION=DEBUG/BUILD_OPTION=RELEASE/g" build_uefi.sh + sed -i "s/#GENERATE_PTABLE=1/GENERATE_PTABLE=1/g" build_uefi.sh fi ./build_uefi.sh ${MX_PLATFORM} @@ -126,14 +127,14 @@ if [ "${MX_PLATFORM}" = "hikey" ]; then # Ship files needed to build OP-TEE test suite tar -C ${OPTEE_OS_DIR}/out -acvf \ ${WORKSPACE}/out/${BUILD_TYPE}/optee-arm-plat-hikey.tar.xz \ - arm-plat-hikey/export-ta_arm64 arm-plat-hikey/export-ta_arm32 + ${OPTEE_OS_DIR}/arm-plat-hikey/export-ta_arm64 ${OPTEE_OS_DIR}/arm-plat-hikey/export-ta_arm32 wget https://raw.githubusercontent.com/96boards/burn-boot/master/hisi-idt.py -O ${WORKSPACE}/out/${BUILD_TYPE}/hisi-idt.py dd if=/dev/zero of=${WORKSPACE}/out/${BUILD_TYPE}/nvme.img bs=128 count=1024 - cp -a fip.bin l-loader.bin recovery.bin *ptable.img ${WORKSPACE}/out/${BUILD_TYPE} + cp -a ${LOADER_DIR}/fip.bin ${LOADER_DIR}/l-loader.bin ${LOADER_DIR}/recovery.bin ${LOADER_DIR}/*ptable.img ${WORKSPACE}/out/${BUILD_TYPE} fi if [ "${MX_PLATFORM}" = "hikey960" ]; then - cp -a fip.bin l-loader.bin recovery.bin *ptable.img ${WORKSPACE}/out/${BUILD_TYPE} + cp -a ${LOADER_DIR}/fip.bin ${LOADER_DIR}/l-loader.bin ${LOADER_DIR}/recovery.bin ${LOADER_DIR}/*ptable.img ${WORKSPACE}/out/${BUILD_TYPE} git clone --depth 1 https://github.com/96boards-hikey/tools-images-hikey960.git cd tools-images-hikey960 cat > config << EOF |