Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: Lloyd777 on December 04, 2013, 05:19:07 PM

Title: Emulate A20 debian image with QEMU ?
Post by: Lloyd777 on December 04, 2013, 05:19:07 PM
Hello everyone,

My school will work on a project with a A20 board. There are many teams on this project, so we want to virtualize the environnemnt of the A20 in order everyone can work.

We downloaded the debian image kernel 3.4 provide by the official page A20, but we can't manage to run this image with QEMU. A20 use a dual core A7-cortex, so we search if QEMU support it, and we see QEMU doesn't support it. But we see A15-Cortex can be used instead of A7-cortex (it will only be slower) wich is supported by QEMU.

So I would like to know, if somebody has succeded tu run the debian image from A20 with QEMU, or it's impossible for the moment ? Thank you very much, if you have ideas.

Regards
Title: Re: Emulate A20 debian image with QEMU ?
Post by: isidoro on December 17, 2013, 03:25:19 PM
I have got an olinuxino a10 too, so I followed this:

http://jamesbond3142.no-ip.org/wiki/wiki.cgi/FatdogArm/AdoptingFatdogArmForQemu

I think it will be easy to emulate a20 too.
regards,
Gianni
Title: Re: Emulate A20 debian image with QEMU ?
Post by: d4 on July 09, 2021, 01:32:47 PM
Hi.

 Instead of emulating the whole system, you may emulate the O.S.

I have a olinuxino lime A20, and the O.S. is on the SD card ; I emulate it in a Debian system.

Instructions:

Title: Re: Emulate A20 debian image with QEMU ?
Post by: d4 on July 09, 2021, 01:42:49 PM
The command
# systemd-nspawn -b -D /mnt

  would be better, because it would start the whole O.S. in the container (from
/sbin/init

down, all services), but unfortunately it fails with the current images , with error
# Failed to enqueue loopback interface start request: Operation not supported
; it is a known bug https://bugs.launchpad.net/qemu/+bug/1886811