背景:QorIQ T系列 1024RDB 直连Marvell芯片的port。网络采用的MAC to MAC 模式。 这里主要记录RCW的修改和网络的适配
首先网络适配,先要查看硬件原理图,了解Serdes 4个lane如何连接的。所以首先需要进行Serdes配置字的修改,这个配置在QorIQ的文档上说明了属于RCW。
-
RCW概念
The reset configuration word (RCW) data contains reset configuration information that is loaded by the PBL from a memory device during reset.
The size of the RCW is 64 bytes (512 bits). All of the data read from the RCW source is written to the RCW status registers (RCWSRn) in the device configuration and pin control block. See DCFG_RCWSR for more information. The RCWSRs have specific 64 bytes aligned address offsets that the PBL should ensure is written. Any address offset that is not that specific 64 bytes aligned address offset is reported by the PBL as an error to the platform, which asserts the RESET_REQ_B output pin upon receiving the error from the PBL. Refer the Reset configuration word (RCW) source section in Reset, Clocking, and Initialization chapter to see how each encoding for cfg_rcw_src selects a given source of RCW data.
RCW文件名规则: