Hello TI,
We are bringing up the XAUI driver on the TCI6638K2K EVM board. I am using the kernel from this link - https://git.ti.com/keystone-linux/linux
Additionally i have followed the steps to enable 10GE driver functionality from the MCSDK UG steps given here:
http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Exploring#10Gig_Ethernet_Driver
I connected the RTM BOC EVM to the XAUI interface on the K2K EVM and obtained the following logs from the kernel
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.10.61 (user@user-ubuntu) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313
- Linaro GCC 2013.03) ) #1 Mon Jun 13 11:08:34 IST 2016
....
[ 1.870000] libphy: GPIO Bitbanged MDIO: probed
[ 1.880000] mdio_bus gpio-ffffffed: cannot get PHY at address 0
[ 1.890000] mdio_bus gpio-ffffffed: cannot get PHY at address 1
[ 1.890000] tun: Universal TUN/TAP device driver, 1.6
[ 1.900000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 1.900000] keystone-netcp 2090000.netcp: missing num_serdes parameter
[ 1.910000] keystone-netcp 2090000.netcp: missing serdes_lanes parameter
[ 1.920000] keystone-netcp 2090000.netcp: missing serdes_ref_clk parameter
[ 1.920000] keystone-netcp 2090000.netcp: missing serdes_baud_rate parameter
[ 1.930000] keystone-netcp 2090000.netcp: missing serdes_rate_mode parameter
[ 1.940000] keystone-netcp 2090000.netcp: missing serdes_phy_intf parameter
[ 1.950000] keystone-netcp 2090000.netcp: missing serdes_loopback parameter
[ 1.950000] keystone-netcp 2090000.netcp: Missing cpts_clock_mult property in the DT.
[ 1.960000] keystone-netcp 2090000.netcp: Missing cpts_clock_shift property in the DT.
[ 1.970000] keystone-netcp 2090000.netcp: Missing cpts_clock_div property in the DT.
[ 1.980000] keystone-netcp 2090000.netcp: Created interface "eth0"
[ 1.980000] keystone-netcp 2090000.netcp: dma_chan_name nettx0
[ 1.990000] keystone-netcp 2090000.netcp: Created interface "eth1"
[ 1.990000] keystone-netcp 2090000.netcp: dma_chan_name nettx1
[ 2.000000] keystone-netcp 2090000.netcp: Created interface "eth2"
[ 2.010000] keystone-netcp 2090000.netcp: dma_chan_name nettx2
[ 2.010000] keystone-netcp 2090000.netcp: Created interface "eth3"
[ 2.020000] keystone-netcp 2090000.netcp: dma_chan_name nettx3
[ 2.030000] XGE serdes config:
[ 2.030000] ref_clk=156.25MHz, link_rate=10.3125G, lanes=2
[ 2.030000] c1=2, c2=0, cm=2, tx_att=12, tx_vreg=4
[ 2.040000] eq flags: vreg=1, cdfe=1, offset=1
[ 2.040000] XGE: serdes reset
[ 3.270000] XGE: timeout waiting for serdes link up
[ 3.280000] keystone-netcp 2f00000.netcp: Created interface "eth4"
[ 3.280000] keystone-netcp 2f00000.netcp: dma_chan_name xgetx0
[ 3.290000] XGE: serdes reset
[ 4.520000] XGE: timeout waiting for serdes link up
[ 4.520000] keystone-netcp 2f00000.netcp: Created interface "eth5"
[ 4.530000] keystone-netcp 2f00000.netcp: dma_chan_name xgetx1
[ 4.530000] XGE: serdes reset
[ 5.760000] XGE: timeout waiting for serdes link up
I would like to know the reason for the timeout and whether the initialization is complete or pending.
I am using the MCSDK LINUX 3_01_04_07
ROOTFS Image - arago-console-image-k2hk-evm.cpio.gz
I am loading all the images directly in memory through CCS via the on-board debugger. The kernel is started using the bootm command
after all the images are loaded to memory - bootm 0x88000000 - 0x87000000
Could you please let us know the reason for this behavior. Are there any additional .config / DTS file settings or dependencies on the ROOTFS ?
Could the SerDES reset be influenced by the debugger leading to unexpected behavior ?
Regards
- Rishi
