[PATCH] UBUNTU: [Config] Enable OMAP4 support in master

Bryan Wu bryan.wu at canonical.com
Fri Jul 30 14:34:07 UTC 2010


On 07/30/2010 08:20 PM, Amit Kucheria wrote:
> On 10 Jul 30, Bryan Wu wrote:
>>
>> I did some investigation today and found that even upstream Tony's for-next
>> branch cannot support a single kernel for OMAP2/3/4. I tried to compile it but
>> building failed. I just built for ARCH_OMAP4, the kernel can boots and serial
>> port works fine. Hope we can fix this single kernel issue in the future.
> 
> That sounds like a bug in the for-next branch. I just compiled the tip of
> linux-omap (Tony's tree) with omap3_defconfig and it compiled fine. On
> looking at the for-next error I realised it was fixed in master. (So
> eventually Tony will put it into for-next as well)
> 

I realized that I am trying omap_4430sdp_defconfig instead of omap3_defconfig.
If I enabled ARCH_OMAP3 + omap_4430sdp_defconfig, building will fail due some
assemble code undefined error.

>> So I'm afraid that we can't simply enable OMAP4 in our master branch omap
>> flavor, since our omap flavor is for OMAP3. In the future, after all the OMAP4
>> stuff are merged into mainline, we can remove ti-omap4 topic branch but still
>> need an additional armel flavor - omap4 in master branch.
> 
> No, this is all wrong!
> 
> Cherry-picking c040fd888b448a227c14e686eb67c09b625f75ac from the master
> branch to for-next fixes the compile of an omap2/3/4 kernel.
> 

OK, I found omap3_defconfig enabled all OMAP2/3/4 and after cherry-picking
c040fd888b448a227c14e686eb67c09b625f75ac, building omap2/3/4 kernel works fine.

> Could you please try adding b970ecd55364ba3be1b6a500bf16abda3c8ec7e2 to our
> maverick tree (master branch), compiling an -omap flavour and testing on your
> panda?
> 

No problem, I will try to enable that soon. Since we can get a single kernel for
omap2/3/4, one -omap flavor will be our goal.

Thanks a lot,
-Bryan




More information about the kernel-team mailing list