qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] Unable to run QEMU with ubuntu ARM image on mac.


From: Peter Maydell
Subject: Re: [Qemu-arm] Unable to run QEMU with ubuntu ARM image on mac.
Date: Mon, 4 Apr 2016 14:35:19 +0100

On 4 April 2016 at 06:30, dharmik thakkar <address@hidden> wrote:
> I am trying to run ubuntu for arm using qemu. I have tried using different
> images for ubuntu but have ended up with same error ‘Trying to execute code
> outside RAM or ROM at 0x08000000’.
>
> Below are the steps I have followed to run ubuntu on qemu -
>
>
> 1. qemu-img create -f qcow2 linuxarm.qcow2 10G.
>
> 2. qemu-system-arm -hda linuxarm.qcow2 -cdrom
> ~/Downloads/2015-04-06-ubuntu-trusty.zip -boot d -m 512 -M virt

This command line does not specify either:
   (a) a kernel to boot via -kernel
or (b) a BIOS image to boot via -bios (like UEFI)

So the emulator starts trying to execute instructions starting at
address zero, which are all NOPs until it reaches the end of the
emulated flash memory at 0x800000. Then it gives you this error.

You should change your command line one way or the other.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]