John Crispin d80c40d132 generic: improve kexec support of MIPS.
- Allow --command-line parameters of kexec-tools be parsed and used by
   the kernel.
 - For malta machine, mark kernel code and kernel data segments as
   "System RAM" instead of "reserved" in /proc/iomem, otherwise
   kexec-tools will complain that program segments in ELF kernel file
   are invalid.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:29:25 +00:00
..
2013-09-26 17:53:14 +00:00
2013-09-26 17:53:14 +00:00
2015-01-14 12:09:33 +00:00
2013-09-26 17:53:14 +00:00
2013-09-26 17:53:14 +00:00
2015-02-09 12:11:19 +00:00
2013-07-19 17:12:47 +00: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 little-endian image:
qemu-system-mipsel -kernel bin/malta/openwrt-malta-le-vmlinux-initramfs.elf -nographic -m 256

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

and enjoy the system bootin.