This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EVMK2H: Ethernet link down intermittently

Part Number: EVMK2H
Other Parts Discussed in Thread: TCI6638K2K

Hi,

We have recently purchased a number of new EVMK2H REV40 boards and set them up by running the Processor SDK Linux for K2H/K2K v03.01.00.06 setup script.

We are  booting up the board using the tftpserver/NFS Server approach, and the host is a Ubuntu 16.04 PC.

The board appears to boot up OK. Although it always shows the 'keystone-rapidio 2900000.rapidio: RIO port register timeout, port mask 0x1 not ready' message at the end, we can still login successfully (please see attached boot output

U-Boot SPL 2016.05-g2f757e5b2c (Oct 03 2016 - 22:35:45)
Trying to boot from SPI


U-Boot 2016.05-g2f757e5b2c (Oct 03 2016 - 22:35:45 -0400)

CPU: 66AK2Hx SR2.0
I2C:   ready
DRAM:  DDR3A Speed will be configured for 1333 Operation.
Detected SO-DIMM [SQR-SD3T-2G1333SED]
DDR3 speed 1333
DRAM: 2 GiB (includes reported below)

Clear entire DDR3 memory to enable ECC
2 GiB
NAND:  512 MiB
Net:   eth0: netcp@2000000                                                                                                                         
Warning: netcp@slave-1 (eth1) using random MAC address - 32:3f:b5:7d:01:16                                                                         
, eth1: netcp@slave-1                                                                                                                              
Warning: netcp@slave-2 (eth2) using random MAC address - 6a:c2:e0:61:ba:87                                                                         
, eth2: netcp@slave-2                                                                                                                              
Warning: netcp@slave-3 (eth3) using random MAC address - ca:19:62:05:e3:7a                                                                         
, eth3: netcp@slave-3                                                                                                                              
Hit any key to stop autoboot:  0                                                                                                                   

netcp@2000000 Waiting for SGMII auto negotiation to complete. done
netcp@2000000 Waiting for PHY auto negotiation to complete. done
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
DHCP client bound to address 10.10.10.30 (758 ms)
Using netcp@2000000 device
TFTP from server 10.10.10.6; our IP address is 10.10.10.30
Filename '/tftpboot/k2-fw-initrd.cpio.gz'.
Load address: 0x88080000
Loading: ##########
         1.2 MiB/s
done
Bytes transferred = 49680 (c210 hex)

netcp@2000000 Waiting for SGMII auto negotiation to complete. done
BOOTP broadcast 1
DHCP client bound to address 10.10.10.30 (2 ms)
Using netcp@2000000 device
TFTP from server 10.10.10.6; our IP address is 10.10.10.30
Filename '/tftpboot/keystone-k2hk-evm.dtb'.
Load address: 0x88000000
Loading: ###########
         1.2 MiB/s
done
Bytes transferred = 54305 (d421 hex)

netcp@2000000 Waiting for SGMII auto negotiation to complete. done
BOOTP broadcast 1
DHCP client bound to address 10.10.10.30 (2 ms)
Using netcp@2000000 device
TFTP from server 10.10.10.6; our IP address is 10.10.10.30
Filename '/tftpboot/skern-k2hk.bin'.
Load address: 0xc5f0000
Loading: #########
         1.2 MiB/s
done
Bytes transferred = 45056 (b000 hex)

netcp@2000000 Waiting for SGMII auto negotiation to complete. done
BOOTP broadcast 1
DHCP client bound to address 10.10.10.30 (2 ms)
Using netcp@2000000 device
TFTP from server 10.10.10.6; our IP address is 10.10.10.30
Filename '/tftpboot/zImage-k2hk-evm.bin'.
Load address: 0x82000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###########################
         1.3 MiB/s
done
Bytes transferred = 3462344 (34d4c8 hex)
K2_BM_15.07-39-g035329c SoC:k2hk built:21:30:13, Oct  3 2016

## installed monitor, freq [200000000], status 0
Kernel image @ 0x82000000 [ 0x000000 - 0x34d4c8 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8fff3000, end 8ffff210 ... OK
   Loading Device Tree to 8ffe2000, end 8fff2420 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.19-gdb0b54cdad (gtbldadm@ubuntu-16) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Mon Oct 3 21:52:02 EDT 2016
[    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: Texas Instruments Keystone 2 Kepler/Hawking EVM
[    0.000000] Switching physical address space to 0x800000000
[    0.000000] Reserved memory: OVERLAP DETECTED!
[    0.000000] mpm_block_mem@820000000 (0x0000000820000000--0x0000000822000000) overlaps with dsp_reserved_mpm_area (0x0000000820000000--0x0000000840000000)
[    0.000000] Reserved memory: OVERLAP DETECTED!
[    0.000000] dsp_reserved_mpm_area (0x0000000820000000--0x0000000840000000) overlaps with cmem_block_mem@822000000 (0x0000000822000000--0x0000000829000000)
[    0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
[    0.000000] Reserved memory: initialized node dsp_common_cma_pool, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000820000000, size 512 MiB
[    0.000000] Reserved memory: initialized node dsp_reserved_mpm_area, compatible id shared-dma-pool
[    0.000000] cma: Reserved 24 MiB at 0x000000087e400000
[    0.000000] Forcing write-allocate cache policy for SMP
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] PERCPU: Embedded 11 pages/cpu @de593000 s14784 r8192 d22080 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 391488
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rootfstype=nfs root=/dev/nfs rw nfsroot=10.10.10.6:/evmk2h_nfs,v3,tcp,rsize=4096,wsize=4096 ip=dhcp
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 1515616K/1572864K available (6535K kernel code, 252K rwdata, 2320K rodata, 284K init, 296K bss, 24480K reserved, 32768K cma-reserved, 1024000K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08ae04c   (8857 kB)
[    0.000000]       .init : 0xc08af000 - 0xc08f6000   ( 284 kB)
[    0.000000]       .data : 0xc08f6000 - 0xc09352f0   ( 253 kB)
[    0.000000]        .bss : 0xc0937000 - 0xc09810c4   ( 297 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=4
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 200.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000003] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[    0.000010] Switching to timer-based delay loop, resolution 5ns
[    0.000172] keystone timer clock @200000000 Hz
[    0.000401] Console: colour dummy device 80x30
[    0.000420] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000430] pid_max: default: 32768 minimum: 301
[    0.000506] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000513] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000946] Initializing cgroup subsys io
[    0.000960] Initializing cgroup subsys memory
[    0.000979] Initializing cgroup subsys devices
[    0.000989] Initializing cgroup subsys freezer
[    0.000998] Initializing cgroup subsys perf_event
[    0.001006] Initializing cgroup subsys pids
[    0.001027] CPU: Testing write buffer coherency: ok
[    0.001220] /cpus/cpu@0 missing clock-frequency property
[    0.001247] /cpus/cpu@1 missing clock-frequency property
[    0.001272] /cpus/cpu@2 missing clock-frequency property
[    0.001298] /cpus/cpu@3 missing clock-frequency property
[    0.001307] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001333] Setting up static identity map for 0x800082c0 - 0x800083f0
[    0.084398] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.114436] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.144477] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.144565] Brought up 4 CPUs
[    0.144578] SMP: Total of 4 processors activated (1600.00 BogoMIPS).
[    0.144584] CPU: All CPU(s) started in SVC mode.
[    0.144955] devtmpfs: initialized
[    0.156217] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.156441] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.157089] pinctrl core: initialized pinctrl subsystem
[    0.157648] NET: Registered protocol family 16
[    0.158321] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.180114] cpuidle: using governor ladder
[    0.210132] cpuidle: using governor menu
[    0.215595] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.215783] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.215969] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.216161] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.216351] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.216536] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.216723] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.216911] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.223233] No ATAGs?
[    0.223253] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.223259] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.253827] media: Linux media interface: v0.10
[    0.253870] Linux video capture interface: v2.00
[    0.253901] pps_core: LinuxPPS API ver. 1 registered
[    0.253906] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.253925] PTP clock support registered
[    0.253962] EDAC MC: Ver: 3.0.0
[    0.254511] Advanced Linux Sound Architecture Driver Initialized.
[    0.255128] clocksource: Switched to clocksource arch_sys_counter
[    0.262137] NET: Registered protocol family 2
[    0.262557] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.262585] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.262633] TCP: Hash tables configured (established 4096 bind 4096)
[    0.262664] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.262679] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.262783] NET: Registered protocol family 1
[    0.262947] RPC: Registered named UNIX socket transport module.
[    0.262953] RPC: Registered udp transport module.
[    0.262958] RPC: Registered tcp transport module.
[    0.262963] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.263105] Unpacking initramfs...
[    0.265645] Freeing initrd memory: 52K (cfff3000 - d0000000)
[    0.265776] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.266328] platform alarmtimer: set dma_pfn_offset00780000
[    0.266686] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.272331] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.272823] NFS: Registering the id_resolver key type
[    0.272841] Key type id_resolver registered
[    0.272847] Key type id_legacy registered
[    0.272893] ntfs: driver 2.1.32 [Flags: R/O].
[    0.273879] bounce: pool size: 64 pages
[    0.273993] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.274007] io scheduler noop registered
[    0.274016] io scheduler deadline registered
[    0.274043] io scheduler cfq registered (default)
[    0.274144] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28
[    0.274643] ti,keystone-serdes 232a000.phy: init fw ks2_gbe_serdes.bin: version 3.3.0.2c
[    0.277419] keystone-rapidio 2900000.rapidio: KeyStone RapidIO driver v1.4
[    0.277461] keystone-rapidio 2900000.rapidio: missing "rx-queue" parameter for mbox 0, using qpend
[    0.277472] keystone-rapidio 2900000.rapidio: missing "tx-completion-queue" parameter for mbox 0, using qpend
[    0.277479] keystone-rapidio 2900000.rapidio: missing "tx-garbage-queue" parameter for mbox 0, using qpend
[    0.277490] keystone-rapidio 2900000.rapidio: missing "rx-queue" parameter for mbox 1, using qpend
[    0.277500] keystone-rapidio 2900000.rapidio: missing "tx-completion-queue" parameter for mbox 1, using qpend
[    0.277507] keystone-rapidio 2900000.rapidio: missing "tx-garbage-queue" parameter for mbox 1, using qpend
[    0.277581] keystone-rapidio 2900000.rapidio: using K2 SerDes
[    0.277620] keystone-rapidio 2900000.rapidio: initializing 5.00 Gbps interface with port configuration 4
[    0.495251] keystone-rapidio 2900000.rapidio: packet forwarding disabled
[    0.605749] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192
[    0.605871] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek f0a00000, reg_status f0972000, reg_config f0978000, reg_region f097a000, reg_push f0a40000, reg_pop f0a80000
[    0.605881] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 8192, number of queues 8192
[    0.605984] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 8192, num of queues 8192, reg_peek f0ac0000, reg_status f097c400, reg_config f097e000, reg_region f09c2000, reg_push f0b00000, reg_pop f0b40000
[    0.606249] keystone-navigator-qmss soc:qmss@2a40000: firmware file ks2_qmss_pdsp_acc48.bin downloaded for pdsp0
[    0.606312] keystone-navigator-qmss soc:qmss@2a40000: firmware file ks2_qmss_pdsp_qos.bin downloaded for pdsp3
[    0.606374] keystone-navigator-qmss soc:qmss@2a40000: firmware file ks2_qmss_pdsp_qos.bin downloaded for pdsp7
[    0.607289] keystone-navigator-qmss soc:qmss@2a40000: qos: sched port @8096, drop sched @8000
[    0.608726] keystone-navigator-qmss soc:qmss@2a40000: qos: sched port @6496, drop sched @6400
[    0.610587] keystone-navigator-qmss soc:qmss@2a40000: qos version 0x200010b, magic valid
[    0.611117] keystone-navigator-qmss soc:qmss@2a40000: qos version 0x200010b, magic valid
[    0.612081] keystone-navigator-dma soc:knav_dmas@0: DMA dma_gbe registered 41 logical channels, flows 32, tx chans: 9, rx chans: 24
[    0.612186] keystone-navigator-dma soc:knav_dmas@0: DMA dma_xgbe registered 48 logical channels, flows 32, tx chans: 16, rx chans: 16
[    0.612285] keystone-navigator-dma soc:knav_dmas@0: DMA dma_srio registered 36 logical channels, flows 20, tx chans: 16, rx chans: 16
[    0.655640] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.655709] platform serial8250: set dma_pfn_offset00780000
[    0.657998] console [ttyS0] disabled
[    0.658041] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 26, base_baud = 12500000) is a 16550A
[    1.714825] console [ttyS0] enabled
[    1.718963] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 27, base_baud = 12500000) is a 16550A
[    1.728291] [drm] Initialized drm 1.1.0 20060810
[    1.738579] loop: module loaded
[    1.741976] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
[    1.750266] spi_davinci 21000400.spi: DMA is not supported (-19)
[    1.756855] m25p80 spi32766.0: n25q128a11 (16384 Kbytes)
[    1.762203] 2 ofpart partitions found on MTD device spi32766.0
[    1.768066] Creating 2 MTD partitions on "spi32766.0":
[    1.773222] 0x000000000000-0x000000100000 : "u-boot-spl"
[    1.779295] 0x000000100000-0x000001000000 : "misc"
[    1.784810] spi_davinci 21000400.spi: Controller at 0xf0a30400
[    1.790850] spi_davinci 21000600.spi: DMA is not supported (-19)
[    1.797197] spi_davinci 21000600.spi: Controller at 0xf0a32600
[    1.803215] spi_davinci 21000800.spi: DMA is not supported (-19)
[    1.809559] spi_davinci 21000800.spi: Controller at 0xf0a34800
[    1.815972] platform Fixed MDIO bus.0: set dma_pfn_offset00780000
[    1.822205] libphy: Fixed MDIO Bus: probed
[    1.875150] davinci_mdio 2090300.mdio: davinci mdio revision 1.5
[    1.881175] libphy: 2090300.mdio: probed
[    1.885777] davinci_mdio 2090300.mdio: phy[0]: device 2090300.mdio:00, driver Marvell 88E1111
[    1.894334] davinci_mdio 2090300.mdio: phy[1]: device 2090300.mdio:01, driver Marvell 88E1111
[    1.903484] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
[    2.421461] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
[    2.940688] netcp-1.0 2620110.netcp: initialized cpsw ale version 1.3
[    2.947169] netcp-1.0 2620110.netcp: ALE Table size 1024
[    2.953800] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
[    2.961007] netcp-1.0 2620110.netcp: pa_clk_rate(163840000 HZ),mult(25000),shift(12)
[    2.970270] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 on pdsp 0
[    2.978519] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 on pdsp 1
[    2.986741] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 on pdsp 2
[    2.994947] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 on pdsp 3
[    3.003171] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 on pdsp 4
[    3.011407] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 on pdsp 5
[    3.019991] netcp-1.0 2620110.netcp: module(netcp-pa2) not used for device
[    3.027631] 2620738.usb_phy supply vcc not found, using dummy regulator
[    3.034642] mousedev: PS/2 mouse device common for all mice
[    3.040572] i2c /dev entries driver
[    3.046202] ledtrig-cpu: registered to indicate activity on CPUs
[    3.053758] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
[    3.060150] nand: Micron MT29F4G08ABBDAHC
[    3.064170] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.072068] Bad block table found at page 262080, version 0x01
[    3.078457] Bad block table found at page 262016, version 0x01
[    3.084574] nand_read_bbt: bad block at 0x000000c80000
[    3.089741] nand_read_bbt: bad block at 0x000000ca0000
[    3.094950] 3 ofpart partitions found on MTD device 30000000.nand
[    3.101075] Creating 3 MTD partitions on "30000000.nand":
[    3.106501] 0x000000000000-0x000000100000 : "u-boot"
[    3.112248] 0x000000100000-0x000000180000 : "params"
[    3.117962] 0x000000180000-0x000020000000 : "ubifs"
[    3.123921] davinci_nand 30000000.nand: controller rev. 2.5
[    3.129902] platform snd-soc-dummy: set dma_pfn_offset00780000
[    3.136898] NET: Registered protocol family 10
[    3.141997] sit: IPv6 over IPv4 tunneling driver
[    3.147056] NET: Registered protocol family 17
[    3.151653] Key type dns_resolver registered
[    3.156026] Registering SWP/SWPB emulation handler
[    3.162204] hctosys: unable to open rtc device (rtc0)
[    3.255824] netcp-1.0 2620110.netcp eth0: Link is Down
[    3.261253] pps pps0: new PPS source ptp0
[    3.265311] cpts rftclk: sel(1),rate(400000000 HZ),mult(2560),shift(10),div(1)
[    3.277244] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    3.365819] netcp-1.0 2620110.netcp eth1: Link is Down
[    3.373875] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    7.255519] netcp-1.0 2620110.netcp eth0: Link is Up - 1Gbps/Full - flow control off
[    7.275153] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.295207] Sending DHCP requests .., OK
[   10.855141] IP-Config: Got DHCP answer from 10.10.10.1, my address is 10.10.10.30
[   11.245483] IP-Config: Complete:
[   11.248722]      device=eth0, hwaddr=b4:99:4c:b7:0e:de, ipaddr=10.10.10.30, mask=255.255.255.0, gw=10.10.10.1
[   11.258702]      host=TI-k2hevm-Joy, domain=, nis-domain=(none)
[   11.264640]      bootserver=0.0.0.0, rootserver=10.10.10.6, rootpath=
[   11.270958]      nameserver0=10.10.10.1
[   11.284966] ALSA device list:
[   11.287952]   No soundcards found.
[   11.310700] VFS: Mounted root (nfs filesystem) on device 0:14.
[   11.316876] devtmpfs: mounted
[   11.319985] Freeing unused kernel memory: 284K (c08af000 - c08f6000)
[   11.326394] This architecture does not have kernel memory protection.
[   11.418777] systemd[1]: System time before build time, advancing clock.
[   11.444326] random: systemd: uninitialized urandom read (16 bytes read, 38 bits of entropy available)
[   11.456593] random: systemd: uninitialized urandom read (16 bytes read, 39 bits of entropy available)
[   11.467853] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[   11.486253] systemd[1]: Detected architecture arm.

