Mirrorbit flashes
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
Quoted 2 lines · In message <[email protected]> you wrote:
in
flash.hof 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?
Quoted 1 line
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.
Quoted 1 line
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).
Quoted 1 line
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.
Quoted 1 line
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
Signature · 4 lines
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