public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lukasz Majewski <l.majewski@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Question on fitupd
Date: Mon, 24 Aug 2015 09:48:41 +0200	[thread overview]
Message-ID: <20150824094841.172ae381@amdc2363> (raw)
In-Reply-To: <CAPnjgZ1m5xks_QjehJVH4s9kju8SSfwSCoQxkJCJ-tL6q7QDBw@mail.gmail.com>

Hi Simon, Brian,

> +Jagan, Lukasz
> 
> Hi Brian,
> 
> On 19 August 2015 at 15:07,  <Brian_Brelsford@dell.com> wrote:
> > Dell Customer Communication
> >
> >
> >
> >
> >
> > PURPOSE:
> >
> > This email is with respect to the  ?fitupd? command.
> >
> > In looking at the source in the current u-boot tree,  fitupd
> > supports a NOR flash only.
> >
> >
> >
> >
> >
> > OUR GOAL:
> >
> > We would like to expand fitupd to be able to flash a SPI NOR,  and
> > MMC block devices.

I've already prepared some patches (which will be accepted shortly) to
extend update_tftp() function, which is used directly by fitupd command.

Please refer to the following patch series if they suit your needs:

http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/231775/focus=231772

In short - support for eMMC and other DFU supported mediums have been
provided.

> >
> > This would require support for,   file writes (ex. ext4write),  raw
> > block writes (ex.   mmc write),  etc.
> >
> > Our design also supports a master boot record with two bootable
> > partitions.
> >
> >
> >
> >
> >
> > QUESTIONS:
> >
> > Is expanding fitupd support for block devices a desirable feature to
> > contribute back?
> >
> > Is this something that the u-boot projects would want?
> >
> >
> >
> > Would you want this in the  ../common   path for everyone to have
> > access to?
> >
> > Or,  prefer that this support be added to    ../board/<mystuff>/
> > for our unique support only?
> >
> >
> >
> >
> >
> >
> >
> > I am leaving out all the details for now,    we are first trying to
> > understand the general direction we should go.
> >
> >
> >
> > Thank you for any advice in this area.
> >
> > Brian Brelsford
> 
> This sounds useful to me. I added a few people on CC you may have
> more thoughts.
> 
> It would be good if this could somehow use driver model, but it would
> need some thought.
> 
> Regards,
> Simon



-- 
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group

      reply	other threads:[~2015-08-24  7:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-19 21:07 [U-Boot] Question on fitupd Brian_Brelsford at Dell.com
2015-08-21 20:52 ` Simon Glass
2015-08-24  7:48   ` Lukasz Majewski [this message]

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=20150824094841.172ae381@amdc2363 \
    --to=l.majewski@samsung.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