tools: add support for setting the CSF into imximage
authorStefano Babic <sbabic@denx.de>
Thu, 27 Jun 2013 09:42:38 +0000 (11:42 +0200)
committerStefano Babic <sbabic@denx.de>
Sat, 31 Aug 2013 13:06:29 +0000 (15:06 +0200)
commit0187c985aa870a74caeecd3bd10244322b7e4d99
tree5e6a7b86f84be2ba4107e1957e37a81b2500e6d9
parent01390aff251e541fcaa77fa6c6e3eee4d7a5554b
tools: add support for setting the CSF into imximage

Add support for setting the CSF (Command Sequence File) pointer
which is used for HAB (High Assurance Boot) in the imximage by
adding e.g.

CSF 0x2000

in the imximage.cfg file.

This will set the CSF pointer accordingly just after the padded
data image area. The boot_data.length is adjusted with the
value from the imximage.cfg config file.

The resulting u-boot.imx can be signed with the FSL HAB tooling.
The generated CSF block needs to be appended to the u-boot.imx.

Signed-off-by: Stefano Babic <sbabic@denx.de>
doc/README.imximage
doc/README.mxc_hab [new file with mode: 0644]
tools/imximage.c
tools/imximage.h