Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] SDK fetch error

116

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
116

【Linux】 SDK fetch error

Posted at 12/11/2018 00:31:31      View:3265 | Replies:3        Print      Only Author   [Copy Link] 1#
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

1395

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

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

Use props Report

1395

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1395
Posted at 12/11/2018 17:20:33        Only Author  3#
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

116

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
116
Posted at 12/12/2018 01:05:25        Only Author  4#
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