openwrtv3/target/linux/malta
Felix Fietkau c5c2eb5fd6 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 <yszhou4tech@gmail.com>

SVN-Revision: 47324
2015-10-31 09:30:14 +00:00
..
base-files/etc malta: add default network configuration 2015-05-31 17:45:43 +00:00
be build: unify mips target cflags 2013-09-26 17:53:14 +00:00
be64 build: unify mips target cflags 2013-09-26 17:53:14 +00:00
image build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00
le build: unify mips target cflags 2013-09-26 17:53:14 +00:00
le64 build: unify mips target cflags 2013-09-26 17:53:14 +00:00
patches kernel: update 3.18 to 3.18.14 2015-05-21 19:32:46 +00:00
config-3.18 malta: disable the openwrt commandline hack 2015-08-30 12:18:05 +00:00
Makefile malta: set CPU_TYPE:=24kc. 2015-10-31 09:30:14 +00:00
README malta: update README 2013-07-19 17:12:47 +00:00

This Malta target is intended to be used with the Qemu emulator. It can be used
to prototype an OpenWrt firmware for MIPS processors. One could also use it to
troubleshoot MIPS applications without access to real hardware.

To use the images built by OpenWrt with qemu, use the following commands:

For the little-endian image:
qemu-system-mipsel -kernel bin/malta/openwrt-malta-le-vmlinux-initramfs.elf -nographic -m 256

For the big-endian image:
qemu-system-mips -kernel bin/malta/openwrt-malta-be-vmlinux-initramfs.elf -nographic -m 256

and enjoy the system bootin.