meta-agl-flutter: add agl-flutter-env
[AGL/meta-agl-devel.git] / templates / feature / agl-jailhouse / 50_local.conf.inc
1 #### JAILHOUSE 
2 IMAGE_INSTALL:append = " jailhouse jailhouse-demos"
3 PREFERRED_VERSION_linux-raspberrypi = "5.4%"
4
5 RPI_KERNEL_DEVICETREE_OVERLAYS:append = " overlays/jailhouse-memory.dtbo"
6
7 #Qemu Boot Config
8 # qemu flags for jailhouse
9 QB_OPT_APPEND:append = " -device intel-iommu,intremap=on,x-buggy-eim=on -device intel-hda,addr=1b.0 -device hda-duplex -serial none -serial stdio -serial telnet:localhost:4321,server,nowait -serial telnet:localhost:5432,server,nowait"
10 QB_MEM = "-m 2048"
11
12 # use override with higher priority than x86-64
13 QB_MACHINE:qemux86-64 = "-machine q35,kernel_irqchip=split -smp 4"
14 QB_CPU:qemux86-64 = "-enable-kvm"
15 QB_CPU_KVM:qemux86-64 = "-cpu host,-kvm-pv-eoi,-kvm-pv-ipi,-kvm-asyncpf,-kvm-steal-time,-kvmclock,-invpcid,-hypervisor"
16
17 QB_KERNEL_CMDLINE_APPEND:append = " intel_iommu=off memmap=82M$0x22000000"
18
19 QB_KERNEL_ROOT = "/dev/vda"
20 QB_SERIAL_OPT = "-serial none -serial stdio -serial telnet:localhost:4321,server,nowait -serial telnet:localhost:5432,server,nowait -vga virtio"
21
22
23 # jailhouse needs ttyS1 in the agl-qemu.cell as debug console.
24 # restrict the SERIAL_CONSOLES to ttyS0 only
25 SERIAL_CONSOLES = "115200;ttyS0"
26 KERNEL_CONSOLE = "ttyS0"
27
28 # For Kernel modules
29 MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "kernel-modules"
30
31 # For a custom jailhouse kernel from git.kiszka.org
32 PREFERRED_PROVIDER_virtual/kernel = "linux-jailhouse-custom"
33
34 # Add virtio-ivshmem-binaries to the QEmulated system
35 IMAGE_INSTALL:append = " packagegroup-agl-jailhouse"
36
37 # prevent most external kernel module from being built
38 MOST_DRIVERS = ""
39 LTTNGUST:forcevariable := ""
40 LTTNGTOOLS:forcevariable := ""
41 LTTNGMODULES:forcevariable := ""
42
43 # Disable perf build
44 PERF:forcevariable := ""
45