|
|
中文 / 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、下载rkbin到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、下载交叉编译工具(linux-x86)
①、在u-boot同级目录创建prebuilts文件夹
②、在prebuilts目录下创建gcc文件夹
③、下载交叉编译工具(linux-x86)到gcc目录
git clone https://github.com/rockchip-toybrick/linux-x86.git -b master
3、cd u-boot
修改 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、编译u-boot
./make.sh rk3399pro
./make.sh rk3568
./make.sh rv1126
5、生成的固件在u-boot目录下。
6、注意:如果在android工程目录下编译,则不需要1-3步操作。