nand flash boot for PPC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

nand flash boot for PPC

619 Views
geekdarcy
Contributor III
Hi everyone,
I'm developing a new board based on the MPC5125 MPU.

I'm trying to port the u-boot for MPC5125 MPU ?
I need  boot from Nand flash.
I found uboot2009.03 is not support nand flash boot.
Do you have same guide for me?
Thanks.
0 Kudos
3 Replies

481 Views
Pavel
NXP Employee
NXP Employee

See attachment. It is u-boot for TWR-MPC5125 board.

  1. 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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

481 Views
geekdarcy
Contributor III

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!

0 Kudos

481 Views
geekdarcy
Contributor III

  Hi,all

Where can I download U-boot for TWR-MPC5125 ?

0 Kudos