mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-02 17:21:13 +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
30 lines
867 B
Plaintext
30 lines
867 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 (arndale, imx53_qsb, imx53_qsb_tz, imx6q_sabrelite, imx7d_sabre,
|
|
# nit6_solox, odroid_xu, odroid_x2, panda, pbxa9, usb_armory,
|
|
# virt_qemu, wand_quad, or zynq_qemu)
|
|
#BOARD ?= pbxa9
|
|
|
|
# local variable for run-tool arguments that depend on the used board
|
|
BOARD_RUN_OPT(pbxa9) = $(QEMU_RUN_OPT)
|
|
BOARD_RUN_OPT(virt_qemu) = $(QEMU_RUN_OPT)
|
|
BOARD_RUN_OPT(zynq_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}))
|
|
|