Skip to contentSkip to conversation

flash configs

U-Boot-Users labblelabble 2 participants 2 messages Dec 22, 2003

lore
Share & tools
lore
#0 lore raw

hello :
I now transport the u-boot to my own system ,and i take the rpxlite as
an example. when it is to config the flash memory system ,i see the following items in the rpxlite.h:
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */ #define CFG_MAX_FLASH_SECT 19 /* max number of sectors on one chip */ and i can.t understand it .how can i get the two args of my own flash memory systems .and if the number of SECT is just
the number of flash memory blocks >??????
wish someone could give my some hint about it ...thanks a lot!!!

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

I now transport the u-boot to my own system ,and i take the rpxlite as
an example. when it is to config the flash memory system ,i see the following items in the rpxlite.h:
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */ #define CFG_MAX_FLASH_SECT 19 /* max number of sectors on one chip */ and i can.t understand it .how can i get the two args of my own flash memory systems .and if the number of SECT is just
the number of flash memory blocks >??????

You have to check this with your hardware specification, and with the flash chip's manual.

Quoted 1 line

wish someone could give my some hint about it ...thanks a lot!!!

We don't know what your hardware looks like, so what do you expect?

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
To live is always desirable.
	-- Eleen the Capellan, "Friday's Child", stardate 3498.9