P2041 Serdes Prtcl not supported

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

P2041 Serdes Prtcl not supported

956 Views
adeel
Contributor III

Hi,

I am using Serdes Protocol 0x0D in Serdes lane configuration in RCW. But, u-boot 2013.01 is not initializing Serdes by throwing an error "SERDES[PRTCL] = 0xd is not valid". Although QCS says 0x0D is supported by P2041 but u-boot rejects it. Any idea?

Best Regards,

Adeel

0 Kudos
5 Replies

748 Views
lunminliang
NXP Employee
NXP Employee

Are you using P2041RDB? The ID 0xD is not included in P2041RDB U-Boot source code because of RDB hardware platform not being supported.

pastedImage_0.png

0 Kudos

748 Views
adeel
Contributor III

But the P2041 Silicon does support SRIO. We are using it on a custom board. If I add support in U-Boot for protocol 0xD, do you think will it work?

0 Kudos

748 Views
lunminliang
NXP Employee
NXP Employee

Hi,

Please try to add a new entry for ID 0x0D in the Serdes configuration table in arch/powerpc/cpu/mpc85xx/p2041_serdes.c

static u8 serdes_cfg_tbl[][SRDS_MAX_LANES] = {

   [0xd] = { ... },

};

0 Kudos

748 Views
addiyi
NXP Employee
NXP Employee

SERDES[PRTCL] = 0xd is supported by P2041 CPU, but using uboot from sdk 1.6 I get the same massage: SERDES[PRTCL] = 0xd is not valid. But, you also should know that uboot from Freescale SDK in generally support Freescale boards. So, I guess if you add the support in your uboot will work.


Adrian

0 Kudos

748 Views
scottwood
NXP Employee
NXP Employee

We shouldn't be making board-specific assumptions in files that aren't board-specific...

0 Kudos