From 4a4f40ad020fdce8f1c460d1031066cd826308c1 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Mon, 9 May 2022 17:25:41 +0200 Subject: [PATCH] ccmp15-dvk: fix ubifs partition creation for ConnectCore MP15 platform This commit uses the same values as the ConnectCore 6UL which uses the same type of NAND. Signed-off-by: Arturo Buzarra --- meta-digi-arm/conf/machine/ccmp15-dvk.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meta-digi-arm/conf/machine/ccmp15-dvk.conf b/meta-digi-arm/conf/machine/ccmp15-dvk.conf index 5193aa93c..36cf7dde5 100644 --- a/meta-digi-arm/conf/machine/ccmp15-dvk.conf +++ b/meta-digi-arm/conf/machine/ccmp15-dvk.conf @@ -95,6 +95,14 @@ UBOOT_ENV_RANGE ?= "" STORAGE_MEDIA = "mtd" +# mkfs.ubifs parameters for boot partition (the one holding kernel and device tree files) +# Max LEB count (-c 255) calculated for a partition of up to 32 MiB considering 128 KiB erase-block size. +MKUBIFS_BOOT_ARGS ?= "-m 2048 -e 126976 -c 255" + +# mkfs.ubifs parameters for rootfs partition +# Max LEB count (-c 8191) calculated for a partition of up to 1 GiB considering 128 KiB erase-block size. +MKUBIFS_ARGS ?= "-m 2048 -e 126976 -c 8191" + # Enable STM specific features DEY_BUILD_PLATFORM = "STM"