Android Auto 11 having a old repo link

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Android Auto 11 having a old repo link

ソリューションへジャンプ
1,443件の閲覧回数
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,430件の閲覧回数
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,435件の閲覧回数
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,431件の閲覧回数
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 件の賞賛
返信