commit | fae8487f8ecf2bfd3d7ca4feea2733daf1b257f2 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <philippe.reynes@softathome.com> | Mon Mar 28 22:57:07 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Mar 31 14:12:23 2022 -0400 |
tree | cb370025bcc386ef741cce94bda1b4dd58fe2d76 | |
parent | 5d472d31b0c8354adf4a4c7ba342ccb45b56c9b4 [diff] |
cmd: bootm: add subcommand preload Add a subcommand preload to bootm that execute the preload stage on the image. Right now, it checks the signature of the image with the pre-load header. If the check succeed, the u-boot env variable 'loadaddr_verified' is set to the address of the image (without the header). It allows to run such commands: tftp script.img && bootm preload $loadaddr && source $loadaddr_verified Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>