tn3399_openwrt/target/linux/malta
Jonas Gorski 6f528dfbd9 treewide: do not use IMG_PREFIX in Image/Prepare
IMG_PREFIX can be modified in ImageBuilder by passing EXTRA_IMAGE_NAME
on command line, but Image/Prepare is not run in ImageBuilder. This
causes missing files when IMG_PREFIX is used for target file names in
Image/Prepare, then as source file names in Image/BuildKernel or
Image/Build.

Fix this by using a fixed output file name in Image/Prepare, and copy to
the expected file name in Image/BuildKernel instead, which is run by
ImageBuilder.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2017-10-26 12:26:25 +02:00
..
base-files/etc image / basefiles: make console password configurable 2016-04-18 21:53:07 +02:00
be malta: upgrade to kernel 4.9 2017-10-15 14:22:01 +02:00
be64 malta: upgrade to kernel 4.9 2017-10-15 14:22:01 +02:00
image treewide: do not use IMG_PREFIX in Image/Prepare 2017-10-26 12:26:25 +02:00
le malta: upgrade to kernel 4.9 2017-10-15 14:22:01 +02:00
le64 malta: upgrade to kernel 4.9 2017-10-15 14:22:01 +02:00
config-4.9 malta: activate some more standard kernel features 2017-10-15 14:54:29 +02:00
Makefile malta: upgrade to kernel 4.9 2017-10-15 14:22:01 +02:00
README malta: add 64 bit qemu commands to README 2017-10-15 14:19:49 +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/lede-malta-le-vmlinux-initramfs.elf -nographic -m 256

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

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

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

and enjoy the system bootin.