Skip to contentSkip to conversation

docs/system/ppc: Document running Linux on AmigaNG machines

PATCH Superseded BALATON Zoltan 2 participants 4 messages Feb 16, 2024 – Feb 19, 2024

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/system/ppc: Document running Linux on AmigaNG machines

Documentation on how to run Linux on the amigaone, pegasos2 and sam460ex machines is currently burried in the depths of the qemu-devel mailing list and in the source code. Let's collect the information in the QEMU handbook for a one stop solution.

---
Supersedes: <[email protected]>

 MAINTAINERS                 |   1 +
 docs/system/ppc/amigang.rst | 160 ++++++++++++++++++++++++++++++++++++
 docs/system/target-ppc.rst  |   1 +
 3 files changed, 162 insertions(+)
 create mode 100644 docs/system/ppc/amigang.rst
MAINTAINERS +1 -0
index a24c2b51b6..8e5b47e7b4 100644
@@ -1560,6 +1560,7 @@ F: hw/rtc/m41t80.c
 F: pc-bios/canyonlands.dt[sb]
 F: pc-bios/u-boot-sam460ex-20100605.bin
 F: roms/u-boot-sam460ex
+F: docs/system/ppc/amigang.rst
 
 pegasos2
 M: BALATON Zoltan <[email protected]>
docs/system/ppc/amigang.rst new file +160 -0

160 lines not on this page · raw message

docs/system/target-ppc.rst +1 -0
index 4f6eb93b17..87bf412ce5 100644
@@ -17,6 +17,7 @@ help``.
 .. toctree::
    :maxdepth: 1
 
+   ppc/amigang
    ppc/embedded
    ppc/powermac
    ppc/powernv
Signature · 1 line
2.30.9
#1 lore raw
Quoted 2 lines · BALATON Zoltan

Documentation on how to run Linux on the amigaone, pegasos2 and sam460ex machines is currently burried in the depths of the qemu-devel

s/burried/buried/

Quoted 32 lines

mailing list and in the source code. Let's collect the information in the QEMU handbook for a one stop solution.

---
Supersedes: <[email protected]>

  MAINTAINERS                 |   1 +
  docs/system/ppc/amigang.rst | 160 ++++++++++++++++++++++++++++++++++++
  docs/system/target-ppc.rst  |   1 +
  3 files changed, 162 insertions(+)

create mode 100644 docs/system/ppc/amigang.rst

MAINTAINERS +1 -0
index a24c2b51b6..8e5b47e7b4 100644
@@ -1560,6 +1560,7 @@ F: hw/rtc/m41t80.c
  F: pc-bios/canyonlands.dt[sb]
  F: pc-bios/u-boot-sam460ex-20100605.bin
  F: roms/u-boot-sam460ex
+F: docs/system/ppc/amigang.rst
 
  pegasos2
  M: BALATON Zoltan <[email protected]>
docs/system/ppc/amigang.rst new file +0 -0
new file mode 100644
index 0000000000..c03a7e0d66

docs/system/ppc/amigang.rst line 9

Quoted 9 lines
docs/system/ppc/amigang.rst new file +9 -0
@@ -0,0 +1,160 @@
+AmigaNG boards (``amigaone``, ``pegasos2``, ``sam460ex``)
+=========================================================
+
+These PowerPC machines emulate boards that are primarily used for
+running Amiga like OSes (AmigaOS 4, MorphOS and AROS) but these can
+also run Linux which is what this section documents.
+
+Eyetech AmigaOne/Mai Logic Teron (``amigaone``)
+===============================================

Wouldn't it be better to use a subsection here (i.e. "----" instead of "====") ? And also adjust the subsections below to subsubsections?

