Owners manual

5 Flash Partitioning
Linux Software Developers Kit (SDK) User Guide 34
Default Flash Memory Map for XPort Pro
The following figure shows the flash layout as it is hard-coded in the Linux kernel.
Figure 5-2. Flash Layout XPort Pro
You can easily make adjustments to better fit your needs. Partition sizes and locations that
should not be altered are the first 4 flash areas. They are essential to be able to boot and
configure the Linux kernel. Additional partitions can be added, and existing ones can be
increased or shrunk (e.g. to adjust the space reserved for the kernel and ROMFS).
Please keep in mind, that some of the utilities like dbug-config and firmware update depend on
the partition names and won’t work anymore if you rename the partitions without adjusting those
utilities.
The partition definitions can be found in linux-2.6.x/drivers/mtd/maps/m520x.c:
static struct mtd_partition m520x_partitions_including_kernel[] = {
{
.name = "LTRXbloader",
.size = 0x10000,
.offset = 0x0,
.mask_flags = MTD_WRITEABLE /* force read-only */