qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: BALATON Zoltan <balaton@eik.bme.hu>
To: Bernhard Beschow <shentey@gmail.com>
Cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org,
	 Nicholas Piggin <npiggin@gmail.com>,
	 Daniel Henrique Barboza <danielhb413@gmail.com>,
	clg@kaod.org,  philmd@linaro.org,
	Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
	 Rene Engel <ReneEngel80@emailn.de>,
	vr_qemu@t-online.de
Subject: Re: [PATCH v7 0/3] Add emulation of AmigaOne XE board
Date: Sat, 28 Oct 2023 20:20:02 +0200 (CEST)	[thread overview]
Message-ID: <dafc407d-3749-e6f4-3a66-750fde8965f9@eik.bme.hu> (raw)
In-Reply-To: <AB7A22F3-8EDF-4E46-965A-6194201EAC98@gmail.com>

On Sat, 28 Oct 2023, Bernhard Beschow wrote:
> Am 27. Oktober 2023 11:54:48 UTC schrieb BALATON Zoltan <balaton@eik.bme.hu>:
>> Changes in v7:
>> - Increase default memory size to 512m to match pegasos2 and sam460ex
>> and it's a better default for AmigaOS
>>
>> Changes in v6:
>> - Dropped patch 1, now it's
>>
>> Based-on: <20231024224056.842607-1-mark.cave-ayland@ilande.co.uk>
>>
>> ([PATCH v2 0/3] ide: implement simple legacy/native mode switching for PCI IDE controllers)
>> - Added Tested-by from Rene
>>
>> Changes in v5:
>> - Fixed avocado test
>>
>> Changes in v4:
>> - Found typo in comment in patch 1 so ended up rewording it again
>> trying to make it more concise. Also take the idea of using
>> range_covers_byte from Mark's patch
>> - Added RFC patch for avocado test (untested, I don't have Avocado)
>>
>> Changes in v3:
>> - Update values, comment and commit message in patch 1 again
>>
>> Changes in v2:
>> - Update comment and commit message in patch 1 (Mark)
>> - Fix irq mapping in patch 2 (Volker)
>>
>> Regards,
>> BALATON Zoltan
>>
>> BALATON Zoltan (3):
>>  hw/pci-host: Add emulation of Mai Logic Articia S
>>  hw/ppc: Add emulation of AmigaOne XE board
>>  tests/avocado: Add test for amigaone board
>
> Hi Zoltan,
>
> Could you please provide some documentation on how to run Linux or some 
> other free (as in free beer) OS on this machine?

There are some Linux images here that should work on amigaone:

https://sourceforge.net/projects/amigaone-linux/files/debian-installer/

To boot it get the firmware as described in the comment in amigaone.c or 
in the avocado test then run:

qemu-system-ppc -M amigaone -bios u-boot-amigaone.bin \
-cdrom "A1 Linux Net Installer.iso" -serial stdio \
-device ati-vga,model=rv100,romfile=VGABIOS-lgpl-latest.bin

Then from the firmware menu select Boot sequence, Amiga Multiboot Options 
and set Boot device 1 to VIA CDROM then escape back to top level and from 
the exit menu that appears with escape on the main screen select either 
save settings or use settings for current boot. It takes a long time at 
Loading kernel... but eventually boots and you should see the installer 
(or select rescue from the Linux boot menu then at language selection 
Tab to Back button then run shell to get a prompt).

> Can you provide an 
> Avocado test booting e.g. Linux as a quality gate for the VIA south 
> bridges?

I don't know how to automate the above with avocado which seems to run 
with -display none but the Linux iso has hard coded radeonfb so I could 
only do a basic test with the firmware.

> As you know I'm trying to bring these south bridges to the PC machine 
> and relying on hard to get proprietary blobs or OSes makes this very 
> difficult.

I know that the machines and guests I work with are a bit obscure but I 
can't change that. These machines also run Linux and some MorphOS too 
which can be a test case that's available, unfortunately amigaone is not 
supported by MorphOS so only Linux and AmigaOS is available there.

> Whenever the VIA south bridges are changed we end up having 
> endless discussions due to this situation. We need a solution that works 
> for everybody woking on these south bridges.

I afree with that and I think I wasn't the one who started endless 
discussions about every little change to the via model so I think we can 
find a solution that works for all. I'd just like to keep pegasos2 and 
amigaone working with AmigaOS which is my main goal and also keep the 
device model simple and managable.

Regards,
BALATON Zoltan


  reply	other threads:[~2023-10-28 18:20 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-27 11:54 [PATCH v7 0/3] Add emulation of AmigaOne XE board BALATON Zoltan
2023-10-27 11:54 ` [PATCH v7 1/3] hw/pci-host: Add emulation of Mai Logic Articia S BALATON Zoltan
2023-11-07 18:53   ` Daniel Henrique Barboza
2023-10-27 11:54 ` [PATCH v7 2/3] hw/ppc: Add emulation of AmigaOne XE board BALATON Zoltan
2023-11-07 18:21   ` [PATCH v8 " BALATON Zoltan
2023-11-07 18:25     ` Peter Maydell
2023-11-07 18:28       ` BALATON Zoltan
2023-11-07 18:40     ` [PATCH v9 " BALATON Zoltan
2023-11-07 18:52       ` Daniel Henrique Barboza
2023-10-27 11:54 ` [PATCH v7 3/3] tests/avocado: Add test for amigaone board BALATON Zoltan
2023-11-07 18:53   ` Daniel Henrique Barboza
2023-10-28 14:52 ` [PATCH v7 0/3] Add emulation of AmigaOne XE board Bernhard Beschow
2023-10-28 18:20   ` BALATON Zoltan [this message]
2023-11-06 10:30 ` BALATON Zoltan
2023-11-07  8:50   ` BALATON Zoltan
2023-11-07 14:42     ` BALATON Zoltan
2023-11-07 16:20       ` Daniel Henrique Barboza
2023-11-07 16:41         ` BALATON Zoltan
2023-11-07 17:20 ` Daniel Henrique Barboza
2023-11-07 17:33   ` BALATON Zoltan
2023-11-07 17:42     ` Daniel Henrique Barboza
2023-11-07 17:49       ` BALATON Zoltan
2023-11-07 18:03         ` BALATON Zoltan
2023-11-07 18:14           ` Peter Maydell
2023-11-07 18:18             ` BALATON Zoltan
2023-11-07 18:21               ` Peter Maydell
2023-11-07 18:25       ` BALATON Zoltan
2023-11-07 18:41         ` BALATON Zoltan
2023-11-07 17:44     ` BALATON Zoltan
2023-11-07 18:53 ` Daniel Henrique Barboza

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=dafc407d-3749-e6f4-3a66-750fde8965f9@eik.bme.hu \
    --to=balaton@eik.bme.hu \
    --cc=ReneEngel80@emailn.de \
    --cc=clg@kaod.org \
    --cc=danielhb413@gmail.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=npiggin@gmail.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=shentey@gmail.com \
    --cc=vr_qemu@t-online.de \
    /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).