[U-Boot-Users] mpc8xx Problem writing to flash

Detlev Zundel dzu at denx.de
Mon Jul 23 18:49:19 CEST 2007


Hi Raul,

> I am relatively a new U-Boot and Linux user.
> First of all I have to port U-Boot to my custom board. I am using a MPC866.
> The board starts as follows:

[...]

> The timeout out for the Flash is big enough (500 ms, although I also tried
> with 1500 ms). I reused an "flash.c" code from a reference board of U-Boot,
> which includes my same Flash chip  (Intel 28F160C3B).

If you are doing a new board port, please don't (mis-)use one of the
older custom flash drivers but use the CFI driver when applicable.

> Any idea how could I solve it?

As your flash looks CFI conformant, I would suggest you try this.

Cheers
  Detlev

-- 
It's like manually inflatable airbags -- people will never
think to use it in time to actually get any help from it.
             -- Miles Bader in <20030607122005.GA1086 at gnu.org>
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de




More information about the U-Boot mailing list