R16-WP7608-Partition-Size-Change

Hi there ,
I was trying to modify the sizes of application processor partitions
using the AT command AT!PARTITION but for some reason it responds with ERROR: Not allowed . Did anyone face this issue ?

AT!ENTERCND=“A710”
OK
AT!PARTITION?
PART BLOCK SIZE
NAME OFFSET (KB)
0:SBL 00000000 2560
0:MIBIB 0000000A 2560
0:BACKUP 00000014 6656
0:SECURITY 0000002E 1024
0:PERSIST 00000032 2048
0:EFS2 0000003A 17920
0:SWIFOTA 00000080 81152
0:TZ 000001BD 1536
0:DEVCFG 000001C3 768
0:RPM 000001C6 768
0:modem 000001C9 32768
0:aboot 00000249 1024
0:boot 0000024D 15360
0:system 00000289 30720
0:LEFWKRO 00000301 8960
0:SWIRW 00000324 25600
0:USERAPP 00000388 134144
0:RESERVED 00000594 55808
0:SLOT_2 0000066E 34304
0:SLOT_1 000006F4 34304
0:SLOT_0 0000077A 34304
OK

AT!PARTITION=0:LEFWKRO,16000

ERROR: Not allowed

AT!IMPREF?
!IMPREF:
preferred fw version: 02.37.03.00
preferred carrier name: GENERIC
preferred config name: GENERIC_002.095_000
preferred subpri index: 000
current fw version: 02.37.03.00
current carrier name: GENERIC
current config name: GENERIC_002.095_000
current subpri index: 000
OK

ATi0
Manufacturer: Sierra Wireless, Incorporated
Model: WP7608
Revision: SWI9X07Y_02.37.03.00 73df45 jenkins 2020/04/08 10:59:14
IMEI: 352913090212232
IMEI SV: 14
FSN: XG909600700610
+GCAP: +CGSM
OK

##############################################

Module : WP7608
Firmware : R16

##############################################

Thanks

  • Ak

you can see here: (seems you cannot have partition change)

Hi @jyijyi ,

Any alternate solutions ? Because the legato system build (cwe) with R16 is around 8.4MB including the custom apps .
How will i flash the system build (legato-cwe) ?

You can order some new modules which can modify partition size or you need to contact local FAE to level unlock the module.

@jyijyi ,
By any chance we can mute some services / libraries which were not a part of R10.1 or R13.1 Legato ?

I don’t quite understand your question, can you elaborate more?

@jyijyi ,
I am migrating my apps from R10.1 to R16 but unfortunately the size of legato.cwe in R16 is larger than 8 MB where as for R10.1 the size was 7.3 MB . So in order to reduce the size can i mute any default services or libraries in R16 Legato ?

I never tried this, but I guess you can try to modify this file to delete some services:

@jyijyi ,
Just to cross verify i muted all the services in default.sdef and the image generated was around 2.6 MB but when i tried same with R10.1 legato the image generated was 1.3 MB . Any idea what else has been added in R16 ?

We would like to achieve this because level unlocking would not be suitable for devices in the field .

This is hard to compare as the code in legato framework is totally different.
But seems there is significant decrease on the size and I think you can add your app and see if it can work on the module in the field.

Hi @jyijyi ,
Basically i had muted all the services just to check the image size without Legato services . I cant mute them in my use case as my applications are binding to those services .
Can we mute any other binaries or apps apart from the list in default.sdef .

Observation : In R16 with all the Legato services muted we have the cwe file size of 2.6MB and where as in R10.1 with all the Legato services muted we have the cwe file size of 1.3MB .
What is taking 1.3MB more in R16 ?

How about muting wifi.sdef

@jyijyi ,
I tried muting wifi.sdef the Size did not change much . Any libraries added in R16 which can be disabled ? Was 1.3 MB increment taken for bug fixing ? or any new features being added ?

Legato framework has been changed a lot, you can check the release not in legato.io

Hello, I have the same problem as you. Did you find anything that could be muted?