Partition scheme
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 512 Byte
- unpartitioned area: 4MiB (0x2000 sectors)
Sector | Size | Usage |
---|---|---|
0x0000 … 0x0001 | 0x0002 sectors / 1kiB | MBR / Partition Table |
0x0002 … 0x07ff | 0x07fe sectors | u-boot |
0x0800 … 0x0fff | 0x0800 sectors / 1MiB | environment |
0x1000 … 0x17ff | 0x0800 sectors / 1MiB | device tree blob |
- 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 config/platform-tq-mba53/config/uboot-hd.config. The creation of the image is controlled using the project local PTXdist package image-uboot-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-MBa53/build-host/genimage. There is also a README file documenting how to use this tool.