mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Philippe Leduc <ledphilippe@gmail.com>
To: barebox@lists.infradead.org
Subject: Re: how to do a digest on a flashed uImage ? uimage command evolution
Date: Thu, 2 Jul 2015 10:53:08 +0200	[thread overview]
Message-ID: <CABQt-U=gj3q-_ok0WW+C=NJfnJq0CQzvyEmud2exzFmQKS2Mdw@mail.gmail.com> (raw)

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.


Regards,


Philippe LEDUC
ledphilippe@gmail.com

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2015-07-02  8:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-02  8:53 Philippe Leduc [this message]
2015-07-02  9:30 ` Jean-Christophe PLAGNIOL-VILLARD
2015-07-02 10:47   ` Philippe Leduc
2015-07-02 10:50     ` Jean-Christophe PLAGNIOL-VILLARD
2015-07-02 11:09       ` Philippe Leduc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABQt-U=gj3q-_ok0WW+C=NJfnJq0CQzvyEmud2exzFmQKS2Mdw@mail.gmail.com' \
    --to=ledphilippe@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox