mirror of https://github.com/hak5/openwrt-owl.git
6f528dfbd9
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> |
||
---|---|---|
.. | ||
base-files/etc | ||
be | ||
be64 | ||
image | ||
le | ||
le64 | ||
Makefile | ||
README | ||
config-4.9 |
README
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.