[U-Boot] [PATCH 1/2] powerpc/t2080qds: fixup dtb for 10g-kr

York Sun yorksun at freescale.com
Tue Aug 12 20:43:14 CEST 2014


On 07/25/2014 04:03 AM, shh.xie at gmail.com wrote:
> From: Shaohui Xie <Shaohui.Xie at freescale.com>
> 
> XFI ports on t2080qds can work with fiber cable and direct attach
> cable(copper). We use hwconfig to define cable type for XFI, and fixup
> dtb based on the cable type.
> 
> For copper cable, set below env in hwconfig:
> 
> fsl_10gkr_copper:<10g_mac_name>
> 
> the <10g_mac_name> can be fm1_10g1, fm1_10g2, fm1_10g3, fm1_10g4.
> fm1_10g1 stands for FM1-MAC9, fm1_10g2 stands for FM1-MAC10, fm1_10g3
> stands for FM1-MAC1, fm1_10g4 stands for FM1-MAC2. The four
> <10g_mac_name>s do not have to be coexist in hwconfig. For XFI ports, if
> a given 10G port will use the copper cable for 10GBASE-KR, set the
> <10g_mac_name> of the port in hwconfig, otherwise, fiber cable will be
> assumed to be used for the port.
> 
> For ex. if four XFI ports will both use copper cable, the hwconfig
> should contain:
> 
> fsl_10gkr_copper:fm1_10g1,fm1_10g2,fm1_10g3,fm1_10g4
> 

This information is useful. I think you should put it into a README file so it
can be easily found. Don't you agree?

York



More information about the U-Boot mailing list