Build u-boot
Toolchain
Download:
- https://www.linaro.org/downloads/
- https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads
export PATH=/<path to toolchain>/bin:$PATH
export CROSS_COMPILE=<prefix>-
export ARCH=<architecture>
u-boot
사용 중인 보드에 맞게 설정이 추가된 저장소가 있으면 해당 저장소를 클론하거나 다운로드 받으시기 바랍니다.
git clone https://github.com/u-boot/u-boot.git -b <tag or branch> --single-branch
cd u-boot
make distclean
make <board>_defconfig
make -j$(expr $(expr $(nproc) \* 6) \/ 5)