From: Bernhard Beschow <shentey@gmail.com>
To: qemu-devel@nongnu.org
Cc: "Nicholas Piggin" <npiggin@gmail.com>,
"BALATON Zoltan" <balaton@eik.bme.hu>,
qemu-ppc@nongnu.org,
"Daniel Henrique Barboza" <danielhb413@gmail.com>,
"Cédric Le Goater" <clg@kaod.org>,
"Bernhard Beschow" <shentey@gmail.com>
Subject: [PATCH] docs/system: Document running Linux on amigaone machine
Date: Sat, 16 Dec 2023 13:30:10 +0100 [thread overview]
Message-ID: <20231216123013.67978-1-shentey@gmail.com> (raw)
Documentation on how to run Linux on the amigaone machine is currently burried
in the depths of the qemu-devel mailing list [1] and in the source code. Let's
collect the information in the QEMU handbook for a one stop solution.
[1] https://lore.kernel.org/qemu-devel/dafc407d-3749-e6f4-3a66-750fde8965f9@eik.bme.hu/
Co-authored-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
MAINTAINERS | 1 +
docs/system/ppc/amigaone.rst | 53 ++++++++++++++++++++++++++++++++++++
docs/system/target-ppc.rst | 1 +
hw/ppc/amigaone.c | 9 ------
4 files changed, 55 insertions(+), 9 deletions(-)
create mode 100644 docs/system/ppc/amigaone.rst
diff --git a/MAINTAINERS b/MAINTAINERS
index 695e0bd34f..a2dd1407e2 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1560,6 +1560,7 @@ amigaone
M: BALATON Zoltan <balaton@eik.bme.hu>
L: qemu-ppc@nongnu.org
S: Maintained
+F: docs/system/ppc/amigaone.rst
F: hw/ppc/amigaone.c
F: hw/pci-host/articia.c
F: include/hw/pci-host/articia.h
diff --git a/docs/system/ppc/amigaone.rst b/docs/system/ppc/amigaone.rst
new file mode 100644
index 0000000000..c3f11a7bb2
--- /dev/null
+++ b/docs/system/ppc/amigaone.rst
@@ -0,0 +1,53 @@
+Eyetech AmigaOne/Mai Logic Teron (``amigaone``)
+===============================================
+
+The ``amigaone`` model emulates an AmigaOne XE mainboard developed by Eyetech. Use
+the executable ``qemu-system-ppc`` to simulate a complete system.
+
+
+Emulated devices
+----------------
+
+ * PowerPC 7457 v1.2 CPU
+ * Articia S north bridge
+ * VT82C686B south bridge
+ * PCI VGA compatible card
+
+
+Preparation
+-----------
+
+A firmware binary is necessary for the boot process and is available at
+https://www.hyperion-entertainment.com/index.php/downloads?view=files&parent=28.
+It needs to be extracted with the following command:
+
+.. code-block:: bash
+
+ $ tail -c 524288 updater.image > u-boot-amigaone.bin
+
+The firmware binary is unable to run QEMU‘s standard vgabios and
+``VGABIOS-lgpl-latest.bin`` is needed instead. It can be downloaded from
+http://www.nongnu.org/vgabios.
+
+
+Running Linux
+-------------
+
+There are some Linux images under the following link that work on the
+``amigaone`` machine:
+https://sourceforge.net/projects/amigaone-linux/files/debian-installer/. To boot
+the system run:
+
+.. code-block:: bash
+
+ $ qemu-system-ppc -M amigaone -bios u-boot-amigaone.bin \
+ -cdrom "A1 Linux Net Installer.iso" \
+ -device ati-vga,model=rv100,romfile=VGABIOS-lgpl-latest.bin
+
+From the firmware menu that appears select ``Boot sequence`` →
+``Amiga Multiboot Options`` and set ``Boot device 1`` to
+``Onboard VIA IDE CDROM``. Then hit escape until the main screen appears again,
+hit escape once more and from the exit menu that appears select either
+``Save settings and exit`` or ``Use settings for this session only``. It may
+take a long time loading the kernel into memory but eventually it boots and the
+installer becomes visible.
diff --git a/docs/system/target-ppc.rst b/docs/system/target-ppc.rst
index 4f6eb93b17..c1daa463cf 100644
--- a/docs/system/target-ppc.rst
+++ b/docs/system/target-ppc.rst
@@ -18,6 +18,7 @@ help``.
:maxdepth: 1
ppc/embedded
+ ppc/amigaone
ppc/powermac
ppc/powernv
ppc/ppce500
diff --git a/hw/ppc/amigaone.c b/hw/ppc/amigaone.c
index ddfa09457a..4f680a5bdd 100644
--- a/hw/ppc/amigaone.c
+++ b/hw/ppc/amigaone.c
@@ -27,15 +27,6 @@
#define BUS_FREQ_HZ 100000000
-/*
- * Firmware binary available at
- * https://www.hyperion-entertainment.com/index.php/downloads?view=files&parent=28
- * then "tail -c 524288 updater.image >u-boot-amigaone.bin"
- *
- * BIOS emulator in firmware cannot run QEMU vgabios and hangs on it, use
- * -device VGA,romfile=VGABIOS-lgpl-latest.bin
- * from http://www.nongnu.org/vgabios/ instead.
- */
#define PROM_ADDR 0xfff00000
#define PROM_SIZE (512 * KiB)
--
2.43.0
next reply other threads:[~2023-12-16 12:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-16 12:30 Bernhard Beschow [this message]
2023-12-16 12:53 ` [PATCH] docs/system: Document running Linux on amigaone machine BALATON Zoltan
2023-12-16 19:40 ` Bernhard Beschow
2023-12-16 21:15 ` BALATON Zoltan
2024-01-02 22:10 ` Bernhard Beschow
2024-01-03 12:00 ` BALATON Zoltan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231216123013.67978-1-shentey@gmail.com \
--to=shentey@gmail.com \
--cc=balaton@eik.bme.hu \
--cc=clg@kaod.org \
--cc=danielhb413@gmail.com \
--cc=npiggin@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).