Quoted 44 lines
docs/system/ppc/amigang.rst new file +44 -0
+
+The ``amigaone`` machine emulates an AmigaOne XE mainboard by Eyetech
+which is a rebranded Mai Logic Teron board with modified U-Boot
+firmware to support AmigaOS 4.
+
+Emulated devices
+----------------
+
+ * PowerPC 7457 CPU (can also use``-cpu g3, 750cxe, 750fx`` or ``750gx``)
+ * Articia S north bridge
+ * VIA VT82C686B south bridge
+ * PCI VGA compatible card (guests may need other card instead)
+ * PS/2 keyboard and mouse
+
+Firmware
+--------
+
+A firmware binary is necessary for the boot process. It is a modified
+U-Boot under GPL but its source is lost so it cannot be included in
+QEMU. A binary is available at
+https://www.hyperion-entertainment.com/index.php/downloads?view=files&parent=28.
+The ROM image is in the last 512kB which can be extracted with the
+following command:
+
+.. code-block:: bash
+
+  $ tail -c 524288 updater.image > u-boot-amigaone.bin
+
+The BIOS emulator in the firmware is unable to run QEMU‘s standard
+vgabios so ``VGABIOS-lgpl-latest.bin`` is needed instead which 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 -machine amigaone -bios u-boot-amigaone.bin \
+                    -cdrom "A1 Linux Net Installer.iso" \

docs/system/ppc/amigang.rst line 63

Quoted 10 lines
docs/system/ppc/amigang.rst new file +10 -0
+                    -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. The ``ati-vga`` RV100 emulation is not
+complete yet so only frame buffer works, DRM and 3D is not available.

...

Thomas

#2 lore raw
Quoted 40 lines · Thomas Huth
Quoted 2 lines · BALATON Zoltan

Documentation on how to run Linux on the amigaone, pegasos2 and sam460ex machines is currently burried in the depths of the qemu-devel

s/burried/buried/

Quoted 34 lines

mailing list and in the source code. Let's collect the information in the QEMU handbook for a one stop solution.

---
Supersedes: <[email protected]>

  MAINTAINERS                 |   1 +
  docs/system/ppc/amigang.rst | 160 ++++++++++++++++++++++++++++++++++++
  docs/system/target-ppc.rst  |   1 +
  3 files changed, 162 insertions(+)

create mode 100644 docs/system/ppc/amigang.rst

MAINTAINERS +1 -0
index a24c2b51b6..8e5b47e7b4 100644
@@ -1560,6 +1560,7 @@ F: hw/rtc/m41t80.c
  F: pc-bios/canyonlands.dt[sb]
  F: pc-bios/u-boot-sam460ex-20100605.bin
  F: roms/u-boot-sam460ex
+F: docs/system/ppc/amigang.rst
    pegasos2
  M: BALATON Zoltan <[email protected]>
docs/system/ppc/amigang.rst new file +3 -0
new file mode 100644
index 0000000000..c03a7e0d66
@@ -0,0 +1,160 @@
+AmigaNG boards (``amigaone``, ``pegasos2``, ``sam460ex``)
+=========================================================
+
Quoted 8 lines

docs/system/ppc/amigang.rst line 9

Quoted 6 lines
docs/system/ppc/amigang.rst new file +6 -0
+These PowerPC machines emulate boards that are primarily used for
+running Amiga like OSes (AmigaOS 4, MorphOS and AROS) but these can
+also run Linux which is what this section documents.
+
+Eyetech AmigaOne/Mai Logic Teron (``amigaone``)
+===============================================

Wouldn't it be better to use a subsection here (i.e. "----" instead of "====") ? And also adjust the subsections below to subsubsections?

This used to be the top but I've added another paragraph and forgot to change the headings. I'll check how other docs are organised and send another version after waiting for some time to see if anobody else spots some typos.

Thanks,
BALATON Zoltan

