[U-Boot] [PATCH][SDK1.2] powerpc/p1010rdb: add readme document for p1010rdb

Wolfgang Denk wd at denx.de
Mon Apr 30 23:08:08 CEST 2012


Dear Scott Wood,

In message <4F9EF540.90302 at freescale.com> you wrote:
>
> > +	=> tftp 1000000 u-boot.bin
> > +	=> protect off all
> > +	=> erase eff80000 efffffff
> > +	=> cp.b 1000000 eff80000 80000
> 
> => tftp <filename>

This is discouraged.  tftp takes an address as first argument. So
please write

  => tftp $loadaddr <filename>

> => protect off all

Why unprotecting everything?  To me it seems much more logical to
issue;

  => protect off eff80000 +$filesize
 
i. e. use exactly the same arguments as for the "erase".

> > +	=> tftp 1000000 u-boot-nand.bin
> > +	=> nand erase 0 80000
> > +	=> nand write 1000000 0 80000
> 
> => tftp <filename>
> => nand erase 0 $filesize

Ditto.etc.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A supercomputer is a machine that runs an endless loop in 2 seconds.


More information about the U-Boot mailing list