I have created an git repo for the kernel config fragments we produced a while ago, this is at git://git.linaro.org/kernel/configs.git
The config-core-tracking branch in this repo is intended to be added to the linux-linaro-core-tracking branch and so be available in all Linaro kernels. This currently provides three config fragment files:
linaro/configs/linaro-base.conf Config options common to all Linaro kernels
linaro/configs/ubuntu.conf Config options for all Ubuntu kernels
linaro/configs/android.conf Config options for all Android kernels
In addition to these, a board specific config fragment is required to produce a final kernel config. This may be made available by a Landing Team's kernel tree (I have done this for vexpress [1]) or; for experimental purposes, or to support legacy platforms, I have a separate config-boards-tracking branch of the new configs.git. (Currently this contains the Origen and iMX5 fragments produced a while ago.)
To create an Ubuntu kernel config from these fragments for a device called $BOARD, you need to run a command like:
ARCH=arm scripts/kconfig/merge_config.sh \ linaro/configs/linaro-base.conf linaro/configs/ubuntu.conf \ linaro/configs/$BOARD.conf
For Android, s/ubuntu/android/ in the above.
At some point soonish, I hope to come up with a mechanism whereby Android builds have the option to dynamically generate their kernel config as above. John Rigby is planning on adding a similar option to the Ubuntu packaging jobs.
Hopefully this work will enable:
- easier management of system wide config settings required by working group output or Linaro policy - place board specific configuration in the hands of the people maintaining that boards kernel - more consistent kernel builds, so teams can test in the same environment as Linaro's final releases
I intend to maintain git://git.linaro.org/kernel/configs.git and will keep separate non 'tracking' branches for older kernel versions (I currently have branches for 3.4).
On Mon, Jun 11, 2012 at 02:14:05PM +0100, Jon Medhurst (Tixy) wrote:
I have created an git repo for the kernel config fragments we produced a while ago, this is at git://git.linaro.org/kernel/configs.git
This is very cool -- however, I think something's busted in the Description:
http://git.linaro.org/gitweb?p=kernel/configs.git%3Ba=summary
This page contains the following errors:
error on line 83 at column 7: Opening and ending tag mismatch: p line 0 and div
Config frags are the future -- great to see them being actively used!
On Mon, 2012-06-11 at 14:02 -0300, Christian Robottom Reis wrote:
On Mon, Jun 11, 2012 at 02:14:05PM +0100, Jon Medhurst (Tixy) wrote:
I have created an git repo for the kernel config fragments we produced a while ago, this is at git://git.linaro.org/kernel/configs.git
This is very cool -- however, I think something's busted in the Description:
http://git.linaro.org/gitweb?p=kernel/configs.git;a=summary This page contains the following errors: error on line 83 at column 7: Opening and ending tag mismatch: p line 0 and div
I fixed that, I never get used to this newfangled XHTML :-)
On 06/11/2012 06:14 AM, Jon Medhurst (Tixy) wrote:
I have created an git repo for the kernel config fragments we produced a while ago, this is at git://git.linaro.org/kernel/configs.git
The config-core-tracking branch in this repo is intended to be added to the linux-linaro-core-tracking branch and so be available in all Linaro kernels. This currently provides three config fragment files:
Thanks so much Tixy, for stepping up and getting this going! -john
On 06/11/12 21:14, the mail apparently from Jon Medhurst (Tixy) included:
I have created an git repo for the kernel config fragments we produced a while ago, this is at git://git.linaro.org/kernel/configs.git
The config-core-tracking branch in this repo is intended to be added to the linux-linaro-core-tracking branch and so be available in all Linaro kernels. This currently provides three config fragment files:
linaro/configs/linaro-base.conf Config options common to all Linaro kernels
linaro/configs/ubuntu.conf Config options for all Ubuntu kernels
linaro/configs/android.conf Config options for all Android kernels
Just a thought... while meddling with the OOT Androidization patches, it seemed to me we missed a trick just killing all the default y on the Android-related stuff. If we additionally use select xxx on CONFIG_ANDROID for the config options we removed default for, we can express most or all of the config relationships there, reducing this to CONFIG_ANDROID=y
-Andy
On Tue, 2012-06-12 at 07:41 +0800, Andy Green wrote:
Just a thought... while meddling with the OOT Androidization patches, it seemed to me we missed a trick just killing all the default y on the Android-related stuff. If we additionally use select xxx on CONFIG_ANDROID for the config options we removed default for, we can express most or all of the config relationships there, reducing this to CONFIG_ANDROID=y
That's certainly an idea for the config options which Android adds (about half of them?). There are other generic Linux configs we've enabled for Android to get certain usecases working for which it makes more sense to keep in the Android config fragment.