[U-Boot-Users] Re: Help: Device protect error

王 振 mailtojarod at hotmail.com
Tue Nov 8 11:12:24 CET 2005


hi wd,

  I think I hadn't explained my situation clearly in my last post. 
  I did copy board/pleb2/flash.c as my board's flash.c because this file 
provided flash driver for Intel 28F320C3B flash memory and created a 
configuration header file for my board. I don't know whether this could be 
called 'adapt the flash driver' but in the end I could see u-boot's output 
in minicom and the flash memory was correctly recognized. Now the problem 
is that 'erase' command doesn't work, I do need some precious hints about 
how to solve it. 
  Besides, I wonder if cfi_flash.c can drive Intel 28F320C3B on my board 
because there is no CFI on my board.

Best regard,

Zhen Wang

>From: Wolfgang Denk <wd at denx.de>
>To: 王 振 <mailtojarod at hotmail.com>
>CC: u-boot-users at lists.sourceforge.net
>Subject: Re: [U-Boot-Users] Help: Device protect error 
>Date: Tue, 08 Nov 2005 09:04:11 +0100
>
>In message <BAY24-F56A5E51FFD0614E46EED4AF640 at phx.gbl> you wrote:
> >
> > I checked the last 8KB with "md 003FE000" and I found former data 
remained
> > other than FFFFs. Erasing just didn't work correctly. I wonder what's 
the
> > problem and shall I revise the flash.c in my board's folder.
>
>You seem to be using  a  board-specific  flash  driver.  Is  there  a
>special reason for not using the cfi_flash driver?
>
>And do you think the error will go away if you do not adapt the flash
>driver to your hardware?
>
>Best regards,
>
>Wolfgang Denk
>
>--
>Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
>Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
>Be careful what you wish for. You never know who will be listening.
>                                       - Terry Pratchett, _Soul Music_

_________________________________________________________________
免费下载 MSN Explorer:   http://explorer.msn.com/lccn  





More information about the U-Boot mailing list