Partition scheme
Changing the partition scheme may affect the boot loader update capability and / or the kernel command line parameters!
SD / eMMC images
- sector size 512 Byte
- unpartitioned area: 4MiB (0x2000 sectors)
Sector | Size | Usage |
---|---|---|
0x0000 … 0x0000 | 0x0001 sector / 512 Byte | MBR / Partition Table |
0x0001 … 0x0001 | 0x0001 sector / 512 Byte | |
0x0002 … 0x07ff | 0x07fe sectors | |
0x0800 … 0x0fff | 0x0800 sectors / 1MiB | |
0x1000 … 0x17ff | 0x0800 sectors / 1MiB |
1) See CPU reference Manual. This sector can be used for Redundant Boot Support 2) Environment organisation:
- configured environment size: 8kiB (16 Sectors)
- environment type: redundand
- primary environment (sectors): 0x0800 … 0x080f (0x100000 … 0x101fff)
- redundand environment (sectors): 0x0810 … 0x081f (0x102000 … 0x103fff)
- partitioned area:
Partition | Size | Usage |
---|---|---|
1 | 4 MiB | Kernel image |
2 | 256 MiB | root FS |
3 | 256 MiB | Spare, not formatted |
4 | —- | —- |
The partition scheme is defined using the config file configs/platform-tq-mbls102xa/config/imagesuboot-sd.config. The creation of the image is controlled using the PTXdist packages image-uboot-tqma6<q|s>-hd. 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-MBa6x/build-host/genimage. There is also a README file documenting how to use this tool. === SPI NOR === * sector size 64 KiB ^ Sector ^ Size ^ Usage ^ |0x0000 … 0x0007 | 0x0008 sectors / 512 KiB | U-Boot *) | |0x0008 … 0x0008 | 0x0001 sector / 64 KiB | environment0 | |0x0009 … 0x0009 | 0x0001 sector / 64 KiB | environment1 | |0x000a … 0x000a | 0x0001 sector / 64 KiB | environment1 | |0x000b … 0x000f | 0x0005 sectors / 372 KiB | devicetree | |0x0010 … 0x0070 | 0x0060 sectors / 6 MiB | Kernel | *) See CPU reference Manual. The U-Boot image must be placed at offset 0x400