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.

Linux/DP83867IS: Need to use DP83867IS phy at Linux on K2E board.

Part Number: DP83867IS
Other Parts Discussed in Thread: DA8XX, 66AK2E05

Tool/software: Linux

Hi,

We are using TI DP83867IS phy at our developmemt board of K2E type. I am able to configure and use this PHY at u-boot.

Now i want to use this at LINUX as well, but even after adding this to device tree not able to use the PHY.

[ 24.352823] serdes PLL not locked
[ 24.871627] netcp-1.0 2620110.netcp: phy not found on slave 1
[ 24.881475] net eth1: module open failed
[ 25.187608] random: crng init done
[ 27.177168] serdes PLL not locked
[ 27.696699] netcp-1.0 2620110.netcp: phy not found on slave 0
[ 27.707509] net eth0: module open failed

I want to clarify that, In K2E EVM the SGMII Reference clock is 156.25MHz but our custom board has 125MHz clock. PHY is connetced in SGMII mode on board, i read somewhere that SGMII is not  supported for this PHY at linux and i confirmed this from driver as well as there is no configuration is written at linux.

Please let me know that what all changes are required as per the above requirements.

Thanks

Prince

  • Hi Prince,

    It looks like the PHY is not being detected. Here is a post from the Keystone forum on how to configure DP83867 in the device tree: e2e.ti.com/.../2070564

    Can you read/write registers on the PHY?

    -Regards,
    Aniruddha
  • Demsg.txt
    oot@k2e-evm:/# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.28-geed43d1050 (ivarbhardwaj@ivarbhardwaj-VirtualBox) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-207
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt:Machine model: Texas Instruments Keystone 2 Edison EVM
    [    0.000000] Switching physical address space to 0x800000000
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp_common_cma_pool@81f800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000820000000, size 256 MiB
    [    0.000000] OF: reserved mem: initialized node dsp_common_mpm_pool@820000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 64 MiB at 0x000000087bc00000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] On node 0 totalpages: 884736
    [    0.000000] free_area_init_node: node 0, pgdat c103b940, node_mem_map dd3f5000
    [    0.000000]   DMA zone: 1728 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 131072 pages, LIFO batch:31
    [    0.000000]   HighMem zone: 753664 pages, LIFO batch:31
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: Using PSCI v0.1 Function IDs from DT
    [    0.000000] percpu: Embedded 13 pages/cpu @dd3a4000 s22092 r8192 d22964 u53248
    [    0.000000] pcpu-alloc: s22092 r8192 d22964 u53248 alloc=13*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 883008
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rdinit=/sbin/init rw root=/dev/ram0 initrd=0x808080000,80M
    [    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: 3336500K/3538944K available (8192K kernel code, 249K rwdata, 2188K rodata, 2048K init, 288K bss, 128716K reser)
    [    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 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
    [    0.000000]       .data : 0xc1000000 - 0xc103e600   ( 250 kB)
    [    0.000000]        .bss : 0xc1040000 - 0xc10880b0   ( 289 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] GIC: Using split EOI/Deactivate mode
    [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 208.33MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x300c4cdf1c, max_idle_ns: 440795202901 ns
    [    0.000006] sched_clock: 56 bits at 208MHz, resolution 4ns, wraps every 4398046511101ns
    [    0.000016] Switching to timer-based delay loop, resolution 4ns
    [    0.000162] keystone timer clock @208333333 Hz
    [    0.000449] Console: colour dummy device 80x30
    [    0.000498] Calibrating delay loop (skipped), value calculated using timer frequency.. 416.66 BogoMIPS (lpj=2083333)
    [    0.000516] pid_max: default: 32768 minimum: 301
    [    0.000640] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000649] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001711] CPU: Testing write buffer coherency: ok
    [    0.002161] /cpus/cpu@0 missing clock-frequency property
    [    0.002186] /cpus/cpu@1 missing clock-frequency property
    [    0.002209] /cpus/cpu@2 missing clock-frequency property
    [    0.002231] /cpus/cpu@3 missing clock-frequency property
    [    0.002242] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.002270] Setting up static identity map for 0x80200000 - 0x80200138
    [    0.080205] EFI services will not be available.
    [    0.184158] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.255196] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.325296] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.325489] Brought up 4 CPUs
    [    0.325519] SMP: Total of 4 processors activated (1666.66 BogoMIPS).
    [    0.325527] CPU: All CPU(s) started in HYP mode.
    [    0.325535] CPU: Virtualization extensions available.
    [    0.326227] devtmpfs: initialized
    [    0.334474] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.334720] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.334737] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    0.336046] pinctrl core: initialized pinctrl subsystem
    [    0.336772] NET: Registered protocol family 16
    [    0.337557] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.360481] cpuidle: using governor ladder
    [    0.390502] cpuidle: using governor menu
    [    0.390588] No ATAGs?
    [    0.390608] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.390616] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.395785] gpio gpiochip0: (Davinci): added GPIO chardev (254:0)
    [    0.395987] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (Davinci)
    [    0.397242] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.432898] vgaarb: loaded
    [    0.434198] pps_core: LinuxPPS API ver. 1 registered
    [    0.434205] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.434223] PTP clock support registered
    [    0.434255] EDAC MC: Ver: 3.0.0
    [    0.435522] clocksource: Switched to clocksource arch_sys_counter
    [    0.443381] NET: Registered protocol family 2
    [    0.443850] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.443882] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.443939] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.444015] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.444032] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.444156] NET: Registered protocol family 1
    [    0.444447] RPC: Registered named UNIX socket transport module.
    [    0.444455] RPC: Registered udp transport module.
    [    0.444461] RPC: Registered tcp transport module.
    [    0.444468] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.444477] PCI: CLS 0 bytes, default 64
    [    0.444658] Trying to unpack rootfs image as initramfs...
    [    4.552908] rootfs image is not initramfs (read error); looks like an initrd
    [    5.177092] Freeing initrd memory: 81920K (c8080000 - cd080000)
    [    5.177685] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    5.178697] platform alarmtimer: set dma_pfn_offset00780000
    [    5.180180] workingset: timestamp_bits=14 max_order=20 bucket_order=6
    [    5.186835] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    5.187555] NFS: Registering the id_resolver key type
    [    5.187597] Key type id_resolver registered
    [    5.187605] Key type id_legacy registered
    [    5.187647] ntfs: driver 2.1.32 [Flags: R/O].
    [    5.189079] bounce: pool size: 64 pages
    [    5.189213] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    5.189227] io scheduler noop registered
    [    5.189234] io scheduler deadline registered
    [    5.189360] io scheduler cfq registered (default)
    [    5.189614] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28
    [    5.190127] ti,keystone-serdes 2326000.phy: init fw ks2_pcie_serdes.bin: version 3.3.0.2c
    [    5.695929] ti,keystone-serdes 232a000.phy: init fw ks2_gbe_serdes.bin: version 3.3.0.2c
    [    5.697266] gpio-syscon soc:keystone_dsp_gpio@02620240: can't read the dir register offset!
    [    5.697289] gpiochip_find_base: found new base at 484
    [    5.697310] gpio gpiochip1: (soc:keystone_dsp_gpio@02620240): added GPIO chardev (254:1)
    [    5.697522] gpiochip_setup_dev: registered GPIOs 484 to 511 on device: gpiochip1 (soc:keystone_dsp_gpio@02620240)
    [    5.699146] OF: PCI: host bridge /soc/pcie@21020000 ranges:
    [    5.699169] OF: PCI:   MEM 0x60000000..0x6fffffff -> 0x60000000
    [    6.700391] keystone-pcie 21021000.pcie: phy link never came up
    [    7.700590] keystone-pcie 21021000.pcie: phy link never came up
    [    8.700791] keystone-pcie 21021000.pcie: phy link never came up
    [    9.700988] keystone-pcie 21021000.pcie: phy link never came up
    [   10.701188] keystone-pcie 21021000.pcie: phy link never came up
    [   10.701197] keystone-pcie 21021000.pcie: phy link never came up
    [   10.701402] keystone-pcie 21021000.pcie: PCI host bridge to bus 0000:00
    [   10.701416] pci_bus 0000:00: root bus resource [bus 00-ff]
    [   10.701426] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
    [   10.701475] pci 0000:00:00.0: [104c:b009] type 01 class 0x060400
    [   10.701794] PCI: bus0: Fast back to back transfers disabled
    [   10.701904] PCI: bus1: Fast back to back transfers enabled
    [   10.702042] pci 0000:00:00.0: PCI bridge to [bus 01]
    [   10.702298] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [   10.702311] pcie_pme 0000:00:00.0:pcie001: service driver pcie_pme loaded
    [   10.702424] aer 0000:00:00.0:pcie002: service driver aer loaded
    [   10.703557] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [   10.703694] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek f0b20000, reg_status 0
    [   10.703868] keystone-navigator-qmss soc:qmss@2a40000: firmware file ks2_qmss_pdsp_acc48.bin downloaded for PDSP
    [   10.708877] keystone-navigator-dma soc:knav_dmas@0: DMA dma_gbe registered 149 logical channels, flows 128, tx chans: 21, rx chans1
    [   10.709024] keystone-navigator-dma soc:knav_dmas@0: DMA dma_xgbe registered 48 logical channels, flows 32, tx chans: 16, rx chans:6
    [   10.759554] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [   10.759646] platform serial8250: set dma_pfn_offset00780000
    [   10.762580] console [ttyS0] disabled
    [   10.762654] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 26, base_baud = 13020833) is a TI DA8xx/66AK2x
    [   11.641189] console [ttyS0] enabled
    [   11.645405] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 27, base_baud = 13020833) is a TI DA8xx/66AK2x
    [   11.656053] [drm] Initialized
    [   11.669390] brd: module loaded
    [   11.679079] loop: module loaded
    [   11.708549] of_get_named_gpiod_flags: can't parse 'cs-gpios' property of node '/soc/spi@21000400[0]'
    [   11.708556] of_get_named_gpiod_flags: can't parse 'cs-gpios' property of node '/soc/spi@21000400[1]'
    [   11.708564] of_get_named_gpiod_flags: can't parse 'cs-gpios' property of node '/soc/spi@21000400[2]'
    [   11.708569] of_get_named_gpiod_flags: can't parse 'cs-gpios' property of node '/soc/spi@21000400[3]'
    [   11.708582] spi_davinci 21000400.spi: DMA is not supported (-19)
    [   11.715301] m25p80 spi0.0: n25q128a11 (16384 Kbytes)
    [   11.720324] 2 ofpart partitions found on MTD device spi0.0
    [   11.725816] Creating 2 MTD partitions on "spi0.0":
    [   11.730603] 0x000000000000-0x000000100000 : "u-boot-spl"
    [   11.736856] 0x000000100000-0x000001000000 : "misc"
    [   11.742520] spi_davinci 21000400.spi: Controller at 0xf0b5d400
    [   11.748546] of_get_named_gpiod_flags: can't parse 'cs-gpios' property of node '/soc/spi@21000600[0]'
    [   11.748552] of_get_named_gpiod_flags: can't parse 'cs-gpios' property of node '/soc/spi@21000600[1]'
    [   11.748557] of_get_named_gpiod_flags: can't parse 'cs-gpios' property of node '/soc/spi@21000600[2]'
    [   11.748564] of_get_named_gpiod_flags: can't parse 'cs-gpios' property of node '/soc/spi@21000600[3]'
    [   11.748572] spi_davinci 21000600.spi: DMA is not supported (-19)
    [   11.754911] spi_davinci 21000600.spi: Controller at 0xf0b9c600
    [   11.760941] of_get_named_gpiod_flags: can't parse 'cs-gpios' property of node '/soc/spi@21000800[0]'
    [   11.760948] of_get_named_gpiod_flags: can't parse 'cs-gpios' property of node '/soc/spi@21000800[1]'
    [   11.760953] of_get_named_gpiod_flags: can't parse 'cs-gpios' property of node '/soc/spi@21000800[2]'
    [   11.760957] of_get_named_gpiod_flags: can't parse 'cs-gpios' property of node '/soc/spi@21000800[3]'
    [   11.760964] spi_davinci 21000800.spi: DMA is not supported (-19)
    [   11.767822] gpiochip_find_base: found new base at 468
    [   11.767838] gpio gpiochip2: (mcp23s17): added GPIO chardev (254:2)
    [   11.768079] gpiochip_setup_dev: registered GPIOs 468 to 483 on device: gpiochip2 (mcp23s17)
    [   11.768567] gpiochip_find_base: found new base at 452
    [   11.768580] gpio gpiochip3: (mcp23s17): added GPIO chardev (254:3)
    [   11.768767] gpiochip_setup_dev: registered GPIOs 452 to 467 on device: gpiochip3 (mcp23s17)
    [   11.768781] spi_davinci 21000800.spi: Controller at 0xf0b9e800
    [   11.775012] platform Fixed MDIO bus.0: set dma_pfn_offset00780000
    [   11.781277] libphy: Fixed MDIO Bus: probed
    [   12.295518] ti,keystone-serdes 232a000.phy: init_lane_rx wait sd valid FAILED -110
    [   12.303106] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
    [   14.321910] serdes PLL not locked
    [   14.837440] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
    [   16.856993] serdes PLL not locked
    [   19.429179] netcp-1.0 2620110.netcp: cpts: overflow check period 300 (jiffies)
    [   19.436419] netcp-1.0 2620110.netcp: CPTS: ref_clk_freq:625000000 calc_mult:3435973837 calc_shift:31 error:0 nsec/sec
    [   19.447035] netcp-1.0 2620110.netcp: initialized cpsw ale version 1.4
    [   19.453468] netcp-1.0 2620110.netcp: ALE Table size 8192
    [   19.460075] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
    [   19.467059] netcp-1.0 2620110.netcp: module(netcp-pa) not used for device
    [   19.473886] netcp-1.0 2620110.netcp: No ip-lut-ranges array in dt bindings for PA
    [   19.483553] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 0
    [   19.491840] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 1
    [   19.500149] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 2
    [   19.508423] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 3
    [   19.516693] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 4
    [   19.524950] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 5
    [   19.533218] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 6
    [   19.541487] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 7
    [   19.549755] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 8
    [   19.558023] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 9
    [   19.566291] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 10
    [   19.574635] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 11
    [   19.582989] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 12
    [   19.591343] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 13
    [   19.599698] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 14
    [   19.608652] netcp-1.0 2620110.netcp: rx_chan_name netrx0-pa for port 1
    [   19.615184] netcp-1.0 2620110.netcp: rx_chan_name netrx1-pa for port 2
    [   19.622013] mousedev: PS/2 mouse device common for all mice
    [   19.627929] i2c /dev entries driver
    [   19.633599] ledtrig-cpu: registered to indicate activity on CPUs
    [   19.641416] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
    [   19.647786] nand: Micron MT29F4G08ABBDAH4
    [   19.651790] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [   19.659684] Bad block table found at page 262080, version 0x01
    [   19.666033] Bad block table found at page 262016, version 0x01
    [   19.672183] 3 ofpart partitions found on MTD device 30000000.nand
    [   19.678282] Creating 3 MTD partitions on "30000000.nand":
    [   19.683682] 0x000000000000-0x000000100000 : "u-boot"
    [   19.689605] 0x000000100000-0x000000180000 : "params"
    [   19.695446] 0x000000180000-0x000020000000 : "ubifs"
    [   19.704600] davinci_nand 30000000.nand: controller rev. 2.5
    [   19.711080] NET: Registered protocol family 10
    [   19.716603] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [   19.723063] NET: Registered protocol family 17
    [   19.727718] Key type dns_resolver registered
    [   19.732118] Registering SWP/SWPB emulation handler
    [   19.740932] hctosys: unable to open rtc device (rtc0)
    [   19.770522] Freeing unused kernel memory: 2048K (c0e00000 - c1000000)
    [   19.788924] random: systemd: uninitialized urandom read (16 bytes read)
    [   19.796517] random: systemd: uninitialized urandom read (16 bytes read)
    [   19.806839] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTS)
    [   19.825195] systemd[1]: Detected architecture arm.
    [   19.830241] systemd[1]: Set hostname to <k2e-evm>.
    [   19.835211] random: systemd: uninitialized urandom read (16 bytes read)
    [   19.843136] systemd[1]: Initializing machine ID from random generator.
    [   19.864616] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
    [   19.873711] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
    [   19.885204] random: systemd: uninitialized urandom read (16 bytes read)
    [   19.892244] random: systemd: uninitialized urandom read (16 bytes read)
    [   19.899207] random: systemd: uninitialized urandom read (16 bytes read)
    [   19.906279] random: systemd: uninitialized urandom read (16 bytes read)
    [   19.915932] random: systemd: uninitialized urandom read (16 bytes read)
    [   19.965541] (NULL net_device): Link is Down
    [   19.969726] (NULL net_device): Link is Down
    [   19.972799] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [   19.981818] (NULL net_device): Link is Down
    [   19.981822] (NULL net_device): Link is Down
    [   19.981827] (NULL net_device): Link is Down
    [   19.981834] (NULL net_device): Link is Down
    [   19.998848] systemd[1]: Listening on udev Control Socket.
    [   20.007049] systemd[1]: Created slice User and Session Slice.
    [   20.014238] systemd[1]: Listening on Journal Socket.
    [   20.021203] systemd[1]: Created slice System Slice.
    [   20.029191] systemd[1]: Starting Setup Virtual Console...
    [   20.063993] cryptodev: loading out-of-tree module taints kernel.
    [   20.083144] cryptodev: driver 1.8 loaded.
    [   20.091907] NET: Registered protocol family 43
    [   20.210912] systemd-journald[117]: Received request to flush runtime journal from PID 1
    [   21.173722] random: fast init done
    [   21.686201] of_get_named_gpiod_flags: parsed 'kick-gpio' property of node '/soc/dsp@10800000[0]' - status (0)
    [   21.686347] keystone-rproc 10800000.dsp: assigned reserved memory node dsp_common_cma_pool@81f800000
    [   21.702132] remoteproc remoteproc0: 10800000.dsp is available
    [   21.741431] davinci-wdt 22f0080.wdt: heartbeat 60 sec
    [   21.780680] keystone-usbphy 2620738.usb_phy: GPIO lookup for consumer reset
    [   21.780706] keystone-usbphy 2620738.usb_phy: using device tree for GPIO lookup
    [   21.780726] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/soc/usb_phy@2620738[0]'
    [   21.780746] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/soc/usb_phy@2620738[0]'
    [   21.780755] keystone-usbphy 2620738.usb_phy: using lookup tables for GPIO lookup
    [   21.780768] keystone-usbphy 2620738.usb_phy: lookup for GPIO reset failed
    [   21.780781] keystone-usbphy 2620738.usb_phy: GPIO lookup for consumer vbus-detect
    [   21.780800] keystone-usbphy 2620738.usb_phy: using device tree for GPIO lookup
    [   21.780812] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/soc/usb_phy@2620738[0]'
    [   21.780833] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/soc/usb_phy@2620738[0]'
    [   21.780855] keystone-usbphy 2620738.usb_phy: using lookup tables for GPIO lookup
    [   21.780871] keystone-usbphy 2620738.usb_phy: lookup for GPIO vbus-detect failed
    [   21.780910] 2620738.usb_phy supply vcc not found, using dummy regulator
    [   21.797198] keystone-dsp-mem a0000000.dspmem: registered misc device dspmem
    [   21.804564] keystone-usbphy 2620750.usb_phy: GPIO lookup for consumer reset
    [   21.804579] keystone-usbphy 2620750.usb_phy: using device tree for GPIO lookup
    [   21.804591] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/soc/usb_phy@2620750[0]'
    [   21.804599] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/soc/usb_phy@2620750[0]'
    [   21.804606] keystone-usbphy 2620750.usb_phy: using lookup tables for GPIO lookup
    [   21.804614] keystone-usbphy 2620750.usb_phy: lookup for GPIO reset failed
    [   21.804620] keystone-usbphy 2620750.usb_phy: GPIO lookup for consumer vbus-detect
    [   21.804624] keystone-usbphy 2620750.usb_phy: using device tree for GPIO lookup
    [   21.804633] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/soc/usb_phy@2620750[0]'
    [   21.804643] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/soc/usb_phy@2620750[0]'
    [   21.804649] keystone-usbphy 2620750.usb_phy: using lookup tables for GPIO lookup
    [   21.804657] keystone-usbphy 2620750.usb_phy: lookup for GPIO vbus-detect failed
    [   21.804693] 2620750.usb_phy supply vcc not found, using dummy regulator
    [   22.716007] platform xhci-hcd.0.auto: set dma_pfn_offset00780000
    [   22.747107] usbcore: registered new interface driver usbfs
    [   22.752923] usbcore: registered new interface driver hub
    [   22.759030] usbcore: registered new device driver usb
    [   22.767970] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [   22.773567] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [   22.783632] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x02010010
    [   22.792539] xhci-hcd xhci-hcd.0.auto: irq 34, io mem 0x02690000
    [   22.801299] hub 1-0:1.0: USB hub found
    [   22.805079] hub 1-0:1.0: 1 port detected
    [   22.809646] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [   22.815141] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [   22.822976] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   22.832449] hub 2-0:1.0: USB hub found
    [   22.836313] hub 2-0:1.0: 1 port detected
    [   24.352823] serdes PLL not locked
    [   24.871627] netcp-1.0 2620110.netcp: phy not found on slave 1
    [   24.881475] net eth1: module open failed
    [   25.187608] random: crng init done
    [   27.177168] serdes PLL not locked
    [   27.696699] netcp-1.0 2620110.netcp: phy not found on slave 0
    [   27.707509] net eth0: module open failed
                                  
    Hi Aniruddha,

    I have already tried whatever is suggested in e2e.ti.com/.../2070564, but no success.

    Regading the access of PHY reg, we do not have any tool to read PHY reg at linux. If there is any way please let me know.

    I am also attaching demsgs. Please see those if it can help.

    Thanks

    Prince

  • Hi,

    Any suggestion from your side.

    Thanks
    Prince
  • Hi Prince,

    The debug msgs do not really give any insight into communication with the PHY, other than the fact that the PHY is not detected. I would recommend checking with the keystone team on what changes need to be made to access the PHY via MDIO interface. The register access feature has already been implemented in the Linux driver.

    You mentioned that there are some changes on your board as compared to the K2E, would you be able to share the schematics. If you cannot share it over public forum, you can share it using the private message feature of E2E.

    Meanwhile I would recommend trying the following debug steps,
    1. Keep the system powered off and measure the resistance of the RBIAS resistor. This will be connected on pin 12 of DP83867IS. RBIAS should be 11kohm 1%.
    2. Power on the system and verify that the voltage on the supply pins is correct. For pin numbers and voltage limits, please refer to the datasheet.
    3. Measure the voltage across the RBIAS pin and ground. It should be ~1V.
    4. Using an oscilloscope, probe CLOCK OUT pin (pin 21) of the PHY. The PHY should send 25MHz output clock by default if powered up correctly.

    -Regards,
    Aniruddha
  • Hi Anurudh,

    Now i am able to detect the PHY and link is coming up with 100Mbps (Full). Even after that i am not able to ping outside the SOC. Self ping is successful.

    I just ported the SGMII configuration from U-boot PHY driver to Linux PHY driver code.  I am attaching the logs. Please check if something you can suggest from those.

    I have taken the value of PHY registers as well during "dp83867_config_init" function.

    [   20.799564] direct reg address: 0x0, value = 0x1140

    [   20.805347] direct reg address: 0x1, value = 0x7949

    [   20.811571] direct reg address: 0x2, value = 0x2000

    [   20.824201] direct reg address: 0x3, value = 0xa231

    [   20.824251] direct reg address: 0x4, value = 0x1e1

    [   20.824303] direct reg address: 0x5, value = 0x0

    [   20.824354] direct reg address: 0x6, value = 0x64

    [   20.824406] direct reg address: 0x7, value = 0x2001

    [   20.824457] direct reg address: 0x8, value = 0x0

    [   20.824509] direct reg address: 0x9, value = 0x300

    [   20.824561] direct reg address: 0xa, value = 0x0

    [   20.824613] direct reg address: 0xb, value = 0x0

    [   20.824664] direct reg address: 0xc, value = 0x0

    [   20.824717] direct reg address: 0xd, value = 0x401f

    [   20.824768] direct reg address: 0xe, value = 0x0

    [   20.824821] direct reg address: 0xf, value = 0x3000

    [   20.824873] direct reg address: 0x10, value = 0x5840

    [   20.824926] direct reg address: 0x11, value = 0x2

    [   20.824977] direct reg address: 0x12, value = 0x0

    [   20.825028] direct reg address: 0x13, value = 0x0

    [   20.825080] direct reg address: 0x14, value = 0x29c7

    [   20.825139] direct reg address: 0x15, value = 0x0

    [   20.825185] direct reg address: 0x16, value = 0x0

    [   20.825236] direct reg address: 0x17, value = 0x40

    [   20.825289] direct reg address: 0x18, value = 0x6150

    [   20.825340] direct reg address: 0x19, value = 0x4044

    [   20.825392] direct reg address: 0x1a, value = 0x2

    [   20.825598] Indirect reg address: 0x25, value = 0x400

    [   20.825806] Indirect reg address: 0x31, value = 0x10b0

    [   20.826013] Indirect reg address: 0x32, value = 0x0

    [   20.826220] Indirect reg address: 0x33, value = 0x0

    [   20.826429] Indirect reg address: 0x37, value = 0x3

    [   20.826638] Indirect reg address: 0x43, value = 0x7a0

    [   20.826843] Indirect reg address: 0x6e, value = 0x800

    [   20.827051] Indirect reg address: 0x6f, value = 0x130

    [   20.827258] Indirect reg address: 0x71, value = 0x0

    [   20.827467] Indirect reg address: 0x72, value = 0x0

    [   20.827673] Indirect reg address: 0x86, value = 0x17

    [   20.827880] Idirect reg address: 0xd3, value = 0x0

    [   20.828088] Idirect reg address: 0xfe, value = 0xe721

    [   20.828295] Idirect reg address: 0x134, value = 0x1000

    [   20.828503] Idirect reg address: 0x161, value = 0xc

    [   20.828710] Idirect reg address: 0x16f, value = 0x95

    [   20.828918] Idirect reg address: 0x170, value = 0xc0e

    [   20.829125] Idirect reg address: 0x172, value = 0x0

    [   20.829333] Idirect reg address: 0x180, value = 0x752

    [   20.829540] Idirect reg address: 0x197, value = 0x0

    [   20.829748] Idirect reg address: 0x0000, value = 0x1140

    Logs Attached:

    done
    Bytes transferred = 35031 (88d7 hex)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff4000, end 8ffff8d6 ... OK

    Starting kernel ...

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.28-geed43d1050 (prince@prince-VirtualBox) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) 7
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt:Machine model: Texas Instruments Keystone 2 Edison EVM
    [    0.000000] Switching physical address space to 0x800000000
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp_common_cma_pool@81f800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000820000000, size 256 MiB
    [    0.000000] OF: reserved mem: initialized node dsp_common_mpm_pool@820000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 64 MiB at 0x000000087bc00000
    [    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 13 pages/cpu @dd3a4000 s22144 r8192 d22912 u53248
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 883008
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rdinit=/sbin/init rw root=/dev/ram0 initrd=0x808080000,80M
    [    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: 3336508K/3538944K available (8192K kernel code, 242K rwdata, 2188K rodata, 2048K init, 288K bss, 128708K reser)
    [    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 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
    [    0.000000]       .data : 0xc1000000 - 0xc103cb10   ( 243 kB)
    [    0.000000]        .bss : 0xc103e000 - 0xc1086240   ( 289 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] GIC: Using split EOI/Deactivate mode
    [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 208.33MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x300c4cdf1c, max_idle_ns: 440795202901 ns
    [    0.000004] sched_clock: 56 bits at 208MHz, resolution 4ns, wraps every 4398046511101ns
    [    0.000012] Switching to timer-based delay loop, resolution 4ns
    [    0.000146] keystone timer clock @208333333 Hz
    [    0.000350] Console: colour dummy device 80x30
    [    0.000375] Calibrating delay loop (skipped), value calculated using timer frequency.. 416.66 BogoMIPS (lpj=2083333)
    [    0.000386] pid_max: default: 32768 minimum: 301
    [    0.000474] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000482] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001020] CPU: Testing write buffer coherency: ok
    [    0.001219] /cpus/cpu@0 missing clock-frequency property
    [    0.001244] /cpus/cpu@1 missing clock-frequency property
    [    0.001267] /cpus/cpu@2 missing clock-frequency property
    [    0.001290] /cpus/cpu@3 missing clock-frequency property
    [    0.001299] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001310] Setting up static identity map for 0x80200000 - 0x80200138
    [    0.080138] EFI services will not be available.
    [    0.174812] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.244903] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.314996] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.315104] Brought up 4 CPUs
    [    0.315122] SMP: Total of 4 processors activated (1666.66 BogoMIPS).
    [    0.315127] CPU: All CPU(s) started in HYP mode.
    [    0.315132] CPU: Virtualization extensions available.
    [    0.315597] devtmpfs: initialized
    [    0.323463] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.323671] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.323684] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    0.324964] pinctrl core: initialized pinctrl subsystem
    [    0.325567] NET: Registered protocol family 16
    [    0.326263] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.350356] cpuidle: using governor ladder
    [    0.380379] cpuidle: using governor menu
    [    0.380461] No ATAGs?
    [    0.380479] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.380487] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.386863] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.422662] vgaarb: loaded
    [    0.423890] pps_core: LinuxPPS API ver. 1 registered
    [    0.423898] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.423914] PTP clock support registered
    [    0.423943] EDAC MC: Ver: 3.0.0
    [    0.425125] clocksource: Switched to clocksource arch_sys_counter
    [    0.432648] NET: Registered protocol family 2
    [    0.433057] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.433088] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.433142] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.433178] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.433194] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.433299] NET: Registered protocol family 1
    [    0.433537] RPC: Registered named UNIX socket transport module.
    [    0.433544] RPC: Registered udp transport module.
    [    0.433550] RPC: Registered tcp transport module.
    [    0.433555] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.433705] Trying to unpack rootfs image as initramfs...
    [    4.176086] rootfs image is not initramfs (read error); looks like an initrd
    [    4.321426] Freeing initrd memory: 81920K (c8080000 - cd080000)
    [    4.321663] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    4.322346] platform alarmtimer: set dma_pfn_offset00780000
    [    4.323336] workingset: timestamp_bits=14 max_order=20 bucket_order=6
    [    4.329691] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    4.330310] NFS: Registering the id_resolver key type
    [    4.330330] Key type id_resolver registered
    [    4.330336] Key type id_legacy registered
    [    4.330370] ntfs: driver 2.1.32 [Flags: R/O].
    [    4.331411] bounce: pool size: 64 pages
    [    4.331535] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    4.331544] io scheduler noop registered
    [    4.331550] io scheduler deadline registered
    [    4.331657] io scheduler cfq registered (default)
    [    4.331835] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28
    [    4.332166] ti,keystone-serdes 2326000.phy: init fw ks2_pcie_serdes.bin: version 3.3.0.2c
    [    4.835616] ti,keystone-serdes 232a000.phy: init fw ks2_gbe_serdes.bin: version 3.3.0.2c
    [    4.836241] ti,keystone-serdes 2324000.phy: init fw ks2_gbe_serdes.bin: version 3.3.0.2c
    [    4.838742] OF: PCI: host bridge /soc/pcie@21020000 ranges:
    [    4.838760] OF: PCI:   MEM 0x60000000..0x6fffffff -> 0x60000000
    [    5.839868] keystone-pcie 21021000.pcie: phy link never came up
    [    6.840059] keystone-pcie 21021000.pcie: phy link never came up
    [    7.840247] keystone-pcie 21021000.pcie: phy link never came up
    [    8.840433] keystone-pcie 21021000.pcie: phy link never came up
    [    9.840618] keystone-pcie 21021000.pcie: phy link never came up
    [    9.840627] keystone-pcie 21021000.pcie: phy link never came up
    [    9.840818] keystone-pcie 21021000.pcie: PCI host bridge to bus 0000:00
    [    9.840829] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    9.840838] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
    [    9.841111] PCI: bus0: Fast back to back transfers disabled
    [    9.841217] PCI: bus1: Fast back to back transfers enabled
    [    9.841310] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    9.841506] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    9.842692] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [    9.842809] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek f0b20000, reg_status 0
    [    9.842952] keystone-navigator-qmss soc:qmss@2a40000: firmware file ks2_qmss_pdsp_acc48.bin downloaded for PDSP
    [    9.845767] keystone-navigator-dma soc:knav_dmas@0: DMA dma_gbe registered 149 logical channels, flows 128, tx chans: 21, rx chans1
    [    9.845884] keystone-navigator-dma soc:knav_dmas@0: DMA dma_xgbe registered 48 logical channels, flows 32, tx chans: 16, rx chans:6
    [    9.892942] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    9.893018] platform serial8250: set dma_pfn_offset00780000
    [    9.895546] console [ttyS0] disabled
    [    9.895592] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 26, base_baud = 13020833) is a TI DA8xx/66AK2x
    [   10.781540] console [ttyS0] enabled
    [   10.785725] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 27, base_baud = 13020833) is a TI DA8xx/66AK2x
    [   10.796238] [drm] Initialized
    [   10.808462] brd: module loaded
    [   10.816314] loop: module loaded
    [   10.847430] spi_davinci 21000400.spi: DMA is not supported (-19)
    [   10.854024] m25p80 spi0.0: n25q128a11 (16384 Kbytes)
    [   10.859014] 2 ofpart partitions found on MTD device spi0.0
    [   10.864492] Creating 2 MTD partitions on "spi0.0":
    [   10.869287] 0x000000000000-0x000000100000 : "u-boot-spl"
    [   10.875424] 0x000000100000-0x000001000000 : "misc"
    [   10.881006] spi_davinci 21000400.spi: Controller at 0xf0b58400
    [   10.887030] spi_davinci 21000600.spi: DMA is not supported (-19)
    [   10.893349] spi_davinci 21000600.spi: Controller at 0xf0b5a600
    [   10.899364] spi_davinci 21000800.spi: DMA is not supported (-19)
    [   10.906999] spi_davinci 21000800.spi: Controller at 0xf0b5c800
    [   10.913186] platform Fixed MDIO bus.0: set dma_pfn_offset00780000
    [   10.919428] libphy: Fixed MDIO Bus: probed
    [   10.975152] davinci_mdio 24200f00.mdio: davinci mdio revision 1.7
    [   10.981237] libphy: 24200f00.mdio: probed
    [   10.988328] davinci_mdio 24200f00.mdio: phy[0]: device 24200f00.mdio:00, driver TI DP83867
    [   11.505128] ti,keystone-serdes 232a000.phy: init_lane_rx wait sd valid FAILED -110
    [   12.015130] ti,keystone-serdes 232a000.phy: init_lane_rx wait sd valid FAILED -110
    [   13.045127] ti,keystone-serdes 232a000.phy: init_lane_rx wait sd valid FAILED -110
    [   14.075127] ti,keystone-serdes 2324000.phy: init_lane_rx wait sd valid FAILED -110
    [   15.105127] ti,keystone-serdes 2324000.phy: init_lane_rx wait sd valid FAILED -110
    [   16.135126] ti,keystone-serdes 2324000.phy: init_lane_rx wait sd valid FAILED -110
    [   17.165126] ti,keystone-serdes 2324000.phy: init_lane_rx wait sd valid FAILED -110
    [   17.686380] netcp-1.0 2620110.netcp: cpts: overflow check period 300 (jiffies)
    [   17.693597] netcp-1.0 2620110.netcp: CPTS: ref_clk_freq:625000000 calc_mult:3435973837 calc_shift:31 error:0 nsec/sec
    [   17.704218] netcp-1.0 2620110.netcp: initialized cpsw ale version 1.4
    [   17.710665] netcp-1.0 2620110.netcp: ALE Table size 8192
    [   17.717042] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
    [   17.724001] netcp-1.0 2620110.netcp: module(netcp-pa) not used for device
    [   17.730836] netcp-1.0 2620110.netcp: No ip-lut-ranges array in dt bindings for PA
    [   17.740099] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 0
    [   17.748381] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 1
    [   17.756683] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 2
    [   17.764940] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 3
    [   17.773211] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 4
    [   17.781527] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 5
    [   17.789797] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 6
    [   17.798075] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 7
    [   17.806345] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 8
    [   17.814600] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 9
    [   17.822870] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 10
    [   17.831224] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 11
    [   17.839578] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 12
    [   17.847932] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 13
    [   17.856286] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 14
    [   17.865191] netcp-1.0 2620110.netcp: rx_chan_name netrx0-pa for port 1
    [   17.871722] netcp-1.0 2620110.netcp: rx_chan_name netrx1-pa for port 2
    [   17.878509] mousedev: PS/2 mouse device common for all mice
    [   17.884297] i2c /dev entries driver
    [   17.889862] ledtrig-cpu: registered to indicate activity on CPUs
    [   17.897142] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
    [   17.903488] nand: Micron MT29F4G08ABBDAH4
    [   17.907506] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [   17.915363] Bad block table found at page 262080, version 0x01
    [   17.921698] Bad block table found at page 262016, version 0x01
    [   17.927852] 3 ofpart partitions found on MTD device 30000000.nand
    [   17.933936] Creating 3 MTD partitions on "30000000.nand":
    [   17.939343] 0x000000000000-0x000000100000 : "u-boot"
    [   17.945192] 0x000000100000-0x000000180000 : "params"
    [   17.950972] 0x000000180000-0x000020000000 : "ubifs"
    [   17.960051] davinci_nand 30000000.nand: controller rev. 2.5
    [   17.966341] NET: Registered protocol family 10
    [   17.971578] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [   17.977989] NET: Registered protocol family 17
    [   17.982554] Key type dns_resolver registered
    [   17.986929] Registering SWP/SWPB emulation handler
    [   17.994598] hctosys: unable to open rtc device (rtc0)
    [   18.021424] Freeing unused kernel memory: 2048K (c0e00000 - c1000000)
    [   18.036074] random: systemd: uninitialized urandom read (16 bytes read)
    [   18.043380] random: systemd: uninitialized urandom read (16 bytes read)
    [   18.053273] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTS)
    [   18.071581] systemd[1]: Detected architecture arm.

    [   18.076582] systemd[1]: Set hostname to <k2e-evm>.
    Welcome to A[   18.081576] random: systemd: uninitialized urandom read (16 bytes read)
    rago 2017.05[   18.089605] systemd[1]: Initializing machine ID from random generator.
    !

    [   18.107056] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
    [   18.117829] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
    [   18.128936] random: systemd: uninitialized urandom read (16 bytes read)
    [   18.135822] random: systemd: uninitialized urandom read (16 bytes read)
    [   18.142656] random: systemd: uninitialized urandom read (16 bytes read)
    [   18.149706] random: systemd: uninitialized urandom read (16 bytes read)
    [   18.158898] random: systemd: uninitialized urandom read (16 bytes read)
    [   18.214260] systemd[1]: Listening on Syslog Socket.
    [  OK     18.219559] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    m] Listening on [   18.225127] (NULL net_device): Link is Down
    Syslog Socket.
    [   18.225132] (NULL net_device): Link is Down
    [   18.225135] (NULL net_device): Link is Down
    [   18.225139] (NULL net_device): Link is Down
    [   18.225142] (NULL net_device): Link is Down
    [   18.225145] (NULL net_device): Link is Down
    [  OK     18.256557] systemd[1]: Reached target Remote File Systems.
    m] Started Forwa[   18.263677] systemd[1]: Listening on Journal Socket (/dev/log).
    rd Password Requests to Wall Dir[   18.272164] systemd[1]: Created slice User and Session Slice.
    ectory Watch.
    [[   18.279443] systemd[1]: Reached target Swap.
      OK  ] Reached target Remote File Systems.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Swap.
    [  OK  ] Created slice System Slice.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] L[   18.319973] cryptodev: loading out-of-tree module taints kernel.
    istening on udev Kernel Socket.
    [  OK  ] Reached target Slices.
    [  OK  ] Started Dispatch Password Requests to Console D[   18.338132] cryptodev: driver 1.8 loaded.
    irectory Watch.
    [  OK  ] Listening o[   18.346559] NET: Registered protocol family 43
    n Journal Socket.
             Starting Create list of required st... nodes for the current kernel...
             Mounting Temporary Directory...
             Mounting POSIX Message Queue File System...
             Starting Remount Root and Kernel File Systems...
             Starting Setup Virtual Console...
             Mounting Debug File System...
             Starting Journal Service...
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Reached target Paths.
             Starting [   18.406130] systemd-journald[116]: Received request to flush runtime journal from PID 1
    Load Kernel Modules...
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting Rebuild Hardware Database...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Started Load Kernel Modules.
             Starting Apply Kernel Variables...
             Mounting Configuration File System...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Apply Kernel Variables.
             Starting Flush Journal to Persistent Storage...
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Rebuild Dynamic Linker Cache...
             Starting Rebuild Journal Catalog...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Rebuild Dynamic Linker Cache.
    [  OK  ] Started Rebuild Journal Catalog.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Opkg first boot configure...
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Opkg first boot configure.
    [  OK  ] Started Network Time Synchronization.
    [  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  ] Started Rebuild Hardware Database.
             Starting Update is Completed...
             Starting udev Coldplug all Devices...
    [  OK    19.176706] random: fast init done
    [0m] Started Update is Completed.
    [   19.564196] keystone-rproc 10800000.dsp: assigned reserved memory node dsp_common_cma_pool@81f800000
    [   19.576252] remoteproc remoteproc0: 10800000.dsp is available
    [   19.582843] davinci-wdt 22f0080.wdt: heartbeat 60 sec
    [  OK  ] Started udev Coldplug all Devices.
    [  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 D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [ [   19.629067] 2620738.usb_phy supply vcc not found, using dummy regulator
     OK  ] Reached target Basic System.
             Starting tiipclad-daemon.service...
    [  OK  ] Started System Logging Service.
    [  OK  ] [   19.649907] 2620750.usb_phy supply vcc not found, using dummy regulator
    Started Kernel Logging Service.
             Starting telnetd.service...
             Starting Login Service...
             Starting Print notice about GPLv3 packages...
    [[   19.693104] keystone-dsp-mem a0000000.dspmem: registered misc device dspmem
      OK  ] Started D-Bus System Message Bus.
    grep: /var/lib/opkg/info/*.control: No such file or directory
             Starting Network Service...
    [  OK  ] Started tiipclad-daemon.service.
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started telnetd.service.
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started Network Service.
    [  OK  ] Reached target Network.
             Starting Network Name Resolution...
             Starting Permit User Sessions...
             Starting thttpd.service...
    [  OK  ] Started Login Service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Reached target Login Prompts.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [   20.329459] platform xhci-hcd.0.auto: set dma_pfn_offset00780000
    [   20.351233] usbcore: registered new interface driver usbfs
    [   20.357206] usbcore: registered new interface driver hub
    [   20.362836] usbcore: registered new device driver usb
    [   20.370568] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [   20.376094] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [   20.384111] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x02010010
    [   20.392846] xhci-hcd xhci-hcd.0.auto: irq 34, io mem 0x02690000
    [   20.400397] hub 1-0:1.0: USB hub found
    [   20.404168] hub 1-0:1.0: 1 port detected
    [   20.408523] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [   20.414011] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [   20.421756] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   20.431047] hub 2-0:1.0: USB hub found
    [   20.434817] hub 2-0:1.0: 1 port detected
    [   20.539875] netcp-1.0 2620110.netcp: phy not found on slave 1
    [   20.545641] net eth1: module open failed
    [  OK  ] Started thttpd.service.
    [  OK  ] Started Network Name Resolution.
             Star
    [   20.799564] direct reg address: 0x0, value = 0x1140
    [   20.805347] direct reg address: 0x1, value = 0x7949
    [   20.811571] direct reg address: 0x2, value = 0x2000
    [   20.824201] direct reg address: 0x3, value = 0xa231
    [   20.824251] direct reg address: 0x4, value = 0x1e1
    [   20.824303] direct reg address: 0x5, value = 0x0
    [   20.824354] direct reg address: 0x6, value = 0x64
    [   20.824406] direct reg address: 0x7, value = 0x2001
    [   20.824457] direct reg address: 0x8, value = 0x0
    [   20.824509] direct reg address: 0x9, value = 0x300
    [   20.824561] direct reg address: 0xa, value = 0x0
    [   20.824613] direct reg address: 0xb, value = 0x0
    [   20.824664] direct reg address: 0xc, value = 0x0
    [   20.824717] direct reg address: 0xd, value = 0x401f
    [   20.824768] direct reg address: 0xe, value = 0x0
    [   20.824821] direct reg address: 0xf, value = 0x3000
    [   20.824873] direct reg address: 0x10, value = 0x5840
    [   20.824926] direct reg address: 0x11, value = 0x2
    [   20.824977] direct reg address: 0x12, value = 0x0
    [   20.825028] direct reg address: 0x13, value = 0x0
    [   20.825080] direct reg address: 0x14, value = 0x29c7
    [   20.825139] direct reg address: 0x15, value = 0x0
    [   20.825185] direct reg address: 0x16, value = 0x0
    [   20.825236] direct reg address: 0x17, value = 0x40
    [   20.825289] direct reg address: 0x18, value = 0x6150
    [   20.825340] direct reg address: 0x19, value = 0x4044
    [   20.825392] direct reg address: 0x1a, value = 0x2
    [   20.825598] Indirect reg address: 0x25, value = 0x400
    [   20.825806] Indirect reg address: 0x31, value = 0x10b0
    [   20.826013] Indirect reg address: 0x32, value = 0x0
    [   20.826220] Indirect reg address: 0x33, value = 0x0
    [   20.826429] Indirect reg address: 0x37, value = 0x3
    [   20.826638] Indirect reg address: 0x43, value = 0x7a0
    [   20.826843] Indirect reg address: 0x6e, value = 0x800
    [   20.827051] Indirect reg address: 0x6f, value = 0x130
    [   20.827258] Indirect reg address: 0x71, value = 0x0
    [   20.827467] Indirect reg address: 0x72, value = 0x0
    [   20.827673] Indirect reg address: 0x86, value = 0x17
    [   20.827880] Idirect reg address: 0xd3, value = 0x0
    [   20.828088] Idirect reg address: 0xfe, value = 0xe721
    [   20.828295] Idirect reg address: 0x134, value = 0x1000
    [   20.828503] Idirect reg address: 0x161, value = 0xc
    [   20.828710] Idirect reg address: 0x16f, value = 0x95
    [   20.828918] Idirect reg address: 0x170, value = 0xc0e
    [   20.829125] Idirect reg address: 0x172, value = 0x0
    [   20.829333] Idirect reg address: 0x180, value = 0x752
    [   20.829540] Idirect reg address: 0x197, value = 0x0
    [   20.829748] Idirect reg address: 0x0000, value = 0x1140
    [   20.830371] direct reg address: 0x0, value = 0x1140
    [   20.830422] direct reg address: 0x1, value = 0x7949
    [   20.830474] direct reg address: 0x2, value = 0x2000
    [   20.830526] direct reg address: 0x3, value = 0xa231
    [   20.830578] direct reg address: 0x4, value = 0x1e1
    [   20.830630] direct reg address: 0x5, value = 0x0
    [   20.830682] direct reg address: 0x6, value = 0x64
    [   20.830733] direct reg address: 0x7, value = 0x2001
    [   20.830785] direct reg address: 0x8, value = 0x0
    [   20.830837] direct reg address: 0x9, value = 0x300
    [   20.830889] direct reg address: 0xa, value = 0x0
    [   20.830941] direct reg address: 0xb, value = 0x0
    [   20.830993] direct reg address: 0xc, value = 0x0
    [   20.831044] direct reg address: 0xd, value = 0x401f
    [   20.831096] direct reg address: 0xe, value = 0x0
    [   20.831148] direct reg address: 0xf, value = 0x3000
    [   20.831200] direct reg address: 0x10, value = 0x5840
    [   20.831252] direct reg address: 0x11, value = 0x2
    [   20.831304] direct reg address: 0x12, value = 0x0
    [   20.831356] direct reg address: 0x13, value = 0x0
    [   20.831408] direct reg address: 0x14, value = 0x29c7
    [   20.831460] direct reg address: 0x15, value = 0x0
    [   20.831511] direct reg address: 0x16, value = 0x0
    [   20.831563] direct reg address: 0x17, value = 0x40
    [   20.831615] direct reg address: 0x18, value = 0x6150
    [   20.831667] direct reg address: 0x19, value = 0x4044
    [   20.831719] direct reg address: 0x1a, value = 0x2
    [   20.831926] Indirect reg address: 0x25, value = 0x400
    [   20.832134] Indirect reg address: 0x31, value = 0x10b0
    [   20.832341] Indirect reg address: 0x32, value = 0x0
    [   20.832549] Indirect reg address: 0x33, value = 0x0
    [   20.832756] Indirect reg address: 0x37, value = 0x3
    [   20.832964] Indirect reg address: 0x43, value = 0x7a0
    [   20.833171] Indirect reg address: 0x6e, value = 0x800
    [   20.833378] Indirect reg address: 0x6f, value = 0x130
    [   20.833586] Indirect reg address: 0x71, value = 0x0
    [   20.833793] Indirect reg address: 0x72, value = 0x0
    [   20.834001] Indirect reg address: 0x86, value = 0x17
    [   20.834208] Idirect reg address: 0xd3, value = 0x0
    [   20.834416] Idirect reg address: 0xfe, value = 0xe721
    [   20.834623] Idirect reg address: 0x134, value = 0x1000
    [   20.834831] Idirect reg address: 0x161, value = 0xc
    [   20.835038] Idirect reg address: 0x16f, value = 0x95
    [   20.835246] Idirect reg address: 0x170, value = 0xc0e
    [   20.835453] Idirect reg address: 0x172, value = 0x0
    [   20.835661] Idirect reg address: 0x180, value = 0x752
    [   20.835868] Idirect reg address: 0x197, value = 0x0
    [   20.836076] Idirect reg address: 0x0000, value = 0x1140
    [   20.836187] netcp-1.0 2620110.netcp: phy found: id is: 0x24200f00.mdio:00
    [   20.836786] netcp-1.0 2620110.netcp eth0: Link is Down
    m] Started rng-t[   21.290218] net eth0: adding address ff:ff:ff:ff:ff:ff, type 4
    ools.service.
     [   21.296595] net eth0: adding address b4:99:4c:12:38:08, type 1
            Starting thermal-zone-init.service...
    [   21.309336] net eth0: adding address 33:33:00:00:00:01, type 3
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Reached target Multi-User System.
      [   21.331178] net eth0: adding address 01:00:5e:00:00:01, type 3
           Starting Update UTMP about System Runlevel Changes...
    [   21.348224] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  
    _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            

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

    Arago 2017.05 k2e-evm ttyS0

    k2e-evm login: [   22.885501] netcp-1.0 2620110.netcp eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   22.893592] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   22.900819] net eth0: adding address 33:33:ff:12:38:08, type 3
    [   24.807595] net eth0: adding address 33:33:00:01:00:03, type 3

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

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

    Arago 2017.05 k2e-evm ttyS0

    k2e-evm login:
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            

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

    Arago 2017.05 k2e-evm ttyS0

    k2e-evm login:
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            

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

    Arago 2017.05 k2e-evm ttyS0

    k2e-evm login:
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            

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

    Arago 2017.05 k2e-evm ttyS0

    k2e-evm login:
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            

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

    Arago 2017.05 k2e-evm ttyS0

    k2e-evm login:
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            

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

    Arago 2017.05 k2e-evm ttyS0

    k2e-evm login: root
    root@k2e-evm:~#
    root@k2e-evm:~#

    Thanks

    Prince

  • Hi Anurudh,

    Now i am able to detect the PHY and link is coming up with 100Mbps (Full). Even after that i am not able to ping outside the SOC. Self ping is successful.

    I just ported the SGMII configuration from U-boot PHY driver to Linux PHY driver code. I am attaching the logs. Please check if something you can suggest from those.

    I have taken the value of PHY registers as well during "dp83867_config_init" function.

    [ 20.799564] direct reg address: 0x0, value = 0x1140

    [ 20.805347] direct reg address: 0x1, value = 0x7949

    [ 20.811571] direct reg address: 0x2, value = 0x2000

    [ 20.824201] direct reg address: 0x3, value = 0xa231

    [ 20.824251] direct reg address: 0x4, value = 0x1e1

    [ 20.824303] direct reg address: 0x5, value = 0x0

    [ 20.824354] direct reg address: 0x6, value = 0x64

    [ 20.824406] direct reg address: 0x7, value = 0x2001

    [ 20.824457] direct reg address: 0x8, value = 0x0

    [ 20.824509] direct reg address: 0x9, value = 0x300

    [ 20.824561] direct reg address: 0xa, value = 0x0

    [ 20.824613] direct reg address: 0xb, value = 0x0

    [ 20.824664] direct reg address: 0xc, value = 0x0

    [ 20.824717] direct reg address: 0xd, value = 0x401f

    [ 20.824768] direct reg address: 0xe, value = 0x0

    [ 20.824821] direct reg address: 0xf, value = 0x3000

    [ 20.824873] direct reg address: 0x10, value = 0x5840

    [ 20.824926] direct reg address: 0x11, value = 0x2

    [ 20.824977] direct reg address: 0x12, value = 0x0

    [ 20.825028] direct reg address: 0x13, value = 0x0

    [ 20.825080] direct reg address: 0x14, value = 0x29c7

    [ 20.825139] direct reg address: 0x15, value = 0x0

    [ 20.825185] direct reg address: 0x16, value = 0x0

    [ 20.825236] direct reg address: 0x17, value = 0x40

    [ 20.825289] direct reg address: 0x18, value = 0x6150

    [ 20.825340] direct reg address: 0x19, value = 0x4044

    [ 20.825392] direct reg address: 0x1a, value = 0x2

    [ 20.825598] Indirect reg address: 0x25, value = 0x400

    [ 20.825806] Indirect reg address: 0x31, value = 0x10b0

    [ 20.826013] Indirect reg address: 0x32, value = 0x0

    [ 20.826220] Indirect reg address: 0x33, value = 0x0

    [ 20.826429] Indirect reg address: 0x37, value = 0x3

    [ 20.826638] Indirect reg address: 0x43, value = 0x7a0

    [ 20.826843] Indirect reg address: 0x6e, value = 0x800

    [ 20.827051] Indirect reg address: 0x6f, value = 0x130

    [ 20.827258] Indirect reg address: 0x71, value = 0x0

    [ 20.827467] Indirect reg address: 0x72, value = 0x0

    [ 20.827673] Indirect reg address: 0x86, value = 0x17

    [ 20.827880] Idirect reg address: 0xd3, value = 0x0

    [ 20.828088] Idirect reg address: 0xfe, value = 0xe721

    [ 20.828295] Idirect reg address: 0x134, value = 0x1000

    [ 20.828503] Idirect reg address: 0x161, value = 0xc

    [ 20.828710] Idirect reg address: 0x16f, value = 0x95

    [ 20.828918] Idirect reg address: 0x170, value = 0xc0e

    [ 20.829125] Idirect reg address: 0x172, value = 0x0

    [ 20.829333] Idirect reg address: 0x180, value = 0x752

    [ 20.829540] Idirect reg address: 0x197, value = 0x0

    [ 20.829748] Idirect reg address: 0x0000, value = 0x1140


    Logs Attached:

    done
    Bytes transferred = 35031 (88d7 hex)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8fff4000, end 8ffff8d6 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.9.28-geed43d1050 (prince@prince-VirtualBox) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) 7
    [ 0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    [ 0.000000] CPU: div instructions available: patching division code
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [ 0.000000] OF: fdt:Machine model: Texas Instruments Keystone 2 Edison EVM
    [ 0.000000] Switching physical address space to 0x800000000
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
    [ 0.000000] OF: reserved mem: initialized node dsp_common_cma_pool@81f800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created DMA memory pool at 0x0000000820000000, size 256 MiB
    [ 0.000000] OF: reserved mem: initialized node dsp_common_mpm_pool@820000000, compatible id shared-dma-pool
    [ 0.000000] cma: Reserved 64 MiB at 0x000000087bc00000
    [ 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 13 pages/cpu @dd3a4000 s22144 r8192 d22912 u53248
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 883008
    [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rdinit=/sbin/init rw root=/dev/ram0 initrd=0x808080000,80M
    [ 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: 3336508K/3538944K available (8192K kernel code, 242K rwdata, 2188K rodata, 2048K init, 288K bss, 128708K reser)
    [ 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 - 0xc0a00000 (10208 kB)
    [ 0.000000] .init : 0xc0e00000 - 0xc1000000 (2048 kB)
    [ 0.000000] .data : 0xc1000000 - 0xc103cb10 ( 243 kB)
    [ 0.000000] .bss : 0xc103e000 - 0xc1086240 ( 289 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] GIC: Using split EOI/Deactivate mode
    [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 208.33MHz (phys).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x300c4cdf1c, max_idle_ns: 440795202901 ns
    [ 0.000004] sched_clock: 56 bits at 208MHz, resolution 4ns, wraps every 4398046511101ns
    [ 0.000012] Switching to timer-based delay loop, resolution 4ns
    [ 0.000146] keystone timer clock @208333333 Hz
    [ 0.000350] Console: colour dummy device 80x30
    [ 0.000375] Calibrating delay loop (skipped), value calculated using timer frequency.. 416.66 BogoMIPS (lpj=2083333)
    [ 0.000386] pid_max: default: 32768 minimum: 301
    [ 0.000474] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.000482] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.001020] CPU: Testing write buffer coherency: ok
    [ 0.001219] /cpus/cpu@0 missing clock-frequency property
    [ 0.001244] /cpus/cpu@1 missing clock-frequency property
    [ 0.001267] /cpus/cpu@2 missing clock-frequency property
    [ 0.001290] /cpus/cpu@3 missing clock-frequency property
    [ 0.001299] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.001310] Setting up static identity map for 0x80200000 - 0x80200138
    [ 0.080138] EFI services will not be available.
    [ 0.174812] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.244903] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [ 0.314996] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [ 0.315104] Brought up 4 CPUs
    [ 0.315122] SMP: Total of 4 processors activated (1666.66 BogoMIPS).
    [ 0.315127] CPU: All CPU(s) started in HYP mode.
    [ 0.315132] CPU: Virtualization extensions available.
    [ 0.315597] devtmpfs: initialized
    [ 0.323463] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 0.323671] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.323684] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [ 0.324964] pinctrl core: initialized pinctrl subsystem
    [ 0.325567] NET: Registered protocol family 16
    [ 0.326263] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.350356] cpuidle: using governor ladder
    [ 0.380379] cpuidle: using governor menu
    [ 0.380461] No ATAGs?
    [ 0.380479] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.380487] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.386863] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [ 0.422662] vgaarb: loaded
    [ 0.423890] pps_core: LinuxPPS API ver. 1 registered
    [ 0.423898] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.423914] PTP clock support registered
    [ 0.423943] EDAC MC: Ver: 3.0.0
    [ 0.425125] clocksource: Switched to clocksource arch_sys_counter
    [ 0.432648] NET: Registered protocol family 2
    [ 0.433057] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.433088] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [ 0.433142] TCP: Hash tables configured (established 4096 bind 4096)
    [ 0.433178] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [ 0.433194] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [ 0.433299] NET: Registered protocol family 1
    [ 0.433537] RPC: Registered named UNIX socket transport module.
    [ 0.433544] RPC: Registered udp transport module.
    [ 0.433550] RPC: Registered tcp transport module.
    [ 0.433555] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.433705] Trying to unpack rootfs image as initramfs...
    [ 4.176086] rootfs image is not initramfs (read error); looks like an initrd
    [ 4.321426] Freeing initrd memory: 81920K (c8080000 - cd080000)
    [ 4.321663] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [ 4.322346] platform alarmtimer: set dma_pfn_offset00780000
    [ 4.323336] workingset: timestamp_bits=14 max_order=20 bucket_order=6
    [ 4.329691] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 4.330310] NFS: Registering the id_resolver key type
    [ 4.330330] Key type id_resolver registered
    [ 4.330336] Key type id_legacy registered
    [ 4.330370] ntfs: driver 2.1.32 [Flags: R/O].
    [ 4.331411] bounce: pool size: 64 pages
    [ 4.331535] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [ 4.331544] io scheduler noop registered
    [ 4.331550] io scheduler deadline registered
    [ 4.331657] io scheduler cfq registered (default)
    [ 4.331835] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28
    [ 4.332166] ti,keystone-serdes 2326000.phy: init fw ks2_pcie_serdes.bin: version 3.3.0.2c
    [ 4.835616] ti,keystone-serdes 232a000.phy: init fw ks2_gbe_serdes.bin: version 3.3.0.2c
    [ 4.836241] ti,keystone-serdes 2324000.phy: init fw ks2_gbe_serdes.bin: version 3.3.0.2c
    [ 4.838742] OF: PCI: host bridge /soc/pcie@21020000 ranges:
    [ 4.838760] OF: PCI: MEM 0x60000000..0x6fffffff -> 0x60000000
    [ 5.839868] keystone-pcie 21021000.pcie: phy link never came up
    [ 6.840059] keystone-pcie 21021000.pcie: phy link never came up
    [ 7.840247] keystone-pcie 21021000.pcie: phy link never came up
    [ 8.840433] keystone-pcie 21021000.pcie: phy link never came up
    [ 9.840618] keystone-pcie 21021000.pcie: phy link never came up
    [ 9.840627] keystone-pcie 21021000.pcie: phy link never came up
    [ 9.840818] keystone-pcie 21021000.pcie: PCI host bridge to bus 0000:00
    [ 9.840829] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 9.840838] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
    [ 9.841111] PCI: bus0: Fast back to back transfers disabled
    [ 9.841217] PCI: bus1: Fast back to back transfers enabled
    [ 9.841310] pci 0000:00:00.0: PCI bridge to [bus 01]
    [ 9.841506] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [ 9.842692] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [ 9.842809] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek f0b20000, reg_status 0
    [ 9.842952] keystone-navigator-qmss soc:qmss@2a40000: firmware file ks2_qmss_pdsp_acc48.bin downloaded for PDSP
    [ 9.845767] keystone-navigator-dma soc:knav_dmas@0: DMA dma_gbe registered 149 logical channels, flows 128, tx chans: 21, rx chans1
    [ 9.845884] keystone-navigator-dma soc:knav_dmas@0: DMA dma_xgbe registered 48 logical channels, flows 32, tx chans: 16, rx chans:6
    [ 9.892942] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 9.893018] platform serial8250: set dma_pfn_offset00780000
    [ 9.895546] console [ttyS0] disabled
    [ 9.895592] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 26, base_baud = 13020833) is a TI DA8xx/66AK2x
    [ 10.781540] console [ttyS0] enabled
    [ 10.785725] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 27, base_baud = 13020833) is a TI DA8xx/66AK2x
    [ 10.796238] [drm] Initialized
    [ 10.808462] brd: module loaded
    [ 10.816314] loop: module loaded
    [ 10.847430] spi_davinci 21000400.spi: DMA is not supported (-19)
    [ 10.854024] m25p80 spi0.0: n25q128a11 (16384 Kbytes)
    [ 10.859014] 2 ofpart partitions found on MTD device spi0.0
    [ 10.864492] Creating 2 MTD partitions on "spi0.0":
    [ 10.869287] 0x000000000000-0x000000100000 : "u-boot-spl"
    [ 10.875424] 0x000000100000-0x000001000000 : "misc"
    [ 10.881006] spi_davinci 21000400.spi: Controller at 0xf0b58400
    [ 10.887030] spi_davinci 21000600.spi: DMA is not supported (-19)
    [ 10.893349] spi_davinci 21000600.spi: Controller at 0xf0b5a600
    [ 10.899364] spi_davinci 21000800.spi: DMA is not supported (-19)
    [ 10.906999] spi_davinci 21000800.spi: Controller at 0xf0b5c800
    [ 10.913186] platform Fixed MDIO bus.0: set dma_pfn_offset00780000
    [ 10.919428] libphy: Fixed MDIO Bus: probed
    [ 10.975152] davinci_mdio 24200f00.mdio: davinci mdio revision 1.7
    [ 10.981237] libphy: 24200f00.mdio: probed
    [ 10.988328] davinci_mdio 24200f00.mdio: phy[0]: device 24200f00.mdio:00, driver TI DP83867
    [ 11.505128] ti,keystone-serdes 232a000.phy: init_lane_rx wait sd valid FAILED -110
    [ 12.015130] ti,keystone-serdes 232a000.phy: init_lane_rx wait sd valid FAILED -110
    [ 13.045127] ti,keystone-serdes 232a000.phy: init_lane_rx wait sd valid FAILED -110
    [ 14.075127] ti,keystone-serdes 2324000.phy: init_lane_rx wait sd valid FAILED -110
    [ 15.105127] ti,keystone-serdes 2324000.phy: init_lane_rx wait sd valid FAILED -110
    [ 16.135126] ti,keystone-serdes 2324000.phy: init_lane_rx wait sd valid FAILED -110
    [ 17.165126] ti,keystone-serdes 2324000.phy: init_lane_rx wait sd valid FAILED -110
    [ 17.686380] netcp-1.0 2620110.netcp: cpts: overflow check period 300 (jiffies)
    [ 17.693597] netcp-1.0 2620110.netcp: CPTS: ref_clk_freq:625000000 calc_mult:3435973837 calc_shift:31 error:0 nsec/sec
    [ 17.704218] netcp-1.0 2620110.netcp: initialized cpsw ale version 1.4
    [ 17.710665] netcp-1.0 2620110.netcp: ALE Table size 8192
    [ 17.717042] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
    [ 17.724001] netcp-1.0 2620110.netcp: module(netcp-pa) not used for device
    [ 17.730836] netcp-1.0 2620110.netcp: No ip-lut-ranges array in dt bindings for PA
    [ 17.740099] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 0
    [ 17.748381] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 1
    [ 17.756683] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 2
    [ 17.764940] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 3
    [ 17.773211] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 4
    [ 17.781527] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 5
    [ 17.789797] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 6
    [ 17.798075] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 7
    [ 17.806345] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 8
    [ 17.814600] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 9
    [ 17.822870] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 10
    [ 17.831224] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 11
    [ 17.839578] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 12
    [ 17.847932] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 13
    [ 17.856286] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 14
    [ 17.865191] netcp-1.0 2620110.netcp: rx_chan_name netrx0-pa for port 1
    [ 17.871722] netcp-1.0 2620110.netcp: rx_chan_name netrx1-pa for port 2
    [ 17.878509] mousedev: PS/2 mouse device common for all mice
    [ 17.884297] i2c /dev entries driver
    [ 17.889862] ledtrig-cpu: registered to indicate activity on CPUs
    [ 17.897142] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
    [ 17.903488] nand: Micron MT29F4G08ABBDAH4
    [ 17.907506] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [ 17.915363] Bad block table found at page 262080, version 0x01
    [ 17.921698] Bad block table found at page 262016, version 0x01
    [ 17.927852] 3 ofpart partitions found on MTD device 30000000.nand
    [ 17.933936] Creating 3 MTD partitions on "30000000.nand":
    [ 17.939343] 0x000000000000-0x000000100000 : "u-boot"
    [ 17.945192] 0x000000100000-0x000000180000 : "params"
    [ 17.950972] 0x000000180000-0x000020000000 : "ubifs"
    [ 17.960051] davinci_nand 30000000.nand: controller rev. 2.5
    [ 17.966341] NET: Registered protocol family 10
    [ 17.971578] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 17.977989] NET: Registered protocol family 17
    [ 17.982554] Key type dns_resolver registered
    [ 17.986929] Registering SWP/SWPB emulation handler
    [ 17.994598] hctosys: unable to open rtc device (rtc0)
    [ 18.021424] Freeing unused kernel memory: 2048K (c0e00000 - c1000000)
    [ 18.036074] random: systemd: uninitialized urandom read (16 bytes read)
    [ 18.043380] random: systemd: uninitialized urandom read (16 bytes read)
    [ 18.053273] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTS)
    [ 18.071581] systemd[1]: Detected architecture arm.

    [ 18.076582] systemd[1]: Set hostname to <k2e-evm>.
    Welcome to A[ 18.081576] random: systemd: uninitialized urandom read (16 bytes read)
    rago 2017.05[ 18.089605] systemd[1]: Initializing machine ID from random generator.
    !

    [ 18.107056] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
    [ 18.117829] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
    [ 18.128936] random: systemd: uninitialized urandom read (16 bytes read)
    [ 18.135822] random: systemd: uninitialized urandom read (16 bytes read)
    [ 18.142656] random: systemd: uninitialized urandom read (16 bytes read)
    [ 18.149706] random: systemd: uninitialized urandom read (16 bytes read)
    [ 18.158898] random: systemd: uninitialized urandom read (16 bytes read)
    [ 18.214260] systemd[1]: Listening on Syslog Socket.
    [ OK 18.219559] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    m] Listening on [ 18.225127] (NULL net_device): Link is Down
    Syslog Socket.
    [ 18.225132] (NULL net_device): Link is Down
    [ 18.225135] (NULL net_device): Link is Down
    [ 18.225139] (NULL net_device): Link is Down
    [ 18.225142] (NULL net_device): Link is Down
    [ 18.225145] (NULL net_device): Link is Down
    [ OK 18.256557] systemd[1]: Reached target Remote File Systems.
    m] Started Forwa[ 18.263677] systemd[1]: Listening on Journal Socket (/dev/log).
    rd Password Requests to Wall Dir[ 18.272164] systemd[1]: Created slice User and Session Slice.
    ectory Watch.
    [[ 18.279443] systemd[1]: Reached target Swap.
    OK ] Reached target Remote File Systems.
    [ OK ] Listening on Journal Socket (/dev/log).
    [ OK ] Created slice User and Session Slice.
    [ OK ] Reached target Swap.
    [ OK ] Created slice System Slice.
    [ OK ] Created slice system-getty.slice.
    [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
    [ OK ] L[ 18.319973] cryptodev: loading out-of-tree module taints kernel.
    istening on udev Kernel Socket.
    [ OK ] Reached target Slices.
    [ OK ] Started Dispatch Password Requests to Console D[ 18.338132] cryptodev: driver 1.8 loaded.
    irectory Watch.
    [ OK ] Listening o[ 18.346559] NET: Registered protocol family 43
    n Journal Socket.
    Starting Create list of required st... nodes for the current kernel...
    Mounting Temporary Directory...
    Mounting POSIX Message Queue File System...
    Starting Remount Root and Kernel File Systems...
    Starting Setup Virtual Console...
    Mounting Debug File System...
    Starting Journal Service...
    [ OK ] Listening on udev Control Socket.
    [ OK ] Listening on Network Service Netlink Socket.
    [ OK ] Created slice system-serial\x2dgetty.slice.
    [ OK ] Reached target Paths.
    Starting [ 18.406130] systemd-journald[116]: Received request to flush runtime journal from PID 1
    Load Kernel Modules...
    [ OK ] Mounted POSIX Message Queue File System.
    [ OK ] Mounted Debug File System.
    [ OK ] Mounted Temporary Directory.
    [ OK ] Started Create list of required sta...ce nodes for the current kernel.
    [ OK ] Started Setup Virtual Console.
    [ OK ] Started Remount Root and Kernel File Systems.
    Starting Rebuild Hardware Database...
    Starting Create Static Device Nodes in /dev...
    [ OK ] Started Create Static Device Nodes in /dev.
    [ OK ] Reached target Local File Systems (Pre).
    Mounting /media/ram...
    Mounting /var/volatile...
    Starting udev Kernel Device Manager...
    [ OK ] Started Load Kernel Modules.
    Starting Apply Kernel Variables...
    Mounting Configuration File System...
    [ OK ] Mounted /media/ram.
    [ OK ] Mounted Configuration File System.
    [ OK ] Mounted /var/volatile.
    [ OK ] Started Journal Service.
    [ OK ] Started Apply Kernel Variables.
    Starting Flush Journal to Persistent Storage...
    Starting Load/Save Random Seed...
    [ OK ] Reached target Local File Systems.
    Starting Rebuild Dynamic Linker Cache...
    Starting Rebuild Journal Catalog...
    [ OK ] Started udev Kernel Device Manager.
    [ OK ] Started Flush Journal to Persistent Storage.
    [ OK ] Started Load/Save Random Seed.
    [ OK ] Started Rebuild Dynamic Linker Cache.
    [ OK ] Started Rebuild Journal Catalog.
    Starting Create Volatile Files and Directories...
    [ OK ] Started Create Volatile Files and Directories.
    Starting Opkg first boot configure...
    Starting Network Time Synchronization...
    Starting Update UTMP about System Boot/Shutdown...
    [ OK ] Started Update UTMP about System Boot/Shutdown.
    [ OK ] Started Opkg first boot configure.
    [ OK ] Started Network Time Synchronization.
    [ 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 ] Started Rebuild Hardware Database.
    Starting Update is Completed...
    Starting udev Coldplug all Devices...
    [ OK 19.176706] random: fast init done
    [0m] Started Update is Completed.
    [ 19.564196] keystone-rproc 10800000.dsp: assigned reserved memory node dsp_common_cma_pool@81f800000
    [ 19.576252] remoteproc remoteproc0: 10800000.dsp is available
    [ 19.582843] davinci-wdt 22f0080.wdt: heartbeat 60 sec
    [ OK ] Started udev Coldplug all Devices.
    [ 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 D-Bus System Message Bus Socket.
    [ OK ] Reached target Sockets.
    [ [ 19.629067] 2620738.usb_phy supply vcc not found, using dummy regulator
    OK ] Reached target Basic System.
    Starting tiipclad-daemon.service...
    [ OK ] Started System Logging Service.
    [ OK ] [ 19.649907] 2620750.usb_phy supply vcc not found, using dummy regulator
    Started Kernel Logging Service.
    Starting telnetd.service...
    Starting Login Service...
    Starting Print notice about GPLv3 packages...
    [[ 19.693104] keystone-dsp-mem a0000000.dspmem: registered misc device dspmem
    OK ] Started D-Bus System Message Bus.
    grep: /var/lib/opkg/info/*.control: No such file or directory
    Starting Network Service...
    [ OK ] Started tiipclad-daemon.service.
    [ OK ] Started Print notice about GPLv3 packages.
    [ OK ] Started telnetd.service.
    [ OK ] Found device /dev/ttyS0.
    [ OK ] Started Network Service.
    [ OK ] Reached target Network.
    Starting Network Name Resolution...
    Starting Permit User Sessions...
    Starting thttpd.service...
    [ OK ] Started Login Service.
    [ OK ] Started Permit User Sessions.
    [ OK ] Started Getty on tty1.
    [ OK ] Started Serial Getty on ttyS0.
    [ OK ] Reached target Login Prompts.
    [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [ 20.329459] platform xhci-hcd.0.auto: set dma_pfn_offset00780000
    [ 20.351233] usbcore: registered new interface driver usbfs
    [ 20.357206] usbcore: registered new interface driver hub
    [ 20.362836] usbcore: registered new device driver usb
    [ 20.370568] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [ 20.376094] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [ 20.384111] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x02010010
    [ 20.392846] xhci-hcd xhci-hcd.0.auto: irq 34, io mem 0x02690000
    [ 20.400397] hub 1-0:1.0: USB hub found
    [ 20.404168] hub 1-0:1.0: 1 port detected
    [ 20.408523] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [ 20.414011] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [ 20.421756] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [ 20.431047] hub 2-0:1.0: USB hub found
    [ 20.434817] hub 2-0:1.0: 1 port detected
    [ 20.539875] netcp-1.0 2620110.netcp: phy not found on slave 1
    [ 20.545641] net eth1: module open failed
    [ OK ] Started thttpd.service.
    [ OK ] Started Network Name Resolution.
    Star
    [ 20.799564] direct reg address: 0x0, value = 0x1140
    [ 20.805347] direct reg address: 0x1, value = 0x7949
    [ 20.811571] direct reg address: 0x2, value = 0x2000
    [ 20.824201] direct reg address: 0x3, value = 0xa231
    [ 20.824251] direct reg address: 0x4, value = 0x1e1
    [ 20.824303] direct reg address: 0x5, value = 0x0
    [ 20.824354] direct reg address: 0x6, value = 0x64
    [ 20.824406] direct reg address: 0x7, value = 0x2001
    [ 20.824457] direct reg address: 0x8, value = 0x0
    [ 20.824509] direct reg address: 0x9, value = 0x300
    [ 20.824561] direct reg address: 0xa, value = 0x0
    [ 20.824613] direct reg address: 0xb, value = 0x0
    [ 20.824664] direct reg address: 0xc, value = 0x0
    [ 20.824717] direct reg address: 0xd, value = 0x401f
    [ 20.824768] direct reg address: 0xe, value = 0x0
    [ 20.824821] direct reg address: 0xf, value = 0x3000
    [ 20.824873] direct reg address: 0x10, value = 0x5840
    [ 20.824926] direct reg address: 0x11, value = 0x2
    [ 20.824977] direct reg address: 0x12, value = 0x0
    [ 20.825028] direct reg address: 0x13, value = 0x0
    [ 20.825080] direct reg address: 0x14, value = 0x29c7
    [ 20.825139] direct reg address: 0x15, value = 0x0
    [ 20.825185] direct reg address: 0x16, value = 0x0
    [ 20.825236] direct reg address: 0x17, value = 0x40
    [ 20.825289] direct reg address: 0x18, value = 0x6150
    [ 20.825340] direct reg address: 0x19, value = 0x4044
    [ 20.825392] direct reg address: 0x1a, value = 0x2
    [ 20.825598] Indirect reg address: 0x25, value = 0x400
    [ 20.825806] Indirect reg address: 0x31, value = 0x10b0
    [ 20.826013] Indirect reg address: 0x32, value = 0x0
    [ 20.826220] Indirect reg address: 0x33, value = 0x0
    [ 20.826429] Indirect reg address: 0x37, value = 0x3
    [ 20.826638] Indirect reg address: 0x43, value = 0x7a0
    [ 20.826843] Indirect reg address: 0x6e, value = 0x800
    [ 20.827051] Indirect reg address: 0x6f, value = 0x130
    [ 20.827258] Indirect reg address: 0x71, value = 0x0
    [ 20.827467] Indirect reg address: 0x72, value = 0x0
    [ 20.827673] Indirect reg address: 0x86, value = 0x17
    [ 20.827880] Idirect reg address: 0xd3, value = 0x0
    [ 20.828088] Idirect reg address: 0xfe, value = 0xe721
    [ 20.828295] Idirect reg address: 0x134, value = 0x1000
    [ 20.828503] Idirect reg address: 0x161, value = 0xc
    [ 20.828710] Idirect reg address: 0x16f, value = 0x95
    [ 20.828918] Idirect reg address: 0x170, value = 0xc0e
    [ 20.829125] Idirect reg address: 0x172, value = 0x0
    [ 20.829333] Idirect reg address: 0x180, value = 0x752
    [ 20.829540] Idirect reg address: 0x197, value = 0x0
    [ 20.829748] Idirect reg address: 0x0000, value = 0x1140
    [ 20.830371] direct reg address: 0x0, value = 0x1140
    [ 20.830422] direct reg address: 0x1, value = 0x7949
    [ 20.830474] direct reg address: 0x2, value = 0x2000
    [ 20.830526] direct reg address: 0x3, value = 0xa231
    [ 20.830578] direct reg address: 0x4, value = 0x1e1
    [ 20.830630] direct reg address: 0x5, value = 0x0
    [ 20.830682] direct reg address: 0x6, value = 0x64
    [ 20.830733] direct reg address: 0x7, value = 0x2001
    [ 20.830785] direct reg address: 0x8, value = 0x0
    [ 20.830837] direct reg address: 0x9, value = 0x300
    [ 20.830889] direct reg address: 0xa, value = 0x0
    [ 20.830941] direct reg address: 0xb, value = 0x0
    [ 20.830993] direct reg address: 0xc, value = 0x0
    [ 20.831044] direct reg address: 0xd, value = 0x401f
    [ 20.831096] direct reg address: 0xe, value = 0x0
    [ 20.831148] direct reg address: 0xf, value = 0x3000
    [ 20.831200] direct reg address: 0x10, value = 0x5840
    [ 20.831252] direct reg address: 0x11, value = 0x2
    [ 20.831304] direct reg address: 0x12, value = 0x0
    [ 20.831356] direct reg address: 0x13, value = 0x0
    [ 20.831408] direct reg address: 0x14, value = 0x29c7
    [ 20.831460] direct reg address: 0x15, value = 0x0
    [ 20.831511] direct reg address: 0x16, value = 0x0
    [ 20.831563] direct reg address: 0x17, value = 0x40
    [ 20.831615] direct reg address: 0x18, value = 0x6150
    [ 20.831667] direct reg address: 0x19, value = 0x4044
    [ 20.831719] direct reg address: 0x1a, value = 0x2
    [ 20.831926] Indirect reg address: 0x25, value = 0x400
    [ 20.832134] Indirect reg address: 0x31, value = 0x10b0
    [ 20.832341] Indirect reg address: 0x32, value = 0x0
    [ 20.832549] Indirect reg address: 0x33, value = 0x0
    [ 20.832756] Indirect reg address: 0x37, value = 0x3
    [ 20.832964] Indirect reg address: 0x43, value = 0x7a0
    [ 20.833171] Indirect reg address: 0x6e, value = 0x800
    [ 20.833378] Indirect reg address: 0x6f, value = 0x130
    [ 20.833586] Indirect reg address: 0x71, value = 0x0
    [ 20.833793] Indirect reg address: 0x72, value = 0x0
    [ 20.834001] Indirect reg address: 0x86, value = 0x17
    [ 20.834208] Idirect reg address: 0xd3, value = 0x0
    [ 20.834416] Idirect reg address: 0xfe, value = 0xe721
    [ 20.834623] Idirect reg address: 0x134, value = 0x1000
    [ 20.834831] Idirect reg address: 0x161, value = 0xc
    [ 20.835038] Idirect reg address: 0x16f, value = 0x95
    [ 20.835246] Idirect reg address: 0x170, value = 0xc0e
    [ 20.835453] Idirect reg address: 0x172, value = 0x0
    [ 20.835661] Idirect reg address: 0x180, value = 0x752
    [ 20.835868] Idirect reg address: 0x197, value = 0x0
    [ 20.836076] Idirect reg address: 0x0000, value = 0x1140
    [ 20.836187] netcp-1.0 2620110.netcp: phy found: id is: 0x24200f00.mdio:00
    [ 20.836786] netcp-1.0 2620110.netcp eth0: Link is Down
    m] Started rng-t[ 21.290218] net eth0: adding address ff:ff:ff:ff:ff:ff, type 4
    ools.service.
    [ 21.296595] net eth0: adding address b4:99:4c:12:38:08, type 1
    Starting thermal-zone-init.service...
    [ 21.309336] net eth0: adding address 33:33:00:00:00:01, type 3
    [ OK ] Started thermal-zone-init.service.
    [ OK ] Reached target Multi-User System.
    [ 21.331178] net eth0: adding address 01:00:5e:00:00:01, type 3
    Starting Update UTMP about System Runlevel Changes...
    [ 21.348224] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ OK
    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

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

    Arago 2017.05 k2e-evm ttyS0

    k2e-evm login: [ 22.885501] netcp-1.0 2620110.netcp eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 22.893592] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 22.900819] net eth0: adding address 33:33:ff:12:38:08, type 3
    [ 24.807595] net eth0: adding address 33:33:00:01:00:03, type 3

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

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

    Arago 2017.05 k2e-evm ttyS0

    k2e-evm login:

    k2e-evm login: root
    root@k2e-evm:~#
    root@k2e-evm:~#

    Thanks

    Prince
  • Hi Aniruddha,

    Few more point here i would like to add here.

    1. K2E EVM SGMII reference clock is 156.25MHz but in our coustomized board the SGMII reference clock is 125MHz. I was able to do setting related to this at u-boot. I am not sure about the Linux part. So tried to keep my serdes setting which was done at u-boot and bypasses the step to serdes fw config part after checking the compatiblity of firmware in fuction "kserdes_load_init_fw". i just commneted "kserdes_do_config" call blindly.
    After this LINK was coming up succsessfully as before this is even the link was not up.

    2.ks2_gbe_serdes.bin where i can find this file, is this somehow related to clock configuration of serdes.

    3. I am getting below logs during the bootup.
    [ 11.505128] ti,keystone-serdes 232a000.phy: init_lane_rx wait sd valid FAILED -110
    [ 12.015130] ti,keystone-serdes 232a000.phy: init_lane_rx wait sd valid FAILED -110
    [ 13.045127] ti,keystone-serdes 232a000.phy: init_lane_rx wait sd valid FAILED -110
    Are these somehow related to PING thing.
    www.ti.com/.../sprac37.pdf -- In this document i found something related to PING failure in section 3.5

    Please suggest something how i can proceed further. Please include the other teams as well if needed.

    Thanks
    Prince
  • Hi Prince,

    Aniruddha is OOO right now. I will read through this and send some suggestions.

    Sorry for the delay.
  • Sure Ross,
    I will be waiting for your reply, till then i will try find out something from my side as well.

    Thanks
    Prince
  • Hi Ross,

    One thing to update.
    I suspected one thing in above mail
    <<<<<<<<<<<<<<<<<<<<<<<<<<
    . I am getting below logs during the bootup.
    [ 11.505128] ti,keystone-serdes 232a000.phy: init_lane_rx wait sd valid FAILED -110
    [ 12.015130] ti,keystone-serdes 232a000.phy: init_lane_rx wait sd valid FAILED -110
    [ 13.045127] ti,keystone-serdes 232a000.phy: init_lane_rx wait sd valid FAILED -110
    Are these somehow related to PING thing.
    www.ti.com/.../sprac37.pdf -- In this document i found something related to PING failure in section 3.5
    >>>>>>>>>>>>>>>>>>>>>>>>>>>
    I could see that it is sussceesfull for lane 0 as serdes 0. We do have PHY conncted at sgmii0 only. All other lanes does not have anything.

    I have a query, which part of code is responsible to transmit and recieve the packets. I want to check if i am even able to trasnmit the packets during ping or not.

    Thanks
    Prince
  • HI Ross/Aniruddha,

    I debuged more and caputre the packet sent at both SOC and tthe one to which i pinged. I can see the we are able to transmit the packet successfuly and other side is reciveing those packets and replying back but SOC is not recieving those packets.

    What can be the reason for this. Am i missing some configuration.

    Thanks
    Prince
  • Hi,

    Please let me know what can be the issue that i am not receiving any packets even though able to transmit those successfully.

    Please me out in this.

    Thanks
    Prince
  • Hi,

    Today i found a link which has the same issue as of mine
    e2e.ti.com/.../533161

    I tried this too but no success.

    Below the summary of issue:

    Our custom board with a 66AK2E05 Soc, we have only one MAC to PHY Interface on slave port 0 (eth0). In our coustomized board the SGMII reference clock is 125MHz.

    By boot up the eth0 Interface is recognized but is not working (Host unreachable by ping). I could see that we are not able to receive any packet.

    Thanks
    Prince
  • Hi,

    I suggest you reach out to K2E e2e forum as it's looks more of driver configuration issue on linux.

    Regards,

    Geet

    24.352823] serdes PLL not locked
    [ 24.871627] netcp-1.0 2620110.netcp: phy not found on slave 1
    [ 24.881475] net eth1: module open failed
    [ 25.187608] random: crng init done
    [ 27.177168] serdes PLL not locked
    [ 27.696699] netcp-1.0 2620110.netcp: phy not found on slave 0
    [ 27.707509] net eth0: module open failed

  • Hi Geet,

    I think saw the orlder logs.

    In prersent scnerio i am able to see the eth0 interface. The only thing is i am not able to ping as receive path is not through.

    root@k2e-evm:~# ifconfig
    eth0 Link encap:Ethernet HWaddr B4:99:4C:12:38:08
    inet6 addr: fe80::b699:4cff:fe12:3808%763860/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:4688 (4.5 KiB)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1%763860/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:163 errors:0 dropped:0 overruns:0 frame:0
    TX packets:163 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1
    RX bytes:12463 (12.1 KiB) TX bytes:12463 (12.1 KiB)

    root@k2e-evm:~# ifconfig eth0 192.168.0.10 netmask 255.255.255.0
    [ 124.187857] net eth0: adding address 01:00:5e:00:00:fc, type 3
    root@k2e-evm:~#
    root@k2e-evm:~#
    root@k2e-evm:~#
    root@k2e-evm:~# route add default gw 192.168.0.1
    root@k2e-evm:~#
    root@k2e-evm:~#
    root@k2e-evm:~#
    root@k2e-evm:~#
    root@k2e-evm:~#
    root@k2e-evm:~#
    root@k2e-evm:~# route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    root@k2e-evm:~# route add default gw 192.168.0.1 eth0
    route: SIOCADDRT: File exists
    root@k2e-evm:~# route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    root@k2e-evm:~# ping 192.168.0.10
    PING 192.168.0.10 (192.168.0.10): 56 data bytes
    64 bytes from 192.168.0.10: seq=0 ttl=64 time=0.094 ms
    64 bytes from 192.168.0.10: seq=1 ttl=64 time=0.052 ms
    64 bytes from 192.168.0.10: seq=2 ttl=64 time=0.052 ms
    ^C
    --- 192.168.0.10 ping statistics ---
    3 packets transmitted, 3 packets received, 0% packet loss
    round-trip min/avg/max = 0.052/0.066/0.094 ms
    root@k2e-evm:~# ping 192.168.0.1
    PING 192.168.0.1 (192.168.0.1): 56 data bytes
    ^C
    --- 192.168.0.1 ping statistics ---
    5 packets transmitted, 0 packets received, 100% packet loss


    Thanks
    Prince