Welcome to Arago 2016.08!

[   11.516190] systemd[1]: Set hostname to <k2hk-evm>.
[   11.585581] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 48 bits of entropy available)
[   11.602293] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 49 bits of entropy available)
[   11.621147] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 50 bits of entropy available)
[   11.681127] random: systemd: uninitialized urandom read (16 bytes read, 55 bits of entropy available)
[   11.690600] random: systemd: uninitialized urandom read (16 bytes read, 55 bits of entropy available)
[   11.706677] random: systemd: uninitialized urandom read (16 bytes read, 56 bits of entropy available)
[   11.716378] random: systemd: uninitialized urandom read (16 bytes read, 56 bits of entropy available)
[   11.740095] random: systemd: uninitialized urandom read (16 bytes read, 59 bits of entropy available)
[   11.823664] systemd[1]: [/lib/systemd/system/syslog-ng.service:6] Executable path is not absolute, ignoring: @SBINDIR@/syslog-ng -F -p @LOCALSTATEDIR@/run/syslogd.pid
[   11.838703] systemd[1]: [/lib/systemd/system/syslog-ng.service:7] Executable path is not absolute, ignoring: @BASEBINDIR@/kill -HUP $MAINPID
[   11.851559] systemd[1]: syslog-ng.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
[   11.947788] systemd[1]: syslog-ng.service: Cannot add dependency job, ignoring: Unit syslog-ng.service is not loaded properly: Invalid argument.
[   11.961184] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
[   11.969024] systemd[1]: sysinit.target: Found dependency on alignment.service/start
[   11.976741] systemd[1]: sysinit.target: Found dependency on basic.target/start
[   11.983993] systemd[1]: sysinit.target: Found dependency on sockets.target/start
[   11.991428] systemd[1]: sysinit.target: Found dependency on dbus.socket/start
[   11.998605] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
[   12.006042] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
[   12.015486] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
[ SKIP ] Ordering cycle found, skipping alignment.service
[   12.047068] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   12.076084] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[   12.105394] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[   12.135623] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   12.155405] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[   12.186404] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[   12.235310] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   12.267833] systemd[1]: Starting Create list of required static device nodes for the current kernel...
         Starting Create list of required st... nodes for the current kernel...
