[OpenWrt-Devel] [PATCH v2 3/5] malta: set CPU_TYPE:=24kc.

Yousong Zhou yszhou4tech at gmail.com
Fri Oct 30 23:05:25 EDT 2015

There are instructions (e.g. wsbh) only available in MIPS32R2 which is
the isa level used by many MIPS targets in OpenWrt.  As we use the malta
target mostly for development and testing purposes, setting the CPU_TYPE
to 24Kc will make the emulation more real.

The following is output from qemu-system-mipsel 2.3.0

    root at OpenWrt:/# cat /proc/cpuinfo  | grep 'cpu model\|isa'
    cpu model               : MIPS 24Kc V0.0  FPU V0.0
    isa                     : mips1 mips2 mips32r1 mips32r2

Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
 target/linux/malta/Makefile |    1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile
index 06cb68a..c9f1586 100644
--- a/target/linux/malta/Makefile
+++ b/target/linux/malta/Makefile
@@ -8,6 +8,7 @@ include $(TOPDIR)/rules.mk
 BOARDNAME:=MIPS Malta CoreLV board (qemu)
 SUBTARGETS:=le be #le64 be64
 MAINTAINER:=Florian Fainelli <florian at openwrt.org>
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list