Firefly开源社区

打印 上一主题 下一主题

[Linux] AIO-RK3399J 编译ubuntu时更新SDK失败

47

积分

0

威望

0

贡献

技术小白

积分
47

AIO-RK3399J 编译ubuntu时更新SDK失败

发表于 2020-6-9 10:59:13      浏览:3587 | 回复:6        打印      只看该作者   [复制链接] 楼主
http://wiki.t-firefly.com/zh_CN/AIO-3399J/linux_compile_gpt.html
按照此教程编译ubuntu固件的时候,遇到了问题,下载完了SDK之后解压,然后需要更新SDK的时候提示一下错误
lily@ubuntu:/home/share/AIO-3399J$ git reset --hard
fatal: Not a git repository (or any of the parent directories): .git
lily@ubuntu:/home/share/AIO-3399J$ pwd
/home/share/AIO-3399J
lily@ubuntu:/home/share/AIO-3399J$ cd Firefly_Linux_SDK_v1.0/
lily@ubuntu:/home/share/AIO-3399J/Firefly_Linux_SDK_v1.0$ git reset --hard
Checking out files: 100% (135654/135654), done.
HEAD is now at d37af61 [kernel] arm64: dts: fix some board modle name
lily@ubuntu:/home/share/AIO-3399J/Firefly_Linux_SDK_v1.0$ cd ..
lily@ubuntu:/home/share/AIO-3399J$ git clone https://github.com/FireflyTeam/bundle.git -b rk3399-linux-bundle
Cloning into 'bundle'...
remote: Enumerating objects: 17, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 17 (delta 4), reused 15 (delta 2), pack-reused 0
Unpacking objects: 100% (17/17), done.
Checking connectivity... done.
lily@ubuntu:/home/share/AIO-3399J$ ls
bundle  Firefly_Linux_SDK_v1.0
lily@ubuntu:/home/share/AIO-3399J$ bundle/update
[Info]Update Bundle repo...
From https://github.com/FireflyTeam/bundle
* branch            master     -> FETCH_HEAD
-------------------------------------------
[Info]Update to FETCH_HEAD:
fatal: Not a git repository (or any of the parent directories): .git
[ERROR]Fetch bundle/0.bundle error!!
fatal: Not a git repository (or any of the parent directories): .git
[ERROR]Fetch bundle/1.bundle error!!
fatal: Not a git repository (or any of the parent directories): .git
[ERROR]Fetch bundle/2.bundle error!!
fatal: Not a git repository (or any of the parent directories): .git
[ERROR]Fetch bundle/3.bundle error!!

另外执行 git rebase FETCH_HEAD 同步FETCH_HEAD到firefly分支也提示错误.
是什么原因呢,请帮忙看看!谢谢
回复

使用道具 举报

781

积分

2

威望

4

贡献

技术大神

Rank: 3Rank: 3

积分
781
发表于 2020-6-9 11:09:13        只看该作者  沙发
fatal: Not a git repository  

当前目录不是一个git仓库,要在SDK的根目录下执行呀
回复

使用道具 举报

47

积分

0

威望

0

贡献

技术小白

积分
47
发表于 2020-6-9 11:27:35        只看该作者  板凳
penguin 发表于 2020-6-9 11:09
fatal: Not a git repository  

当前目录不是一个git仓库,要在SDK的根目录下执行呀

AIO-3399J$ ls
bundle  Firefly_Linux_SDK_v1.0
这里面有两个分支对吧,
切换到根目录是指的哪个?我两个都试了,报不同的错误..
回复

使用道具 举报

47

积分

0

威望

0

贡献

技术小白

积分
47
发表于 2020-6-9 11:35:13        只看该作者  地板
penguin 发表于 2020-6-9 11:09
fatal: Not a git repository  

当前目录不是一个git仓库,要在SDK的根目录下执行呀

我切换到bundle/ 目录然后执行./update
也是有很多错误.

回复

使用道具 举报

47

积分

0

威望

0

贡献

技术小白

积分
47
发表于 2020-6-9 11:37:13        只看该作者  5#
上面报的错图片

1591673698(1).png (21.28 KB, 下载次数: 110)

1591673698(1).png
回复

使用道具 举报

781

积分

2

威望

4

贡献

技术大神

Rank: 3Rank: 3

积分
781
发表于 2020-6-9 14:12:37        只看该作者  6#
你应该在Firefly_Linux_SDK_v1.0 目录下执行git clone https://github.com/FireflyTeam/bundle.git -b rk3399-linux-bundle,Firefly_Linux_SDK_v1.0 才是SDK根目录
回复

使用道具 举报

23

积分

0

威望

0

贡献

技术小白

积分
23
发表于 2020-9-25 14:30:41        只看该作者  7#
回复

使用道具 举报

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

本版积分规则

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