“模板:RK SDK”的版本间的差异

来自ARM Wiki
跳转至: 导航搜索
RK3399 编译环境搭建
 
(未显示同一用户的1个中间版本)
第34行: 第34行:
  
 
===步骤3 - 编译环境搭建===
 
===步骤3 - 编译环境搭建===
 +
====RK3399 Linux编译环境搭建====
 
<syntaxhighlight lang="bash">
 
<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
 
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