IMX6-based Apalis and Colibri modules have different eMMC components with different sizes. The layout is similar and most of the extra space on larger eMMCs is used to store the filesystem, giving more space for customer's own applications and data. eMMCs are organized in blocks of 512bytes, they have two boot partitions and one user partition. We suggest to enable the boot partition, but older releases of the Windows Embedded Compact BSP support also using only the user partition. We have two diffent layouts, depending on whether or not boot partion is enabled.
This is the suggested configuration. eMMC have two boot partitions, our current implementation uses only one, leaving the second free for user data or other implementations like failsafe bootloader etc.
Partition | First sector | Size in sectors (512 Bytes each) |
Description |
---|---|---|---|
Boot | 0 | 2 | MBR (skipped by boot ROM) |
Boot | 2 | 136 | SPL bootloader, 1st stage bootloader used to load Linux (uboot) or Windows CE (eboot) bootloader |
Boot | 138 | boot partion size - 265 | eboot bootloader |
Boot | boot partion size - 127 | 126 | Config block |
Boot | boot partion size -1 | 1 | Factory information |
User | 0 | 2 | MBR and partition table |
User | 2 | 32'768 | Registry (two copies) |
User | 32'770 | 8'192 | Splash screen |
User | 40'962 | 262'144 | Windows CE OS image |
User | 303'106 | all available space | filesystem, remember to use preparefs command in bootloader to extend filesystem partition to the full capacity of eMMC |
This is the old image layout used in the very early releases of the BSP, it is still supported, but we can't grant support in newer software or hardware releases, so we suggest to migrate to boot-partition layouts before moving to production.
Partition | First sector | Size in sectors (512 Bytes each) |
Description |
---|---|---|---|
User | 0 | 2 | MBR and partition table |
User | 2 | 128 | DCD (configuration commands for boot ROM) and 1st stage bootloader used to load eboot bootloader |
User | 256 | 1024 | eboot (Windows CE bootloader) |
User | 1'280 | 1 | factory information |
User | 1'284 | 126 | Config block |
User | 1'536 | 32'768 | Registry (two copies) |
User | 34'304 | 8'192 | Splash screen |
User | 42'496 | 262'144 | Windows CE OS image |
User | 304'640 | all available space | filesystem, remember to use preparefs command in bootloader to extend filesystem partition to the full capacity of eMMC |