[   12.295615] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   12.365397] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   12.395881] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   12.425806] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[   12.462907] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   12.485210] systemd[1]: syslog.socket: Socket service syslog-ng.service not loaded, refusing.
[   12.493783] systemd[1]: Failed to listen on Syslog Socket.
[FAILED] Failed to listen on Syslog Socket.
See 'systemctl status syslog.socket' for details.
[   12.535731] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   12.565272] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[   12.625315] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[   12.647064] systemd[1]: Starting Setup Virtual Console...
         Starting Setup Virtual Console...
[   12.679838] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   12.689602] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   12.703032] CMEMK module: reference Linux version 4.4.19
[   12.708785] allocated heap buffer 0xc100000 of size 0x480000
[   12.714496] allocated heap buffer 0x822000000 of size 0x7000000
[   12.722553] systemd[1]: Starting Journal Service...
[   12.723927] cmemk initialized
[   12.730059] cryptodev: driver 1.8 loaded.
         Starting Journal Service...
[   12.755358] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   12.777036] NET: Registered protocol family 41
[   12.787348] uio_module_drv soc:mpax: registered misc device mpax
[   12.793567] uio_module_drv soc:edma3: registered misc device edma3
[   12.800071] uio_module_drv soc:secmgr: registered misc device secmgr
[   12.806664] uio_module_drv soc:qmss: registered misc device qmss
[   12.818286] uio_module_drv soc:hyperlink0: registered misc device hyperlink0
[   12.825349] systemd[1]: Mounting Temporary Directory...
         [   12.831220] uio_module_drv soc:hyperlink1: registered misc device hyperlink1
