RK3566 sdk压缩包下载解压,解决环境依赖
1. rk3566官方资料下载网站rk3566官方资料下载网站
2. 此次下载sdk百度云盘分享
https://pan.baidu.com/s/1ce23PnwdBe-6Ry-vReiZ3g?pwd=1234 提取码:1234
3. 将文件夹copy到工作目录下:
![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/33d8dc6994174f9a888fe83097c80218.png)
4. 进入到目录下、安装依赖环境:
sudo apt update
sudo apt install -y python
python --version
环境依赖python安装成功
5. 解压并恢复工作目录
cd rk356x_linux5.10_release_20240319_v1.4.0b
mkdir rk356x_sdk-linux5.10
./sdk_tools.sh --unpack -C ./rk356x_sdk-linux5.10
./sdk_tools.sh --sync -C ./rk356x_sdk-linux5.10/
6. 查看是否成功
cd rk356x_sdk-linux5.10/
ls
1. ubtun20.04 安装repo
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
export PATH=~/bin:$PATH
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
repo init
repo sync
2. 使用sudo apt-get install 命令安装:
git ssh make gcc libssl-dev liblz4-tool
expect g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support
qemu-user-static live-build bison flex fakeroot cmake gcc-multilib g+±multilib
unzip
device-tree-compiler python-pip ncurses-dev
如:sudo apt-get install git
3. 使用pip install 命令安装:
pip install pyelftools
4. u-boot以及kenerl 编译工具链位于sdk目录:
prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linuxgnu/bin/aarch64-linux-gnu-
Buildroot编译工具链位于sdk目录:
buildroot/output/rockchip_rk356x/host/bin/aarch64-buildroot-linux-gnu-