From 15250a12cb4635c49b0a72cbf7a2b2edcdbaea0a Mon Sep 17 00:00:00 2001 From: Michal Toman Date: Fri, 22 Sep 2023 10:20:41 +0200 Subject: [PATCH] balena-image: increase root and boot sizes on raspberrypi5-64 Change-type: patch Signed-off-by: Michal Toman --- .../recipes-core/images/balena-image.bbappend | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layers/meta-balena-raspberrypi/recipes-core/images/balena-image.bbappend b/layers/meta-balena-raspberrypi/recipes-core/images/balena-image.bbappend index 11488a03..76685e53 100644 --- a/layers/meta-balena-raspberrypi/recipes-core/images/balena-image.bbappend +++ b/layers/meta-balena-raspberrypi/recipes-core/images/balena-image.bbappend @@ -81,6 +81,10 @@ RPI_KERNEL_DEVICETREE:remove:revpi = "bcm2708-rpi-zero-w.dtb bcm2710-rpi-3-b-plu # this being a pi4 based board, increase to 400 MiB (up from 320 MiB) to make sure we have enough space in the rootfs IMAGE_ROOTFS_SIZE:raspberrypi4-superhub="409600" +# Double the root partition size from 320MiB to 640MiB and boot partition size from 40MiB to 80MiB for the Pi5 +IMAGE_ROOTFS_SIZE:raspberrypi5-64="655360" +BALENA_BOOT_SIZE:raspberrypi5-64="81920" + IMAGE_INSTALL:append:raspberrypi4-superhub = " \ phoenix-peripheral \ phoenix-peripheral-button-trig \