I’m trying to follow these steps to build UEFI on the Hikey960 board.
I do not understand this step
Prepare AARCH64 toolchain from Linaro. – Does this mean I download the tar.xz file in the link.
Also
Build it as debug mode. Create script file for build.
BUILD_OPTION=DEBUG
export AARCH64_TOOLCHAIN=GCC5
export UEFI_TOOLS_DIR=${BUILD_PATH}/uefi-tools
export EDK2_DIR=${BUILD_PATH}/edk2
EDK2_OUTPUT_DIR=${EDK2_DIR}/Build/HiKey960/${BUILD_OPTION}_${AARCH64_TOOLCHAIN}
Building a script file, does it mean I create a new file lets say bootloader.sh and then use the sh bang as the first line and copy these lines given by changing the BUILD_PATH with the path I have.?
#!/bin/bash
BUILD_OPTION=DEBUG
export AARCH64_TOOLCHAIN=GCC5
export UEFI_TOOLS_DIR=${/home/susmitha/bootloader}/uefi-tools
export EDK2_DIR=${/home/susmitha/bootloader}/edk2
EDK2_OUTPUT_DIR=${EDK2_DIR}/Build/HiKey960/${BUILD_OPTION}_${AARCH64_TOOLCHAIN}
Something like this ?
I’m new to the board an also linux, could someone please explain these steps clearly .