See attachment. It is u-boot for TWR-MPC5125 board.
- Program u-boot-spl:
=> 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!
-----------------------------------------------------------------------------------------------------------------------