public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Question on fitupd
@ 2015-08-19 21:07 Brian_Brelsford at Dell.com
  2015-08-21 20:52 ` Simon Glass
  0 siblings, 1 reply; 3+ messages in thread
From: Brian_Brelsford at Dell.com @ 2015-08-19 21:07 UTC (permalink / raw)
  To: u-boot

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.
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] Question on fitupd
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Glass @ 2015-08-21 20:52 UTC (permalink / raw)
  To: u-boot

+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.
>
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] Question on fitupd
  2015-08-21 20:52 ` Simon Glass
@ 2015-08-24  7:48   ` Lukasz Majewski
  0 siblings, 0 replies; 3+ messages in thread
From: Lukasz Majewski @ 2015-08-24  7:48 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-24  7:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox