Missing QEMU in Legato

Hello,

I have a question regarding testing Legato framework in qemu.

If i try to launch the legato-qemu script, the fetch part fails → file does not exist

sierra@sierra-VM:~/legato$ legato-qemu - launch qemu
 Virtual target (arm) 
virt-arm
http://downloads.sierrawireless.com/legato/virt/img-virt-arm.tar.bz2
 Fetching image from server 
 Fetching images from http://downloads.sierrawireless.com/legato/virt/img-virt-arm.tar.bz2 ... 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    16  100    16    0     0     16      0  0:00:01 --:--:--  0:00:01    16
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
 Failed to retrieve image 
sierra@sierra-VM:~/legato$

Does anybody know a workaround for this? or maybe when this will be fixed?

Thanks
M.

Hi Mihai,

the qemu image is not really supported and we are currently not shipping the image for it.

You can generate the tarball from the Yocto tarball that SWI distributes using make image_virt.
There should be an img-virt-arm.tar.bz2 in build/tmp/deploy/images/ .

However this is not really maintained and we know Legato doesn’t work with this image at the moment, which is why it is not being shipped, but feel free to try to make it work (and eventually upstream your patches if you do).

Thanks,
Bert