All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Mirrorbit flashes
@ 2004-01-23 12:02 Marco Schramel
  2004-01-23 12:51 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Schramel @ 2004-01-23 12:02 UTC (permalink / raw)
  To: u-boot

Hi,

in  flash.h of the U-Boot code there are defined id's for the mirrorbit type AM29LV128M. I 've planed to introduce this flashes for working with my MPC8270.
On these flashes u-boot gets its sectors and the kernel should uncompressed from it. 
Is this flash the right choice for my cpu (speed)? Is it a big drawback of these flashes that they can't do simultanous writes and reads? 
Are there any special things to do with u-boot for this flashes ?
Another question on flash.c:
If i have a soldered flash onboard, my flash configuration will be always the same. Therefore i have no reason to search for other flashes. 
Have I only  to fill up the "flash_info_t"-struct and tune up the erase,write.. -functions? Or there are a lot of more things to do ??

Thanks in advance

Best regards
Marco

 
---------
Marco Schramel
R&D
Bartec GmbH
Marco.Schramel at go.bartec.de
Phone: +49 (0)9929/301332

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

* [U-Boot-Users] Mirrorbit flashes
  2004-01-23 12:02 [U-Boot-Users] Mirrorbit flashes Marco Schramel
@ 2004-01-23 12:51 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2004-01-23 12:51 UTC (permalink / raw)
  To: u-boot

In message <200401231302.12868.Schramel.Linux@go.bartec.de> you wrote:
> 
> in  flash.h of the U-Boot code there are defined id's for the mirrorbit type AM29LV128M. I 've planed to introduce this flashes for working with my MPC8270.

OK, why not?

> Is this flash the right choice for my cpu (speed)? Is it a big drawback of these flashes that they can't do simultanous writes and reads? 

There are very few flash chips  that  allow  simultaneous  reads  and
writes,  and  even  less software to support it. U-Boot does not need
such a feature, at least.

> Are there any special things to do with u-boot for this flashes ?

Have a look at board/tqm8xx/flash.c for working example code (32  bit
bus, though).

> If i have a soldered flash onboard, my flash configuration will be always the same. Therefore i have no reason to search for other flashes. 

Don't bet on it. It will take less than half a year and you will find
that the flash memory is too small, and yyou want to use bigger flash
chips. Ot it is too big and you  want  to  save  production  cost  by
usiong  smaller  ones.  In  the  end  you  _will_  have several flash
configurations, and you will want to be  able  to  install  the  same
U-Boot image.

> Have I only  to fill up the "flash_info_t"-struct and tune up the erase,write.. -functions? Or there are a lot of more things to do ??

Only flash_info_t needs adjustment, as long as the  flash  chips  are
somewhat "compatible" (i. e. you don't try to use CFI and JEDEC chips
on the same flash bank).

Best regards,

Wolfgang Denk

-- 
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Immortality consists largely of boredom.
	-- Zefrem Cochrane, "Metamorphosis", stardate 3219.8

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

end of thread, other threads:[~2004-01-23 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-23 12:02 [U-Boot-Users] Mirrorbit flashes Marco Schramel
2004-01-23 12:51 ` 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.