Firefly Open Source Community

Title: SDK fetch error [Print This Page]

Author: abutkov    Time: 12/11/2018 00:31
Title: SDK fetch error
Last edited by abutkov In 12/10/2018 22:28 Editor

I try to build GPT firmware according to http://wiki.t-firefly.com/en/Fir ... ux_compile_gpt.html
but at the very end of sync process I receive next:
  1. error: Cannot fetch kernel (GitError: kernel update-ref: fatal: 56b9229b4b31b7f9c8d6951609db43440f8f2631^0: not a valid SHA1
Copy the code

Can someone help me to download this git fully. Should I simply git clone kernel into .repo/projects folder?
And what does -c option for in 'repo sync -c' command? https://source.android.com/setup/develop/repo describes only -d -s and -f options for sync

Author: penguin    Time: 12/11/2018 17:13
We updated Manifests.git £¬now please 'repo sync -c' again
Author: penguin    Time: 12/11/2018 17:20
You can see the usage of `repo sync` by running `repo help sync`. `-c` in `repo sync -c` is to fetch only current branch instead of all branches from the remote repository.

Will you please post the result of the following commands?

    ls -l .repo/manifest.xml
    grep kernel .repo/manifest.xml
    repo sync -c kernel

Author: abutkov    Time: 12/12/2018 01:05
Thanks, now everything is perfect
Below are the outputs:

  1. bender@express:~/project/firefly/linux/linux-sdk$ ls -l .repo/manifest.xml
  2. lrwxrwxrwx 1 bender bender 41 §Õ§Ö§Ü 11 20:24 .repo/manifest.xml -> manifests/rk3399/rk3399_linux_release.xml
Copy the code

  1. bender@express:~/project/firefly/linux/linux-sdk$ grep kernel .repo/manifest.xml
  2.   <project name="kernel" revision="ca107b11b4fa532a684cf9a57473bc0703e86472" upstream="stable"/>
Copy the code

  1. bender@express:~/project/firefly/linux/linux-sdk$ ../repo/repo sync -c kernel
  2. Fetching project kernel
Copy the code







Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1