|
|
中文 / EN
|
git clone https://github.com/rockchip-toybrick/u-boot.git -b master
git clone https://github.com/rockchip-toybrick/u-boot.git -b next-dev
1、Download rkbin to the same directory as u-boot
git clone https://github.com/rockchip-toybrick/rkbin -b master
git clone https://github.com/rockchip-toybrick/rkbin -b develop-11.0
2、Download the cross compilation tool (Linux x86)
① Create the prebuilds folder in the u-boot peer directory
② Create a GCC folder in the prebuilds directory
③ Download the cross compilation tool (Linux x86) to the GCC directory
git clone https://github.com/rockchip-toybrick/linux-x86.git -b master
3、cd u-boot
modify make.sh
TOOLCHAIN_ARM32=../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin
TOOLCHAIN_ARM64=../prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin
4、Compile the uboot
./make.sh rk3399pro
./make.sh rk3568
./make.sh rv1126
5、The generated firmware is in the u-boot directory.
6、Note: Steps 1-3 are not required if compiled under the Android project directory.