flashimage

Name

flashimage  --  create the flashimage target and the HWID variable

Synopsis

flashimage {hwid}

Description

flashimage creates the flashimage target, fimage, and the HWID variable in the makefile. The fimage target creates the flashimage and the contents of the HWID variable is appended to the image together with a checksum.

hwid is supposed to be a unique hardware identifyer, of no more than eight characters (bytes), for your product. It is commonly used when upgrading the software of a product to check that the uploaded image is meant for the product.

The flashimage, fimage, is the result of the entire build process (unless you only want an image to boot from RAM with) and it is the actual software that you can write to the flash memory of your product. Use flashimage if you are writing a script to build a product that will boot from flash memory.

Example

Create the fimage target and let it add "1234" as hardware ID:

    flashimage 1234