Hello
I am looking for the kernel source 3.5.0-rc7 for the ARM versatile express system, does anyone know where I can find it?
Thanks Chad
On 3 April 2013 21:38, Young, Chad chad.young@amd.com wrote:
I am looking for the kernel source 3.5.0-rc7 for the ARM versatile express system, does anyone know where I can find it?
Look for this tag: ll-20120712.0, here:
https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git%3Ba=summary
On Wed, 2013-04-03 at 16:08 +0000, Young, Chad wrote:
Hello
I am looking for the kernel source 3.5.0-rc7 for the ARM versatile express system, does anyone know where I can find it?
The best thing I can suggest is to look at the Linaro kernel tree [1] looking for a tag in the form 'll-*' which is for a kernel based off v3.5-rc7. The tag names include the date, and as Linus Torvalds released v3.5-rc7 on July 14th, the Linaro kernel based off that would likely be shortly after, say the ll-20120723.0 tag or a bit earlier.
[1] https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git%3Ba=summary
On Wed, 2013-04-03 at 16:08 +0000, Young, Chad wrote:
I am looking for the kernel source 3.5.0-rc7 for the ARM versatile express system, does anyone know where I can find it?
I've found another trick, if you can actually booting a Linaro kernel that you want the source for then early during boot you should see on the serial console something like:
[ 0.000000] Linux version 3.9.0-rc3-00212-g0f66281 ...
or if you have a console running on the device entering
uname -a
will give the same result. The part of the name after the '-g' part is the SHA1 of the git commit from which the kernel was built, e.g. in the above example it is 0f66281.
You can then use this commit hash at the end of the URL for the gitweb interface of the to the git repo like this:
https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git%3Ba=commit%...
and if the kernel was indeed built from that git repo then you should see the tip commit of the kernel source used to build the kernel.
Now, I don't know how long our kernel names have included the SHA1 of the commit, so for old kernels this may not work. Also, some kernel releases didn't come out of the main Linaro kernel git. So this method isn't foolproof.
On 04/04/2013 09:31 PM, Jon Medhurst (Tixy) wrote:
On Wed, 2013-04-03 at 16:08 +0000, Young, Chad wrote:
I am looking for the kernel source 3.5.0-rc7 for the ARM versatile express system, does anyone know where I can find it?
I've found another trick, if you can actually booting a Linaro kernel that you want the source for then early during boot you should see on the serial console something like:
[ 0.000000] Linux version 3.9.0-rc3-00212-g0f66281 ...
You won't get the commit ID always. It basically prints the commit ID if current HEAD is not signed-tagged (or something like that). That is why, the hwpack kernels print like this.
Linux version 3.9.0-1-linaro-arndale
or if you have a console running on the device entering
uname -a
will give the same result. The part of the name after the '-g' part is the SHA1 of the git commit from which the kernel was built, e.g. in the above example it is 0f66281.
You can then use this commit hash at the end of the URL for the gitweb interface of the to the git repo like this:
https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git%3Ba=commit%...
and if the kernel was indeed built from that git repo then you should see the tip commit of the kernel source used to build the kernel.
Now, I don't know how long our kernel names have included the SHA1 of the commit, so for old kernels this may not work. Also, some kernel releases didn't come out of the main Linaro kernel git. So this method isn't foolproof.