Hello,
I am new on this IMX android build. While building the android(9.0) platform for IMX8, I am facing the below issues. I tried to research on internet to get solution for the same but I can't able to find the proper solution. Please help to resolve the issue. Thanks in advance, waiting for your kind response.
Error log:
abc@Latitude-3500:~$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest.git -b imx-android-pie -m imx-p9.0.0_1.0.0-ga.xml
Start fetching the source for android build
Setting REL_PACKAGE_DIR to /home/abc/imx-p9.0.0_1.0.0-ga
Traceback (most recent call last):
File "/home/abc/.repo/repo/main.py", line 651, in <module>
_Main(sys.argv[1:])
File "/home/abc/ab.repo/repo/main.py", line 627, in _Main
result = run()
File "/home/abc/.repo/repo/main.py", line 620, in <lambda>
run = lambda: repo._Run(name, gopts, argv) or 0
File "/home/abc/.repo/repo/main.py", line 286, in _Run
result = cmd.Execute(copts, cargs)
File "/home/abc/.repo/repo/subcmds/init.py", line 470, in Execute
self._SyncManifest(opt)
File "/home/abc/.repo/repo/subcmds/init.py", line 269, in _SyncManifest
m.MetaBranchSwitch(submodules=opt.submodules)
File "/home/abc/.repo/repo/project.py", line 3278, in MetaBranchSwitch
self.Sync_LocalHalf(syncbuf, submodules=submodules)
File "/home/abc/.repo/repo/project.py", line 1302, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/home/abc/.repo/repo/project.py", line 2843, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/abc/.repo/repo/project.py", line 3057, in rev_list
(self._project.name, str(args), p.stderr))
error.GitError: manifests rev-list ('^fefe7fd83e0f93d9abfd2017b17a39315d14addb', 'HEAD', '--'): fatal: bad revision 'HEAD'
---------------------------------------------------
-----Repo Init failure
---------------------------------------------------
Regards,
Sulaiman Afridi
Solved! Go to Solution.
HI
I try your command but work fine to me .
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest.git -b imx-android-pie -m imx-p9.0.0_1.0.0-ga.xml
Downloading Repo source from https://gerrit.googlesource.com/git-repo
remote: Counting objects: 7, done
remote: Finding sources: 100% (44/44)
remote: Total 44 (delta 12), reused 43 (delta 12)
Unpacking objects: 100% (44/44), 58.16 KiB | 601.00 KiB/s, done.
... A new version of repo (2.15) is available.
... You should upgrade soon:
cp /home/swkim/workspace/medithinq/test/.repo/repo/repo /home/swkim/bin/repo
Downloading manifest from https://source.codeaurora.org/external/imx/imx-manifest.git
remote: Enumerating objects: 1589, done.
remote: Total 1589 (delta 0), reused 0 (delta 0), pack-reused 1589
Receiving objects: 100% (1589/1589), 1.80 MiB | 2.80 MiB/s, done.
Resolving deltas: 100% (901/901), done.
Your identity is: sw.kim <sw.kim@medithinq.com>
If you want to change this, please re-run 'repo init' with --config-name
repo has been initialized in /home/swkim/workspace/medithinq/test
How about install repo again?
* https://gerrit.googlesource.com/git-repo/+/refs/heads/master/README.md#install