Quoted 64 lines
Quoted 56 lines
docs/system/ppc/amigang.rst new file +45 -0
+
+The ``amigaone`` machine emulates an AmigaOne XE mainboard by Eyetech
+which is a rebranded Mai Logic Teron board with modified U-Boot
+firmware to support AmigaOS 4.
+
+Emulated devices
+----------------
+
+ * PowerPC 7457 CPU (can also use``-cpu g3, 750cxe, 750fx`` or ``750gx``)
+ * Articia S north bridge
+ * VIA VT82C686B south bridge
+ * PCI VGA compatible card (guests may need other card instead)
+ * PS/2 keyboard and mouse
+
+Firmware
+--------
+
+A firmware binary is necessary for the boot process. It is a modified
+U-Boot under GPL but its source is lost so it cannot be included in
+QEMU. A binary is available at
+https://www.hyperion-entertainment.com/index.php/downloads?view=files&parent=28.
+The ROM image is in the last 512kB which can be extracted with the
+following command:
+
+.. code-block:: bash
+
+  $ tail -c 524288 updater.image > u-boot-amigaone.bin
+
+The BIOS emulator in the firmware is unable to run QEMU‘s standard
+vgabios so ``VGABIOS-lgpl-latest.bin`` is needed instead which 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 -machine amigaone -bios u-boot-amigaone.bin \
+                    -cdrom "A1 Linux Net Installer.iso" \
+                    -device 

ati-vga,model=rv100,romfile=VGABIOS-lgpl-latest.bin

docs/system/ppc/amigang.rst new file +4 -0
+
+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

docs/system/ppc/amigang.rst line 63

Quoted 2 lines
docs/system/ppc/amigang.rst new file +2 -0
+installer becomes visible. The ``ati-vga`` RV100 emulation is not
+complete yet so only frame buffer works, DRM and 3D is not available.

...

Thomas

#3 lore raw
In reply to Thomas Huth
Quoted 40 lines · Thomas Huth
Quoted 2 lines · BALATON Zoltan

Documentation on how to run Linux on the amigaone, pegasos2 and sam460ex machines is currently burried in the depths of the qemu-devel

s/burried/buried/

Quoted 34 lines

mailing list and in the source code. Let's collect the information in the QEMU handbook for a one stop solution.

---
Supersedes: <[email protected]>

  MAINTAINERS                 |   1 +
  docs/system/ppc/amigang.rst | 160 ++++++++++++++++++++++++++++++++++++
  docs/system/target-ppc.rst  |   1 +
  3 files changed, 162 insertions(+)

create mode 100644 docs/system/ppc/amigang.rst

MAINTAINERS +1 -0
index a24c2b51b6..8e5b47e7b4 100644
@@ -1560,6 +1560,7 @@ F: hw/rtc/m41t80.c
  F: pc-bios/canyonlands.dt[sb]
  F: pc-bios/u-boot-sam460ex-20100605.bin
  F: roms/u-boot-sam460ex
+F: docs/system/ppc/amigang.rst
    pegasos2
  M: BALATON Zoltan <[email protected]>
docs/system/ppc/amigang.rst new file +3 -0
new file mode 100644
index 0000000000..c03a7e0d66
@@ -0,0 +1,160 @@
+AmigaNG boards (``amigaone``, ``pegasos2``, ``sam460ex``)
+=========================================================
+
Quoted 8 lines

docs/system/ppc/amigang.rst line 9

Quoted 6 lines
docs/system/ppc/amigang.rst new file +6 -0
+These PowerPC machines emulate boards that are primarily used for
+running Amiga like OSes (AmigaOS 4, MorphOS and AROS) but these can
+also run Linux which is what this section documents.
+
+Eyetech AmigaOne/Mai Logic Teron (``amigaone``)
+===============================================

Wouldn't it be better to use a subsection here (i.e. "----" instead of "====") ? And also adjust the subsections below to subsubsections?

Inspired by the pseries.rst I've instead elevated to top level title one level up so it should then get sorted correctly in TOC to the same effect as your suggestion here. Sent a v2 with that. Thanks.

Regards,
BALATON Zoltan