ChorusOS 5.0 System Administrator's Guide

Formatting a Flash Memory Device

You must format flash memory before you can label it. If your target does not have flash memory, you do not need to read this section.


Caution - Caution -

The following procedure initializes the Flash memory device, erasing all existing data. Be sure to back up existing data on the device before proceeding.


Formatting a Flash Memory Device
  1. Make sure that you have configured your system image with the FLASH feature set to true:


    host% cd build_dir
    host% configurator -list features | grep FLASH
    FLASH bool 'true'
  2. Reboot the target system with a system image that supports Flash memory and includes the special files needed to access it.

  3. Format the Flash memory using the format(1M) command:


    host% rsh target format /dev/rflash0a