Android Auto 11 having a old repo link

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android Auto 11 having a old repo link

Jump to solution
885 Views
rsilva92
Contributor I

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

https://source.codeaurora.org/external/imx/imx-manifest.git

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

https://www.nxp.com/design/software/embedded-software/i-mx-software/android-automotive-os-for-i-mx-a...

The lInk to Download the Source Package

Install Source Package​

 

I am running this in a Ubuntu 20 clean machine.

0 Kudos
1 Solution
872 Views
rsilva92
Contributor I

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

View solution in original post

0 Kudos
2 Replies
877 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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

873 Views
rsilva92
Contributor I

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

0 Kudos