git checkout of imx-mkimage does not work

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

git checkout of imx-mkimage does not work

Jump to solution
2,364 Views
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 Kudos
Reply
1 Solution
2,351 Views
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

 

View solution in original post

0 Kudos
Reply
3 Replies
1,916 Views
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 Kudos
Reply
2,352 Views
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 Kudos
Reply
1,475 Views
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 Kudos
Reply