git clone kernel_imx fail ???

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

git clone kernel_imx fail ???

930 Views
glj
Contributor I

lmd@ubuntu:~/android442$ git clone git://git.freescale.com/imx/linux-2.6-imx.git kernel_imx
Cloning into 'kernel_imx'...
fatal: read error: Connection reset by peer

Labels (1)
0 Kudos
3 Replies

597 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi all,

Please note that for one or the other reason the GIT server is sometimes not reachable, but you still have the option to download the source code from Freescale Public GIT  (http://git.freescale.com/git/) and then build it. If you have the need for various builds based on the same release, then it's useful to download all sources one time and base the following builds then on (a copy of) the local sources:


$ bitbake -c fetchall target


In Yocto Project Development Manual (http://www.yoctoproject.org/docs/2.0/dev-manual/dev-manual.html) in chapter 5.15 you find some more information.

On the other hand, verify that you have internet connection and you may contact your system administrator because if you are using firewalls or porxy server this may avoid conenction.


Regards,
Carlos

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

597 Views
jesse_zbikowski
Contributor I

Glad to hear it's working for you - I saw a similar error and was able to make progress by cloning only the single branch I needed:

git clone -b imx_4.9.11_1.0.0_ga  --single-branch git://git.freescale.com/imx/linux-imx.git

0 Kudos

597 Views
glj
Contributor I

Now it is ok! 

0 Kudos