Re: Meta Intel / Cedartrail / Denzil - how to get unionfs in the kernel


Jim Abernathy
 



On Mon, Oct 8, 2012 at 12:28 PM, Saxena, Rahul <rahul.saxena@...> wrote:


-----Original Message-----
From: Bruce Ashfield [mailto:bruce.ashfield@...]
Sent: Monday, October 08, 2012 7:00 AM
To: Chris Tapp
Cc: Saxena, Rahul; yocto@... 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@...> wrote:
> On 7 Oct 2012, at 22:41, Bruce Ashfield wrote:
>
>> On Sun, Oct 7, 2012 at 6:08 PM, Chris Tapp <opensource@...> 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

 
It may not solve the 3.0 problem for CDV and Yocto, but I noticed that Ubuntu 12.04.1 with the 3.2 kernel supports the PVR driver on it's 3.2.0 kernel.  I've only tested it successfully on an All-In-One with LVDS off of an eDP to LVDS converter used on the DN2800MT motherboard.
 
Jim A
 
>
>> Cheers,
>>
>> Bruce
>>
>>>
>>>>
>>>> -----Original Message-----
>>>> From: yocto-bounces@...
>>>> [mailto:yocto-bounces@...] On Behalf Of Chris Tapp
>>>> Sent: Saturday, October 06, 2012 5:43 PM
>>>> To: yocto@... 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@...
>>>> www.keylevel.com
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto@...
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>> Chris Tapp
>>>
>>> opensource@...
>>> www.keylevel.com
>>>
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@...
>>> 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@...
> www.keylevel.com
>
>
>



--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
_______________________________________________
yocto mailing list
yocto@...
https://lists.yoctoproject.org/listinfo/yocto

Join yocto@lists.yoctoproject.org to automatically receive all group messages.