Mender Integration for Owasys-5 IMX8M

smartin
Wed, 02 Aug 2023 22:11:21 +0000
Board Integrations

Hi,

I am trying to integrate Mender with an Owasys-5 which is running an iMX8M Plus with 1GB NAND flash and 8GB eMMC. Ideally, I would like the data partition on eMMC, but for now am ignoring the data partition.

Here are my Mender definitions:

MENDER_ARTIFACT_NAME = “release-1”
MENDER_STORAGE_TOTAL_SIZE_MB = “1024”
MENDER_STORAGE_PEB_SIZE = “262144”
MENDER_BOOT_PART_SIZE_MB = “8”
MENDER_DATA_PART_SIZE_MB = “0”
MENDER_MTDPARTS = “nand.0:8m(NAND.u-boot),8m(NAND.u-boot-bckp),1m(NAND.u-boot-env),1m(NAND.u-boot-env.backup),503m(NAND.file-systemA),-(NAND.file-systemB)”
MENDER_FEATURES_ENABLE:append = " mender-uboot mender-image mender-client-install"

When I build, I get the following error:

do_image_mender: Size of rootfs is greater than the calculated partition space (540014592 > 532152320). This image won’t fit on a device with the current storage configuration. Try reducing IMAGE_OVERHEAD_FACTOR if it is higher than 1.0, or raise MENDER_STORAGE_TOTAL_SIZE_MB if the device in fact has more storage.

Can you please explain how I resolve this error?

18 posts - 2 participants