2008-11-26 07:32:39     enable only SPI flash,disable nor flash?

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

2008-11-26 07:32:39     enable only SPI flash,disable nor flash?

bf 531 (AFGHANISTAN)

Message: 65846   

 

my u-boot is 1.1.6 2008r1.

 

I've also defined CFG_NO_FLASH and  CONFIG_SPI in include/configs/bf533-stamp.h.

 

When compiling, I getting the following error:

 

jffs2_1pass.c: ‘get_fl_mem_nor’ 中:

jffs2_1pass.c:292: error:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘flash_info’

 

 

I have  reviewed the docs for flash configuration .

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot

 

Could someone help me?thanks.

QuoteReplyEditDelete

 

 

2008-11-26 07:41:01     Re: enable only SPI flash,disable nand flash?

bf 531 (AFGHANISTAN)

Message: 65849   

 

 

 

sorry

 

it should be

 

"enable only SPI flash,disable nand flash?"

QuoteReplyEditDelete

 

 

2008-11-26 20:42:01     Re: enable only SPI flash,disable nand flash?

Mike Frysinger (UNITED STATES)

Message: 65859   

 

then why are you defining CFG_NO_FLASH ?  that is for NOR flash only.

QuoteReplyEditDelete

 

 

2008-11-26 23:35:57     Re: enable only SPI flash,disable nand flash?

bf 531 (AFGHANISTAN)

Message: 65880   

 

there is not nor flash in board,a spi eeprom only.

QuoteReplyEditDelete

 

 

2008-11-26 23:40:26     Re: enable only SPI flash,disable nand flash?

Mike Frysinger (UNITED STATES)

Message: 65882   

 

you said "nand, not nor".  so which is it ?  or you only want SPI and not NO and not NAND ?

 

if you're attempting to disable NOR flash, read the documentation:

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:parallel-flash

Attachments

    Outcomes