# R16-WP7608-Partition-Size-Change

**URL:** <https://forum.legato.io/t/r16-wp7608-partition-size-change/5645>\
**Category:** Uncategorized\
**Created:** [March 9, 2021, 10:10am UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645 "2021-03-09T10:10:41Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshaysk](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/akshaysk/32/1212_2.png) [@akshaysk](https://forum.legato.io/u/akshaysk)\
**Post date:** [March 9, 2021, 10:10am UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645/1 "2021-03-09T10:10:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 9, 2021, 10:18am UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645/2 "2021-03-09T10:18:58Z")

</div>

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

> **[Repartition wp7702](https://forum.sierrawireless.com/t/repartition-wp7702/22662)**
>
> There is an older forum topic on this. But has anyone found a way to repartition the WP7702 to increase the size of the rootfs as of 2021? The AT!PARTITION is not supposed to work on WP77xx as per the AT command reference r8, but does show the...

---

<div class="post-metadata">

**Author:** ![akshaysk](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/akshaysk/32/1212_2.png) [@akshaysk](https://forum.legato.io/u/akshaysk)\
**Post date:** [March 9, 2021, 11:24am UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645/3 "2021-03-09T11:24:38Z")

</div>

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) ?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 9, 2021, 12:04pm UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645/4 "2021-03-09T12:04:32Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![akshaysk](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/akshaysk/32/1212_2.png) [@akshaysk](https://forum.legato.io/u/akshaysk)\
**Post date:** [March 10, 2021, 12:54pm UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645/5 "2021-03-10T12:54:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 10, 2021, 12:58pm UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645/6 "2021-03-10T12:58:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![akshaysk](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/akshaysk/32/1212_2.png) [@akshaysk](https://forum.legato.io/u/akshaysk)\
**Post date:** [March 10, 2021, 1:03pm UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645/7 "2021-03-10T13:03:21Z")

</div>

@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 ?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 10, 2021, 1:25pm UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645/8 "2021-03-10T13:25:06Z")

</div>

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

> <https://github.com/legatoproject/legato-af/blob/master/default.sdef>

---

<div class="post-metadata">

**Author:** ![akshaysk](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/akshaysk/32/1212_2.png) [@akshaysk](https://forum.legato.io/u/akshaysk)\
**Post date:** [March 11, 2021, 4:42am UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645/9 "2021-03-11T04:42:04Z")

</div>

@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 .

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 11, 2021, 4:54am UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645/10 "2021-03-11T04:54:17Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![akshaysk](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/akshaysk/32/1212_2.png) [@akshaysk](https://forum.legato.io/u/akshaysk)\
**Post date:** [March 15, 2021, 11:38am UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645/11 "2021-03-15T11:38:07Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 15, 2021, 12:01pm UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645/12 "2021-03-15T12:01:11Z")

</div>

How about muting wifi.sdef

---

<div class="post-metadata">

**Author:** ![akshaysk](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/akshaysk/32/1212_2.png) [@akshaysk](https://forum.legato.io/u/akshaysk)\
**Post date:** [March 15, 2021, 12:20pm UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645/13 "2021-03-15T12:20:30Z")

</div>

@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 ?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 15, 2021, 12:45pm UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645/14 "2021-03-15T12:45:20Z")

</div>

Legato framework has been changed a lot, you can check the release not in [legato.io](http://legato.io)

> **[Legato Release](https://legato.io/releases.html)**
>
> Legato Partners

---

<div class="post-metadata">

**Author:** ![sikva](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@sikva](https://forum.legato.io/u/sikva)\
**Post date:** [July 27, 2023, 8:57am UTC](https://forum.legato.io/t/r16-wp7608-partition-size-change/5645/15 "2023-07-27T08:57:48Z")

</div>

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