问题描述
按https://www.kendryte.com/k230_rtos/zh/main/userguide/how_to_build.html来配制RTOS时总是显示SDK repo sync -j $(nproc)错误
下载 SDK 源码
创建工作目录
mkdir -p ~/rtos_k230 && cd ~/rtos_k230
从 Gitee 下载代码(推荐国内用户,需配置 SSH 密钥)
repo init -u git@gitee.com:canmv-k230/manifest.git -m rtsmart.xml
--repo-url=git@gitee.com:canmv-k230/git-repo.git
从 GitHub 下载代码(国际用户)
repo init -u https://github.com/canmv-k230/manifest -m rtsmart.xml \
--repo-url=https://github.com/canmv-k230/git-repo.git
同步代码仓库
repo sync -j $(nproc)
到 同步代码仓库
repo sync -j $(nproc)这步骤时总是错误。
--repo-url=git@gitee.com:canmv-k230/git-repo.git
Downloading Repo source from git@gitee.com:canmv-k230/git-repo.git
git@gitee.com: Permission denied (publickey).
fatal: 无法读取远程仓库。
请确认您有正确的访问权限并且仓库存在。
repo: error: "git" failed with exit status 128
cwd: /home/ubuntu/rtos_k230/.repo/repo.tmp
cmd: ['git', 'fetch', '--quiet', '--progress', 'origin', '+refs/heads/:refs/remotes/origin/', '+refs/tags/:refs/tags/']
fatal: double check your --repo-rev setting.
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
有没有解决办法
软件版本
K230 RTOS SDK 下载配制问题