Firefly开源社区

标题: AIO-RK3399J 编译ubuntu时更新SDK失败 [打印本页]

作者: lily.guo    时间: 2020-6-9 10:59
标题: AIO-RK3399J 编译ubuntu时更新SDK失败
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分支也提示错误.
是什么原因呢,请帮忙看看!谢谢

作者: penguin    时间: 2020-6-9 11:09
fatal: Not a git repository  

当前目录不是一个git仓库,要在SDK的根目录下执行呀
作者: lily.guo    时间: 2020-6-9 11:27
penguin 发表于 2020-6-9 11:09
fatal: Not a git repository  

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

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

作者: lily.guo    时间: 2020-6-9 11:35
penguin 发表于 2020-6-9 11:09
fatal: Not a git repository  

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

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


作者: lily.guo    时间: 2020-6-9 11:37
上面报的错图片

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

1591673698(1).png

作者: penguin    时间: 2020-6-9 14:12
你应该在Firefly_Linux_SDK_v1.0 目录下执行git clone https://github.com/FireflyTeam/bundle.git -b rk3399-linux-bundle,Firefly_Linux_SDK_v1.0 才是SDK根目录
作者: 陈富林    时间: 2020-9-25 14:30
http://dev.t-firefly.com/forum.p ... 2083&pid=233894




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1