Mounting Tempora[   12.839591] uio_module_drv soc:srio: registered misc device srio
ry Directory...
[   12.865462] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[   12.895234] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[   12.948949] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   12.975275] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[   12.995295] systemd[1]: Mounted Temporary Directory.
[  OK  ] Mounted Temporary Directory.
[   13.015431] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Setup Virtual Console.
[  OK  ] Started Load Kernel Modules.
         Starting Apply Kernel Variables...
         Starting udev Coldplug all Devices...
         Starting Create Static Device Nodes in /dev...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
[   13.556226] systemd-journald[124]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Pers[   13.575145] random: nonblocking pool is initialized
istent Storage.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /media/ram...
         Mounting /var/volatile...
[  OK  ] Mounted /var/volatile.
[  OK  ] Mounted /media/ram.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started udev Coldplug all Devices.
[   13.885799] keystone-rproc 10800000.dsp0: assigned reserved memory node dsp_common_cma_pool
[   13.894237]  remoteproc0: 10800000.dsp0 is available
[   13.899963]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[   13.909208]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   13.928003] keystone-rproc 11800000.dsp1: assigned reserved memory node dsp_common_cma_pool
[   13.938267]  remoteproc1: 11800000.dsp1 is available
[   13.944011]  remoteproc1: Note: remoteproc is still under development and considered experimental.
[   13.954357]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   13.968689] keystone-rproc 12800000.dsp2: assigned reserved memory node dsp_common_cma_pool
[   13.978406]  remoteproc2: 12800000.dsp2 is available
[   13.983581]  remoteproc2: Note: remoteproc is still under development and considered experimental.
[   13.992671]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   14.005254] keystone-rproc 13800000.dsp3: assigned reserved memory node dsp_common_cma_pool
[   14.013791]  remoteproc3: 13800000.dsp3 is available
[   14.018966]  remoteproc3: Note: remoteproc is still under development and considered experimental.
[   14.028386]  remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   14.046116] keystone-rproc 14800000.dsp4: assigned reserved memory node dsp_common_cma_pool
[   14.055074]  remoteproc4: 14800000.dsp4 is available
[   14.061512]  remoteproc4: Note: remoteproc is still under development and considered experimental.
[   14.071219]  remoteproc4: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   14.084999] davinci-wdt 22f0080.wdt: heartbeat 60 sec
[   14.094634] keystone-rproc 15800000.dsp5: assigned reserved memory node dsp_common_cma_pool
[   14.107904]  remoteproc5: 15800000.dsp5 is available
[   14.112934]  remoteproc5: Note: remoteproc is still under development and considered experimental.
[   14.122030]  remoteproc5: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   14.134588] keystone-rproc 16800000.dsp6: assigned reserved memory node dsp_common_cma_pool
[   14.143120]  remoteproc6: 16800000.dsp6 is available
[   14.148173]  remoteproc6: Note: remoteproc is still under development and considered experimental.
[   14.157181]  remoteproc6: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   14.171384] keystone-rproc 17800000.dsp7: assigned reserved memory node dsp_common_cma_pool
[   14.180076]  remoteproc7: 17800000.dsp7 is available
[   14.185081]  remoteproc7: Note: remoteproc is still under development and considered experimental.
[   14.194137]  remoteproc7: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   14.273235] keystone-dsp-mem c000000.dspmem: registered misc device dspmem
[  OK  ] Found device /dev/ttyS0.
[   14.752540] keystone-crypto soc:subsys@20c0000:crypto@0: crypto accelerator enabled
[   15.096077] platform xhci-hcd.0.auto: set dma_pfn_offset00780000
[   15.123193] usbcore: registered new interface driver usbfs
[   15.129504] usbcore: registered new interface driver hub
[   15.135328] usbcore: registered new device driver usb
[   15.148074] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   15.153594] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[   15.162438] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x00010010
[   15.171235] xhci-hcd xhci-hcd.0.auto: irq 34, io mem 0x02690000
[   15.177840] hub 1-0:1.0: USB hub found
[   15.181627] hub 1-0:1.0: 1 port detected
[   15.185924] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   15.191436] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[   15.199197] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   15.207868] hub 2-0:1.0: USB hub found
[   15.211651] hub 2-0:1.0: 1 port detected
[   15.565436] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[   15.638722] SCSI subsystem initialized
[   15.647876] usb-storage 2-1:1.0: USB Mass Storage device detected
[   15.654375] scsi host0: usb-storage 2-1:1.0
[   15.659732] usbcore: registered new interface driver usb-storage
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Time Synchronized.
         Starting Synchronize System and HW clocks...
