openwrt/target/linux/malta
Hauke Mehrtens fb1ba92202 malta: use default OpenWrt network configuration
Currently malta configures the first Ethernet device as WAN interface.
If it finds a second one it will configure it as LAN.

This commit reverses it to match armvirt and x86. If there is only one
network device it will be configured as LAN device now. If we find two
network devices the 2. one will be WAN.

If no board.d network configuration is given it will be configured in
package/base-files/files/etc/board.d/99-default_network

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
[minor typos]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2022-05-28 17:35:34 +02:00
..
base-files/etc malta: use default OpenWrt network configuration 2022-05-28 17:35:34 +02:00
be malta: prune subtarget configs 2021-03-17 15:35:33 +01:00
be64 malta: prune subtarget configs 2021-03-17 15:35:33 +01:00
image target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
le malta: prune subtarget configs 2021-03-17 15:35:33 +01:00
le64 malta: prune subtarget configs 2021-03-17 15:35:33 +01:00
config-5.10 kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
config-5.15 malta: add config-5.15 2022-04-13 19:50:50 +01:00
Makefile malta: enable testing kernel 5.15 2022-03-28 02:32:29 +01: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.