mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
ppc patch queue for 2023-11-07:
This queue, the last one before the 8.2 feature freeze, has miscellanous changes that includes new PowerNV features and the new AmigaONE XE board. -----BEGIN PGP SIGNATURE----- iIwEABYKADQWIQQX6/+ZI9AYAK8oOBk82cqW3gMxZAUCZUqiORYcZGFuaWVsaGI0 MTNAZ21haWwuY29tAAoJEDzZypbeAzFkBSUA/2qm8CyrRqY5+tsjtWQqZmPZ3L1F CgnXFNqtY2tzbTe5AQCi6FeQBEmXbZYVfryZyA+CQ4DUERc+18pe6hV3bBR9Cg== =cnHS -----END PGP SIGNATURE----- Merge tag 'pull-ppc-20231107' of https://gitlab.com/danielhb/qemu into staging ppc patch queue for 2023-11-07: This queue, the last one before the 8.2 feature freeze, has miscellanous changes that includes new PowerNV features and the new AmigaONE XE board. # -----BEGIN PGP SIGNATURE----- # # iIwEABYKADQWIQQX6/+ZI9AYAK8oOBk82cqW3gMxZAUCZUqiORYcZGFuaWVsaGI0 # MTNAZ21haWwuY29tAAoJEDzZypbeAzFkBSUA/2qm8CyrRqY5+tsjtWQqZmPZ3L1F # CgnXFNqtY2tzbTe5AQCi6FeQBEmXbZYVfryZyA+CQ4DUERc+18pe6hV3bBR9Cg== # =cnHS # -----END PGP SIGNATURE----- # gpg: Signature made Wed 08 Nov 2023 04:46:49 HKT # gpg: using EDDSA key 17EBFF9923D01800AF2838193CD9CA96DE033164 # gpg: issuer "danielhb413@gmail.com" # gpg: Good signature from "Daniel Henrique Barboza <danielhb413@gmail.com>" [unknown] # gpg: WARNING: The key's User ID is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: 17EB FF99 23D0 1800 AF28 3819 3CD9 CA96 DE03 3164 * tag 'pull-ppc-20231107' of https://gitlab.com/danielhb/qemu: ppc: qtest already exports qtest_rtas_call() hw/pci-host: Update PHB5 XSCOM registers ppc/pnv: Fix number of I2C engines and ports for power9/10 ppc/pnv: Connect PNV I2C controller to powernv10 ppc/pnv: Connect I2C controller model to powernv9 chip ppc/pnv: Add an I2C controller model tests/avocado: Add test for amigaone board hw/ppc: Add emulation of AmigaOne XE board hw/pci-host: Add emulation of Mai Logic Articia S Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
commit
a3c3aaa846
21 changed files with 1414 additions and 38 deletions
38
tests/avocado/ppc_amiga.py
Normal file
38
tests/avocado/ppc_amiga.py
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Test AmigaNG boards
|
||||
#
|
||||
# Copyright (c) 2023 BALATON Zoltan
|
||||
#
|
||||
# This work is licensed under the terms of the GNU GPL, version 2 or
|
||||
# later. See the COPYING file in the top-level directory.
|
||||
|
||||
from avocado.utils import archive
|
||||
from avocado.utils import process
|
||||
from avocado_qemu import QemuSystemTest
|
||||
from avocado_qemu import wait_for_console_pattern
|
||||
|
||||
class AmigaOneMachine(QemuSystemTest):
|
||||
|
||||
timeout = 90
|
||||
|
||||
def test_ppc_amigaone(self):
|
||||
"""
|
||||
:avocado: tags=arch:ppc
|
||||
:avocado: tags=machine:amigaone
|
||||
:avocado: tags=device:articia
|
||||
:avocado: tags=accel:tcg
|
||||
"""
|
||||
self.require_accelerator("tcg")
|
||||
tar_name = 'A1Firmware_Floppy_05-Mar-2005.zip'
|
||||
tar_url = ('https://www.hyperion-entertainment.com/index.php/'
|
||||
'downloads?view=download&format=raw&file=25')
|
||||
tar_hash = 'c52e59bc73e31d8bcc3cc2106778f7ac84f6c755'
|
||||
zip_file = self.fetch_asset(tar_name, locations=tar_url,
|
||||
asset_hash=tar_hash)
|
||||
archive.extract(zip_file, self.workdir)
|
||||
cmd = f"tail -c 524288 {self.workdir}/floppy_edition/updater.image >{self.workdir}/u-boot-amigaone.bin"
|
||||
process.run(cmd, shell=True)
|
||||
|
||||
self.vm.set_console()
|
||||
self.vm.add_args('-bios', self.workdir + '/u-boot-amigaone.bin')
|
||||
self.vm.launch()
|
||||
wait_for_console_pattern(self, 'FLASH:')
|
Loading…
Add table
Add a link
Reference in a new issue