Search by Tags

Flash Layout i.MX6

 
Applicable for

Subscribe for this article updates

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 weather or not boot partion is enabled.

Layout when boot partition 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 Description
Boot 0 2 sectors MBR (skipped by boot ROM)
Boot 2 136 sectors SPL bootloader, 1st stage bootloader used to load Linux (uboot) or Windows CE (eboot) bootloader
Boot 138 user partion size - 265 sectors eboot bootloader
Boot size of partition - 127 sectors 126 Config block
Boot size of partition -1 sector 1 Factory information
User 0 2 sectors MBR and partition table
User 2 16384 sectors Registry (two copies)
User 16386 8192 sectors Splash screen
User 24578 262144 sectors Windows CE OS image
User 286722 all available space filesystem, remember to use preparefs command in bootloader to extend filesystem partition to the full capacity of eMMC

Layout without boot partition enabled and without SPL bootloader

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 Description
User 0 2 sectors MBR and partition table
User 2 128 sectors DCD (configuration commands for boot ROM) and 1st stage bootloader used to load eboot bootloader
User 256 1024 sectors eboot (Windows CE bootloader)
User 1280 1 factory information
User 1284 126 Config block
User 1536 16384 sectors Registry (two copies)
User 17920 8192 sectors Splash screen
User 26112 262144 sectors Windows CE OS image
User 288256 all available space filesystem, remember to use preparefs command in bootloader to extend filesystem partition to the full capacity of eMMC