[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for 8.2] ppc/amigaone: Allow running without firmware image
From: |
BALATON Zoltan |
Subject: |
[PATCH for 8.2] ppc/amigaone: Allow running without firmware image |
Date: |
Sat, 25 Nov 2023 15:19:26 +0100 (CET) |
The machine uses a modified U-Boot under GPL license but the sources
of it are lost with only a binary available so it cannot be included
in QEMU. Allow running without the firmware image by specifying -bios
none which can be used when calling a boot loader directly which does
not need the firmware and thus simplifying booting guests.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
---
Please merge for 8.2 as ir allows booting AmigaOS simpler without
having to download separate firmware.
hw/ppc/amigaone.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/ppc/amigaone.c b/hw/ppc/amigaone.c
index 992a55e632..f3d702814a 100644
--- a/hw/ppc/amigaone.c
+++ b/hw/ppc/amigaone.c
@@ -105,7 +105,7 @@ static void amigaone_init(MachineState *machine)
exit(1);
}
g_free(filename);
- } else if (!qtest_enabled()) {
+ } else if (!qtest_enabled() && strcmp(fwname, "none") != 0) {
error_report("Could not find firmware '%s'", fwname);
exit(1);
}
--
2.30.9
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH for 8.2] ppc/amigaone: Allow running without firmware image,
BALATON Zoltan <=