• L
    tools: socfpgaimage: update padding flow · 40551cf9
    Ley Foon Tan 提交于
    The existing socfpgaimage always pads the image to the maximum size of
    OCRAM size. This will break in the encryption flow where it expects the
    image to be un-padded. The encryption tool will do the encryption for
    the whole image and append the signature key at end of the image.
    The signature key will append to beyond the size of OCRAM if the image
    is padded with the maximum size before encryption.
    
    Move the padding step from socfpgaimage to Makefile and pads with objcopy
    command.
    
    socfpgaimage will pad the image with 16 bytes aligned (including CRC word),
    this is a requirement in encryption flow.
    Signed-off-by: NLey Foon Tan <ley.foon.tan@intel.com>
    40551cf9
Makefile 75.6 KB