openwrt/target/linux/malta
Tony Ambardar 1b27591ddb malta: update MIPS64 ISA to R2
Usage of current R1 ISA is inconsistent with the MIPS32 subtarget, little
used and has limited utility for testing.

Many distros target a minimum R2 ISA. Debian MIPS 32-bit/64-bit ports all
use MIPS R2 ISA since Stretch, for example. Fedora's MIPS arch also targets
the R2 ISA for 32-bit/64-bit.

Widely used MIPS64 platforms like Octeon are based on the MIPS R2 ISA or
later, and benefit from having a compatible test platform in OpenWRT.

While Linux does support MIPS64 R1 targets, its usefulness for development
and testing is limited. As an example, the modern Linux eBPF JIT requires
a MIPS R2 ISA or later.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
[Refresh config and fix README]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-10-11 16:16:24 +02:00
..
base-files/etc image / basefiles: make console password configurable 2016-04-18 21:53:07 +02:00
be malta: Refresh kernel configuration 2020-08-10 23:58:58 +02:00
be64 malta: update MIPS64 ISA to R2 2020-10-11 16:16:24 +02:00
image malta: fix overlay support by updating to f2fs/ext4 based overlays 2019-06-25 14:12:22 +00:00
le malta: Refresh kernel configuration 2020-08-10 23:58:58 +02:00
le64 malta: update MIPS64 ISA to R2 2020-10-11 16:16:24 +02:00
config-4.19 kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic 2020-10-09 23:20:19 +01:00
config-5.4 kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic 2020-10-09 23:20:19 +01:00
Makefile treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
README malta: update MIPS64 ISA to R2 2020-10-11 16:16:24 +02: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 32 bit little-endian image:
qemu-system-mipsel -kernel bin/targets/malta/le/openwrt-malta-le-vmlinux-initramfs.elf -nographic -m 256

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

For the 64 bit little-endian image:
qemu-system-mips64el -kernel bin/targets/malta/le64/openwrt-malta-le64-vmlinux-initramfs.elf -cpu MIPS64R2-generic -nographic -m 256

For the 64 bit big-endian image:
qemu-system-mips64 -kernel bin/targets/malta/be64/openwrt-malta-be64-vmlinux-initramfs.elf -cpu MIPS64R2-generic -nographic -m 256

and enjoy the system bootin.