The only real bug I am aware of is the "illegal instruction" thing. I
juts built a new version of the distribution with OpenEmbeded and it
still suffers from the same issue - so it is probably not a glibc/gcc
issue but really a kernel problem. But I habe no real idea how/where to
find that one.

How does the bug show up?

When cross-compiling my first code for the Openmoko Freerunner I had also copied a new glibc to the device - and that immediately came with an Illegal Instruction in every shell command... After some analysis it turned out that my toolchain wasn't configured properly for the Freerunner CPU (arm4t), i.e. the code did generate a handful of arm5 instructions. What also could be is that some package ./configure may think they know it better and pass a -mcpu or do other stange things...

Although there are not as many different instruction set variants as for ARM, there might also be variations. Could that be the same for the JZ?

http://www.linux-mips.org/wiki/Instruction_Set_Architecture

On the other hand the IS looks quite simple and straightforward

http://www.mrc.uidaho.edu/mrc/people/jff/digital/MIPSir.html

Nikolaus


_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel

Reply via email to