[linux-yocto] axxiaarm 3.4 preempt-rt fragments

Bruce Ashfield bruce.ashfield at windriver.com
Fri Apr 17 11:30:38 PDT 2015


On 2015-04-17 2:24 PM, Cristian Bercaru wrote:
> Hello!
>
> Sorry for sending the messages twice. I think there is something wrong
> with my smtp agent.
>
> I also tried writing fragments for axxiaarm 3.4 preeempt-rt.
> Our policy is to use the same branch i.e. 'standard/axxia/base' for both
> standard and preempt-rt kernels. Only the options included in the
> configuration fragments should make the difference.

You can't do that. The point of the "standard" branch is that
it doesn't contain preempt-rt.

So you do need the patches in both places.

preempt-rt changes enough semantics that it can't always be in
place, and we don't guarantee that it can be completely #ifdef'd
out when you turn off the RT configs.

Also, experience shows us, that you will eventually need patches
that are -rt specific, so that's what the branch is for. BSP
patches shouldn't be touching files that -rt touches, so stacking
the BSP branches on two branches is the lesser of all evils.

>
> However ktypes/preempt-rt includes
> preempt-rt-import-3.4.4-rt14.patch
> which affects both code and configuration options and does not apply on
> 'standard/axxia/base'.
>
> What should I do? Should I use a newer version of the patch?

See above. It's your BSP patches that move, not the -rt.

Bruce

>
> Thank you,
> Cristian Bercaru
>
> On 04/17/2015 09:05 PM, Cristian Bercaru wrote:
>> This series adds the first configuration fragments for axxiaarm
>> platform, standard kernel type, on linux-yocto-3.4. This is just a
>> draft. I intend to move the 'hardware' and 'software' fragments to the
>> meta-lsi yocto layer.
>>
>> Cristian Bercaru (2):
>>    meta: bsp: remove old axm5500 fragments
>>    meta: bsp: add axxiaarm standard fragments
>>
>>   .../bsp/axm5500/axm5500-preempt-rt.scc             |   13 -
>>   .../kernel-cache/bsp/axm5500/axm5500-standard.scc  |   13 -
>>   meta/cfg/kernel-cache/bsp/axm5500/axm5500.cfg      |  164 ----------
>>   meta/cfg/kernel-cache/bsp/axm5500/axm5500.scc      |    5 -
>>   .../bsp/axxiaarm/axxiaarm-standard.scc             |   17 +
>>   meta/cfg/kernel-cache/bsp/axxiaarm/hardware.cfg    |   67 ++++
>>   meta/cfg/kernel-cache/bsp/axxiaarm/platform.cfg    |  342
>> ++++++++++++++++++++
>>   meta/cfg/kernel-cache/bsp/axxiaarm/software.cfg    |  243
>> ++++++++++++++
>>   8 files changed, 669 insertions(+), 195 deletions(-)
>>   delete mode 100644
>> meta/cfg/kernel-cache/bsp/axm5500/axm5500-preempt-rt.scc
>>   delete mode 100644
>> meta/cfg/kernel-cache/bsp/axm5500/axm5500-standard.scc
>>   delete mode 100644 meta/cfg/kernel-cache/bsp/axm5500/axm5500.cfg
>>   delete mode 100644 meta/cfg/kernel-cache/bsp/axm5500/axm5500.scc
>>   create mode 100644
>> meta/cfg/kernel-cache/bsp/axxiaarm/axxiaarm-standard.scc
>>   create mode 100644 meta/cfg/kernel-cache/bsp/axxiaarm/hardware.cfg
>>   create mode 100644 meta/cfg/kernel-cache/bsp/axxiaarm/platform.cfg
>>   create mode 100644 meta/cfg/kernel-cache/bsp/axxiaarm/software.cfg
>>



More information about the linux-yocto mailing list