环境:vmware16,ubuntu 18.04
安装依赖库:
sudo apt-get install repo 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 unzip device-tree-compiler python-pip ncurses-dev python-pyelftools
获取SDK前需要安装
sudo apt update
sudo apt install -y repo git python
下载完成后先验证一下MD5码
md5sum rk356x_linux_release_v1.3.0b_20221213_split_dir/*firefly_split*
# 解压 mkdir ~/proj/ cd ~/proj/ cat path/to/rk356x_linux_release_v1.3.0b_20221213_split_dir/*firefly_split* | tar -xzv# 导出数据 rk3566@ubuntu:~/proj$ cd rk356x_linux_release_v1.3.0b_20221213/ rk3566@ubuntu:~/proj/rk356x_linux_release_v1.3.0b_20221213$ .repo/repo/repo sync -l
# 同步
rk3566@ubuntu:~/proj/rk356x_linux_release_v1.3.0b_20221213$
.repo/repo/repo sync -c --no-tags
rk3566@ubuntu:~/proj/rk356x_linux_release_v1.3.0b_20221213$
.repo/repo/repo start firefly --all