linux-mips
[Top] [All Lists]

MIPS32v2 toolchain for MIPS32 24KE Core?

To: <linux-mips@linux-mips.org>, <info@denx.de>
Subject: MIPS32v2 toolchain for MIPS32 24KE Core?
From: <KokHow.Teh@infineon.com>
Date: Wed, 13 Dec 2006 18:36:10 +0800
Cc: <Bing-Tao.Xu@infineon.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Thread-index: AcceooFiwZT6t1TWRpmt/RCd9et/5g==
Thread-topic: MIPS32v2 toolchain for MIPS32 24KE Core?
Hi;
        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
all.
        Any advice and insight is appreciated.

Regards,
KH

<Prev in Thread] Current Thread [Next in Thread>