2009-03-02 20:50:35     how could i save the changes on board

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

2009-03-02 20:50:35     how could i save the changes on board

jacqueline liu (CHINA)

Message: 70235   

 

Hi

 

i'm using the bf527-ezkit , and uclinux-dist-2008R1.5-RC3 for developing .

 

i've make the setting of MTD in menuconfig as below , and the kernel and filesystem are loaded to the parallel flash .

 

but whenever i reboot the kernel , the changes i made on board last time disappear.

 

how could have the changes saved ?

 

my MTD settings are :

 

Device Drivers  --->

  Memory Technology Devices (MTD)  --->

    <*> Memory Technology Device (MTD) support

    [*]   Direct char device access to MTD devices

    [*]   Caching block device access to MTD devices

 

    [*]   MTD partitioning support

    [*]     Command line partition table parsing

 

 

RAM/ROM/Flash chip drivers  --->

  <*> Detect flash chips by Common Flash Interface (CFI) probe

  <*> Support for Intel/Sharp flash chips

  <*> Support for AMD/Fujitsu flash chips

  <*> Support for RAM chips in bus mapping

  <*> Support for ROM chips in bus mapping

 

Mapping drivers for chip access  --->

  <*> CFI Flash device in physical memory map

         (the address/length options are ignored)

  < > Generic uClinux RAM/ROM filesystem support (disable this option)

  [*] Support non-linear mappings of flash chips

 

Self-contained MTD device drivers  --->

  <*> Support most SPI Flash chips (AT26DF, M25P, W25X, ...)

 

NAND Device Support  --->

  <*> NAND Flash device for BF537 STAMP board

  <*> Blackfin on-chip NAND Flash Controller driver

  [*]   BF5XX NAND Hardware ECC

  <*> Support for generic platform NAND driver

 

other settings are as default of the board.

TranslateQuoteReplyEditDelete

 

 

2009-03-02 20:56:23     Re: how could i save the changes on board

Mike Frysinger (UNITED STATES)

Message: 70236   

 

enabling device drivers doesnt make the system automatically start using them.  the system does what you tell it to, so if you dont tell it to actually use the flash, then it wont.

 

please read the documentation:

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

QuoteReplyEditDelete

 

 

2009-03-02 21:36:56     Re: how could i save the changes on board

jacqueline liu (CHINA)

Message: 70237   

 

i've read that file

 

but i still wonder how to start using the drivers

 

can that be change in the menuconfig?

 

i've not found that .

TranslateQuoteReplyEditDelete

 

 

2009-03-03 00:39:09     Re: how could i save the changes on board

Mike Frysinger (UNITED STATES)

Message: 70240   

 

dont just skim it.  the first paragraph talks about using filesystems in flash.

Attachments

    Outcomes