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分支也提示错误.
是什么原因呢,请帮忙看看!谢谢

fatal: Not a git repository

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

penguin 发表于 2020-6-9 11:09
fatal: Not a git repository

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

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

penguin 发表于 2020-6-9 11:09
fatal: Not a git repository

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

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

上面报的错图片

你应该在Firefly_Linux_SDK_v1.0 目录下执行git clone https://github.com/FireflyTeam/bundle.git -b rk3399-linux-bundle,Firefly_Linux_SDK_v1.0 才是SDK根目录

http://dev.t-firefly.com/forum.php?mod=redirect&goto=findpost&ptid=102083&pid=233894