==== 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 (( See CPU reference Manual. This sector can be used for Redundant Boot Support))| |0x0002 ... 0x07ff | 0x07fe sectors / 1023 KiB| u-boot | |0x0800 ... 0x0fff | 0x0800 sectors / 1MiB | environment (( 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 | 20 MiB | Firmware partition (( Firmware partitions contains all device tree blobs and Linux kernel image )) | | 2 | 256 MiB | root FS | | 3 | 256 MiB | Spare, not formatted | | 4 | ---- | ---- | ++++ BSP REV ≤ 0109 | * 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 2) | |0x0002 ... 0x07ff | 0x07fe sectors / 1023 KiB| u-boot | |0x0800 ... 0x0fff | 0x0800 sectors / 1MiB | environment 3) | |0x1000 ... 0x17ff | 0x0800 sectors / 1MiB | device tree blob | 1) 2) See CPU reference Manual. This sector can be used for Redundant Boot Support 3) 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 **config/platform-tq-mba6x/config/images/uboot-hd.config**. The creation of the image is controlled using the PTXdist packages image-uboot-tqma6-hd.make, these packages are located at **/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 **/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 ((See CPU reference Manual. The U-Boot image must be placed at offset 0x400 )) | |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