Owners manual
5 Flash Partitioning
Linux Software Developers Kit (SDK) User Guide 35
},
{
.name = "LTRXconfig",
.size = 0x10000,
.offset = MTDPART_OFS_NXTBLK,
.mask_flags = MTD_WRITEABLE /* force read-only */
},
{
.name = "dBug",
.size = 0x10000,
.offset = MTDPART_OFS_NXTBLK,
.mask_flags = MTD_WRITEABLE /* force read-only */
},
{
.name = "dBugConfig",
.size = 0x10000,
.offset = MTDPART_OFS_NXTBLK,
},
{
.name = "Kernel",
.size = (DEFAULT_FLASH_SIZE / 2) - 0x40000,
.offset = MTDPART_OFS_NXTBLK,
.mask_flags = MTD_WRITEABLE /* force read-only */
},
};
static struct mtd_partition m520x_romfs_in_flash_partition[] = {
{
.name = "Romfs",
.size = 0, /* needs to be adjusted dynamically */
.offset = 0, /* needs to be adjusted dynamically */
.mask_flags = MTD_WRITEABLE /* force read-only */
},
};
static struct mtd_partition m520x_partitions_after_romfs[] = {
{
.name = "UserSpace",
.size = MTDPART_SIZ_FULL, // gets overwritten below
.offset = MTDPART_OFS_NXTBLK
},
{
.name = "WritableFlash",
.size = MTDPART_SIZ_FULL,
.offset = 0x40000
}
#ifdef CONFIG_MTD_RECOVER_PARAMS
,
{
.name = "UserExtra",
.size = 0x30000,
.offset = 0x400000 // gets overwritten below
},
{
.name = "dBugConfBackup",
.size = 0x10000,
.offset = 0x430000 // gets overwritten below