OKayPi_SDK
OKayPi_SDK下载
基于鲁班猫3修改的OKayPi SDK,目前只改了根文件系统
SDK 开发环境搭建
# 安装SDK构建所需要的软件包
# 整体复制下面内容到终端中安装
sudo apt-get update && sudo apt-get install git ssh make gcc libssl-dev \
liblz4-tool expect expect-dev 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 ncurses-dev \
libgucharmap-2-90-dev bzip2 expat gpgv2 cpp-aarch64-linux-gnu libgmp-dev \
libmpc-dev bc python-is-python3 python3-pip python2 u-boot-tools curl \
python3-pyelftools dpkg-dev
安装repo
repo是google⽤Python脚本写的调⽤git的⼀个脚本,主要是⽤来下载、管理项⽬的软件仓库。
mkdir ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
# 如果上面的地址无法访问,可以用下面的:
# curl -sSL 'https://gerrit-googlesource.proxy.ustclug.org/git-repo/+/master/repo?format=TEXT' |base64 -d > ~/bin/repo
chmod a+x ~/bin/repo
echo PATH=~/bin:$PATH >> ~/.bashrc
source ~/.bashrc
执行完上面的命令后来验证repo是否安装成功能正常运行
repo --version
在线拉取
目前是私有的 需要登录我的Github账号
gh auth login
gh auth setup-git
拉取
mkdir OKayPi
cd OKayPi
repo init -u https://github.com/OKayJH/OKayPiSDK -m okaypi_linux_generic.xml
.repo/repo/repo sync -c -j8
评论