模板:RK SDK
来自ARM Wiki
Tangdapeng(讨论 | 贡献)2020年6月9日 (二) 08:50的版本
目录
步骤1 - 下载repo脚本库
- ROCKCHIP官方提供的SDK源代码(仅提供作开发参考使用),SDK使用repo来同步源代码
git clone https://github.com/rockchip-linux/repo
mkdir linux
cd linux
步骤2 - SDK下载
RK3399 Linux SDK
../repo/repo init --repo-url=https://github.com/rockchip-linux/repo -u https://github.com/rockchip-linux/manifests -b master -m rk3399_linux_release.xml
../repo/repo sync
RK3288 Linux SDK
../repo/repo init --repo-url=https://github.com/rockchip-linux/repo -u https://github.com/rockchip-linux/manifests -b master -m rk3288_linux_release.xml
../repo/repo sync
RK3399Pro Linux SDK
../repo/repo init --repo-url=https://github.com/rockchip-linux/repo -u https://github.com/rockchip-linux/manifests -b master -m rk3399pro_linux_release.xml
../repo/repo sync
RK1808 Linux SDK
../repo/repo init --repo-url=https://github.com/rockchip-linux/repo -u https://github.com/rockchip-linux/manifests -b master -m rk1808_linux_release.xml
../repo/repo sync
步骤3 - 编译环境搭建
sudo apt-get install git-core gitk git-gui gcc-arm-linux-gnueabihf u-boot-tools device-tree-compiler gcc-aarch64-linux-gnu mtools parted libudev-dev libusb-1.0-0-dev gcc-4.8-multilib-arm-linux-gnueabihf gcc-arm-linux-gnueabihf libssl-dev gcc-aarch64-linux-gnu