Software Archive
Read-only legacy content

Running image on qemu

Michal_Pawlowski
Beginner
532 Views

Does anyone knows how do I run galileo iot image on qemu?

When I call runqemu from the build folder like this:

runqemu qemux86 tmp/deploy/images/clanton/bzImage--3.8-r0-clanton-20140220130836.bin tmp/deploy/images/clanton/iot-devkit-prof-dev-image-clanton.ext3

qemu fires up but freezes on "Booting the kernel." message

0 Kudos
4 Replies
Brendan_L_Intel
Employee
532 Views

I don't recommend this at all, you'll need to change kernel etc... also if you're already running linux it's pointless really, just use chroot. If you run a 64bit linux use linux32 in front of the chroot command and you're good to go (remember to mount /proc, /dev and /sys). schroot is a very good chroot util if you don't want to manually do chroots all the time : https://wiki.debian.org/Schroot

0 Kudos
Michal_Pawlowski
Beginner
532 Views

Brendan Le Foll (Intel) wrote:

I don't recommend this at all, you'll need to change kernel etc... also if you're already running linux it's pointless really, just use chroot. If you run a 64bit linux use linux32 in front of the chroot command and you're good to go (remember to mount /proc, /dev and /sys). schroot is a very good chroot util if you don't want to manually do chroots all the time : https://wiki.debian.org/Schroot

Nice one. That will be a great for travelling.

Btw is there any way that I could simulate interacting with a real board, setting gpios and plugging "virtual devices" for example?

0 Kudos
Christopher_M_2
Beginner
532 Views

Hay Brendan,

Thanks for the ptr to schroot.

Been running Sid since as far back as Potato (or so) and never ran across that one.

Thanks man   Chris

 

 

0 Kudos
Matthias_H_Intel
Employee
532 Views

sidenote: if your Linux host is x64 and you want to compile within chroot make sure to compile for the right architecture (e.g. -m32 when using gcc)

0 Kudos
Reply