WP76xx - Increase application size limit

Hi,

We’re using legato 18.10.3, firmware Release 12, and are hitting a limit in the size of our legato system it seems. Current legato.cwe weighs 8,705 KB.

[17/12/19 - 15:20:42:974] S02mount_early: Executing mount_early_legato_start... 
[17/12/19 - 15:20:42:975] 
[17/12/19 - 15:20:42:975] mount Legato from partition lefwkro
[17/12/19 - 15:20:42:975] 
[17/12/19 - 15:20:43:146] S02mount_early: Non-secure.
[17/12/19 - 15:20:43:147] 
[17/12/19 - 15:20:43:242] [    6.446228] ubi2 error: ubi_eba_init: no enough physical eraseblocks 
(0, need 1)
[17/12/19 - 15:20:43:286] 
[17/12/19 - 15:20:43:286] [    6.452710] ubi2 error: ubi_attach_mtd_dev: failed to attach mtd14, 
error -28
[17/12/19 - 15:20:43:287] 
[17/12/19 - 15:20:43:287] ubiattach: error!: cannot attach mtd14
[17/12/19 - 15:20:43:287] 
[17/12/19 - 15:20:43:287]            error 28 (No space left on device)
[17/12/19 - 15:20:43:288] 
[17/12/19 - 15:20:43:288] S02mount_early: Unable to attach mtd partition lefwkro to UBI logical 
device 2
[17/12/19 - 15:20:43:289] 
[17/12/19 - 15:20:43:301] It is not dual system logic
[17/12/19 - 15:20:43:350] 
[17/12/19 - 15:20:43:350] S02mount_early: Unable to find a way to mount lefwkro to 
/mnt/legato
[17/12/19 - 15:20:43:351] 

It is suprising as the flash itself has more than 66.9MB available, it feels like it’s a matter of defining partition sizes correctly. Would you know what settings need to be changed in order to allocated more space to the apps?

Thanks,
Ben

I’ve worked around the issue by removing the wifi.sdef inclusion and importing manually everything I needed from default.sdef and wifi.sdef (legato predefined systems), making sure to keep only the apps we use. This was enough to free the some space and let our apps in but we’re looking into adding content in the future.

Hi @ben.o, can you share the output for “df -h” please.