[yocto] Meta Intel / Cedartrail / Denzil - how to get unionfs in the kernel

Saxena, Rahul rahul.saxena at intel.com
Mon Oct 8 09:28:45 PDT 2012



-----Original Message-----
From: Bruce Ashfield [mailto:bruce.ashfield at gmail.com] 
Sent: Monday, October 08, 2012 7:00 AM
To: Chris Tapp
Cc: Saxena, Rahul; yocto at yoctoproject.org Project
Subject: Re: [yocto] Meta Intel / Cedartrail / Denzil - how to get unionfs in the kernel

On Mon, Oct 8, 2012 at 3:58 AM, Chris Tapp <opensource at keylevel.com> wrote:
> On 7 Oct 2012, at 22:41, Bruce Ashfield wrote:
>
>> On Sun, Oct 7, 2012 at 6:08 PM, Chris Tapp <opensource at keylevel.com> wrote:
>>> On 7 Oct 2012, at 03:00, Saxena, Rahul wrote:
>>>
>>>> Try adding the unionfs feature (below) to your kernel:
>>>>
>>>> http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.0/tree/meta
>>>> /cfg/kernel-cache/features/unionfs?h=meta
>>>>
>>>> create a file my_cedartrail.scc with following line:
>>>> include features/unionfs/unionfs.scc
>>>>
>>>> put this file in a dir linux-yocto, the dir being created in
>>>>
>>>> meta-cedartrail/recipes-kernel/linux
>>>>
>>>> add following line in  
>>>> meta-cedartrail/recipes-kernel/Linux/linux-yocto_3.0.bbappend
>>>>
>>>> SRC_URI +="file://my_cedartrail.scc"
>>>
>>> Thanks - I thought just running 'menuconfig' would allow me to enable it (for a quick test).
>>>
>>> However, this still doesn't seem to be working. I can see that 'my_cedartrail.scc' gets fetched in to the build area, but I still don't see CONFIG_UNION_FS if I run 'menuconfig'. There is also no 'unionfs' folder in fs/ of the build tree.
>>>
>>> Also, if I specify an invalid feature (e.g. feature2/unionfs/unionfs.scc) I'm not seeing any diagnostic.
>>
>> unionfs was never merged to the 3.0 kernel, I re-added it to the 
>> development trees for 3.2 and the 3.4 kernel (aufs for the 3.6 tree 
>> at the moment). The meta data is carried forward from the older 
>> kernels as a placeholder and is documented in the .scc file itself:
>>
>> -----------------------
>> kconf non-hardware unionfs.cfg
>>
>> # commented pending update to a newer version ported to 2.6.35+ # 
>> patch unionfs-2.5.4-integration.patch
>> -----------------------
>>
>> So to get unionfs in the 3.0 kernel, we'd need a port .. but since 
>> we've moved on quite a bit past 3.0, I don't know of any pending 
>> ports myself.
>
> Thanks Bruce.
>
> I guess I need to ask the Intel guys if there are any plans to move Cedartrail on from 3.0 ?

It will have to happen post yocto 1.3 (as far as I know), since the
3.0 kernel will be
dropped at that point.

For the short term, it's likely easier to backport/update unionfs than it would be to update the BSP .. but I can't speak for the time to be spent doing it :)

Cheers,

Bruce


Chris,

There are no plans to port Cedartrail BSP to support any other Kernel other than 3.0. The reason is that
the Cedartrail PVR Graphics driver is supported only for 3.0 kernel.

Rahul

>
>> Cheers,
>>
>> Bruce
>>
>>>
>>>>
>>>> -----Original Message-----
>>>> From: yocto-bounces at yoctoproject.org 
>>>> [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Chris Tapp
>>>> Sent: Saturday, October 06, 2012 5:43 PM
>>>> To: yocto at yoctoproject.org Project
>>>> Subject: [yocto] Meta Intel / Cedartrail / Denzil - how to get 
>>>> unionfs in the kernel
>>>>
>>>> I' trying to enable unionfs in the 3.0.32 kernel for the cedartrail BSP under Denzil 7.0.1.
>>>>
>>>> However, the CONFIG_UNION_FS config flag isn't in the .config ...
>>>>
>>>> Is there something else I need to enable, or do I need to find another way?
>>>>
>>>> Chris Tapp
>>>>
>>>> opensource at keylevel.com
>>>> www.keylevel.com
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto at yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>> Chris Tapp
>>>
>>> opensource at keylevel.com
>>> www.keylevel.com
>>>
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>>
>> --
>> "Thou shalt not follow the NULL pointer, for chaos and madness await 
>> thee at its end"
>
> Chris Tapp
>
> opensource at keylevel.com
> www.keylevel.com
>
>
>



--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"



More information about the yocto mailing list