* [meta-yocto][PATCH] enable aarch64 support for qemu in yocto
@ 2014-08-15 3:21 Kai Kang
2014-08-15 3:21 ` [PATCH] qemu: enable aarch64 support " Kai Kang
0 siblings, 1 reply; 4+ messages in thread
From: Kai Kang @ 2014-08-15 3:21 UTC (permalink / raw)
To: yocto
Enable aarch64 support for qemu in yocto. Var QEMU_TARGETS in poky.conf
overrides the var in qemu recipe, so add in poky.conf too.
Use linaro prebuilt aarch64 for test. Test steps:
1 run native qemu with aarch64 image:
$ wget http://people.linaro.org/~alex.bennee/images/aarch64-linux-3.15rc2-buildroot.img
$ tmp/sysroots/x86_64-linux/usr/bin/qemu-system-aarch64 -machine virt -cpu cortex-a57 -machine type=virt -nographic -smp 1 -m 2048 -kernel aarch64-linux-3.15rc2-buildroot.img
2 run qemu-system-aarch64 on core-image-sato of qemux86-64
$ runqemu qemux86 qemuparams="-m 2048"
When booted, run
$ qemu-system-aarch64 -machine virt -cpu cortex-a57 -machine type=virt -nographic -smp 1 -m 2048 -kernel aarch64-linux-3.15rc2-buildroot.img
Boot could boot aarch64 image successfully.
Kai Kang (1):
qemu: enable aarch64 support in yocto
meta-yocto/conf/distro/poky.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
1.9.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] qemu: enable aarch64 support in yocto
2014-08-15 3:21 [meta-yocto][PATCH] enable aarch64 support for qemu in yocto Kai Kang
@ 2014-08-15 3:21 ` Kai Kang
2014-08-20 1:42 ` Kang Kai
2014-09-17 7:53 ` Kang Kai
0 siblings, 2 replies; 4+ messages in thread
From: Kai Kang @ 2014-08-15 3:21 UTC (permalink / raw)
To: yocto
qemu 2.1.0 support aarch64 targets, so add aarch64 to QEMU_TARGETS to
enable qemu aarch64 support. Var QEMU_TARGETS in poky.conf overrides the
var in qemu recipe, so add in poky.conf too.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
meta-yocto/conf/distro/poky.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
index ec251f9..9a67b50 100644
--- a/meta-yocto/conf/distro/poky.conf
+++ b/meta-yocto/conf/distro/poky.conf
@@ -44,7 +44,7 @@ DISTRO_EXTRA_RDEPENDS_append_qemux86-64 = " ${POKYQEMUDEPS}"
TCLIBCAPPEND = ""
-QEMU_TARGETS ?= "arm i386 mips mipsel ppc x86_64"
+QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel ppc x86_64"
# Other QEMU_TARGETS "mips64 mips64el sh4"
PREMIRRORS ??= "\
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] qemu: enable aarch64 support in yocto
2014-08-15 3:21 ` [PATCH] qemu: enable aarch64 support " Kai Kang
@ 2014-08-20 1:42 ` Kang Kai
2014-09-17 7:53 ` Kang Kai
1 sibling, 0 replies; 4+ messages in thread
From: Kang Kai @ 2014-08-20 1:42 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 990 bytes --]
On 2014?08?15? 11:21, Kai Kang wrote:
> qemu 2.1.0 support aarch64 targets, so add aarch64 to QEMU_TARGETS to
> enable qemu aarch64 support. Var QEMU_TARGETS in poky.conf overrides the
> var in qemu recipe, so add in poky.conf too.
>
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
> meta-yocto/conf/distro/poky.conf | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
> index ec251f9..9a67b50 100644
> --- a/meta-yocto/conf/distro/poky.conf
> +++ b/meta-yocto/conf/distro/poky.conf
> @@ -44,7 +44,7 @@ DISTRO_EXTRA_RDEPENDS_append_qemux86-64 = " ${POKYQEMUDEPS}"
>
> TCLIBCAPPEND = ""
>
> -QEMU_TARGETS ?= "arm i386 mips mipsel ppc x86_64"
> +QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel ppc x86_64"
> # Other QEMU_TARGETS "mips64 mips64el sh4"
>
> PREMIRRORS ??= "\
Hi,
Any comment for this patch? Thanks.
--
Regards,
Neil | Kai Kang
[-- Attachment #2: Type: text/html, Size: 1533 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] qemu: enable aarch64 support in yocto
2014-08-15 3:21 ` [PATCH] qemu: enable aarch64 support " Kai Kang
2014-08-20 1:42 ` Kang Kai
@ 2014-09-17 7:53 ` Kang Kai
1 sibling, 0 replies; 4+ messages in thread
From: Kang Kai @ 2014-09-17 7:53 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 953 bytes --]
On 2014?08?15? 11:21, Kai Kang wrote:
> qemu 2.1.0 support aarch64 targets, so add aarch64 to QEMU_TARGETS to
> enable qemu aarch64 support. Var QEMU_TARGETS in poky.conf overrides the
> var in qemu recipe, so add in poky.conf too.
>
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
> meta-yocto/conf/distro/poky.conf | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
> index ec251f9..9a67b50 100644
> --- a/meta-yocto/conf/distro/poky.conf
> +++ b/meta-yocto/conf/distro/poky.conf
> @@ -44,7 +44,7 @@ DISTRO_EXTRA_RDEPENDS_append_qemux86-64 = " ${POKYQEMUDEPS}"
>
> TCLIBCAPPEND = ""
>
> -QEMU_TARGETS ?= "arm i386 mips mipsel ppc x86_64"
> +QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel ppc x86_64"
> # Other QEMU_TARGETS "mips64 mips64el sh4"
>
> PREMIRRORS ??= "\
ping?
--
Regards,
Neil | Kai Kang
[-- Attachment #2: Type: text/html, Size: 1480 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-09-17 7:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-15 3:21 [meta-yocto][PATCH] enable aarch64 support for qemu in yocto Kai Kang
2014-08-15 3:21 ` [PATCH] qemu: enable aarch64 support " Kai Kang
2014-08-20 1:42 ` Kang Kai
2014-09-17 7:53 ` Kang Kai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.