All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

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.