ppc/pegasos2: Change default CPU to 7457
PATCH 1/1 ppc/pegasos2: Change default CPU to 7457
Previously 7400 was selected as a safe choice as that is used by other machines so it's better tested but AmigaOS does not know this CPU and disables some features when running on it. The real hardware has 7447/7457 G4 CPU so change the default to match that now that it was confirmed to work better with AmigaOS.
--- hw/ppc/pegasos2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ppc/pegasos2.c +1 -1
@@ -524,7 +524,7 @@ static void pegasos2_machine_class_init(ObjectClass *oc, void *data) mc->block_default_type =IF_IDE ; mc->default_boot_order ="cd" ; mc->default_display ="std" ; - mc->default_cpu_type =POWERPC_CPU_TYPE_NAME ("7400_v2.9" ); + mc->default_cpu_type =POWERPC_CPU_TYPE_NAME ("7457_v1.2" ); mc->default_ram_id ="pegasos2.ram" ; mc->default_ram_size =512 * MiB;
Signature · 1 line
2.30.9
Quoted 9 lines · BALATON Zoltan
Previously 7400 was selected as a safe choice as that is used by other machines so it's better tested but AmigaOS does not know this CPU and disables some features when running on it. The real hardware has 7447/7457 G4 CPU so change the default to match that now that it was confirmed to work better with AmigaOS.
Signed-off-by BALATON Zoltan <[email protected]>Tested-by Rene Engel <[email protected]>---
And queued in gitlab.com/danielhb/qemu/tree/ppc-next. Thanks,
Daniel
Quoted 16 lines
hw/ppc/pegasos2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/ppc/pegasos2.c +1
-1@@ -524,7 +524,7 @@ static void pegasos2_machine_class_init(ObjectClass *oc, void *data) mc->block_default_type =IF_IDE ; mc->default_boot_order ="cd" ; mc->default_display ="std" ; - mc->default_cpu_type =POWERPC_CPU_TYPE_NAME ("7400_v2.9" ); + mc->default_cpu_type =POWERPC_CPU_TYPE_NAME ("7457_v1.2" ); mc->default_ram_id ="pegasos2.ram" ; mc->default_ram_size =512 * MiB;
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · Rene Engel
--- Ursprüngliche Nachricht ---
Von: BALATON Zoltan <[email protected]>
Datum: 28.05.2023 17:29:37
An: [email protected], [email protected]
Betreff: [PATCH] ppc/pegasos2: Change default CPU to 7457
Quoted 8 lines
Quoted 5 lines
Previously 7400 was selected as a safe choice as that is used by other machines so it's better tested but AmigaOS does not know this CPU and disables some features when running on it. The real hardware has 7447/7457 G4 CPU so change the default to match that now that it was confirmed to work better with AmigaOS.
Can't we also increase the memory "
mc->default_ram_size= 512 * MiB;" to 1024 for default settings ? Long term tests have confirmed that it works very well with 1024 MB memory under AmigaOs4.1.
No, the default memory size is not the largest possible but something sane that works bur won't eat all the memory of the host. Nowadays it's less of an issue but the default for most machines are still 128MB which I've already increased to 512MB for these machines as this is a better value for Amiga like OSes running on these machines but larger default may be too much. Adding a -memory option is less confusing then picking the right CPU type so requiring that for more memory is less of a problem.
Regards,
BALATON Zoltan
Quoted 29 lines
Quoted 26 lines
Signed-off-by BALATON Zoltan <[email protected]>Tested-by Rene Engel <[email protected]>--- hw/ppc/pegasos2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/ppc/pegasos2.c +1
-1@@ -524,7 +524,7 @@ static void pegasos2_machine_class_init(ObjectClass *oc, void *data) mc->block_default_type = IF_IDE; mc->default_boot_order ="cd" ; mc->default_display ="std" ; - mc->default_cpu_type =POWERPC_CPU_TYPE_NAME ("7400_v2.9" ); + mc->default_cpu_type =POWERPC_CPU_TYPE_NAME ("7457_v1.2" );mc->default_ram_id = "pegasos2.ram"; mc->default_ram_size = 512 * MiB;--
2.30.9