Hi guys, finally Mico32 linux kernel source tree is available as a git repos. Anyone interested in joining the journey could get it from:
git clone git://sopc.et.ntust.edu.tw/git/linux-2.6.git test-lm32 cd test-lm32 git checkout -b test-lm32 origin/test-lm32 mkdir ../lm32-build make O=../lm32-build ARCH=lm32 CROSS_COMPILE=lm32-elf- defconfig make O=../lm32-build ARCH=lm32 CROSS_COMPILE=lm32-elf- vmlinux
Some info about how to obtain the cross-compiler directly from Lattice:
or, if you prefer, I've written down an article about it (in Italian) at:
Despite being at very early stage, you can to debug and help in developing using the simulator provided by Lattice in the GCC suite. Dig for mico32 in the 'Documentation/mico32' folder of your newly git kernel directory, I will add more info on this topic soon, since it has some command-line parameters that are strictly necessary in order to have a working timer and uart.
Regards, Andrea