Android Auto 11 having a old repo link

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Android Auto 11 having a old repo link

跳至解决方案
1,077 次查看
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 项奖励
回复
1 解答
1,064 次查看
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

在原帖中查看解决方案

标记 (3)
0 项奖励
回复
2 回复数
1,069 次查看
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

1,065 次查看
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

标记 (3)
0 项奖励
回复