[FAILED] Failed to start Synchronize System and HW clocks.
See 'systemctl status sync-clocks.service' for details.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting softhsm-daemon.service...
         Starting telnetd.service...
         Starting Login Service...
         Starting Print notice about GPLv3 packages...
[  OK  ] Started D-Bus System Message [   16.831482] scsi 0:0:0:0: Direct-Access     Samsung  Flash Drive      1100 PQ: 0 ANSI: 6
Bus.
[   16.869045] sd 0:0:0:0: [sda] 125337600 512-byte logical blocks: (64.2 GB/59.8 GiB)
[   16.879665] sd 0:0:0:0: [sda] Write Protect is off
[   16.888104] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   16.902818]  sda: sda1 sda2
[   16.912005] sd 0:0:0:0: [sda] Attached SCSI removable disk
         Starting Network Service...
         Starting run_srss_tc.service...
[  OK  ] Started System Logging Service.
         Starting Permit User Sessions...
[  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
         Starting tiipclad-daemon.service...
[  OK  ] Started Kernel Logging Service.
         Starting Ethernet Bridge Filtering Tables...
         Starting TI Multiproc Manager...
[  OK  ] Started softhsm-daemon.service.
[  OK  ] Started telnetd.service.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started run_srss_tc.service.
[  OK  ] Started Ethernet Bridge Filtering Tables.
[  OK  ] Started tiipclad-daemon.service.
[  OK  ] Started Network Service.
[  OK     17.247866] NET: Registered protocol family 15
m] Started TI Multiproc Manager.                                                                                                                   
[   17.313676] IPsec: esp4_init: can't add xfrm type                                                                                               
[   17.354982] uio_module_drv soc:secmgr: request address 0x0 is not in the allowed ranges                                                         
[   17.460957] Initializing XFRM netlink socket                                                                                                    
[  OK  ] Reached target Network.
[   17.505604] EXT4-fs (sda2): recovery complete
[   17.510067] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
         Starting Network Name Resolution[   17.522623] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
