Changing the partition scheme may affect the boot loader update capability and / or the kernel command line parameters!
The following partition scheme is used for SD / eMMC images
Sector | Size | Usage | in Partition table |
---|---|---|---|
0x0000 … 0x0001 | 0x0002 sectors / 1kiB | MBR / Partition table | |
0x0002 … 0x0002 | 0x0001 sector / 512 B | U-Boot environment | |
0x3000 … 0x3FFF | 0x1000 sectors / 2MiB | device tree blob | |
0x4000 … 0x7FFF | 0x4000 sectors / 8MiB | U-Boot partition (!) | * |
0x8000 … 0xBFFF | 0x4000 sectors / 8MiB | Kernel partition | * |
0xC000 … 0x2BFFF | 0x20000 sectors / 64 MiB | RootFS partition | * |
0x2C000…0xABFFF | 0x80000 sectors / 256 MiB | free to use partition (!!) | * |
(!) The Freescale tool (sdimage) used to create the SD/eMMC image writes two copies of U-Boot to this partition. The secondary copy starts at the sector following the last sector of the primary copy. Therefore no absolute addresses can be given.
(!!) Currently only SD/eMMC images implement this partition. MfgTool profiles do not yet create this partition.
The partition scheme is defined for platforms TQMa28/TQMa28L/TQMa28-fsl using the config file
<BSPROOT>/configs/platforms/tqma28/tqma28/config/images/tqma28-hd.config
The creation of the image is controlled using the project local PTXdist package image-hd2. To create the image the genimage host tool is used. This tool is automatically selected and built. You can find the build directory under <BSPROOT>/platform-<tqma28-fsl | tqma28>/build-host/genimage. There is also a README file documenting how to use this tool and the config file.