# WP76xx flash clone

**URL:** <https://forum.legato.io/t/wp76xx-flash-clone/3937>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [December 11, 2018, 9:14am UTC](https://forum.legato.io/t/wp76xx-flash-clone/3937 "2018-12-11T09:14:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aleksandar.zivkovic](https://avatars.discourse-cdn.com/v4/letter/a/8c91f0/32.png) [@aleksandar.zivkovic](https://forum.legato.io/u/aleksandar.zivkovic)\
**Post date:** [December 11, 2018, 9:14am UTC](https://forum.legato.io/t/wp76xx-flash-clone/3937/1 "2018-12-11T09:14:41Z")

</div>

Dear users,

do you know if it is possible to clone content of WP76xx module and flash it on other module? I’m trying to replicate SW issue that occurs in the team in other city.  
If I would run x86 Linux I’d run good-old `dd` command and get everything cloned, but I guess WP76xx platform offers more advanced way of doing this.

Regards,  
Aleksandar

---

<div class="post-metadata">

**Author:** ![aleksandar.zivkovic](https://avatars.discourse-cdn.com/v4/letter/a/8c91f0/32.png) [@aleksandar.zivkovic](https://forum.legato.io/u/aleksandar.zivkovic)\
**Post date:** [December 18, 2018, 11:44am UTC](https://forum.legato.io/t/wp76xx-flash-clone/3937/2 "2018-12-18T11:44:59Z")

</div>

OK I just have learned that my WP7607-1 has 21 partitions 😯

```
# cat /proc/mtd
dev: size erasesize name
mtd0: 00280000 00040000 "sbl"
mtd1: 00280000 00040000 "mibib"
mtd2: 00680000 00040000 "backup"
mtd3: 00100000 00040000 "security"
mtd4: 00200000 00040000 "persist"
mtd5: 01180000 00040000 "efs2"
mtd6: 04f40000 00040000 "swifota"
mtd7: 00180000 00040000 "tz"
mtd8: 000c0000 00040000 "devcfg"
mtd9: 000c0000 00040000 "rpm"
mtd10: 02000000 00040000 "modem"
mtd11: 00100000 00040000 "aboot"
mtd12: 00f00000 00040000 "boot"
mtd13: 01e00000 00040000 "system"
mtd14: 008c0000 00040000 "lefwkro"
mtd15: 01900000 00040000 "swirw"
mtd16: 08300000 00040000 "userapp"
mtd17: 03680000 00040000 "reserved"
mtd18: 02180000 00040000 "slot_2"
mtd19: 02180000 00040000 "slot_1"
mtd20: 02180000 00040000 "slot_0"

```

which is different from 5 partitions showed [here](https://source.sierrawireless.com/~/media/developer%20zone/content/legato/wp%20flash%20mapping.ashx?la=en) or 7 from [here](https://forum.legato.io/t/larger-rootfs-wp8548/2012)  
Is there some description (at least read-me txt file) to understand which partitions are changed during runtime (e.g. where is ConfigTree data stored etc)?  
To note, I just need to take a snapshot of writable part of the system so I can clone it easily.

---

<div class="post-metadata">

**Author:** ![muralinagraj](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@muralinagraj](https://forum.legato.io/u/muralinagraj)\
**Post date:** [December 19, 2018, 2:19pm UTC](https://forum.legato.io/t/wp76xx-flash-clone/3937/3 "2018-12-19T14:19:08Z")

</div>

Hi @aleksandar.zivkovic ,  
ConfigTree data will be storesd in the USER1/MTD4 partition where the application are stored, So i think USER1/MTD4 partition will get changed during runtime. Will let we you know if we come across any further information on this.

Regards,  
Muralidhara N.

---

<div class="post-metadata">

**Author:** ![aleksandar.zivkovic](https://avatars.discourse-cdn.com/v4/letter/a/8c91f0/32.png) [@aleksandar.zivkovic](https://forum.legato.io/u/aleksandar.zivkovic)\
**Post date:** [December 19, 2018, 4:22pm UTC](https://forum.legato.io/t/wp76xx-flash-clone/3937/4 "2018-12-19T16:22:05Z")

</div>

Thanks for answer,  
when you look at my list above which partition is USER1/MTD4 from this list?

---

<div class="post-metadata">

**Author:** ![muralinagraj](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@muralinagraj](https://forum.legato.io/u/muralinagraj)\
**Post date:** [December 28, 2018, 2:22pm UTC](https://forum.legato.io/t/wp76xx-flash-clone/3937/5 "2018-12-28T14:22:15Z")

</div>

Hi @aleksandar.zivkovic,  
Sorry one clarification here, In **WP85** legato applications, config tree will be stored in **user1/mtd4** partition, Which is read write partition and totally WP85 has 7 partitions.

Similarly in **WP76** , legato applications, config tree will be stored in **userapp/mtd16** partition (mtd16: 08300000 00040000 “userapp”), Which is also a read write partition and totally WP76 has 21 partitions as you told.

Hope it is clear now.

Regards,  
Muralidhara N.
