Re: [RFC][PATCH 1/2] cmd: bootm: add a stage pre-load

2021-03-30 Thread Alex G.
Hi Phillipe, On 3/30/21 11:26 AM, Philippe Reynes wrote: This commit adds a stage pre-load that could check or modify the image provided to the bootm command. For the moment, only a header with a signature is supported. This header has this format: - magic : 4 bytes - image size : 4 bytes -

[RFC][PATCH 1/2] cmd: bootm: add a stage pre-load

2021-03-30 Thread Philippe Reynes
This commit adds a stage pre-load that could check or modify the image provided to the bootm command. For the moment, only a header with a signature is supported. This header has this format: - magic : 4 bytes - image size : 4 bytes - sig size : 4 bytes - signature : n bytes - padding : up to