[linux-yocto] [PATCH] intel-quark: Add intel-quark-preempt-rt bsp configuration

Jan Kiszka jan.kiszka at siemens.com
Tue Feb 7 22:23:59 PST 2017


On 2017-02-08 05:10, Bruce Ashfield wrote:
> On 2017-02-06 1:49 PM, Jan Kiszka wrote:
>> From: Christian Storm <christian.storm at siemens.com>
>>
>> While there are intel-quark configurations for the KTYPEs standard and
>> tiny in bsp/intel-common, there's none for the preempt-rt KTYPE.
>> Trying to build preempt-rt enabled kernels such as linux-yocto-rt for
>> intel-quark yields a .config having a potentially misconfigured
>> architecture. More importantly, however, preempt-rt related CONFIG
>> options are not enabled. Hence, a build of, e.g., linux-yocto-rt, does
>> not result in a preempt-rt enabled kernel.
>>
>> This patch qualifies to be (back)ported to other branches than master.
> 
> I've merged this to the 4.9 and master kernel-cache branches. I'll
> send SRCREV updates for it in my next consolidated pull request.
> 
> If they are needed for other releases, i.e. morty, it is an easy
> cherry pick.

Thanks! For morty, you should also merge it to the 4.8 branch, and we
would be happy if you could add it to 4.4 as well, with corresponding
SRCREV patches.

Jan

>>
>> Signed-off-by: Christian Storm <christian.storm at siemens.com>
>> Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
>> ---
>>
>> In particular, we would be interested in a 4.4 application as that is
>> currently in use by meta-iot2000.
>>
>>  bsp/intel-common/intel-quark-preempt-rt.scc | 20 ++++++++++++++++++++
>>  1 file changed, 20 insertions(+)
>>  create mode 100644 bsp/intel-common/intel-quark-preempt-rt.scc
>>
>> diff --git a/bsp/intel-common/intel-quark-preempt-rt.scc
>> b/bsp/intel-common/intel-quark-preempt-rt.scc
>> new file mode 100644
>> index 00000000..8a00fae4
>> --- /dev/null
>> +++ b/bsp/intel-common/intel-quark-preempt-rt.scc
>> @@ -0,0 +1,20 @@
>> +# intel-quark-preempt-rt.scc
>> +#
>> +# preempt-rt ktype for 32 bit Quark / X1000 CPUs
>> +#
>> +
>> +define KMACHINE intel-quark
>> +define KARCH i386
>> +define KTYPE preempt-rt
>> +
>> +include ktypes/preempt-rt/preempt-rt.scc
>> +branch intel
>> +
>> +# Enable booting from USB for Standard Kernel Image
>> +include cfg/usb-mass-storage.scc
>> +include cfg/boot-live.scc
>> +
>> +include intel-common.scc
>> +include features/power/intel.scc
>> +include intel-common-drivers-32.scc
>> +include intel-quark.scc
>>
> 

-- 
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux


More information about the linux-yocto mailing list