Which toolchain can I use to build linux kernel for 24KEc core
in order to use MIPS32v2 ISA?
"Programming the MIPS32 24KE Core Family" (Document Number
MD00458 Revision 1.10 December 21,2005) from MIPS Technologies
illustrates the details of programming this core using MIPS32v2 ISA to
access into some hardware registers using some extended instructions.
One typical critical example that I encounter now is the use of `rdhwr
v0, CCRes` that tells you how fast the COUNT register is running. I
assumed it to be running at pipeline frequency but in fact it is not.
What I do now is to hard-code it to be running at half of the pipeline
frequency according to hardware implementation document since the
present toolchain that I am using is not supporting this ISA. Assembling
`rdhwr v0,CCRes` will result in "opcode not supported at this ISA level
(mips2) error. GCC(1) does not give any indication of MIPS32v2 ISA at
Any advice and insight is appreciated.