All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kai Kang <kai.kang@windriver.com>
To: <yocto@yoctoproject.org>
Subject: [meta-yocto][PATCH] enable aarch64 support for qemu in yocto
Date: Fri, 15 Aug 2014 11:21:32 +0800	[thread overview]
Message-ID: <1408072893-28126-1-git-send-email-kai.kang@windriver.com> (raw)

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



             reply	other threads:[~2014-08-15  3:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-15  3:21 Kai Kang [this message]
2014-08-15  3:21 ` [PATCH] qemu: enable aarch64 support in yocto Kai Kang
2014-08-20  1:42   ` Kang Kai
2014-09-17  7:53   ` Kang Kai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1408072893-28126-1-git-send-email-kai.kang@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.