[U-Boot] ppc, flash init on mpc8247, Unknown FLASH on Bank 0
wind_embedded
wind_embedded at sina.com
Wed Oct 13 10:12:29 CEST 2010
Dear "wind_embedded",
In message <000001cb6a92$34979570$a744fea9 at E43A> you wrote:
>
> Before I use VxWorks, it works fine. When I port u-boot, my project
> based on IDS8247. I changed configuration in IDS8247.h and updated
> flash.c, after I compiled u-boot, I burned u-boot.bin into AM29LV040B.
> Console output(DEBUG is defined):
You must never copy any code without trying to understand it. When
adapting code from another board, you need to understand not only your
own hardware in detail, but also the hardware you are copying from.
In your case, you should not use the old flash driver in flash.c at
all. Remove that file, and use the CFI flash driver instead.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You don't have to stay up nights to succeed; you have to stay awake
days.
Dear Wolfgang Denk:
Because AM29LV040B driver has been used on VxWorks and it works
fine, so code of flash.c is taken from AM29LV040B driver. I think it
should be good, but bad!
Best regard
More information about the U-Boot
mailing list