...
[  OK  ] Started Vsftpd ftp daemon.
         Starting Lightning Fast Webserver With Light System Requirements...
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
         Starting thttpd.service...
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.
[  OK  ] Started thttpd.service.
[  OK  ] Started Network Name Resolution.
[  OK  ] Started Login Service.
         Starting rng-tools.service...
[  OK  ] Started rng-tools.service.
         Starting gdbserverproxy.service...
[  OK  ] Started gdbserverproxy.service.
         Starting matrix-gui-2.0.service...
[  OK  ] Started matrix-gui-2.0.service.
         Starting parse-ip.service...
         Starting thermal-zone-init.service...
[  OK  ] Started thermal-zone-init.service.
***************************************************************
***************************************************************
NOTICE: This file system contains the following GPLv3 packages:
        autoconf
        binutils-dev
        binutils
        bison-dev
        bison
        cpp-symlinks
        cpp
        dosfstools
        g++-symlinks
        g++
        gawk-dev
        gawk
        gcc-symlinks
        gcc
        gdb
        gdbc6x
        gdbserver
        gstreamer1.0-libav
        hidapi
        libcairo-perf-utils
        libgmp10
        libidn11
        libmpc3
        libmpfr4
        make
        nettle
        swig-dev
        swig

If you do not wish to distribute GPLv3 components please remove
the above packages prior to distribution.  This can be done using
the opkg remove command.  i.e.:
    opkg remove <package>
