I am completely new to NXP, QorIQ, Yocto, identifying and adding out-of-tree modules (drivers), RCW, and so much more. I am struggling with enabling 1000base-kx on a T1042D4RDB system. I've mentally pieced together many web pages, since there don't seem to be any straight-forward instructions anywhere, but my knowledge still has gaping holes.
The solution is "There a few more bits to set along with clearing the AMP_RED field", which is not useful, but it does point to these two pages:
So far, I think I need to:
- Download the nxp-qoriq/linux source from GitHub
- Compile the source for the T1042 processor
- GNU Make >= 3.82 is required. Your Make version is 8.81. Stop
- Create a driver module
- Edit the RCW
- Configure / create an SGMII device?
- This might be easier once #4 has been completed.
- I may just need to create and write the RCW binary
- Create a 1000base-kx connection using the SGMII?
Any guidance would be appreciated.
For #4, I need to convert from RR_P_86 (default) to RR_S_86.
I think this involves:
- Starting here: GitHub: nxp-qoriq/rcw
- Copying t1042d4rdb/RR_P_86/rcw_1400MHz.rcw to t1042d4rdb/RR_S_86/rcw_1400MHz.rcw
- Editing rcw_1400MHz.rcw to change ... something?
- Converting to binary using rcw.py?
- LNmGCR1 [REIDL_TH]
- LNmGCR1 [REIDL_EX_SEL]
- LNmGCR1 [REIDL_ET_MSB]
- LNmTECR0 [AMP_RED]
or how to reconcile:
- SGMII_EN = 0
- USE_SGMII_AN = 0
- SGMII_SPEED = 10
with anything in t1042d4rdb/RR_P_86/rcw_1400MHz.rcw, t1040si/t1040.rcwi, or t1040si/a007662.rcw:
And then there's this: Instead, a SerDes reference clock is required on SD1_REF_CLK[1:2]_P and
SD1_REF_CLK[1:2]_N pins.