AnsweredAssumed Answered

How to change LANEC to SATA1

Question asked by Yuqian Li on Dec 9, 2016
Latest reply on Dec 12, 2016 by ufedor

We have a customised board based on NXP LS1021A CPU, we made few changes for the SerDes LANEA to LANED, in details

LANEA/LANEB -> PCIEX2

LANC -> SATA1

LAND -> SGMII

I just changed the SRDS_PRTCL_S1=32 to 64 follow the datasheet "Table 32-2. Supported SerDes options" listed in rcw_1000_sdboot.rcw file, then recompiled RCW got binary and converted it to uboot format and was put it to ls102xa_rcw_sd.cfg file, then compiled uboot, now I used new uboot I can got LANEA/B and LAND working, just the SATA1 in LANC not working. 

my question is: do I need change other parameters in rcw_1000_sdboot.rcw? 

here is my rcw_1000_sdboot.rcw contents

--------

#include <../ls1021aqds/ls1021a.rcwi>

 

SYS_PLL_RAT=3

MEM_PLL_RAT=8

CGA_PLL1_RAT=10

SRDS_PRTCL_S1=64

SRDS_PLL_PD_S1=1

SRDS_DIV_PEX=1

USB3_REFCLK_SEL=0

USB3_CLK_FSEL=57

A7_ACE_CLKDIV=2

A7_DBG_CLKDIV=2

HWA_CGA_M1_CLK_SEL=1

PBI_SRC=6

DP_DIV=1

OCN_DIV=1

IFC_MODE=64

DRAM_LAT=1

SYS_PLL_SPD=1

UART_BASE=7

IFC_GRP_E1_EXT=4

EC1=4

EC2=2

QE-TDMA=6

QE-TDMB=6

SDHC=3

DVDD_VSEL=2

LVDD_VSEL=1

EVDD_VSEL=2

BVDD_VSEL=2

 

#include <../ls1021aqds/scfg_bit_reverse.rcw>

#include <../ls1021aqds/uboot_address.rcw>

----------

and uboot shows rcw binary hex format

----------

Reset Configuration Word (RCW):
00000000: 0608000a 00000000 00000000 00000000
00000010: 40000000 00407900 60040a00 21046000
00000020: 00000000 00000000 00000000 00038000
00000030: 00080000 881b7340 00000000 00000000

 ------------

 

Thank you!

Outcomes