git checkout of imx-mkimage does not work

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

git checkout of imx-mkimage does not work

跳至解决方案
2,221 次查看
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,208 次查看
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,773 次查看
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,209 次查看
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,332 次查看
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 项奖励
回复