Share via


How to Implement BinFS (Windows Embedded CE 6.0)

1/6/2010

You can implement the binary ROM image file system (BinFS) on NAND or NOR flash media to read the .bin file format generated by Romimage.exe. BinFS parses the .bin file records of each region is invisible to the end user. To implement BinFS, you must add multi-bin region support to an existing boot loader, along with the necessary modifications to the Config.bib file to enable BinFS to read your run-time image properly.

Hardware and Software Assumptions

  • You have access and familiarity with Platform Builder and the build process.
  • You have basic knowledge of the Windows Embedded CE OS, Romimage, and associated file formats. For more information on Romimage, see Romimage.

Procedure

Step Topic

1. Develop a boot loader for your target device.

How to Develop a Boot Loader

2. Add support for BinFS to your boot loader.

Boot Loader Support for BinFS

3. Modify the MEMORY section of the Config.bib file to support BinFS.

Modifying the MEMORY Section of the Config.bib File to Support BinFS

4. Modify the CONFIG section of the Config.bib file to support BinFS.

Modifying the CONFIG Section of the Config.bib File to Support BinFS

5. If your OS design supports User Mode Drivers, modify the Common.bib file to ensure that the driver modules are non-pageable.

Modifying the Common.bib File to Support BinFS

6. If you are using the flash media driver (FMD) provided with Platform Builder, you do not need to modify the Platform.reg file. If you are using a custom FMD, you must modify the Platform.reg file to load BinFS on a block driver. For more information, see BinFS Registry Settings.

Not applicable

See Also

Reference

Bootpart Functions

Concepts

Binary ROM Iimage File System (BinFS)
Boot Loader Support for BinFS
BinFS Registry Settings

Other Resources

Flash Drivers