Hello everybody,
I am trying to download the Install source package of Android Automotive 11.0.0_2.5.0 (Linux 5.10.72 Kernel).
I am executing
source imx_android_setup.sh
When I do this I get the following error
From https://gerrit.googlesource.com/git-repo
45ef901..a39af3d main -> origin/main
fatal: refs/remotes/origin/v2.4.1^0: not a valid SHA1
---------------------------------------------------
-----Repo Init failure
---------------------------------------------------
When I get inside the script and I go to the link in the repo command
repo init -u https://source.codeaurora.org/external/imx/imx-manifest.git -b imx-android-11 -m imx-automotive-11.0.0_2.5.0.xml --repo-branch=v2.4.1
The link goes to a webpage that says " Repo Not Found"
I think there is a problem with the link, NXP shouldn't update this link in the script?
Here is the link where I am downloading the Source Package
The lInk to Download the Source Package
I am running this in a Ubuntu 20 clean machine.
解決済! 解決策の投稿を見る。
Hello @Zhiming_Liu
Yes you were right there was nothing wrong with the page or the script.
The problem was that I installed the "repo" command using snap, running the command "sudo snap install repo", but this create the before mentioned problems, then I realised I should install it running the following commands, as mentioned in the Readme.
$: mkdir ~/bin
$: curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$: chmod a+x ~/bin/repo
$: export PATH=${PATH}:~/bin
Sorry for the silly question. Thank you for checking it out
Hi @rsilva92
Checked this on my side.
1.Please install all needed packages following the guide
2.You should run the source command in ~ path:
$ source ~/imx-automotive-11.0.0_2.5.0/imx_android_setup.sh
3.There is no issue about below command:
repo init -u https://source.codeaurora.org/external/imx/imx-manifest.git -b imx-android-11 -m imx-automotive-11.0.0_2.5.0.xml --repo-branch=v2.4.1
The page is https://source.codeaurora.org/external/imx/imx-manifest
Hello @Zhiming_Liu
Yes you were right there was nothing wrong with the page or the script.
The problem was that I installed the "repo" command using snap, running the command "sudo snap install repo", but this create the before mentioned problems, then I realised I should install it running the following commands, as mentioned in the Readme.
$: mkdir ~/bin
$: curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$: chmod a+x ~/bin/repo
$: export PATH=${PATH}:~/bin
Sorry for the silly question. Thank you for checking it out