From 39872b4742c0f3868a9a4b1b16e2be66f0e754a5 Mon Sep 17 00:00:00 2001 From: Jakub Luzny Date: Wed, 12 Aug 2020 12:57:57 +0200 Subject: meta-agl-jailhouse: Add support for RPi4 with 2G/4G/8G of memory The Jailhouse configuration files had to be modified to append the additional memory regions present on the higher mem variants of the RPi4. To avoid the use of mem= kernel parameter to fix the memory that can be used by the root cell, a device tree overlay with reserved-memory nodes is used instead. To avoid conflict with the GPU memory, the memory region used for Jailhouse and the non-root cells was moved from 0x30000000 to 0x20000000. Bug-AGL: SPEC-3507 Signed-off-by: Jakub Luzny Change-Id: Iabd67504c3df0349dd62e45f12d1019de14328f1 --- templates/feature/agl-jailhouse/50_local.conf.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates/feature/agl-jailhouse') diff --git a/templates/feature/agl-jailhouse/50_local.conf.inc b/templates/feature/agl-jailhouse/50_local.conf.inc index 89e25216..7c5b3292 100644 --- a/templates/feature/agl-jailhouse/50_local.conf.inc +++ b/templates/feature/agl-jailhouse/50_local.conf.inc @@ -1,3 +1,5 @@ #### JAILHOUSE IMAGE_INSTALL_append = " jailhouse jailhouse-demos" PREFERRED_VERSION_linux-raspberrypi = "5.4%" + +RPI_KERNEL_DEVICETREE_OVERLAYS_append = " overlays/jailhouse-memory.dtbo" -- cgit 1.2.3-korg