Partition scheme
Changing the partition scheme may affect the boot loader update capability and / or the kernel command line parameters!
SD / eMMC images
BSP REV.0110
- 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 | reserved for ROM loader 1) |
0x0002 … 0x07ff | 0x07fe sectors / 1023 KiB | u-boot |
0x0800 … 0x0fff | 0x0800 sectors / 1MiB | environment 2) |
- partitioned area:
Partition | Size | Usage |
---|---|---|
1 | 20 MiB | Firmware partition 3) |
2 | 256 MiB | root FS |
3 | 256 MiB | Spare, not formatted |
4 | —- | —- |
The partition scheme is defined using the config file <BSP_ROOT>config/platform-tq-mba6x/config/images/uboot-hd.config. The creation of the image is controlled using the PTXdist packages image-uboot-tqma6<q|s>-hd.make, these packages are located at <BSP_ROOT>/configs/platform-tq-mba6x/rules/.
To create the image the genimage host tool is used. This tool is automatically selected and built. You can find the build directory under <BSP_ROOT>/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 4) |
0x0008 … 0x0008 | 0x0001 sector / 64 KiB | environment0 |
0x0009 … 0x0009 | 0x0001 sector / 64 KiB | environment1 |
0x000b … 0x000f | 0x0005 sectors / 320 KiB | devicetree |
0x0010 … 0x0070 | 0x0060 sectors / 6 MiB | Kernel |
*) See CPU reference Manual. The U-Boot image must be placed at offset 0x400
* configured environment size: 8kiB (16 Sectors)
* environment type: redundand
* primary environment (sectors): 0x0800 … 0x080f (0x100000 … 0x101fff)
* redundand environment (sectors): 0x0810 … 0x081f (0x102000 … 0x103fff)