<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 05/31/2017 01:46 PM, Khem Raj wrote:<br>
<blockquote type="cite"
cite="mid:CAMKF1srefrF0jZMm2hPUZ_q7TcfuxmMuRiVXcPVDsZNu51V88Q@mail.gmail.com">
<div><br>
<br>
On Tue, May 30, 2017 at 6:15 PM, Bruce Ashfield <<a
href="mailto:bruce.ashfield@gmail.com" target="_blank"
moz-do-not-send="true">bruce.ashfield@gmail.com</a>> wrote:<br>
><br>
><br>
> On Tue, May 30, 2017 at 6:52 PM, Alejandro Hernandez<br>
> <<a href="mailto:alejandro.hernandez@linux.intel.com"
target="_blank" moz-do-not-send="true">alejandro.hernandez@linux.intel.com</a>>
wrote:<br>
>><br>
>> Hey Andy,<br>
>><br>
>><br>
>> On 05/30/2017 05:32 PM, Andre McCurdy wrote:<br>
>>><br>
>>> On Tue, May 30, 2017 at 1:12 PM, Alejandro
Hernandez<br>
>>> <<a
href="mailto:alejandro.hernandez@linux.intel.com"
target="_blank" moz-do-not-send="true">alejandro.hernandez@linux.intel.com</a>>
wrote:<br>
>>>><br>
>>>> Hey Leo,<br>
>>>><br>
>>>> Nope, this change only applies to qemuARM, the
other ARM based BSPs are<br>
>>>> based on > ARMv6<br>
>>>><br>
>>>> Alejandro<br>
>>>><br>
>>>><br>
>>>> On 05/30/2017 02:59 PM, Leonardo Sandoval
wrote:<br>
>>>>><br>
>>>>> Alex,<br>
>>>>><br>
>>>>> is this change only applies to qemu arm? I
wonder if the native arm<br>
>>>>> arch<br>
>>>>> needs a similar series.<br>
>>>>><br>
>>>>> Leo<br>
>>>>><br>
>>>>> On Tue, 2017-05-30 at 11:44 -0700,
Alejandro Hernandez wrote:<br>
>>>>>><br>
>>>>>> The SMP kernel config presents issues
on qemuarm because:<br>
>>>>>><br>
>>>>>> CONFIG_SMP=y<br>
>>>>>> Dependencies Missing:<br>
>>>>>>Â Â Â - CPU_V6K or CPU_V7:<br>
>>>>>>Â Â Â Â These are selected by setting:<br>
>>>>>>Â Â Â Â CONFIG_ARCH_MULTI_V7=y<br>
>>>>>>Â Â Â Â or<br>
>>>>>>Â Â Â Â CONFIG_ARCH_MULTI_V6=y<br>
>>>>>><br>
>>>>>> But our QEMU + ARM BSPs are based on
armv4/v5 hence they are<br>
>>>>>> incompatible with CONFIG_SMP.<br>
>>><br>
>>> Maybe time to think (again) about updating OE's
qemu ARM builds to ARMv7.<br>
>><br>
>> I believe qemu has deep issues with newer ARMs, and
thats why it's been<br>
>> kept like that.<br>
><br>
><br>
> Qemu itself should be fine with the newer ARMs .. but we've
just targeted a<br>
> lowest common<br>
> denominator (and simple) ARM arch for this target. Since
the primary goal<br>
> isn't testing the ISA or arch<br>
> specifics via qemuarm/qemuarm64 (rather, sanity, base arch
support, etc).<br>
><br>
<br>
</div>
<div>
I think it will be more effective if we tested most used
configuration instead, it would help a larger community. GCC 7
also dropped armv5 ( the t variants are still supported )</div>
<div><br>
</div>
<div>I would think keep the name qemuarm but use armv7 based
machine to emulate would be an option I am sure meta Linaro has
some work on this that can be used in oe core </div>
<div><br>
<br>
</div>
</blockquote>
I would also assume they've got some work on this, it'd be nice to
contact them and see if this can be done, although I asked on IRC
several times to see what people thoughts were on if we should
upgrade and I practically got no feedback.<br>
<br>
<blockquote type="cite"
cite="mid:CAMKF1srefrF0jZMm2hPUZ_q7TcfuxmMuRiVXcPVDsZNu51V88Q@mail.gmail.com">
<div>
> That being said, as long as a newer platform/board was
chosen that had full<br>
> disk support<br>
> (something that the qemuarma9 lacks), then it is feasible
to do an update to<br>
> something<br>
> newer. Alternatively, we could keep the platform the same
and update the CPU<br>
> definition .. but<br>
> there's not a huge value in that.<br>
><br>
> But if we did bring in something newer, we'd have to drop
the existing<br>
> qemuarm and document that<br>
> we aren't doing any coverage on the older ARM arches.<br>
><br>
> Bruce<br>
><br>
>><br>
>><br>
>>><br>
>>>>>> This patch fixes the script, and avoids
offering SMP to the user<br>
>>>>>> when the created BSP is based on QEMU +
ARM.<br>
>>>>>><br>
>>>>><br>
>>>>>> [YOCTO #11426]<br>
>>>>>><br>
>>>>>> Signed-off-by: Alejandro Hernandez<br>
>>>>>> <<a
href="mailto:alejandro.hernandez@linux.intel.com"
target="_blank" moz-do-not-send="true">alejandro.hernandez@linux.intel.com</a>><br>
>>>>>> ---<br>
>>>>>>Â Â
.../target/arch/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend<br>
>>>>>> | 1 +<br>
>>>>>><br>
>>>>>>
.../target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend<br>
>>>>>> | 1 +<br>
>>>>>><br>
>>>>>><br>
>>>>>>
.../target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend
| 1<br>
>>>>>> +<br>
>>>>>><br>
>>>>>>
.../target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend<br>
>>>>>> | 1 +<br>
>>>>>><br>
>>>>>>
.../target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend<br>
>>>>>> | 1 +<br>
>>>>>>Â Â
.../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend<br>
>>>>>> | 1 +<br>
>>>>>>Â Â
.../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.10.bbappend<br>
>>>>>> | 1 +<br>
>>>>>>Â Â
.../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend<br>
>>>>>> | 1 +<br>
>>>>>>Â Â
.../target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend<br>
>>>>>> | 1 +<br>
>>>>>>Â Â 9 files changed, 9 insertions(+)<br>
>>>>>><br>
>>>>>> diff --git<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend<br>
>>>>>> index 7e3ce5ba12d..11105ebcc26 100644<br>
>>>>>> ---<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend<br>
>>>>>> +++<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend<br>
>>>>>> @@ -45,6 +45,7 @@
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"<br>
>>>>>>Â Â {{ if need_new_kbranch == "n": }}<br>
>>>>>>Â Â KBRANCH_{{=machine}}Â =
"{{=existing_kbranch}}"<br>
>>>>>>Â Â +{{ if qemuarch != "arm": }}<br>
>>>>>>Â Â {{ input type:"boolean" name:"smp"
prio:"30" msg:"Would you like<br>
>>>>>> SMP<br>
>>>>>> support? (y/n)" default:"y"}}<br>
>>>>>>Â Â {{ if smp == "y": }}<br>
>>>>>>Â Â KERNEL_FEATURES_append_{{=machine}}
+= " cfg/smp.scc"<br>
>>>>>> diff --git<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend<br>
>>>>>> index 81392ce38ac..ad77a662682 100644<br>
>>>>>> ---<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend<br>
>>>>>> +++<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend<br>
>>>>>> @@ -45,6 +45,7 @@
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"<br>
>>>>>>Â Â {{ if need_new_kbranch == "n": }}<br>
>>>>>>Â Â KBRANCH_{{=machine}}Â =
"{{=existing_kbranch}}"<br>
>>>>>>Â Â +{{ if qemuarch != "arm": }}<br>
>>>>>>Â Â {{ input type:"boolean" name:"smp"
prio:"30" msg:"Do you need SMP<br>
>>>>>> support? (y/n)" default:"y"}}<br>
>>>>>>Â Â {{ if smp == "y": }}<br>
>>>>>>Â Â KERNEL_FEATURES_append_{{=machine}}
+= " cfg/smp.scc"<br>
>>>>>> diff --git<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend<br>
>>>>>> index 29ad17b2009..9b5f8016841 100644<br>
>>>>>> ---<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend<br>
>>>>>> +++<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend<br>
>>>>>> @@ -45,6 +45,7 @@
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"<br>
>>>>>>Â Â {{ if need_new_kbranch == "n": }}<br>
>>>>>>Â Â KBRANCH_{{=machine}}Â =
"{{=existing_kbranch}}"<br>
>>>>>>Â Â +{{ if qemuarch != "arm": }}<br>
>>>>>>Â Â {{ input type:"boolean" name:"smp"
prio:"30" msg:"Do you need SMP<br>
>>>>>> support? (y/n)" default:"y"}}<br>
>>>>>>Â Â {{ if smp == "y": }}<br>
>>>>>>Â Â KERNEL_FEATURES_append_{{=machine}}
+= " cfg/smp.scc"<br>
>>>>>> diff --git<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend<br>
>>>>>> index a73b1aa132f..2fc992992cf 100644<br>
>>>>>> ---<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend<br>
>>>>>> +++<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend<br>
>>>>>> @@ -45,6 +45,7 @@
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"<br>
>>>>>>Â Â {{ if need_new_kbranch == "n": }}<br>
>>>>>>Â Â KBRANCH_{{=machine}}Â =
"{{=existing_kbranch}}"<br>
>>>>>>Â Â +{{ if qemuarch != "arm": }}<br>
>>>>>>Â Â {{ input type:"boolean" name:"smp"
prio:"30" msg:"Do you need SMP<br>
>>>>>> support? (y/n)" default:"y"}}<br>
>>>>>>Â Â {{ if smp == "y": }}<br>
>>>>>>Â Â KERNEL_FEATURES_append_{{=machine}}
+= " cfg/smp.scc"<br>
>>>>>> diff --git<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend<br>
>>>>>> index 7d40671fd43..868d12af04b 100644<br>
>>>>>> ---<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend<br>
>>>>>> +++<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.8.bbappend<br>
>>>>>> @@ -45,6 +45,7 @@
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"<br>
>>>>>>Â Â {{ if need_new_kbranch == "n": }}<br>
>>>>>>Â Â KBRANCH_{{=machine}}Â =
"{{=existing_kbranch}}"<br>
>>>>>>Â Â +{{ if qemuarch != "arm": }}<br>
>>>>>>Â Â {{ input type:"boolean" name:"smp"
prio:"30" msg:"Do you need SMP<br>
>>>>>> support? (y/n)" default:"y"}}<br>
>>>>>>Â Â {{ if smp == "y": }}<br>
>>>>>>Â Â KERNEL_FEATURES_append_{{=machine}}
+= " cfg/smp.scc"<br>
>>>>>> diff --git<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend<br>
>>>>>> index a9fd9ecff5a..13450f47438 100644<br>
>>>>>> ---<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend<br>
>>>>>> +++<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend<br>
>>>>>> @@ -45,6 +45,7 @@
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"<br>
>>>>>>Â Â {{ if need_new_kbranch == "n": }}<br>
>>>>>>Â Â KBRANCH_{{=machine}}Â =
"{{=existing_kbranch}}"<br>
>>>>>>Â Â +{{ if qemuarch != "arm": }}<br>
>>>>>>Â Â {{ input type:"boolean" name:"smp"
prio:"30" msg:"Would you like<br>
>>>>>> SMP<br>
>>>>>> support? (y/n)" default:"y"}}<br>
>>>>>>Â Â {{ if smp == "y": }}<br>
>>>>>>Â Â KERNEL_FEATURES_append_{{=machine}}
+= " cfg/smp.scc"<br>
>>>>>> diff --git<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.10.bbappend<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.10.bbappend<br>
>>>>>> index 5873da4245c..e1af4976fc4 100644<br>
>>>>>> ---<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.10.bbappend<br>
>>>>>> +++<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.10.bbappend<br>
>>>>>> @@ -45,6 +45,7 @@
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"<br>
>>>>>>Â Â {{ if need_new_kbranch == "n": }}<br>
>>>>>>Â Â KBRANCH_{{=machine}}Â =
"{{=existing_kbranch}}"<br>
>>>>>>Â Â +{{ if qemuarch != "arm": }}<br>
>>>>>>Â Â {{ input type:"boolean" name:"smp"
prio:"30" msg:"Would you like<br>
>>>>>> SMP<br>
>>>>>> support? (y/n)" default:"y"}}<br>
>>>>>>Â Â {{ if smp == "y": }}<br>
>>>>>>Â Â KERNEL_FEATURES_append_{{=machine}}
+= " cfg/smp.scc"<br>
>>>>>> diff --git<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend<br>
>>>>>> index cdee7737983..a2511ba197c 100644<br>
>>>>>> ---<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend<br>
>>>>>> +++<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend<br>
>>>>>> @@ -45,6 +45,7 @@
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"<br>
>>>>>>Â Â {{ if need_new_kbranch == "n": }}<br>
>>>>>>Â Â KBRANCH_{{=machine}}Â =
"{{=existing_kbranch}}"<br>
>>>>>>Â Â +{{ if qemuarch != "arm": }}<br>
>>>>>>Â Â {{ input type:"boolean" name:"smp"
prio:"30" msg:"Would you like<br>
>>>>>> SMP<br>
>>>>>> support? (y/n)" default:"y"}}<br>
>>>>>>Â Â {{ if smp == "y": }}<br>
>>>>>>Â Â KERNEL_FEATURES_append_{{=machine}}
+= " cfg/smp.scc"<br>
>>>>>> diff --git<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend<br>
>>>>>> index 24c28803ee7..fdf66bb4429 100644<br>
>>>>>> ---<br>
>>>>>><br>
>>>>>>
a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend<br>
>>>>>> +++<br>
>>>>>><br>
>>>>>>
b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.8.bbappend<br>
>>>>>> @@ -45,6 +45,7 @@
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"<br>
>>>>>>Â Â {{ if need_new_kbranch == "n": }}<br>
>>>>>>Â Â KBRANCH_{{=machine}}Â =
"{{=existing_kbranch}}"<br>
>>>>>>Â Â +{{ if qemuarch != "arm": }}<br>
>>>>>>Â Â {{ input type:"boolean" name:"smp"
prio:"30" msg:"Would you like<br>
>>>>>> SMP<br>
>>>>>> support? (y/n)" default:"y"}}<br>
>>>>>>Â Â {{ if smp == "y": }}<br>
>>>>>>Â Â KERNEL_FEATURES_append_{{=machine}}
+= " cfg/smp.scc"<br>
>>>>>> --<br>
>>>>>> 2.12.0<br>
>>>>>><br>
>>>> --<br>
>>>> _______________________________________________<br>
>>>> yocto mailing list<br>
>>>> <a href="mailto:yocto@yoctoproject.org"
target="_blank" moz-do-not-send="true">yocto@yoctoproject.org</a><br>
>>>> <a
href="https://lists.yoctoproject.org/listinfo/yocto"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.yoctoproject.org/listinfo/yocto</a><br>
>><br>
>><br>
>> --<br>
>> _______________________________________________<br>
>> yocto mailing list<br>
>> <a href="mailto:yocto@yoctoproject.org"
target="_blank" moz-do-not-send="true">yocto@yoctoproject.org</a><br>
>> <a
href="https://lists.yoctoproject.org/listinfo/yocto"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.yoctoproject.org/listinfo/yocto</a><br>
><br>
><br>
><br>
><br>
> --<br>
> "Thou shalt not follow the NULL pointer, for chaos and
madness await thee at<br>
> its end"<br>
><br>
> --<br>
> _______________________________________________<br>
> yocto mailing list<br>
> <a href="mailto:yocto@yoctoproject.org" target="_blank"
moz-do-not-send="true">yocto@yoctoproject.org</a><br>
> <a href="https://lists.yoctoproject.org/listinfo/yocto"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.yoctoproject.org/listinfo/yocto</a><br>
><br>
</div>
</blockquote>
<br>
</body>
</html>