See attachment. It is u-boot for TWR-MPC5125 board.
=> tftp 0x4000000 u-boot-spl-2k.bin
=> nand_e 0x00 0x01
=> nand_loader 0x4000000 0x00 0x800
=> nand_r 0x2000000 0x00 0x800
=> md 0x2000000
2 Program u-boot:
=> tftp 0x4000000 u-boot-second-usb.bin
=> nand_e 0x100 0x1AD (since size of the u-boot-second-usb.bin file is 0x56260)
=> nand_w 0x4000000 0x100 0x56800
=> nand_r 0x2000000 0x100 0x800
=> md 0x2000000
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
hello, Pavel
Thanks for reply.
My custom board can not boot from Nand flash.
I need burn U-BOOT.bin to nand flash by CodeWarrior TOOL.
Do you know how to debug? how to burn?
Please give me some reference!
I am looking forward for your reply.
Thank you very much!
Hi,all
Where can I download U-boot for TWR-MPC5125 ?