Internal memory for the mangOH red


#1

Hi all,

Is there any internal memory dedicated for custom applications in the mangOH red with wp7608 modem ?

  • NAND memory ?
  • NOR memory ?
  • MMc device ?

I would like to know the size of the memory devices available and are they available for the custom applicaiotns ?

The mango red Board contains the following mtd partitions.

root@swi-mdm9x28:~# 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”
root@swi-mdm9x28:~# mtdinfo
Count of MTD devices: 21
Present MTD devices: mtd0, mtd1, mtd2, mtd3, mtd4, mtd5, mtd6, mtd7, mtd8, mtd9, mtd10, mtd11, mtd12, mtd13, mtd14, mtd15, mtd16, mtd17, mtd18, mtd19, mtd20
Sysfs interface supported: yes

cat /proc/partitions
major minor #blocks name

31 0 2560 mtdblock0
31 1 2560 mtdblock1
31 2 6656 mtdblock2
31 3 1024 mtdblock3
31 4 2048 mtdblock4
31 5 17920 mtdblock5
31 6 81152 mtdblock6
31 7 1536 mtdblock7
31 8 768 mtdblock8
31 9 768 mtdblock9
31 10 32768 mtdblock10
31 11 1024 mtdblock11
31 12 15360 mtdblock12
31 13 30720 mtdblock13
31 14 8960 mtdblock14
31 15 25600 mtdblock15
31 16 134144 mtdblock16
31 17 55808 mtdblock17
31 18 34304 mtdblock18
31 19 34304 mtdblock19
31 20 34304 mtdblock20
252 0 16648 ubiblock0_0
252 1 140 ubiblock0_1
253 0 16648 dm-0
252 2 2976 ubiblock2_0
252 3 25296 ubiblock1_0

I would like to know whether these partitions of eMMc or any flash device.
And also want to use one of the above partiotion for the custom usage.
Could some one provide more information in relation to the memory devices connected to the mangoH red.

Thanks,
Siva


#2

Hi Siva,

Those partitions are coming from built in NAND flash, may I ask your use case what kind of files/data you are going to store in specific partition?

Or you can store them on the current Linux file system? i.e. /home/root?
The data will be stored in mtd16, userapp partition which is over 100MB available.

Thx