Boot Loader Support for BinFS

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

If a boot loader includes support for the binary ROM image file system (BinFS), the boot loader can partition, format, and write data to a media device. The boot loader uses Bootpart library to write to flash media and to create partitioning. This partitioning is necessary for both BinFS and another file system, such as FAT, to be flashed on the same media device.

To accomplish partitioning, the boot loader uses the Bootpart library to create a BinFS partition and an extended partition. The OS uses these partitions to create one or more data partitions in the extended partition. The extended partition is required because the OS cannot modify the master boot record (MBR) once the boot loader's Bootpart library partitions flash memory.

The Bootpart library can create a boot partition to store boot parameters. The flash memory blocks that contain the MBR sector, the BinFS memory region, and the boot parameters partition are read-only. The BinFS and boot partitions are also read-only so that the partitions cannot be formatted or deleted.

Bootpart enables code for a flash media driver (FMD) to be abstracted from the boot loader. The boot loader creates the partition and reads or writes to the partition by specifying a byte offset into the partition, as well as a length value. Bootpart can also perform a low-level format on the flash media.

To support BinFS, your boot loader must link to the Bootpart library located in the %_WINCEROOT%\Public\Common\Oak\Drivers\EthDbg\Bootpart directory.

For more information on the Bootpart library see, Bootpart Functions.

See Also

Tasks

How to Implement BinFS

Reference

Bootpart Functions

Concepts

Binary ROM Iimage File System (BinFS)
BinFS and the Bootpart Library