Dear Bhuvan ,
I tried with https but the problem still is observed. Also it looks like the branch is empty for linux at the given git link .
Please find the snapshot.
I don’t see any issue/something missing, may be some n/w glitches ? Is your internet connection reliable ? I cloned at my end again to re-check, it worked fine as expected.
Just to test the network reliability i created an standard poky installation on test pc …it downloaded packages properly …
Since i am unable to get the kernel source code i am not in position to progress on my other
development aspects.
Could there be any other way to get the source code , as for past two days i am trying with the git link .
Clone works also here nicely.
I assume you checked that your disk has enough space left?
Since you seem to have an Openembedded build on you machine you could try to first clone from the local copy OE has in its download directory, then add the remote on git.toradex.com and fetch only the likely small differences from there.
$ git clone --origin local --no-checkout <path to OE download directory>/downloads/git2/git.toradex.com.linux-toradex.git linux-toradex
Cloning into 'linux-toradex'...
done.
$ cd linux-toradex/
$ git remote add origin git://git.toradex.com/linux-toradex.git
$ git fetch origin
remote: Counting objects: 54, done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 19 (delta 17), reused 0 (delta 0)
Unpacking objects: 100% (19/19), done.
From git://git.toradex.com/linux-toradex
* [new branch] colibri -> origin/colibri
...
$ git checkout -b toradex_4.1-2.0.x-imx origin/toradex_4.1-2.0.x-imx
Checking out files: 100% (50082/50082), done.
Branch toradex_4.1-2.0.x-imx set up to track remote branch toradex_4.1-2.0.x-imx from origin.
Switched to a new branch 'toradex_4.1-2.0.x-imx'
$ git remote remove local
$ git clone git://git.toradex.com/linux-toradex.git
Klone nach 'linux-toradex' ...
remote: Counting objects: 5582668, done.
remote: Compressing objects: 100% (841718/841718), done.
remote: Total 5582668 (delta 4705646), reused 5579041 (delta 4702142)
Empfange Objekte: 100% (5582668/5582668), 1.14 GiB | 6.08 MiB/s, done.
Löse Unterschiede auf: 100% (4705646/4705646), done.
Prüfe Konnektivität ... Fertig.
warning: Externer HEAD bezieht sich auf eine nicht existierende Referenz und kann nicht ausgecheckt werden.
$ rm -rf linux-toradex/
$ git clone https://git.toradex.com/linux-toradex.git
Klone nach 'linux-toradex' ...
Prüfe Konnektivität ... Fertig.
warning: Externer HEAD bezieht sich auf eine nicht existierende Referenz und kann nicht ausgecheckt werden.
For https there is no progress information at all - I wonder if this is correct?
In both cases, as you see, git is unable to checkout a valid reference.
We had problems cloning from bitbake two days ago and while trying to reproduce I just noted the “external head” warning. Today bitbake is fetching fine, so I guess everything is good.
For https there is no progress information at all - I wonder if this is correct?
Unfortunately this is the case which is why HTTP/HTTPS is only ever recommended should you have company firewall related limitations.
In both cases, as you see, git is unable to checkout a valid reference.
This is most likely just because you missed specifying which branch to be checked out and our Linux kernel (and U-Boot for that matter) repos do not contain a default master branch as you really do need to know which module you plan to target and select the resp. proper branch.