qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Help - Using QEMU with lm3s811evb
@ 2011-09-07 11:16 Danilo Bojovic
  2011-09-07 11:28 ` Peter Maydell
  0 siblings, 1 reply; 2+ messages in thread
From: Danilo Bojovic @ 2011-09-07 11:16 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]

Hi,

I'm wondering can anyone help me with my issue:
I want to start ARM system emulator on QEMU for The Luminary Micro Stellaris
LM3S811EVB emulation.
On my machine I have installed CentOS 6 and QEMU 0.15.0. On QEMU I have
Debian ARM version running with rebuilded kernel (v 3.0.4). Till now I
started QEMU
 with this comand:
qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.26-2-versatile -initrd
initrd.img-2.6.26-2-versatile -hda debian_lenny_arm_standard.qcow2 -append
"root=/dev/sda1"

Now, tried to start QEMU with command:
qemu-system-arm -M lm3s811evb -kernel vmlinuz-3.0.4 -initrd
initrd.img-3.0.4 -hda debian_lenny_arm_standard.qcow2 -append
"root=/dev/sda1"

and then I get message:
vmlinuz-3.0.4 : No such file or directory
qemu: could not load kernel 'vmlinuz-3.0.4'

This is strange because that file exist in my file system in /boot
directory. I don't know ho to resolve this, so please help.
Thanks in advance,

Best regards,

p.s. I'm new with this stuff so I don't know is this the right way to ask
but I hope I'll get some help or other link/mail where can I look for
solution.

[-- Attachment #2: Type: text/html, Size: 2878 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Help - Using QEMU with lm3s811evb
  2011-09-07 11:16 [Qemu-devel] Help - Using QEMU with lm3s811evb Danilo Bojovic
@ 2011-09-07 11:28 ` Peter Maydell
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2011-09-07 11:28 UTC (permalink / raw)
  To: Danilo Bojovic; +Cc: qemu-devel

On 7 September 2011 12:16, Danilo Bojovic <danilo.d.bojovic@gmail.com> wrote:

> Now, tried to start QEMU with command:
> qemu-system-arm -M lm3s811evb -kernel vmlinuz-3.0.4 -initrd
> initrd.img-3.0.4 -hda debian_lenny_arm_standard.qcow2 -append
> "root=/dev/sda1"
> and then I get message:
> vmlinuz-3.0.4 : No such file or directory
> qemu: could not load kernel 'vmlinuz-3.0.4'
> This is strange because that file exist in my file system in /boot
> directory. I don't know ho to resolve this, so please help.

The first (and minor) problem is that you need to specify the
exact path to the kernel file: qemu will not randomly look in
/boot (why should it?) but only where you tell it to. If you
specify a filename with no directory part it will look in the
current working directory.

The more major issue here is that you seem to be trying to run
a standard Linux kernel and filesystem image on this machine.
This will never work -- the lm3s811evb is a machine based on
the ARM Cortex-M3 microcontroller, which does not have an MMU
and is not capable of running Linux.

If you want to use the lm3s811evb model you need a binary
(probably an RTOS or possibly a standalone bare-metal app)
which has been compiled specifically for this hardware.

What are you actually trying to achieve here?

-- PMM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-07 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-07 11:16 [Qemu-devel] Help - Using QEMU with lm3s811evb Danilo Bojovic
2011-09-07 11:28 ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).