This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-AM243: how to add a header into the binary image to be flashed

Part Number: LP-AM243


Hello,

  I would like to add a customized header structure to the binary so that after it has been flashed the SBL can read the version information and verify the image via CRC for instance, The image header structure looks like this:

typedef structure ImageHeader

{

int iHeader; 

char cType;

int iLength;

int iCRC;

};

The binary image needs to be signed as hs_fs type.  Does TI have an external tool to add this header information into the binary image? If the tool is not available, how do I add this header information into the binary image?

Thanks,

Ming

  • Hi Ming,

    If I understand your query correctly, I don't think there is a need for such header and CRC checks. On HS devices, the SBLs can request authentication of the signed binaries. The System Firmware performs authentication of the signed binary and according returns the flag value. You can evaluate the flag value and accordingly take any further actions.

    Regards,

    Prashant