
In message cdb837ea0805152326o58185f02g13d68a65f416c800@mail.gmail.com you wrote:
haha! Great minds seem alike. Actually, if no solution, I will try this method. Well. As you mentioned, using JTAG we can put bin in any place of flash. Does it means we should manually set the last-4-bytes? How to determine
Urgh. No, of course not. You just program the "u-boot.bin" image to the last 256 kB of your flash memory, as Stefan already explained.
Last, let me tell you why I cannot use JTAG. The recommend method by u-boot is using BDI2000. But it is really expensive. I don't have enough money. hehe. I have tried many home-made wiggler JTAG connectors with OCD commander, but all failed. Finally I give up for finding low-cost PPC JTAG. Currently I give the precompiled bin to some one with special flash writer, and let them burn.
You will reconsider buying a BDI3000 when you need a debugger...
Best regards,
Wolfgang Denk