Firefly开源社区

打印 上一主题 下一主题

[Linux] ROC-RK3568-PC在同步代码执行.repo/repo/repo sync -c --no-tags步骤报错

22

积分

0

威望

0

贡献

技术小白

积分
22

ROC-RK3568-PC在同步代码执行.repo/repo/repo sync -c --no-tags步骤报错

发表于 2024-3-18 14:41:42      浏览:1719 | 回复:1        打印      只看该作者   [复制链接] 楼主
问题描述及复现步骤:
按照官网操作指南在做编译环境搭建时需要同步代码,在执行.repo/repo/repo sync -c --no-tags
操作时总是失败,显示内容为如下,现在应该怎么继续下去
Checking out project device/rockchip
device/rockchip/: manifest switched refs/tags/rk356x/linux5.10_release_v1.4.0a...refs/tags/rk356x/linux5.10_release_v1.2.1c
error: device/rockchip/: discarding 2 commits removed from upstream
error: Cannot checkout device/rockchip

error: Exited sync due to checkout errors
具体操作如下user@linux:~/proj/rk356x_sdk-linux5.10$ .repo/repo/repo sync -c --no-tags
Fetching project prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf
Fetching project rkbin
Fetching project docs-soc_internal-en
Fetching project docs-soc_internal-cn
Skipped fetching project rkbin (already have persistent ref)
Skipped fetching project docs-soc_internal-cn (already have persistent ref)
Skipped fetching project docs-soc_internal-en (already have persistent ref)
Skipped fetching project prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf (already have persistent ref)
Fetching project tools
Fetching project docs-cn
Fetching project prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu
Fetching project u-boot
Skipped fetching project tools (already have persistent ref)
Skipped fetching project docs-cn (already have persistent ref)
Skipped fetching project prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu (already have persistent ref)
Skipped fetching project u-boot (already have persistent ref)
Fetching project device/rockchip
Fetching project docs
Fetching project docs-en
Fetching project kernel
Skipped fetching project device/rockchip (already have persistent ref)
Skipped fetching project docs-en (already have persistent ref)
Skipped fetching project docs (already have persistent ref)
Skipped fetching project kernel (already have persistent ref)
Checking out project device/rockchip
device/rockchip/: manifest switched refs/tags/rk356x/linux5.10_release_v1.4.0a...refs/tags/rk356x/linux5.10_release_v1.2.1c
error: device/rockchip/: discarding 2 commits removed from upstream
error: Cannot checkout device/rockchip

error: Exited sync due to checkout errors


report1.txt.tar.gz

555 Bytes, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

811

积分

0

威望

0

贡献

管理员

Rank: 9Rank: 9Rank: 9

积分
811
发表于 2024-3-18 15:59:42        只看该作者  沙发
Checking out project device/rockchip
device/rockchip/: manifest switched refs/tags/rk356x/linux5.10_release_v1.4.0a...refs/tags/rk356x/linux5.10_release_v1.2.1c
error: device/rockchip/: discarding 2 commits removed from upstream
error: Cannot checkout device/rockchip

你本地是不是有自己的提交,先回退掉再同步
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表