Skip to contentSkip to conversation

Flash organization

U-Boot-Users Marc Singer 2 participants 4 messages Aug 5, 2003 – Aug 6, 2003

lore
Share & tools
lore
#0 lore raw

The boot flash on the KEV7A400 has two sizes of blocks. The first 64KiB is in 8KiB blocks. The rest (63 blocks) are each 64KiB. Will u-boot write memory correctly if I put these blocks into two banks?

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

The boot flash on the KEV7A400 has two sizes of blocks. The first 64KiB is in 8KiB blocks. The rest (63 blocks) are each 64KiB. Will u-boot write memory correctly if I put these blocks into two banks?

A "bank" is the logical term for what memory is addressable using the same chip select signals. So in your case ther eis obviously just *ONE* bank of flash memory.

There is absolutely no problem when the erase units within a bank of flash memory have different sizes. Of course your flash driver will have to fill in the flash_info struct correctly.

Best regards,

Wolfgang Denk

Signature · 6 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Quote from the Boss after overriding the decision of a task force  he
created  to  find  a  solution:  "I'm  sorry  if  I ever gave you the
impression your input would have any effect on my  decision  for  the
outcome of this project!"
#2 lore raw

Hey! Don't you ever sleep?

Ah. So it assumes that the size of a block is start[n+1] - start[n]. Excellent.

Quoted 12 lines · Wolfgang Denk
Quoted 3 lines · In message <[email protected]> you wrote:

The boot flash on the KEV7A400 has two sizes of blocks. The first 64KiB is in 8KiB blocks. The rest (63 blocks) are each 64KiB. Will u-boot write memory correctly if I put these blocks into two banks?

A "bank" is the logical term for what memory is addressable using the same chip select signals. So in your case ther eis obviously just *ONE* bank of flash memory.

There is absolutely no problem when the erase units within a bank of flash memory have different sizes. Of course your flash driver will have to fill in the flash_info struct correctly.

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

Hey! Don't you ever sleep?

I do. Usually from 2:00 to 8:00.

Quoted 1 line

Ah. So it assumes that the size of a block is start[n+1] - start[n].

Correct.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Computers are not intelligent.  They only think they are.