qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] how to run .bin file in Qemu LM3S6965EVB emulation?
@ 2008-04-15  3:30 valpassing
  2008-04-15 13:13 ` Paul Brook
  0 siblings, 1 reply; 2+ messages in thread
From: valpassing @ 2008-04-15  3:30 UTC (permalink / raw)
  To: qemu-devel

Hi,

I've build a .bin file for LM3S6965EVB board. If I have a real one, I
need to burn this bin file into flash. Under  qemu, what I should do
to run this .bin file? Found no setup-by-setup guide in the website.

The ld configuration for this .bin file is:
MEMORY
{
    FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 256K
    SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
}



Thanks,
Valpa

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

* Re: [Qemu-devel] how to run .bin file in Qemu LM3S6965EVB emulation?
  2008-04-15  3:30 [Qemu-devel] how to run .bin file in Qemu LM3S6965EVB emulation? valpassing
@ 2008-04-15 13:13 ` Paul Brook
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Brook @ 2008-04-15 13:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: valpassing

On Tuesday 15 April 2008, valpassing wrote:
> Hi,
>
> I've build a .bin file for LM3S6965EVB board. If I have a real one, I
> need to burn this bin file into flash. Under  qemu, what I should do
> to run this .bin file?

Create a raw binary image (objcopy -O binary) and load that with the -kernel 
option. The ELF loader is currently a bit busted, it uses VMA, not LMA.

Paul

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

end of thread, other threads:[~2008-04-15 13:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-15  3:30 [Qemu-devel] how to run .bin file in Qemu LM3S6965EVB emulation? valpassing
2008-04-15 13:13 ` Paul Brook

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).