Where <package> is the name printed in the list above

NOTE: If the package is a dependency of another package you
      will be notified of the dependent packages.  You should
      use the --force-removal-of-dependent-packages option to
      also remove the dependent packages as well
***************************************************************
***************************************************************
[  OK  ] Started Print notice about GPLv3 packages.
 
 
#>>>>> LCD 12
IP Address:
10.10.10.30
[  OK  ] Started parse-ip.service.

 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            

Arago Project http://arago-project.org k2hk-evm ttyS0

Arago 2016.08 k2hk-evm ttyS0

k2hk-evm login: [   31.805161] keystone-rapidio 2900000.rapidio: RIO port register timeout, port mask 0x1 not ready

). Our problem is that the Ethernet connection (eth0) appears to drop intermittently. For the first few times it will go back up by itself but after a while it won't. As seen in the attached dmesg file (
[    15.638349] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller 
[    15.643870] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 
[    15.652083] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x00010010 
[    15.660851] xhci-hcd xhci-hcd.0.auto: irq 34, io mem 0x02690000 
[    15.667435] hub 1-0:1.0: USB hub found 
[    15.671222] hub 1-0:1.0: 1 port detected 
[    15.675509] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller 
[    15.681021] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 
[    15.688802] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. 
[    15.697475] hub 2-0:1.0: USB hub found 
[    15.701256] hub 2-0:1.0: 1 port detected 
[    16.055408] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd 
[    16.126142] SCSI subsystem initialized 
[    16.135744] usb-storage 2-1:1.0: USB Mass Storage device detected 
[    16.152244] scsi host0: usb-storage 2-1:1.0 
[    16.156796] usbcore: registered new interface driver usb-storage 
[    17.299235] NET: Registered protocol family 15 
[    17.330027] IPsec: esp4_init: can't add xfrm type 
[    17.334954] scsi 0:0:0:0: Direct-Access       Samsung  Flash Drive        1100 PQ: 0 ANSI: 6 
[    17.354614] sd 0:0:0:0: [sda] 125337600 512-byte logical blocks: (64.2 GB/59.8 GiB) 
[    17.363070] sd 0:0:0:0: [sda] Write Protect is off 
[    17.368205] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 
[    17.368688] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA 
[    17.386017]  sda: sda1 sda2 
[    17.393802] sd 0:0:0:0: [sda] Attached SCSI removable disk 
[    17.549062] Initializing XFRM netlink socket 
[    17.853016] uio_module_drv soc:secmgr: request address 0x0 is not in the allowed ranges 
[    17.890001] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. 
[    17.968755] EXT4-fs (sda2): recovery complete 
[    17.973138] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) 
[    31.805158] keystone-rapidio 2900000.rapidio: RIO port register timeout, port mask 0x1 not ready 



