Skip to main content

Flash Layout i.MX6

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.

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.

PartitionFirst sectorSize in sectors
(512 Bytes each)
Description
Boot02MBR (skipped by boot ROM)
Boot2136SPL bootloader, 1st stage bootloader used to load Linux (uboot) or Windows CE (eboot) bootloader
Boot138boot partion size - 265eboot bootloader
Bootboot partion size - 127126Config block
Bootboot partion size -11Factory information
User02MBR and partition table
User232'768Registry (two copies)
User32'7708'192Splash screen
User40'962262'144Windows CE OS image
User303'106all available spacefilesystem, 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.

PartitionFirst sectorSize in sectors
(512 Bytes each)
Description
User02MBR and partition table
User2128DCD (configuration commands for boot ROM) and 1st stage bootloader used to load eboot bootloader
User2561024eboot (Windows CE bootloader)
User1'2801factory information
User1'284126Config block
User1'53632'768Registry (two copies)
User34'3048'192Splash screen
User42'496262'144Windows CE OS image
User304'640all available spacefilesystem, remember to use preparefs command in bootloader to extend filesystem partition to the full capacity of eMMC


Send Feedback!