Skip to contentSkip to conversation

how to run .bin file in Qemu LM3S6965EVB emulation?

Qemu-devel valpassing 2 participants 2 messages Apr 15, 2008

lore
Share & tools
lore

valpassing

author
#0 lore raw

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

#1 lore raw
Quoted 5 lines · valpassing

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