WP770x Yocto - increase filesystem size

Is a procedure available to increase the filesystem size?

This is an example of the yocto output that is failing due to

| ubinize: error!: error in section “sysfs_volume”: size of the image file

"/home/john/FX30/workspace/build_bin/tmp/deploy/images/swi-mdm9x28-wp/mdm9x28-image-minimal-swi-mdm9x28-wp-20190507083900.rootfs.2k.ubifs" is 50790400, which is larger than volume size 39845888
| WARNING: /home/john/FX30/workspace/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/run.prepare_ubi.23520:1 exit 255 from '/home/john/FX30/workspace/build_bin/tmp/sysroots/x86_64-linux/usr/sbin/ubinize -o $ubi_path $ubinize_args $ubinize_cfg'
| ERROR: Function failed: prepare_ubi (log file is located at /home/john/FX30/workspace/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/log.do_image_complete.23520)
ERROR: Task (/home/john/FX30/workspace/meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image-minimal.bb:do_image_complete) failed with exit code '1'

change UBI_ROOTFS_SIZE ?= “48MiB”

1 Like

Hi jyijyi

Will this be deployable without having to carry out further work to increase the partition size on the physical device?

Please try if you can compile first

Hi jyijyi

The yocto build works ok - however I programmed a part with the image and it is now just has a DM port - I guess indicating that there is a problem with the image.

Unfortunately I’ve just noticed that I have not used the correct title when I raised the initial post - sorry about that that - it’s a WP7702

what do you mean a part of image?
I remember I tried 48MB, it is OK.

Hi jyijyi

I installed




I installed the yocto_wp77xx.4k.cwe.

Hi jyijyi

Thanks - I guessed all the cwe should work? Did you repartition the device before you used the bigger image?

For info the following are the built images

workspace/build_bin/tmp/deploy/images/swi-mdm9x28-wp$ ls -x *.cwe


Any ideas what the 4K file represents?

Kind regards


I just used that one, and I never used other cwe file…

Hi jyijyi

At this point I had a dead WP7602 but it was in boot mode - reflashing with the one-click installer from the source failed. After some experimentation I was able to recover the module as follows

One-click workaround link

In summary

  • Loading the standard .cwe from the SW source web site works on the module.
  • Loading the 48MiB locally built Yocto image doesn’t work.
  • Loading a “38MiB” locally built Yocto image works

For example if I from change from larger “48MiB” back to original setting


and rebuilding - the image (yocto_wp77xx.4k.cwe) will load onto the WP7702 and it runs ok

You mean change it to 39MiB, it will not work?

Hi jyijyi
I have updated my notes above - hopefully clarified my findings

The bigger image doesn’t work on the module the smaller does work on the module

Some related topic