
On Monday 21 April 2008, 甜瓜 wrote:
Yep! The ppcboot is very ancient. hehe. Actually, my board is DHT-walnut: http://elinux.org/DHT-Walnut_U_Boot
So, it's no "real" Walnut. Then the official Walnut U-Boot will probably not work for your board.
The web provides a pre-compiled bin uboot 1.1.4 for my board. The size is 256KB.
4xx U-Boot images need to get loaded at the "end" of flash. So a 256k image need to get loaded at 0xfffc0000.
I downloaded it, and burn this bin into flash. But the board is still not work. Well, you point out a very important thing that 4xx use 0xfffffffc as the reset vector. My flash is 512KB larger, therefore the bin only fills the first 256KB of the flash. The reset vector is not set correct. Am I correct? It seem that it depends on how CPU maps flash contents into address space. And how to set it? I don't know how to determine the real entry of a specific uboot-bin. :<
As mentioned above, you have to program a 256k image to 0xfffc0000.
Best regards, Stefan
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de =====================================================================