[U-Boot-Users] Regarding memory commands

Wolfgang Denk wd at denx.de
Thu Feb 9 10:03:30 CET 2006


In message <2195AF8E2250C54D8D8A726C8AE84A3331C2C8 at dbde01.ent.ti.com> you wrote:
> 
> Does memory commands mm, mw, mn and tftp work only with RAM memory and
> not flash (nor or nand) memory?

The commands have usually no idea what sort of memeory  (if  any)  is
attached  to  the addresses you pass. [Exception is cp and - epending
on the configuration - tftp which recognize NOR flash areas  and  use
flash write code then.]

> If so are there any other commands other than 'cp' that can be used to
> write into flash (nor or nand) memory?

cp is the only regular command to write to NOR flash.  It  cannot  be
used for NAND, though. NAND has it's own interface, the nand command.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Landing: a controlled mid-air collision with a planet.




More information about the U-Boot mailing list