野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 25702|回复: 3

[求助] 野火大学堂kernel代码同步本地出错

[复制链接]
发表于 2021-2-8 17:20:03 | 显示全部楼层 |阅读模式
开始下载:[ebf_6ull_linux]
remote: Enumerating objects: 54415, done.        
remote: Counting objects: 100% (54415/54415), done.        
remote: Compressing objects: 100% (47876/47876), done.        
remote: Total 54415 (delta 5312), reused 54415 (delta 5312), pack-reused 0        
Receiving objects: 100% (54415/54415), 149.01 MiB | 9.35 MiB/s, done.
Resolving deltas: 100% (5312/5312), done.
* [new branch]        master     -> Embedfire/master
error: invalid path 'drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c'
[37152] Failed to execute script main
error: Cannot checkout ebf_6ull_linux: GitError: Cannot initialize work tree for ebf_6ull_linux
Traceback (most recent call last):
  File "main.py", line 530, in <module>
  File "main.py", line 505, in _Main
  File "main.py", line 498, in <lambda>
  File "main.py", line 201, in _Run
  File "subcmds\sync.py", line 994, in Execute
  File "subcmds\sync.py", line 553, in _Checkout
  File "subcmds\sync.py", line 435, in _CheckoutWorker
  File "subcmds\sync.py", line 469, in _CheckoutOne
  File "project.py", line 1532, in Sync_LocalHalf
  File "project.py", line 2777, in _InitWorkTree
error.GitError: Cannot initialize work tree for ebf_6ull_linux
资料同步出错[-1]! 总共用时 22.445 秒


回复

使用道具 举报

发表于 2021-2-8 18:59:21 | 显示全部楼层
这个在虚拟机linux环境下直接用git命令克隆 看linux资料页的地址 http://doc.embedfire.com/product ... x/ebf_i.mx6ull.html
回复 支持 1 反对 0

使用道具 举报

 楼主| 发表于 2021-2-18 16:01:55 | 显示全部楼层
WishWish 发表于 2021-2-8 18:59
这个在虚拟机linux环境下直接用git命令克隆 看linux资料页的地址 http://doc.embedfire.com/products/link/ ...

PaulFrankie@DESKTOP-HULCM4P MINGW64 /e/fireClass/linux/imx6/source/kernel ((0b4e6b34...))
$ git clone https://gitee.com/wildfireteam/ebf_6ull_linux
Cloning into 'ebf_6ull_linux'...
remote: Enumerating objects: 54418, done.
remote: Counting objects: 100% (54418/54418), done.
remote: Compressing objects: 100% (47910/47910), done.
remote: Total 54418 (delta 5334), reused 54348 (delta 5281), pack-reused 0
Receiving objects: 100% (54418/54418), 148.94 MiB | 6.11 MiB/s, done.
Resolving deltas: 100% (5334/5334), done.
error: invalid path 'drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'


PaulFrankie@DESKTOP-HULCM4P MINGW64 /e/fireClass/linux/imx6/source/kernel ((0b4e6b34...))

这个是按照您说的直接用git clone命令下载同步的,但还是会报同样的错误,希望能指导一下,谢谢!!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-2-18 17:48:20 | 显示全部楼层
WishWish 发表于 2021-2-8 18:59
这个在虚拟机linux环境下直接用git命令克隆 看linux资料页的地址 http://doc.embedfire.com/products/link/ ...

多谢管理员,我在X86平台上用的Git Bash工具来克隆代码的,忽略了这其实也是在X86平台的操作,最后用ubuntu的服务器去克隆代码,问题解决!
回复 支持 反对

使用道具 举报

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

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-11-23 15:22 , Processed in 0.032296 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表