“模板:RK SDK”的版本间的差异
来自ARM Wiki
Tangdapeng(讨论 | 贡献) |
Tangdapeng(讨论 | 贡献) (→RK3399 编译环境搭建) |
||
(未显示同一用户的3个中间版本) | |||
第1行: | 第1行: | ||
===步骤1 - 下载repo脚本库=== | ===步骤1 - 下载repo脚本库=== | ||
− | * | + | *ROCKCHIP官方提供的SDK源代码(仅提供作开发参考使用),SDK使用repo来同步源代码 |
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
git clone https://github.com/rockchip-linux/repo | git clone https://github.com/rockchip-linux/repo | ||
第30行: | 第30行: | ||
../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 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 | ../repo/repo sync | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | |||
+ | ===步骤3 - 编译环境搭建=== | ||
+ | ====RK3399 Linux编译环境搭建==== | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | 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 | ||
</syntaxhighlight> | </syntaxhighlight> |
2020年6月9日 (二) 09:54的最新版本
目录
步骤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 - 编译环境搭建
RK3399 Linux编译环境搭建
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