All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Flash organization
@ 2003-08-05 22:05 Marc Singer
  2003-08-05 22:32 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Marc Singer @ 2003-08-05 22:05 UTC (permalink / raw)
  To: u-boot

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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Flash organization
  2003-08-05 22:05 [U-Boot-Users] Flash organization Marc Singer
@ 2003-08-05 22:32 ` Wolfgang Denk
  2003-08-05 23:52   ` Marc Singer
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2003-08-05 22:32 UTC (permalink / raw)
  To: u-boot

In message <20030805220520.GA8050@buici.com> 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

-- 
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!"

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Flash organization
  2003-08-05 22:32 ` Wolfgang Denk
@ 2003-08-05 23:52   ` Marc Singer
  2003-08-06  6:00     ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Marc Singer @ 2003-08-05 23:52 UTC (permalink / raw)
  To: u-boot

Hey!  Don't you ever sleep?

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


On Wed, Aug 06, 2003 at 12:32:31AM +0200, Wolfgang Denk wrote:
> In message <20030805220520.GA8050@buici.com> 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Flash organization
  2003-08-05 23:52   ` Marc Singer
@ 2003-08-06  6:00     ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2003-08-06  6:00 UTC (permalink / raw)
  To: u-boot

In message <20030805235246.GA22703@buici.com> you wrote:
> Hey!  Don't you ever sleep?

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

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

Correct.

Best regards,

Wolfgang Denk

-- 
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-08-06  6:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-05 22:05 [U-Boot-Users] Flash organization Marc Singer
2003-08-05 22:32 ` Wolfgang Denk
2003-08-05 23:52   ` Marc Singer
2003-08-06  6:00     ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.