2009-08-05 11:09:28     Persistant Storage

Document created by Aaronwu Employee on Aug 16, 2013
Version 1Show Document
  • View in full screen mode

2009-08-05 11:09:28     Persistant Storage

Steven Sheppard (UNITED STATES)

Message: 78406   

 

Is there a way to access the persistant flash memory from linux?

 

I can upload a program to my 537-stamp board, but when I reboot linux it's gone.  What's the best way to get a program on there permanantly?

QuoteReplyEditDelete

 

 

2009-08-06 22:06:40     Re: Persistant Storage

Yi Li (CHINA)

Message: 78432   

 

If here "persistant flash" means parallel nor flash or serial (spi) nor flash, you may cp image in linux like this:

 

root:/> flash_eraseall /dev/mtdx

 

root:/> cp my_image /dev/mtdx

 

If you mean nand flash, please use "nandwrite" in mtd-utils, "cp" cannot handle bad blocks.

 

-Yi

QuoteReplyEditDelete

 

 

2009-08-11 01:45:13     Re: Persistant Storage

Mike Frysinger (UNITED STATES)

Message: 78592   

 

might want to review this page:

  docs.blackfin.uclinux.org/doku.php?id=linux-kernel:jffs

Attachments

    Outcomes