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
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkym...@freenode
Webchat: www.milkymist.org/irc.html
Wiki: www.milkymist.org/wiki

Reply via email to