WP76xx flash clone


#1

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


#2

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

# 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 or 7 from here
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.


#3

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.


#4

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


#5

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.