My older board have 512M nor flash, and 2 MTD Partition as fllow:
0x000000000000-0x000001400000 : "gpmi-nfc-0-boot" // linux_ivt_boot
0x000001400000-0x000020000000 : "gpmi-nfc-general-use" // jffs2 file system
Now I want to change 2G flash ,and want to make 3 MTD partition:
0x000000000000-0x000001400000 : "gpmi-nfc-0-boot" //linux_ivt_boot
0x000001400000-0x000020000000 : "gpmi-nfc-general-use" //jffs2 file system
0x000020000000-xxxxx : "gpmi-nfc-general-date" //ubi file system
How can I do?
The partition is hardcoded in gpmi-nfc-mil.c.
You may need to modify the gpmi-nfc-mil.c.
Or for ubi file system, you can refer this for the ubi commands: