Author: nbd
Date: 2015-10-31 10:30:14 +0100 (Sat, 31 Oct 2015)
New Revision: 47324
Modified:
trunk/target/linux/malta/Makefile
Log:
malta: set CPU_TYPE:=24kc.
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@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 <[email protected]>
Modified: trunk/target/linux/malta/Makefile
===================================================================
--- trunk/target/linux/malta/Makefile 2015-10-31 09:30:03 UTC (rev 47323)
+++ trunk/target/linux/malta/Makefile 2015-10-31 09:30:14 UTC (rev 47324)
@@ -8,6 +8,7 @@
BOARD:=malta
BOARDNAME:=MIPS Malta CoreLV board (qemu)
+CPU_TYPE:=24kc
SUBTARGETS:=le be #le64 be64
INITRAMFS_EXTRA_FILES:=
MAINTAINER:=Florian Fainelli <[email protected]>
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits