git checkout of imx-mkimage does not work

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

git checkout of imx-mkimage does not work

ソリューションへジャンプ
2,365件の閲覧回数
Ramprakash
Contributor II

Hi All,

 

I am trying to get the mkimage tool for building the SCU FW by using the steps mentioned in the following link:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8-Boot-process-and-creating-a-bootab...

On using "

git clone https://source.codeaurora.org/external/imx/imx-mkimage

"

I get the following output with the warning:

nikola@NikolaTesla:mkimage$ git clone https://source.codeaurora.org/external/imx/imx-mkimage
Cloning into 'imx-mkimage'...
remote: Enumerating objects: 63, done.
remote: Counting objects: 100% (63/63), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 2175 (delta 24), reused 0 (delta 0), pack-reused 2112
Receiving objects: 100% (2175/2175), 475.84 KiB | 959.00 KiB/s, done.
Resolving deltas: 100% (1373/1373), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.

And on doing checkout by using the command "git checkout imx_4.14.98_2.0.0_ga‍‍‍‍‍‍‍‍‍‍" i get the following output:

error: pathspec 'imx_4.14.98_2.0.0_ga‍‍‍‍‍‍‍‍‍‍' did not match any file(s) known to git

I tried using "git fetch" followed by "git checkout" but it did not fix the issue.

How to overcome this error?

Thanks and Regards,

Ramprakash

0 件の賞賛
返信
1 解決策
2,352件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

I have tested below command is work:

git clone https://source.codeaurora.org/external/imx/imx-mkimage -b imx_4.14.98_2.0.0_ga

 

BR

Zhiming

 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,917件の閲覧回数
kkraman
Contributor I

Hi Ramprakash,

                      Adding your branch with the command is necessary if you are using the latest version of git. ex:- "$ git checkout -b imx_4.14.98_2.0.0_ga‍‍‍‍‍‍‍‍‍‍". I hope it may help you.

0 件の賞賛
返信
2,353件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

I have tested below command is work:

git clone https://source.codeaurora.org/external/imx/imx-mkimage -b imx_4.14.98_2.0.0_ga

 

BR

Zhiming

 

0 件の賞賛
返信
1,476件の閲覧回数
flobro
Contributor III

It is definately dead now... and it is not on "codelinaro.org"..

"Thank you for your interest in codeaurora.org. As of March 31, 2023, all source repositories have been migrated to other platforms and the project has been shut down."

0 件の賞賛
返信