Dear "wind_embedded", In message <000001cb6a92$34979570$a744f...@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: [email protected] 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 _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

