FLASHPART(8)                                         FLASHPART(8)

     NAME
          flashpart, flashprep - partition and prepare flash
          partitions

     SYNOPSIS
          flashpart
          kw/flashprep [ -vIWK ] [ -i plan9.ini ] [ -k kernel ] [ -e
          erasesz ]

     DESCRIPTION
          These programs assist in dealing with on-board flash.
          Flashpart uses the environment variable flashnpart to parti-
          tion the flash device #Fn.  The variable is formatted as a
          sequence of partitions seperated by `/'.  Each partition is
          described by the space-seperated 3-tuple of name, start off-
          set and end offset.

          The flashprep tool builds a stand-alone bootable flash with
          nvram, plan9.ini(8) and a kernel then emits a u-boot boot
          command for the image and attempts to create the appropriate
          partitions in #Fn.  For ease of management, each element is
          put in a seperate flash erase unit.  The erase size is read
          from #Fn but may be overridden with -e.  The default config-
          uration file is /cfg/pxe/ ea and may be changed with the -i
          flag.  The default kernel is /arm/9plug and may be changed
          with the -k flag.

          Partitions may be s With -I only plan9.ini is rewritten.
          With -W only the nvram is rewritten.

     SEE ALSO
          auth(8), booting(8), flash(3), flashfs(4), plan9.ini(8),
          sd(3)

     Page 1                       Plan 9            (printed 12/21/24)