[U-Boot-Users] Cannot erase flash sector

Joe Culler joe.culler at gmail.com
Sat Mar 25 06:02:15 CET 2006


On 3/25/06, Wolfgang Denk wrote:
> In message <67a3f13e0603240754t70f1f7d3k1ce193693add6417 at mail.gmail.com> you wrote:
> >
> > After using "md", I see my linux kernel is loaded. As you mentioned, I should
> > fix my flash driver. My flash driver is based on board/atc/flash.c, I
> > think the problem
> > is the function flash_erase(). Since I'm not an expert, would you give
> > me some hints?
>
> You must have had your reasons to think that the flah driver  of  the
> ATC  board  was a good choice for you. I cannot comment on this, as I
> don't know your hardware.

Thank you for pointing out. ATC's flash driver is suitable for me, I just
thought my only problem(can't erase sectors) is flash driver, not related
others files, such as lowlevel_init.S. I'll reread my flash spec again :(

> > the boot prompt
> > display:
> >
> >  U-Boot 1.1.3 (Mar 24 2006 - 01:59:06)
> >
> > U-Boot code: A3F00000 -> A3F2252C BSS: -> A3F5738C
> > RAM Configuration:
> > Bank #0: a0000000 64 MB
> > Flash: 2 MB
> >
> > If I use git to download u-boot current source code, the boot prompt display:
> >
> > U-Boot 1.1.4 (Mar 24 2006 - 02:32:06)
> >
> > DRAM: 64 MB
> > Flash: 2 MB
> >
> > I copy the same board/ and my board.h into current source code. Is that normal
> > output? Thanks again.
>
> See http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=commit;h=57cac1fa547fa590fe4b7992619b9f26417014c3

I see, thanks a lot :-)

> 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
> Too much of anything, even love, isn't necessarily a good thing.
>         -- Kirk, "The Trouble with Tribbles", stardate 4525.6

Best regards,
Joe.




More information about the U-Boot mailing list