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

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Jul 2 03:50:17 PDT 2015


> On Jul 2, 2015, at 6:47 PM, Philippe Leduc <ledphilippe at gmail.com> wrote:
> 
> Well, I am using bootm to start my system: how do you boot your system
> with a mounted uImage?
> 

bootm /mnt/data simply specialy on arm.

Best Regards,
J.

> Best regards,
> 
> 
> Philippe LEDUC
> ledphilippe at gmail.com
> 
> 
> 2015-07-02 11:30 GMT+02:00 Jean-Christophe PLAGNIOL-VILLARD
> <plagnioj at jcrosoft.com>:
>> 
>>> 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