From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Mon, 23 Jul 2007 18:49:19 +0200 Subject: [U-Boot-Users] mpc8xx Problem writing to flash In-Reply-To: (raul moreno's message of "Mon\, 23 Jul 2007 13\:35\:44 +0200") References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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@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