Re: [Angstrom-devel] Updating Kernel Source Files?

2012-11-19 Thread Koen Kooi

Op 18 nov. 2012, om 23:45 heeft Andrew Glen andrewtaneg...@gmail.com het 
volgende geschreven:

 Apologies if this is an absolute noob question, but I am using the angstrom
 distro to build a kernel and file system for a beaglebone (on a host ubuntu
 12.04 machine) and can build and run the kernel successfully, but I get a
 mismatch between the version of the kernel source files downloaded using
 the oebb.sh script and subsequent bitbake commands, and the kernel version
 obtained when I run an 'opkg upgrade' on the target device.
 
 Current the source files on my host machine are 3.2.28, and the upgraded
 kernel version is 3.2.30. Is there a way to update my kernel source files
 to version 3.2.30, or in general to the latest available?
 
 I see that in '
 https://github.com/beagleboard/kernel/tree/beaglebone-3.2/patches' there
 are patch sets up to 3.2.32. I am guessing that there is something within a
 config file, or an additional call to a script, that tells the system what
 version of the kernel sources to get from the git repos, but I am at this
 point unable to figure out where or what these are.
 
 Hope someone can help me out.

Can you do 'git pull' on the setup-scripts repo? That should get you updates to 
tracks the updated set of branches.

regards,

Koen
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


Re: [Angstrom-devel] Updating Kernel Source Files?

2012-11-19 Thread Andrew Glen
Cheers Koen,

I followed the (your?) instructions in the repo README and did a *git
pull* followed
by an *./oebb.sh update* and it all updated to the latest (3.2.30)
files/patches. I think it was just bad timing on my part in that I
previously ran the same update the day before you updated the layers.txt
file last week.

Out of interest, is there a way to use the information in
'/etc/angstrom-build-info' to manually update the layers.txt file? It
doesn't seem to give as much information as is required in layers.txt, but
there must be some kind of relationship.


Regards,
Andrew.
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


Re: [Angstrom-devel] Updating Kernel Source Files?

2012-11-19 Thread Koen Kooi

Op 19 nov. 2012, om 22:01 heeft Andrew Glen andrewtaneg...@gmail.com het 
volgende geschreven:

 Cheers Koen,
 
 I followed the (your?) instructions in the repo README and did a *git
 pull* followed
 by an *./oebb.sh update* and it all updated to the latest (3.2.30)
 files/patches. I think it was just bad timing on my part in that I
 previously ran the same update the day before you updated the layers.txt
 file last week.
 
 Out of interest, is there a way to use the information in
 '/etc/angstrom-build-info' to manually update the layers.txt file? It
 doesn't seem to give as much information as is required in layers.txt, but
 there must be some kind of relationship.

Yes, you can, just replace the 'HEAD' entry with the commit ID you want or if 
it isn't tracking HEAD, replace the commit ID with the one you want. You might 
need to puzzle a bit to match the layername to the repo name, but that should 
be pretty straight forward.

regards,

Koen
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel