[Milkymist-devel] QEMU support

Sébastien Bourdeauducq sebastien.bourdeauducq at lekernel.net
Sat Jan 23 17:08:28 PST 2010


Hi,

Thanks to Michael Walle, we can now emulate the Milkymist system-on-chip with 
QEMU.

Git web: http://git.serverraum.org/?p=mw/qemu-lm32.git;a=summary
Git clone URL: http://git.serverraum.org/git/mw/qemu-lm32.git
(get the "milkymist" branch)

Supported peripherals are only timer and UART but that's enough to run a Linux 
system: http://pastebin.com/m578ccf8b.

Command line:
./lm32-softmmu/qemu-system-lm32 -M milkymist -nographic -kernel [ELF kernel] -
initrd [initrd] -append "root=/dev/ram"

It is also possible to use GDB. For this purpose, add "-s -S" to the above 
command line, and run:
lm32-linux-gdb vmlinux
(gdb) target remote localhost:1234

Sébastien


More information about the Devel mailing list