Meta: Set the RAM size to 1G for aarch64 in run.py

The "raspi3b" QEMU machine doesn't like RAM sizes other than 1G.
This commit is contained in:
Sönke Holz 2024-02-23 22:33:32 +01:00 committed by Jelle Raaijmakers
parent d2cfea5acc
commit bcb68eb632
Notes: sideshowbarker 2024-07-17 01:06:10 +09:00

View file

@ -707,6 +707,7 @@ def set_up_machine_devices(config: Configuration):
if config.architecture == Arch.Aarch64:
config.qemu_machine = "raspi3b"
config.cpu_count = None
config.ram_size = "1G" # The raspi3b machine only accepts 1G as a valid RAM size.
config.vga_type = None
config.display_device = None
if config.machine_type != MachineType.CI: