1
0
This repository has been archived on 2025-06-16. You can view files and clone it, but cannot push or open issues or pull requests.
Files
John Crispin 6e9e1e9d03 malta: add harddisk support
Is it possible to backport commit r46269 (3c298f89-4303-0410-b956-a3cf2f4a3e73) to CC 15.05 in order to provide harddisk support.

Backporting tested (info available at: https://forum.openwrt.org/viewtopic.php?id=62389).

Thnx in advance!

Here is the original patch from trunk:
>From 76bfcd46bd55263947461e40bd02047922755c72 Mon Sep 17 00:00:00 2001
From: blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Wed, 8 Jul 2015 14:25:36 +0000
Subject: [PATCH] malta: add harddisk support

works with:
qemu-system-mipsel -M malta \
-hda openwrt-malta-le-root.ext4 \
-kernel openwrt-malta-le-vmlinux.elf \
-nographic -append "root=/dev/sda console=ttyS0"

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 48666
2016-02-08 09:22:12 +00:00
..
2013-09-26 17:53:14 +00:00
2015-05-28 12:05:57 +00:00
2013-09-26 17:53:14 +00:00
2015-05-21 19:32:46 +00:00
2016-02-08 09:22:12 +00:00
2015-10-19 10:30:18 +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.