public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot]  How to burn new U-Boot over network
@ 2009-09-07  8:43 alex889
  2009-09-07 10:16 ` Daniel Gorsulowski
  0 siblings, 1 reply; 4+ messages in thread
From: alex889 @ 2009-09-07  8:43 UTC (permalink / raw)
  To: u-boot


Hi,
I'm working on the DM365evm,
and i was wondering if there is a way to burn new U-Boot version over
network, instead of Code Composer and a JTAG?

Thanks,
Alex
-- 
View this message in context: http://www.nabble.com/-U-Boot--How-to-burn-new-U-Boot-over-network-tp25327003p25327003.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

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

* [U-Boot] How to burn new U-Boot over network
  2009-09-07  8:43 [U-Boot] How to burn new U-Boot over network alex889
@ 2009-09-07 10:16 ` Daniel Gorsulowski
  2009-09-07 12:18   ` alex889
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Gorsulowski @ 2009-09-07 10:16 UTC (permalink / raw)
  To: u-boot

alex889 wrote:
> Hi,
> I'm working on the DM365evm,
> and i was wondering if there is a way to burn new U-Boot version over
> network, instead of Code Composer and a JTAG?
>
> Thanks,
> Alex

Hi Alex,

of course it's possible!
But it depends on the location of your U-Boot.

I.e. your U-Boot is located in dataflash or NAND flash:

	tftp $(loadaddress) $(img)
	protect off $(start) $(end)
	erase $(start) $(end)
	cp.b $(loadaddress) $(start) $(filesize)

$(loadaddress) - the temporary RAM address for downloading new U-Boot
$(img)         - the path to your new U-Boot image (i.e. /tftpboot/update/u-boot.img)
$(start)       - the flash address, where U-Boot is located
$(end)         - $(start) + maximum size of U-Boot (erasesize)
$(filesize)    - set automatically after tftp transfer

Regards
Daniel

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

* [U-Boot] How to burn new U-Boot over network
  2009-09-07 10:16 ` Daniel Gorsulowski
@ 2009-09-07 12:18   ` alex889
  2009-09-09 18:02     ` Scott Wood
  0 siblings, 1 reply; 4+ messages in thread
From: alex889 @ 2009-09-07 12:18 UTC (permalink / raw)
  To: u-boot


Thanks for your answer.
I tried this before i posted the question, and it didn't work.

Do you know the exact address of the U-Boot on the NAND?
Is there an additional header before the U-Boot?

Alex

Daniel Gorsulowski wrote:
> 
> alex889 wrote:
>> Hi,
>> I'm working on the DM365evm,
>> and i was wondering if there is a way to burn new U-Boot version over
>> network, instead of Code Composer and a JTAG?
>>
>> Thanks,
>> Alex
> 
> Hi Alex,
> 
> of course it's possible!
> But it depends on the location of your U-Boot.
> 
> I.e. your U-Boot is located in dataflash or NAND flash:
> 
> 	tftp $(loadaddress) $(img)
> 	protect off $(start) $(end)
> 	erase $(start) $(end)
> 	cp.b $(loadaddress) $(start) $(filesize)
> 
> $(loadaddress) - the temporary RAM address for downloading new U-Boot
> $(img)         - the path to your new U-Boot image (i.e.
> /tftpboot/update/u-boot.img)
> $(start)       - the flash address, where U-Boot is located
> $(end)         - $(start) + maximum size of U-Boot (erasesize)
> $(filesize)    - set automatically after tftp transfer
> 
> Regards
> Daniel
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 
> 

-- 
View this message in context: http://www.nabble.com/-U-Boot--How-to-burn-new-U-Boot-over-network-tp25327003p25329639.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

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

* [U-Boot] How to burn new U-Boot over network
  2009-09-07 12:18   ` alex889
@ 2009-09-09 18:02     ` Scott Wood
  0 siblings, 0 replies; 4+ messages in thread
From: Scott Wood @ 2009-09-09 18:02 UTC (permalink / raw)
  To: u-boot

On Mon, Sep 07, 2009 at 05:18:43AM -0700, alex889 wrote:
> 
> Thanks for your answer.
> I tried this before i posted the question, and it didn't work.
> 
> Do you know the exact address of the U-Boot on the NAND?

You need to use the "nand" command to erase and program NAND.  Typically
the boot image will be at offset zero within the NAND.

And be careful, if the new image doesn't work you'll need that JTAG.

> Is there an additional header before the U-Boot?

That's specific to your hardware and any pre-loader you may have.

If you're using nand_spl (U-boot's built-in NAND pre-loader), you'll
typically just stick u-boot-nand.bin at offset zero.

> Daniel Gorsulowski wrote:
> > 
> > alex889 wrote:
> >> Hi,
> >> I'm working on the DM365evm,
> >> and i was wondering if there is a way to burn new U-Boot version over
> >> network, instead of Code Composer and a JTAG?
> >>
> >> Thanks,
> >> Alex
> > 
> > Hi Alex,
> > 
> > of course it's possible!
> > But it depends on the location of your U-Boot.
> > 
> > I.e. your U-Boot is located in dataflash or NAND flash:

I assume you mean "*not* located in dataflash or NAND flash"...

-Scott

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

end of thread, other threads:[~2009-09-09 18:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-07  8:43 [U-Boot] How to burn new U-Boot over network alex889
2009-09-07 10:16 ` Daniel Gorsulowski
2009-09-07 12:18   ` alex889
2009-09-09 18:02     ` Scott Wood

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