Toybrick

中文 / EN

源码下载

TB-RK3399ProD、TB-RK3399ProX

git clone https://github.com/rockchip-toybrick/u-boot.git -b master

TB-RK3568X、TB-RV1126D

git clone https://github.com/rockchip-toybrick/u-boot.git -b next-dev

源码编译

1、下载rkbin到u-boot同级目录

TB-RK3399ProD、TB-RK3399ProX

git clone https://github.com/rockchip-toybrick/rkbin -b master

TB-RK3568X、TB-RV1126D

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

TB-RK3399ProD、TB-RK3399ProX

./make.sh rk3399pro

TB-RK3568X

./make.sh rk3568

TB-RV1126D

./make.sh rv1126

5、生成的固件在u-boot目录下。

6、注意:如果在android工程目录下编译,则不需要1-3步操作。

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


返回顶部