Linux on ARM Cortex M3 Processor and in QEMU

ARM has ported linux to the Cortex M3 microprocessor. See the linux link on arm site. Update 2012-9-26: How to run it in QEMU.

Another note: How to run .bin on a LM3S6965EVB in QEMU?

From: valpassing
Subject: [Qemu-devel] how to run .bin file in Qemu LM3S6965EVB emulation?
Date: Tue, 15 Apr 2008 11:30:53 +0800
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
From: Paul Brook
Subject: Re: [Qemu-devel] how to run .bin file in Qemu LM3S6965EVB emulation?
Date: Tue, 15 Apr 2008 14:13:44 +0100
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
Advertisements

About minghuasweblog

a long time coder
This entry was posted in All, C/C++, Hardware, Tools and tagged , , , , , , , , , , . Bookmark the permalink.

One Response to Linux on ARM Cortex M3 Processor and in QEMU

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s