Firefly Open Source Community

   Login   |   Register   |

SDK fetch error

81

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
81
Posted at 12/11/2018 00:31:31     
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
Reply

Use props Report

414

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
414
Posted at 12/11/2018 17:13:59     
We updated Manifests.git ,now please 'repo sync -c' again
Reply

Use props Report

414

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
414
Posted at 12/11/2018 17:20:33     
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
Reply

Use props Report

81

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
81
Posted at 12/12/2018 01:05:25     
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


Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list