public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] split nand writes
@ 2012-12-19 15:43 Jaap de Jong
  2012-12-19 22:47 ` Scott Wood
  0 siblings, 1 reply; 4+ messages in thread
From: Jaap de Jong @ 2012-12-19 15:43 UTC (permalink / raw)
  To: u-boot

Hi All,
suppose the image I want to flash is bigger than the available ram in 
the unit.
Is there a way to copy the image f.i. in pieces into the flash?
nand write should have a 'continue on last block' option for that purpose.
Thanks!
Jaap

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

* [U-Boot] split nand writes
  2012-12-19 15:43 [U-Boot] split nand writes Jaap de Jong
@ 2012-12-19 22:47 ` Scott Wood
  2012-12-20 12:35   ` Jaap de Jong
  0 siblings, 1 reply; 4+ messages in thread
From: Scott Wood @ 2012-12-19 22:47 UTC (permalink / raw)
  To: u-boot

On 12/19/2012 09:43:01 AM, Jaap de Jong wrote:
> Hi All,
> suppose the image I want to flash is bigger than the available ram in  
> the unit.
> Is there a way to copy the image f.i. in pieces into the flash?
> nand write should have a 'continue on last block' option for that  
> purpose.

Something like that would be nice.

These patches are relevant:
http://patchwork.ozlabs.org/patch/204939/
http://patchwork.ozlabs.org/patch/204940/

-Scott

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

* [U-Boot] split nand writes
  2012-12-19 22:47 ` Scott Wood
@ 2012-12-20 12:35   ` Jaap de Jong
  2012-12-20 23:18     ` Scott Wood
  0 siblings, 1 reply; 4+ messages in thread
From: Jaap de Jong @ 2012-12-20 12:35 UTC (permalink / raw)
  To: u-boot


On 12/19/2012 11:47 PM, Scott Wood wrote:
> On 12/19/2012 09:43:01 AM, Jaap de Jong wrote:
>> Hi All,
>> suppose the image I want to flash is bigger than the available ram in
>> the unit.
>> Is there a way to copy the image f.i. in pieces into the flash?
>> nand write should have a 'continue on last block' option for that
>> purpose.
> Something like that would be nice.
>
> These patches are relevant:
> http://patchwork.ozlabs.org/patch/204939/
> http://patchwork.ozlabs.org/patch/204940/
>
That could do the trick also. You would have to do some arithmetic to 
calculate the next startaddress in the flash.
So there is not an out-of-the-box solution at the moment?

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

* [U-Boot] split nand writes
  2012-12-20 12:35   ` Jaap de Jong
@ 2012-12-20 23:18     ` Scott Wood
  0 siblings, 0 replies; 4+ messages in thread
From: Scott Wood @ 2012-12-20 23:18 UTC (permalink / raw)
  To: u-boot

On 12/20/2012 06:35:49 AM, Jaap de Jong wrote:
> 
> On 12/19/2012 11:47 PM, Scott Wood wrote:
>> On 12/19/2012 09:43:01 AM, Jaap de Jong wrote:
>>> Hi All,
>>> suppose the image I want to flash is bigger than the available ram  
>>> in
>>> the unit.
>>> Is there a way to copy the image f.i. in pieces into the flash?
>>> nand write should have a 'continue on last block' option for that
>>> purpose.
>> Something like that would be nice.
>> 
>> These patches are relevant:
>> http://patchwork.ozlabs.org/patch/204939/
>> http://patchwork.ozlabs.org/patch/204940/
>> 
> That could do the trick also. You would have to do some arithmetic to  
> calculate the next startaddress in the flash.
> So there is not an out-of-the-box solution at the moment?

There isn't.

-Scott

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

end of thread, other threads:[~2012-12-20 23:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-19 15:43 [U-Boot] split nand writes Jaap de Jong
2012-12-19 22:47 ` Scott Wood
2012-12-20 12:35   ` Jaap de Jong
2012-12-20 23:18     ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox