OTA with memory map change

Hello,

Would it be possible to change the size of the resinA and resinB partitions on an OTA update?
For instance, making them bigger from a balenaOS revision to another.
And if so, how would BalenaOS handle it?

Thanks in advance

No, it’s not possible to change the size of the partitions. Can you share why you may need to increase the size?

We are aware of the size limitations on the root partitions for some device types. Have you seen the blog post below? It describes how we plan to allow firmware storage in the data partition, which allows us to reduce the quantity in the root partitions.

hello,

sure, I was asking mainly because trying to include all NPU, GPU ( gstreamer, tensorflow, etc ) libraries and binaries in the rootfs usually ends up with no space left errors as they are quite heavy. We run over an imx8mp board and want to support its NPU and GPU features natively. Which would be your approach to this?

Thanks in advance

For libraries such as gstreamer, tensorflow, etc… you’ll want to install those in your container that needs them, so they will be in the data partition which expands to fit your disk, rather than one of the root partitions.