Patchwork [oe-core,4/5] linux-yocto: Add support for qemuarmv7 and qemuarma9.

login
register
mail settings
Submitter Elvis Dowson
Date Aug. 29, 2013, 6:35 p.m.
Message ID <1377801358-3942-4-git-send-email-elvis.dowson@gmail.com>
Download mbox | patch
Permalink /patch/57067/
State Not Applicable
Headers show

Comments

Elvis Dowson - Aug. 29, 2013, 6:35 p.m.
This commit
- adds qemuarmv7 and qemuarma9 to the list of compatible machines.

Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
---
 meta/recipes-kernel/linux/linux-yocto_3.8.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Elvis Dowson - Aug. 29, 2013, 6:48 p.m.
Hi Bruce,

On Aug 29, 2013, at 10:43 PM, Bruce Ashfield <bruce.ashfield@windriver.com> wrote:

> On 13-08-29 02:35 PM, Elvis Dowson wrote:
>> This commit
>> - adds qemuarmv7 and qemuarma9 to the list of compatible machines.
>> 
>> Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
>> ---
>>  meta/recipes-kernel/linux/linux-yocto_3.8.bb |    2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/meta/recipes-kernel/linux/linux-yocto_3.8.bb b/meta/recipes-kernel/linux/linux-yocto_3.8.bb
>> index 790e3e3..0bd9913 100644
>> --- a/meta/recipes-kernel/linux/linux-yocto_3.8.bb
>> +++ b/meta/recipes-kernel/linux/linux-yocto_3.8.bb
>> @@ -21,7 +21,7 @@ PV = "${LINUX_VERSION}+git${SRCPV}"
>> 
>>  KMETA = "meta"
>> 
>> -COMPATIBLE_MACHINE = "qemuarm|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
>> +COMPATIBLE_MACHINE = "qemuarm|qemuarmv7|qemuarma9|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
> 
> We can add compatibility, but the same question needs to be asked
> to Richard when we added qemumips64: does the project have the capacity
> to build and QA the machines by default.
> 
> We can always get everything working in layers for the time being and
> then move them into the core, once everything is working well, and
> everyone agrees to add the extra support load.

I recommend that we create a new meta-qemu layer, to support development of
qemu machine configurations for
qemuarmv7 (useful for emulating TI OMAP 3 based platforms)
qemuarma9 (useful for emulating TI OMAP 4 and Freescale i.MX6 platforms)
qemuarmv8 (for AArch64 platforms)
qemumips64 
etc

That should just about cover current ARM A8, A9, A15 and MIPS64.

Best regards,

Elvis Dowson

Patch

diff --git a/meta/recipes-kernel/linux/linux-yocto_3.8.bb b/meta/recipes-kernel/linux/linux-yocto_3.8.bb
index 790e3e3..0bd9913 100644
--- a/meta/recipes-kernel/linux/linux-yocto_3.8.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_3.8.bb
@@ -21,7 +21,7 @@  PV = "${LINUX_VERSION}+git${SRCPV}"
 
 KMETA = "meta"
 
-COMPATIBLE_MACHINE = "qemuarm|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
+COMPATIBLE_MACHINE = "qemuarm|qemuarmv7|qemuarma9|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
 
 # Functionality flags
 KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"