[Milkymist-devel] LM32 target for QEMU
Michael Walle
michael at walle.cc
Mon Jan 11 15:20:10 PST 2010
Hi,
yesterday i put the first version of the lm32 target for qemu online.
Supported BSPs:
- lm32 evr32 (the one used in rtems)
- theobroma systems uclinux board
Supported peripherals:
- lm32 uart
- lm32 timer
Don't expect too much from this version, it's in a very early stage.
gitweb @ http://git.serverraum.org/?p=mw/qemu-lm32.git;a=summary
git clone http://git.serverraum.org/git/mw/qemu-lm32.git
Short Howto:
RTEMS applications:
- compile
- run "qemu-system-lm32 -M lm32-evr -nographic -kernel ticker.exe"
Theobroma systems:
- get the package @ http://www.theobroma-systems.com/uclinux-lm32/
- prepare the flash image:
dd if=/dev/zero of=flash.img bs=1k count=32k
dd if=u-boot.bin of=flash.img bs=1k conv=notrunc
dd if=vmlinux.img of=flash.img bs=1k conv=notrunc seek=2k
- run "qemu-system-lm32 -M lm32-uclinux -nographic -pflash flash.img"
- boot kernel with "bootm 0x04200000" on the uboot cli
global switches:
-global lm32,timer.frequency=200000000
--
wkr,
Michael Walle
---
Don't cry because it is over, smile because it happened.
More information about the Devel
mailing list