QorIQ U-Boot Migration Example

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

QorIQ U-Boot Migration Example

1,043 Views
andreyromanov
Contributor II

I need the document explains the general and basic steps to customize U-Boot for my own board.

Something like this manual but for QorIQ family.

0 Kudos
1 Reply

558 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Andrey Romanov,

About u-boot porting for QorIQ platform, you need to modify the platform configuration file "include/configs/<platform>.h" and platform related source code in board/freescale/<platform>/.

Use LS1043ARDB as an exmaple:

You often need to modify IFC NOR and NAND flash Timing parameters calculated according to the datasheet of the specific flash. You could refer to this document IFC Controller Configuration on QorIQ Custom Boards .

In the folder board/freescale/ls1043ardb/, the user often need to modify rcw and pbi configuration in ls1043ardb_rcw*.cfg and ls1043ardb_pbi.cfg.

DDR controller configuration in board/freescale/ls1043ardb/ddr.c(ddr.h), you also need to calculate DDR controller configuration parameters according to the DDR datasheet or read from SPD with QCVS tool, then connect to the target board to do validation and optimization to get the final optimized parameters with DDRv tool.

You could refer to DDRv user manual https://www.nxp.com/docs/en/user-guide/QCVS_DDR_User_Guide.pdf?fsrch=1&sr=10&pageNum=1.

You also could refer to the document DDR Controller Configuration on LS2085/LS2080 Bringing up.

Please refer to board/freescale/ls1043ardb/eth.c to do Ethernet interfaces(MIDO/PHY) configuration according to your custom board.

Probably you also need to modify CPLD configuration in board/freescale/ls1043ardb/cpld.c


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos