Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] Compile Ubuntu firmware(GPT)

164

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
164

【Linux】 Compile Ubuntu firmware(GPT)

Posted at 12/9/2018 04:35:58      View:6379 | Replies:3        Print      Only Author   [Copy Link] 1#
Dear All,

I tried steps from your wiki page to download Linux sdk but get this error;

met@met:~/Desktop/Ubuntu firmware(GPT)/linux/linux-sdk$ ../repo/repo init --repo-url https://github.com/FireflyTeam/repo.git -u https://github.com/FireflyTeam/manifests.git -b linux-sdk -m rk3399/rk3399_linux_release.xml

Traceback (most recent call last):
  File "/home/met/Desktop/Ubuntu firmware(GPT)/linux/repo/main.py", line 531, in <module>
    _Main(sys.argv[1:])
  File "/home/met/Desktop/Ubuntu firmware(GPT)/linux/repo/main.py", line 507, in _Main
    result = repo._Run(argv) or 0
  File "/home/met/Desktop/Ubuntu firmware(GPT)/linux/repo/main.py", line 180, in _Run
    result = cmd.Execute(copts, cargs)
  File "/home/met/Desktop/Ubuntu firmware(GPT)/linux/repo/subcmds/init.py", line 404, in Execute
    self._ConfigureUser()
  File "/home/met/Desktop/Ubuntu firmware(GPT)/linux/repo/subcmds/init.py", line 298, in _ConfigureUser
    name  = self._Prompt('Your Name', mp.UserName)
  File "/home/met/Desktop/Ubuntu firmware(GPT)/linux/repo/project.py", line 784, in UserName
    self._LoadUserIdentity()
  File "/home/met/Desktop/Ubuntu firmware(GPT)/linux/repo/project.py", line 797, in _LoadUserIdentity
    u = self.bare_git.var('GIT_COMMITTER_IDENT')
  File "/home/met/Desktop/Ubuntu firmware(GPT)/linux/repo/project.py", line 2747, in runner
    (self._project.name, name, p.stderr))
error.GitError: manifests var:
*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'met@met.(none)')


What is problem dont undertand.Pls help.

Best regards,

Metin
Reply

Use props Report

116

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
116
Posted at 12/9/2018 12:15:45        Only Author  2#
Last edited by abutkov In 12/9/2018 09:30 Editor

Hi, Metin

The problem is that git wants to identify you when you start init:
*** Please tell me who you are.
Run
  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

Just run commands above with your email and name quoted and you can proceed.
If you want to change this, please re-run 'repo init' with --config-name

Further problem you may face during almost last step - Fetching projects:  97% (35/36) - is that sync command for repo cannot fetch the kernel branch due to wrong SHA1:

  1. error: Cannot fetch kernel (GitError: kernel update-ref: fatal: 56b9229b4b31b7f9c8d6951609db43440f8f2631^0: not a valid SHA1
  2. error: Exited sync due to fetch errors
Copy the code



Still not fixed..


Reply

Use props Report

1395

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1395
Posted at 12/12/2018 14:42:50        Only Author  3#
Reply

Use props Report

17

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
17
Posted at 12/2/2020 21:25:28        Only Author  4#
Last edited by pavan.m In 12/2/2020 21:26 Editor

Hi,

I had followed as per the wikipage and I got this error while updating

~/linux/linux-sdk$ ../repo/repo sync -c
Fetching project rk_pcba_test
Fetching project powermanager
Fetching project camera
Fetching project rkbin
Fetching project device-custom
Fetching project music
Fetching project tools
Fetching project audioservice
Fetching project demo
Fetching project linux-rga
Fetching project libdrm-rockchip
Fetching project buildroot
Fetching project docs
Fetching project rkupdate
Fetching project mpv
Fetching project rkssd
Fetching project alsa-config
Fetching project gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu
Fetching project recovery
Fetching project bluez-alsa
Fetching project u-boot
Fetching project video
Fetching project camera_engine_cifisp
Fetching project rk-rootfs-build
Fetching project gst-plugins-rockchip
Fetching project gallery
Fetching project mpp
Fetching project tensorflow
Fetching project gstreamer-camera
Fetching project libmali
Fetching project rkwifibt
Fetching project QLauncher
Fetching project ffmpeg
Fetching project rkscript
Fetching project settings
Fetching project kernel
Fetching project gstreamer-rockchip
Fetching project camera_engine_rkisp
Fetching project distro
Fetching project dl
error: Cannot fetch kernel (GitError: kernel update-ref: fatal: a179e620b38958254c1f74d283a9cf853ae20813^0: not a valid SHA1
)
Exception in thread Thread-36:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/sravan/linux/repo/subcmds/sync.py", line 270, in _FetchProjectList
    success = self._FetchHelper(opt, project, *args, **kwargs)
  File "/home/sravan/linux/repo/subcmds/sync.py", line 314, in _FetchHelper
    prune=opt.prune)
  File "/home/sravan/linux/repo/project.py", line 1271, in Sync_NetworkHalf
    self._InitMRef()
  File "/home/sravan/linux/repo/project.py", line 2364, in _InitMRef
    self._InitAnyMRef(R_M + self.manifest.branch)
  File "/home/sravan/linux/repo/project.py", line 2376, in _InitAnyMRef
    self.bare_git.UpdateRef(ref, dst, message=msg, detach=True)
  File "/home/sravan/linux/repo/project.py", line 2673, in UpdateRef
    self.update_ref(*cmdv)
  File "/home/sravan/linux/repo/project.py", line 2747, in runner
    (self._project.name, name, p.stderr))
GitError: kernel update-ref: fatal: a179e620b38958254c1f74d283a9cf853ae20813^0: not a valid SHA1



error: Exited sync due to fetch errors

I am trying to build for Face-RK3399.

Please help

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