how to run .bin file in Qemu LM3S6965EVB emulation?
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
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