diff options
Diffstat (limited to 'Documentation/boards/mips/qemu-malta.rst')
-rw-r--r-- | Documentation/boards/mips/qemu-malta.rst | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/Documentation/boards/mips/qemu-malta.rst b/Documentation/boards/mips/qemu-malta.rst index 2bb81350a1..44f671638d 100644 --- a/Documentation/boards/mips/qemu-malta.rst +++ b/Documentation/boards/mips/qemu-malta.rst @@ -9,32 +9,24 @@ QEMU run string: .. code-block:: sh qemu-system-mips -nodefaults -M malta -m 256 \ - -nographic -serial stdio -monitor null \ - -bios barebox-flash-image + -device VGA -serial stdio -monitor null \ + -bios ./images/barebox-qemu-malta.img Little-endian mode ------------------ -Running little-endian Malta is a bit tricky. In little-endian mode the 32bit words in the boot flash image are swapped, a neat trick which allows bi-endian firmware. -You have to swap words of ``zbarebox.bin`` image, e.g.: - -.. code-block:: sh - - echo arch/mips/pbl/zbarebox.bin \ - | cpio --create \ - | cpio --extract --swap --unconditional - -QEMU run string: +The barebox build generates a second ``./images/barebox-qemu-malta.img.swapped`` +image that can be used in this case, e.g.: .. code-block:: sh qemu-system-mipsel -nodefaults -M malta -m 256 \ - -nographic -serial stdio -monitor null \ - -bios barebox-flash-image + -device VGA -serial stdio -monitor null \ + -bios ./images/barebox-qemu-malta.img.swapped Using GXemul @@ -43,7 +35,7 @@ Using GXemul GXemul supports MIPS Malta except PCI stuff. You can use GXemul to run little-endian barebox (use gxemul-malta_defconfig). -N.B. There is no need to swap words in ``zbarebox.bin`` for little-endian GXemul! +N.B. There is no need to swap words in the barebox binary for little-endian GXemul! GXemul run string: |