Hi Sebastien,

Am Tuesday 29 December 2009 23:25:47 schrieb Sébastien Bourdeauducq:
> Jose told me that you had started working on adding support of the
> LatticeMico32 support to QEMU. Could you give us an update on its status?
Today i got the RTEMS ticker sample executable working as expected for the 
first time. I'll clean up the code a bit and commit it to my public git repo 
next week i hope.

whats working:
 + translation lm32 asm -> tcg
 + interrupts (well, in some way ;)
 + basic lm32 timer and uart
 + basic lm32-evr board support

Todo:
 + optimized translation (?)
 + proper debug/hw exception handling
    (someone should check the interrupt processing)
 + single stepping
 + lm32_dis.c / print_insn_lm32()

btw. nice lecture at 26c3 :)

[...@thanatos qemu-build]$ ./lm32-softmmu/qemu-system-lm32 -nographic -kernel 
~/lm32/ticker.exe 
loaded 194209 bytes
console_initialize


*** CLOCK TICK TEST ***
TA1  - rtems_clock_get - 09:00:00   12/31/1988
TA2  - rtems_clock_get - 09:00:00   12/31/1988
TA3  - rtems_clock_get - 09:00:00   12/31/1988
TA1  - rtems_clock_get - 09:00:05   12/31/1988
TA2  - rtems_clock_get - 09:00:10   12/31/1988
TA1  - rtems_clock_get - 09:00:10   12/31/1988
TA3  - rtems_clock_get - 09:00:15   12/31/1988
TA1  - rtems_clock_get - 09:00:15   12/31/1988
TA2  - rtems_clock_get - 09:00:20   12/31/1988
TA1  - rtems_clock_get - 09:00:20   12/31/1988
TA1  - rtems_clock_get - 09:00:25   12/31/1988
TA3  - rtems_clock_get - 09:00:30   12/31/1988
TA1  - rtems_clock_get - 09:00:30   12/31/1988
TA2  - rtems_clock_get - 09:00:30   12/31/1988
*** END OF CLOCK TICK TEST ***


-- 
wkr Michael
_______________________________________________
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