summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf/include/agl_qemuarm64.inc
blob: 089c4f261b52add8bb07eece1528935ea6495306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Build updatable image. Only takes effect when sota.bbclass is inherited
#DISTRO_FEATURES:append = " sota"

# Root device
ROOT_VM = "root=PARTUUID=${DISK_SIGNATURE}-02"

# Use our own wks file
WKS_FILE="directdisk.wks.in"

# Over-ride setting in oe-core's qemuboot.bbclass
QB_MEM:qemuarm64 = "-m 2048"

# Changes to make runqemu work out-of-the-box
QB_AUDIO_DRV:qemuarm64 := "alsa"
QB_MACHINE:qemuarm64 := "-machine virt -smp 4"
QB_OPT_APPEND:qemuarm64 := " -show-cursor -device VGA,vgamem_mb=64,edid=on -device qemu-xhci -device usb-tablet -device usb-kbd -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0"
QB_KERNEL_CMDLINE_APPEND:qemuarm64 := "console=ttyAMA0,115200n8 verbose"