how to do a digest on a flashed uImage ? uimage command evolution

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Jul 2 02:30:09 PDT 2015


> On Jul 2, 2015, at 4:53 PM, Philippe Leduc <ledphilippe at gmail.com> wrote:
> 
> Hi,
> 
> First thank you for the details answers :)
> 
> Following your explanations/propositions, I think uimagefs is not
> suited to my needs. I think therefore make an evolution of the uImage
> command to be able to retrieve the size of my image and to copy it
> efficiently into the RAM.
> 
> I'll try to propose a patch next week for review. But before that,
> what do you think about thes follwing interface:
> 
> uimage - extract/verify/copy uImage
> 
> Usage: uimage [-vienc] FILE
> 
> Options:
>        -i                      show information about image
>        -v                     verify image
>        -e OUTFILE      extract image to OUTFILE
>        -n NO               use image number NO in multifile image
>        -c OUTFILE      Copy the image to OUTFILE
>        -s SIZE            Return the size of the uimage file into a VARiable.
> 


I see no point to extract and copy as you you need to mount it

and then use cp

Best Regards,
J.


More information about the barebox mailing list