[RFC] First pass config fragment breakout for linaro kernel

Tushar Behera tushar.behera at linaro.org
Fri Mar 30 07:00:51 UTC 2012


On 03/29/2012 11:25 PM, John Stultz wrote:
> On 03/28/2012 09:37 PM, Tushar Behera wrote:
>> On 03/28/2012 10:17 PM, John Stultz wrote:
>>> On 03/28/2012 05:24 AM, Tushar Behera wrote:
>>>> On 03/27/2012 12:50 AM, John Stultz wrote:
>>>>>       So after talking about it at the last Linaro Connect, I've
>>>>> finally
>>>>> gotten around to making a first pass at providing config fragments for
>>>>> the linaro kernel.  I'd like to propose merging this for 12.04, and
>>>>> doing so early so we can make sure that all the desired config options
>>>>> are present in the fragments and to allow the vairous linaro build
>>>>> systems to begin migrating their config generation over.
>>>>>
>>>>> The current tree is here:
>>>>>
>>>>>
>>>>> http://git.linaro.org/gitweb?p=people/jstultz/android.git;a=shortlog;h=refs/heads/linaro-configs-3.3
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> The most relevant commit being:
>>>>>
>>>>>
>>>>> http://git.linaro.org/gitweb?p=people/jstultz/android.git;a=commitdiff;h=da8f6d20e1a768cb486005c5ec62582b6f92990d
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> This includes config fragments for a linaro-base, an android-ization
>>>>> fragment, and  board configs for panda, origen and imx53.
>>>>>
>>>>> I suspect we'll need an ubuntu specific fragment as well as all the
>>>>> other board fragments.
>>>>>
>>>>> There is likely to be quite a bit of churn as we decide what sort of
>>>>> configs are really common and which are board specific. But that's ok.
>>>>>
>>>>> Configs are generated from the config fragments, as follows:
>>>>>
>>>>> ./scripts/kconfig/merge_config.sh ./configs/linaro-base.conf
>>>>> ./configs/android.conf ./configs/panda.conf
>>>>>
>>>>>
>>>>> You may see warnings, which are not fatal, but should be reported so
>>>>> they can be properly cleaned up.
>>>>>
>>>>> I'm asking for Build folks to take a look at the above and consider
>>>>> how
>>>>> they might merge in fragment assembly into their system replacing
>>>>> their
>>>>> current config generation.
>>>>>
>>>>> I'd ask Landing teams to take a look at this, and report any missing
>>>>> config options or fragment chunks they'd like to see.
>>>>>
>>>> I have updated origen.conf and linaro-base.conf for testing Samsung LT
>>>> kernel. The results are updated in [1].
>>> I'll take a look at the changes and try to merge them into my tree.
>>>
> Ok. I've merged most of what you added, but made some tweaks of my own
> to quiet some of the warnings at merge time.
> 
> Let me know if you see anything badly missing. Some of the items I
> dropped look like they're from feature branches?
> 
Right, some of the config options should better move to the feature
branches. I have cleaned up origen.conf so that we can now boot
linux-linaro-tracking kernel till the console. Code dropped at [1].

With the help of a couple of patches[2], I was able to get Ubuntu
booting up till home screen.

I haven't tested Android though.

Following is the list of added patches.
0b066ba ARM: EXYNOS: Increase DMA pool allocator size for framebuffer
This patch is not required if CMA patches are added to the kernel.

fb8fa05 ARM: EXYNOS: Add clkdev lookup entry for lcd clock
A rebased version of this patch is queued for 3.4-rc1.

[1] git://git.linaro.org/landing-teams/working/samsung/kernel.git
(topic/linaro_config_3.3)
[2] git://git.linaro.org/landing-teams/working/samsung/kernel.git
(test/linux-linaro-tracking)


-- 
Tushar Behera



More information about the linaro-dev mailing list