commit | 7bebc11c42351c8f0364f0e3eb922f5af7b6e826 | [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 | 776db4fa96bb606b88740ea2017c3c66a8394e86 [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>