I don’t see there is way to resize the partitions now…
But in case you want to include more file in FS, you can try modifying ./meta-swi/meta-swi-mdm9x28/conf/machine/swi-mdm9x28.conf ? (parameter UBI_ROOTFS_SIZE)
but, without the option to modify partition sizes, when I flash that image the device stops functioning properly (legato components do not function well)
this is well understood since I “overrun” existing functionality
please advice how it’s possible to use a larger FS
The UBIFS size is something a bit from the past, as we are currently not using the generated ubifs rootfs (which has a static size) and use a squashfs rootfs instead (dynamic size, compressed and read-only).
The flash layout is fixed on wp76, so it is not possible to resize the rootfs partition once the max is reached. The system can be extended through Legato applications, and/or by putting content in bigger partitions such as /mnt/flash.
Overall we recommend the rootfs to remain small for security reason.
but in my case, for example I would like to include ffmpeg to the Yocto build, now image created is bigger then UBI_ROOTFS_SIZE so image is not getting built.
however if I resize parameter UBI_ROOTFS_SIZE, image can be built.
how else can I accomplish including more packages to the Yocto build ?
And since you’re unlikely to use the ubifs image, you can disable it’s generation by commenting out the 2 lines in meta-swi/meta-swi-mdm9x28/conf/machine/swi-mdm9x28.conf:
while it does solves the error in build issue, when I flash 'yocto_wp76xx.4k.cwe" the wp76xx still starting to experience “strage” behaviour, that is because of course the on-board partitioning does not support the image size
Hi,
Is there any update on the issue above? I ran into same issue with WP7609. I have to include some python packages and other modules, and if I increase UBI_ROOTFS_SIZE then system starts behaving strange.
I would appreciate your help.
Thanks.
Abhishek
Thank you @jyijyi for sharing this document.
But I am trying to get image (xxx.cwe) file ready for production and it requires all modules with my application included during the build time.
I have a build setup and able to build image successfully using make image_bin.
I would really appreciate if you could help me with resolving this issue.
Cheers,