[ 5241.445648] netcp-1.0 2620110.netcp eth0: Link is Down       
[ 5242.245965] netcp-1.0 2620110.netcp eth0: Link is Up - 1Gbps/Full - flow control off 
[ 5242.245965] netcp-1.0 2620110.netcp eth0: Link is Up - 1Gbps/Full - flow control off 

[ 5888.244394] netcp-1.0 2620110.netcp eth0: Link is Down 
[ 6068.393996] nfs: server 10.10.10.6 not responding, still trying 
[ 6068.393998] nfs: server 10.10.10.6 not responding, still trying 


),  we often get 'Link is down' and 'Link is Up' messages a number of times and in the end it will stay at 'Link is down' and never recover.

We never ran into this issue with the MCSDK-HPC. We are wondering whether there are any known issues in this area with the Processor SDK. Any advice will be much appreciated.

Regards,

Kathy

  • Hi Kathy,

    I've forwarded this to the software experts. Their feedback should be posted here.

    BR
    Tsvetolin Shulev
  • Hi, Kathy,

    Please refer to the NetCP driver section about K2H GbE MDIO signal integrity issue:
    processors.wiki.ti.com/.../Linux_Core_NetCP_User's_Guide
    I noticed that by setting the mdio status to disabled is not enough, but it needs to be commented out totally. So, instead of making changes as in the document, please make the following changes to disable MDIO. I'll update the document later to address the difference.

    --- a/arch/arm/boot/dts/keystone-k2hk-evm.dts
    +++ b/arch/arm/boot/dts/keystone-k2hk-evm.dts
    @@ -200,8 +200,9 @@
    };
    };

    +/*
    &mdio {
    status = "ok";
    ethphy0: ethernet-phy@0 {
    compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22";
    reg = <0>;
    @@ -212,6 +213,7 @@
    reg = <1>;
    };
    };
    +*/

    --- a/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi
    +++ b/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi
    @@ -370,14 +370,14 @@ netcp: netcp@2000000 {
    gbe0: interface-0 {
    phys = <&serdes_lane0>;
    slave-port = <0>;
    - link-interface = <1>;
    - phy-handle = <&ethphy0>;
    + link-interface = <4>;
    + /* phy-handle = <&ethphy0>; */
    };
    gbe1: interface-1 {
    phys = <&serdes_lane1>;
    slave-port = <1>;
    - link-interface = <1>;
    - phy-handle = <&ethphy1>;
    + link-interface = <4>;
    + /* phy-handle = <&ethphy1>; */
    };
    };
  • Hi Rex,

    I have made the suggested changes and run some tests. The Ethernet problem appears to have gone away.
    Thank you very much for your help.

    Regards,
    Kathy
  • Rex,

    We have recently ordered twelve EVMK2H boards with TCI6638K2K SoCs, and all of them are exhibiting this "eth0: link is down" problem. None of them have any RTM installed.

    Steve Williams

    Tarana Wireless

  • Originally I ignored the suggestion in NetCP User's Guide for the same reason - none of our boards have a RTM Breakout Card.
    I gave it a try only because Rex recommended it and it did work for us.
  • Kathy,

    I did not catch that your boards DO NOT have RTM from the earlier context, and thought that Rex's replies about the issue being with the RTM meant that he knew more about your situation. I just wanted to add a clarifying comment:

    The issue Rex Chang refers to here:

    processors.wiki.ti.com/.../Linux_Core_NetCP_User's_Guide

    also applies to EVMK2X boards which DO NOT have anything attached to them. His solution has worked (so far today) on both of the boards I have tried it on.

    Steve
  • Rex,

    The solution here disables the ability of the Linux kernel to detect cable insert/remove events. Is there better work-around?

    Steve
  • Hi, Steve,

    The MDIO clocking has glitches on the K2H EVM. If this for your own board design, you may want to refer to the MDIO clocking design in K2E which we learned from K2H and fixed in K2E. If for TI K2H EVM, then you would need to try different pull down values,etc.

    Rex