Skip to contentSkip to conversation

problems about flash setting

U-Boot-Users wang cheng 2 participants 2 messages Oct 17, 2003 – Oct 18, 2003

lore
Share & tools
lore

wang cheng

author
#0 lore raw

dear all!
sorry ,but i really don't understand.
1.What's the meaning of flash memory banks,is the number of flash chips? ie:if i have 2 chips of 29f040s on my board,then the CFG_MAX_FLASH_BANKS should be 2,right?
2.What's the meaning of FLASH_BASE0_PRELIM and FLASH_BASE1_PRELIM, Is the FLASH_BASE0_PRELIM should be set to the flash_base_addr that defined by cs0? Then what about flash_base1_prelim?
3.What's the difference between br/or_prelim and br/or_remap and their respective function ??Is the br/or_remap must be set or optional depended on my board?
Thanks very much for any help!

#1 lore raw
Quoted 2 lines · In message <[email protected]> you wrote:

sorry ,but i really don't understand.

Did you try searching the archives?

Quoted 3 lines

1.What's the meaning of flash memory banks,is the number of flash chips? ie:if i have 2 chips of 29f040s on my board,then the CFG_MAX_FLASH_BANKS should be 2,right?

No. Maybe.

No - a bank of flash memory is what gets accesses using one specific chip select line.

Maybe - it depens how your flash is organised - 4 chips can be just one bank of memory, for example if you use 4 chips of 8 bit to form a 32 bit wode bus.

Quoted 1 line

2.What's the meaning of FLASH_BASE0_PRELIM and FLASH_BASE1_PRELIM,

These are the base addresses for the first and the second flash bank as used by the preliminary mappings. See the README, section System Initialization.

Quoted 2 lines

Is the FLASH_BASE0_PRELIM should be set to the flash_base_addr that defined by cs0? Then what about flash_base1_prelim?

See the README.

Quoted 4 lines

3.What's the difference between br/or_prelim and br/or_remap and
their
respective function ??Is the br/or_remap must be set or optional depended on my board?

See the README.

Best regards,

Wolfgang Denk

Signature · 7 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The people of Gideon have always believed that life is  sacred.  That
the  love  of  life  is  the  greatest  gift  ... We are incapable of
destroying or interfering with the creation of that which we love  so
deeply -- life in every form from fetus to developed being.
	-- Hodin of Gideon, "The Mark of Gideon", stardate 5423.4