mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
tool/run: read board-specific qemu args from file
Allow specifying additional qemu arguments for externally supported boards (e.g. zynq_qemu) by adding a `qemu_args` file in the board-property directory. The syntax of the qemu_args file is as follows: - Arguments can appear in a single line or in multiple lines as the lines will be appended (separated by a whitespace) to the global qemu_args variable. - If the line is prepended with a `foobar:` expression. The arguments are only added if the foobar spec is present. Note, that a `-m` argument specified in the qemu_args file will override the arguments provided by the run scripts. genodelabs/genode#4311
This commit is contained in:
committed by
Christian Helmuth
parent
c0c2ed2bf5
commit
522a1cdc5b
1
repos/base/board/pbxa9/qemu_args
Normal file
1
repos/base/board/pbxa9/qemu_args
Normal file
@@ -0,0 +1 @@
|
||||
-m 768 -M realview-pbx-a9
|
||||
1
repos/base/board/pc/qemu_args
Normal file
1
repos/base/board/pc/qemu_args
Normal file
@@ -0,0 +1 @@
|
||||
-machine q35
|
||||
2
repos/base/board/riscv_qemu/qemu_args
Normal file
2
repos/base/board/riscv_qemu/qemu_args
Normal file
@@ -0,0 +1,2 @@
|
||||
-m 128 -machine virt -cpu rv64,priv_spec=v1.10.0
|
||||
-bios default
|
||||
1
repos/base/board/rpi3/qemu_args
Normal file
1
repos/base/board/rpi3/qemu_args
Normal file
@@ -0,0 +1 @@
|
||||
-M raspi3 -m 1024
|
||||
6
repos/base/board/virt_qemu/qemu_args
Normal file
6
repos/base/board/virt_qemu/qemu_args
Normal file
@@ -0,0 +1,6 @@
|
||||
-m 2048
|
||||
-global virtio-mmio.force-legacy=false
|
||||
-device virtio-mouse-device
|
||||
-device virtio-keyboard-device
|
||||
arm_v8a: -M virt,virtualization=true,gic-version=3 -cpu cortex-a53 -smp 4
|
||||
arm_v7a: -M virt,virtualization=true -cpu cortex-a15 -smp 2
|
||||
Reference in New Issue
Block a user