public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 8/8] FAT: Make it possible to read from any file position
Date: Mon, 3 Sep 2012 16:17:09 +0200 (CEST)	[thread overview]
Message-ID: <1596837703.3414898.1346681829643.JavaMail.root@advansee.com> (raw)
In-Reply-To: <20120902152809.6A1DD203B2F@gemini.denx.de>

Dear Wolfgang Denk,

On Sunday, September 2, 2012 5:28:09 PM, Wolfgang Denk wrote:
> Dear Beno?t Th?baudeau,
> 
> In message
> <1285759492.332736.1342790529256.JavaMail.root@advansee.com> you
> wrote:
> > When storage devices contain files larger than the embedded RAM, it
> > is usef> ul to
> > be able to read these files by chunks, e.g. for a software update
> > to the
> > embedded NAND Flash from an external storage device (USB stick, SD
> > card, et> c.).
> >
> > Hence, this patch makes it possible by adding a new FAT API to read
> > files f> rom a
> > given position.
> >
> > Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
> > Cc: Wolfgang Denk <wd@denx.de>
> > ---
> > Changes for v2:
> >  - Patch renumbering because of the new v2 1/8.
> >  - Possible code style changes due to the new v2 1/8.
> >  - Add missing vairable renaming to fat_write.c.
> >
> >  .../fs/fat/fat.c                                   |   88
> >  ++++++++++++++++> ----
> >  .../fs/fat/fat_write.c                             |   18 ++--
> >  2 files changed, 80 insertions(+), 26 deletions(-)
> 
> I don't see any command line interface to actually use this code.
> 
> How would I put this to use?

Here is the current "fatload" command line interface:
fatload <interface> <dev[:part]>  <addr> <filename> [bytes]

Do you prefer to change it to:
fatload <interface> <dev[:part]>  <addr> <filename> [offset] [bytes]

or to have a new dedicated command, or something else?

Best regards,
Beno?t

  reply	other threads:[~2012-09-03 14:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 22:03 [U-Boot] [PATCH 7/7] FAT: Make it possible to read from any file position Benoît Thébaudeau
2012-07-19 22:44 ` Mike Frysinger
2012-07-19 23:17   ` Benoît Thébaudeau
2012-07-20  3:02     ` Mike Frysinger
2012-07-20 13:22       ` [U-Boot] [PATCH v2 8/8] " Benoît Thébaudeau
2012-09-02 15:28         ` Wolfgang Denk
2012-09-03 14:17           ` Benoît Thébaudeau [this message]
2012-09-14 20:49             ` Tom Rini
2012-09-14 22:03               ` Benoît Thébaudeau
2012-09-14 22:02                 ` Tom Rini
2012-09-22 20:32                   ` Benoît Thébaudeau
2012-09-18 18:14         ` [U-Boot] [PATCH v3] " Benoît Thébaudeau
2012-09-27 16:20           ` [U-Boot] [U-Boot, " Tom Rini
2012-09-28 11:32             ` Benoît Thébaudeau
2012-09-28 15:34               ` Stephen Warren
2012-09-28 16:17                 ` Tom Rini

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=1596837703.3414898.1346681829643.JavaMail.root@advansee.com \
    --to=benoit.thebaudeau@advansee.com \
    --cc=u-boot@lists.denx.de \
    /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