aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/malta/README
diff options
context:
space:
mode:
authorTony Ambardar <itugrok@yahoo.com>2020-08-13 22:11:22 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2020-10-11 16:16:24 +0200
commit1b27591ddbdd2d359ea6771fa878c8562be98fc5 (patch)
tree34f1d1349920134e3a347610352dd7a30b11999c /target/linux/malta/README
parent9f9243887e4aca106f9c9ad09632734662728f92 (diff)
downloadupstream-1b27591ddbdd2d359ea6771fa878c8562be98fc5.tar.gz
upstream-1b27591ddbdd2d359ea6771fa878c8562be98fc5.tar.bz2
upstream-1b27591ddbdd2d359ea6771fa878c8562be98fc5.zip
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>
Diffstat (limited to 'target/linux/malta/README')
-rw-r--r--target/linux/malta/README4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/malta/README b/target/linux/malta/README
index 0bb1a1e35a..bbe806de3d 100644
--- a/target/linux/malta/README
+++ b/target/linux/malta/README
@@ -11,9 +11,9 @@ 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 -nographic -m 256
+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 -nographic -m 256
+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.