mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 16:31:06 +00:00
585c4b8c69
This patch adds support for booting base-hw kernel on qemu-arm virt machines. The arm_virt machine has 2GB of RAM, 2 Cortex A15 cores and uses GICv2 interrupt controller. The arm_64_virt machine also has 2GB of RAM, but has 4 Cortex A53 cores and uses GICv3. Both machines use PSCI to boot additional CPU cores. Fixes #3673
27 lines
661 B
Plaintext
27 lines
661 B
Plaintext
# local variable for run-tool arguments used for running scenarios in Qemu
|
|
QEMU_RUN_OPT := --include power_on/qemu --include log/qemu
|
|
|
|
# kernel to use (hw, foc, or sel4)
|
|
#KERNEL ?= hw
|
|
|
|
# board to use (rpi3, imx8q_evk, virt_qemu)
|
|
#BOARD ?= rpi3
|
|
|
|
# local variable for run-tool arguments that depend on the used board
|
|
BOARD_RUN_OPT(rpi3) := $(QEMU_RUN_OPT)
|
|
BOARD_RUN_OPT(virt_qemu) := $(QEMU_RUN_OPT)
|
|
|
|
##
|
|
## Qemu arguments, effective when using the run tool's 'power_on/qemu' back end
|
|
##
|
|
|
|
# enable GDB stub
|
|
#QEMU_OPT += -s
|
|
|
|
# use time-tested graphics backend
|
|
QEMU_OPT += -display sdl
|
|
|
|
# add kernel-specific Qemu arguments
|
|
QEMU_OPT += $(QEMU_OPT(${KERNEL}))
|
|
|