1b27591ddb
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>
20 lines
942 B
Plaintext
20 lines
942 B
Plaintext
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.
|