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/AM5728: RGMII configuration issue

Part Number: AM5728
Other Parts Discussed in Thread: PMP, DRA752, TPD12S015, TMP102

Tool/software: Linux

Hi,

I am trying to set up a 1G ethernet link using a VSC8572 PHY. I am able to attach the vitesse driver to the phy however, when I probe the RGMII lines I see that the RGMII tx clock settles to only 25 Mhz instead of 125. The Rx clock however, is set at the right frequency, 125 Mhz. The link never comes up, however, I am able to read and write registers to the PHY.

Please let me know what I may be missing. Here is my dts file and boot log:

/*
* Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.

*/

#include "am57xx-evm-reva3-base.dts"
#include "am57xx-evm-common-cam-mt9t111.dtsi"

&dra7_pmx_core {

cpsw_pins_default: cpsw_pins_default {
pinctrl-single,pins = <
/* Slave at addr 0x0 */
DRA7XX_CORE_IOPAD(0x3650, PIN_OUTPUT | MUX_MODE0) /* rgmii0_tclk */
DRA7XX_CORE_IOPAD(0x3654, PIN_OUTPUT | MUX_MODE0) /* rgmii0_tctl */
DRA7XX_CORE_IOPAD(0x3658, PIN_OUTPUT | MUX_MODE0) /* rgmii0_td3 */
DRA7XX_CORE_IOPAD(0x365c, PIN_OUTPUT | MUX_MODE0) /* rgmii0_td2 */
DRA7XX_CORE_IOPAD(0x3660, PIN_OUTPUT | MUX_MODE0) /* rgmii0_td1 */
DRA7XX_CORE_IOPAD(0x3664, PIN_OUTPUT | MUX_MODE0) /* rgmii0_td0 */
DRA7XX_CORE_IOPAD(0x3668, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rclk */
DRA7XX_CORE_IOPAD(0x366c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rctl */
DRA7XX_CORE_IOPAD(0x3670, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rd3 */
DRA7XX_CORE_IOPAD(0x3674, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rd2 */
DRA7XX_CORE_IOPAD(0x3678, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rd1 */
DRA7XX_CORE_IOPAD(0x367c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rd0 */

/* Slave at addr 0x1 */
DRA7XX_CORE_IOPAD(0x3598, PIN_OUTPUT | MUX_MODE3) /* vin2a_d12.rgmii1_tclk */
DRA7XX_CORE_IOPAD(0x359c, PIN_OUTPUT | MUX_MODE3) /* vin2a_d13.rgmii1_tctl */
DRA7XX_CORE_IOPAD(0x35a0, PIN_OUTPUT | MUX_MODE3) /* vin2a_d14.rgmii1_td3 */
DRA7XX_CORE_IOPAD(0x35a4, PIN_OUTPUT | MUX_MODE3) /* vin2a_d15.rgmii1_td2 */
DRA7XX_CORE_IOPAD(0x35a8, PIN_OUTPUT | MUX_MODE3) /* vin2a_d16.rgmii1_td1 */
DRA7XX_CORE_IOPAD(0x35ac, PIN_OUTPUT | MUX_MODE3) /* vin2a_d17.rgmii1_td0 */
DRA7XX_CORE_IOPAD(0x35b0, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d18.rgmii1_rclk */
DRA7XX_CORE_IOPAD(0x35b4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d19.rgmii1_rctl */
DRA7XX_CORE_IOPAD(0x35b8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d20.rgmii1_rd3 */
DRA7XX_CORE_IOPAD(0x35bc, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d21.rgmii1_rd2 */
DRA7XX_CORE_IOPAD(0x35c0, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d22.rgmii1_rd1 */
DRA7XX_CORE_IOPAD(0x35c4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d23.rgmii1_rd0 */
>;
};

cpsw_pins_sleep: cpsw_pins_sleep {
pinctrl-single,pins = <
/* Slave 1 */
DRA7XX_CORE_IOPAD(0x3650, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3654, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3658, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x365c, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3660, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3664, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3668, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x366c, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3670, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3674, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3678, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x367c, PIN_INPUT | MUX_MODE15)

/* Slave 2 */
DRA7XX_CORE_IOPAD(0x3598, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x359c, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35a0, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35a4, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35a8, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35ac, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35b0, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35b4, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35b8, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35bc, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35c0, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35c4, PIN_INPUT | MUX_MODE15)
>;
};

};


&davinci_mdio {
phy0: ethernet-phy@1 {
reg = <0>;
};

phy1: ethernet-phy@2 {
reg = <1>;
};
};

&mac {
status = "okay";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&cpsw_pins_default>;
pinctrl-1 = <&cpsw_pins_sleep>;
dual_emac;

};

&cpsw_emac0 {
phy-handle = <&phy0>;
phy_id = <&davinci_mdio>, <0>;
phy-mode = "rgmii";
dual_emac_res_vlan = <1>;
};

&cpsw_emac1 {
phy-handle = <&phy1>;
phy_id = <&davinci_mdio>, <1>;
phy-mode = "rgmii";
dual_emac_res_vlan = <2>;
};

#include "am57xx-evm-cmem.dtsi"

boot log:

U-Boot SPL 2017.01-00319-gfe893f7-dirty (Feb 26 2018 - 11:08:20)

DRA752-GP ES2.0

Trying to boot from MMC1

reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **

Using default environment

reading u-boot.img

reading u-boot.img

reading u-boot.img

reading u-boot.img

U-Boot 2017.01-00319-gfe893f7-dirty (Feb 26 2018 - 11:08:20 -0800)

CPU  : DRA752-GP ES2.0

Model: TI AM572x EVM Rev A3

Board: UNKNOWN(BeagleBoard X15?) REV UNKNOWN

DRAM:  2 GiB

MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **

Using default environment

SCSI:  SATA link 0 timeout.

AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode

flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst 

scanning bus for devices...

Found 0 device(s).

Net:   <ethaddr> not set. Validating first E-fuse MAC

Could not get PHY for cpsw: addr 1

cpsw

Hit any key to stop autoboot:  0 

switch to partitions #0, OK

mmc0 is current device

SD/MMC found on device 0

reading boot.scr

** Unable to read file boot.scr **

reading uEnv.txt

604 bytes read in 4 ms (147.5 KiB/s)

Loaded env from uEnv.txt

Importing environment from mmc0 ...

switch to partitions #0, OK

mmc0 is current device

SD/MMC found on device 0

3724400 bytes read in 238 ms (14.9 MiB/s)

104544 bytes read in 58 ms (1.7 MiB/s)

## Flattened Device Tree blob at 88000000

   Booting using the fdt blob at 0x88000000

   Loading Device Tree to 8ffe3000, end 8ffff85f ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0

[    0.000000] Linux version 4.9.28-geed43d1050 (eeshan@linuxbox) (gcc versi

on 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP PREEMPT Mon Feb 26 10:55

:01 PST 2018

[    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c538

7d

[    0.000000] CPU: div instructions available: patching division code

[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cac

he

[    0.000000] OF: fdt:Machine model: TI AM572x EVM Rev A3

[    0.000000] efi: Getting EFI parameters from FDT:

[    0.000000] efi: UEFI not found.

[    0.000000] Reserved memory: created CMA memory pool at 0x000000009580000

0, size 56 MiB

[    0.000000] OF: reserved mem: initialized node ipu2_cma@95800000, compati

ble id shared-dma-pool

[    0.000000] Reserved memory: created CMA memory pool at 0x000000009900000

0, size 64 MiB

[    0.000000] OF: reserved mem: initialized node dsp1_cma@99000000, compati

ble id shared-dma-pool

[    0.000000] Reserved memory: created CMA memory pool at 0x000000009d00000

0, size 32 MiB

[    0.000000] OF: reserved mem: initialized node ipu1_cma@9d000000, compati

ble id shared-dma-pool

[    0.000000] Reserved memory: created CMA memory pool at 0x000000009f00000

0, size 8 MiB

[    0.000000] OF: reserved mem: initialized node dsp2_cma@9f000000, compati

ble id shared-dma-pool

[    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000

[    0.000000] Memory policy: Data cache writealloc

[    0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier

[    0.000000] DRA752 ES2.0

[    0.000000] percpu: Embedded 13 pages/cpu @eed33000 s22092 r8192 d22964 u

53248

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total

 pages: 472640

[    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=f17

bacfb-02 rw rootfstype=ext4 rootwait

[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 byt

es)

[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes

)

[    0.000000] Memory: 1675676K/1897472K available (8192K kernel code, 315K 

rwdata, 2416K rodata, 2048K init, 296K bss, 33380K reserved, 188416K cma-res

erved, 1283072K highmem)

[    0.000000] Virtual kernel memory layout:

[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)

[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)

[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)

[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)

[    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)

[    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)

[    0.000000]       .data : 0xc1000000 - 0xc104efa0   ( 316 kB)

[    0.000000]        .bss : 0xc1050000 - 0xc109a170   ( 297 kB)

[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1

[    0.000000] Preemptible hierarchical RCU implementation.

[    0.000000]  Build-time adjustment of leaf fanout to 32.

[    0.000000] NR_IRQS:16 nr_irqs:16 16

[    0.000000] OMAP clockevent source: timer1 at 32786 Hz

[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 6.14MHz 

(phys).

[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cyc

les: 0x16af5adb9, max_idle_ns: 440795202250 ns

[    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4

398046511023ns

[    0.000016] Switching to timer-based delay loop, resolution 162ns

[    0.000325] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffff

ffff, max_idle_ns: 58327039986419 ns

[    0.000333] OMAP clocksource: 32k_counter at 32768 Hz

[    0.000758] Console: colour dummy device 80x30

[    0.000774] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'

[    0.000781] This ensures that you still see kernel messages. Please

[    0.000787] update your kernel commandline.

[    0.000804] Calibrating delay loop (skipped), value calculated using time

r frequency.. 12.29 BogoMIPS (lpj=61475)

[    0.000819] pid_max: default: 32768 minimum: 301

[    0.000920] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.000931] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 byt

es)

[    0.001548] CPU: Testing write buffer coherency: ok

[    0.001758] /cpus/cpu@0 missing clock-frequency property

[    0.001775] /cpus/cpu@1 missing clock-frequency property

[    0.001786] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

[    0.001804] Setting up static identity map for 0x80200000 - 0x80200060

[    0.080066] EFI services will not be available.

[    0.170317] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

[    0.170404] Brought up 2 CPUs

[    0.170418] SMP: Total of 2 processors activated (24.59 BogoMIPS).

[    0.170425] CPU: All CPU(s) started in HYP mode.

[    0.170430] CPU: Virtualization extensions available.

[    0.170937] devtmpfs: initialized

[    0.198406] VFP support v0.3: implementor 41 architecture 4 part 30 varia

nt f rev 0

[    0.198639] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff

, max_idle_ns: 19112604462750000 ns

[    0.198655] futex hash table entries: 512 (order: 3, 32768 bytes)

[    0.202026] pinctrl core: initialized pinctrl subsystem

[    0.202831] NET: Registered protocol family 16

[    0.203690] DMA: preallocated 256 KiB pool for atomic coherent allocation

s

[    0.204667] omap_hwmod: l3_main_2 using broken dt data from ocp

[    0.315975] omap_hwmod: dcan1: _wait_target_disable failed

[    0.440375] cpuidle: using governor ladder

[    0.470400] cpuidle: using governor menu

[    0.480123] OMAP GPIO hardware version 0.1

[    0.494642] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux

@1400 !

[    0.521849] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpo

int registers.

[    0.521860] hw-breakpoint: maximum watchpoint size is 8 bytes.

[    0.522219] omap4_sram_init:Unable to allocate sram needed to handle erra

ta I688

[    0.522229] omap4_sram_init:Unable to get sram pool needed to handle erra

ta I688

[    0.522763] OMAP DMA hardware revision 0.0

[    0.571702] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driv

er (LinkedList1/2/3 supported)

[    0.573019] edma 43300000.edma: memcpy is disabled

[    0.577793] edma 43300000.edma: TI EDMA DMA engine driver

[    0.582206] omap-iommu 40d01000.mmu: 40d01000.mmu registered

[    0.582375] omap-iommu 40d02000.mmu: 40d02000.mmu registered

[    0.582527] omap-iommu 58882000.mmu: 58882000.mmu registered

[    0.582674] omap-iommu 55082000.mmu: 55082000.mmu registered

[    0.582938] omap-iommu 41501000.mmu: 41501000.mmu registered

[    0.583117] omap-iommu 41502000.mmu: 41502000.mmu registered

[    0.585762] palmas 0-0058: Irq flag is 0x00000008

[    0.613353] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0

[    0.617153] vtt_fixed: supplied by smps3

[    0.651275] random: fast init done

[    0.692463] vdd_3v3: supplied by regen1

[    0.692681] aic_dvdd_fixed: supplied by vdd_3v3

[    0.695880] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz

[    0.696385] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz

[    0.696443] omap_i2c 4807c000.i2c: could not find pctldev for node /ocp/l

4@4a000000/scm@2000/pinmux@1400/i2c5_pins_default, deferring probe

[    0.696622] media: Linux media interface: v0.10

[    0.696667] Linux video capture interface: v2.00

[    0.696705] pps_core: LinuxPPS API ver. 1 registered

[    0.696713] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo G

iometti <giometti@linux.it>

[    0.696733] PTP clock support registered

[    0.696764] EDAC MC: Ver: 3.0.0

[    0.697462] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400

[    0.697759] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400

[    0.698047] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400

[    0.698334] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400

[    0.698674] Advanced Linux Sound Architecture Driver Initialized.

[    0.699492] clocksource: Switched to clocksource arch_sys_counter

[    0.710179] NET: Registered protocol family 2

[    0.710689] TCP established hash table entries: 8192 (order: 3, 32768 byt

es)

[    0.710753] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

[    0.710878] TCP: Hash tables configured (established 8192 bind 8192)

[    0.710923] UDP hash table entries: 512 (order: 2, 16384 bytes)

[    0.710954] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

[    0.711082] NET: Registered protocol family 1

[    0.711449] RPC: Registered named UNIX socket transport module.

[    0.711458] RPC: Registered udp transport module.

[    0.711465] RPC: Registered tcp transport module.

[    0.711473] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    0.712393] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 co

unters available

[    0.715283] workingset: timestamp_bits=14 max_order=19 bucket_order=5

[    0.722795] squashfs: version 4.0 (2009/01/31) Phillip Lougher

[    0.723501] NFS: Registering the id_resolver key type

[    0.723523] Key type id_resolver registered

[    0.723531] Key type id_legacy registered

[    0.723574] ntfs: driver 2.1.32 [Flags: R/O].

[    0.724730] bounce: pool size: 64 pages

[    0.724875] Block layer SCSI generic (bsg) driver version 0.4 loaded (maj

or 246)

[    0.724886] io scheduler noop registered

[    0.724894] io scheduler deadline registered

[    0.725020] io scheduler cfq registered (default)

[    0.729422] pinctrl-single 4a003400.pinmux: please update dts to use #pin

ctrl-cells = <1>

[    0.729974] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 

1128

[    0.733414] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:

[    0.733428] OF: PCI:   No bus range found for /ocp/axi@0/pcie@51000000, u

sing [bus 00-ff]

[    0.733460] OF: PCI:    IO 0x20003000..0x20012fff -> 0x00000000

[    0.733481] OF: PCI:   MEM 0x20013000..0x2fffffff -> 0x20013000

[    1.734868] dra7-pcie 51000000.pcie: phy link never came up

[    1.735036] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00

[    1.735050] pci_bus 0000:00: root bus resource [bus 00-ff]

[    1.735061] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]

[    1.735071] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff

]

[    1.735453] PCI: bus0: Fast back to back transfers disabled

[    1.735572] PCI: bus1: Fast back to back transfers enabled

[    1.735692] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]

[    1.735708] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]

[    1.735722] pci 0000:00:00.0: PCI bridge to [bus 01]

[    1.735940] pcieport 0000:00:00.0: Signaling PME through PCIe PME interru

pt

[    1.736974] backlight supply power not found, using dummy regulator

[    1.798797] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled

[    1.802137] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_ba

ud = 3000000) is a 8250

[    2.777490] console [ttyS2] enabled

[    2.781848] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 302, base_ba

ud = 3000000) is a 8250

[    2.792604] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20

[    2.799361] [drm] Initialized

[    2.804275] OMAP DSS rev 6.1

[    2.807612] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_com

ponent_ops)

[    2.816072] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_c

omponent_ops)

[    2.825197] tpd12s015: probe of encoder failed with error -2

[    2.831468] connector-hdmi connector: failed to find video source

[    2.837924] display supply vcc not found, using dummy regulator

[    2.995163] brd: module loaded

[    3.073540] loop: module loaded

[    3.105176] 

[    3.105176] 

[    3.105176]  ********************** gpio 113-115 setting 000 ************

**

[    3.105176] 

[    3.549739] libphy: Fixed MDIO Bus: probed

[    3.609529] davinci_mdio 48485000.mdio: davinci mdio revision 1.6

[    3.615654] libphy: 48485000.mdio: probed

[    3.623852] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, 

driver Vitesse VSC8572

[    3.632634] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, 

driver Vitesse VSC8572

[    3.641857] cpsw 48484000.ethernet: Detected MACID = d4:36:39:fb:9b:70

[    3.648505] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiff

ies)

[    3.656837] cpsw 48484000.ethernet: cpsw: Detected MACID = d4:36:39:fb:9b

:71

[    3.665239] mousedev: PS/2 mouse device common for all mice

[    3.671166] i2c /dev entries driver

[    3.677374] gpio-fan gpio_fan: GPIO fan initialized

[    3.682834] tmp102 0-0048: error reading config register

[    3.688267] tmp102: probe of 0-0048 failed with error -121

[    3.698956] omap_hsmmc 4809c000.mmc: Got CD GPIO

[    3.769842] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode

[    3.776223] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode

[    3.920427] ledtrig-cpu: registered to indicate activity on CPUs

[    3.931093] NET: Registered protocol family 10

[    3.946210] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver

[    3.952567] NET: Registered protocol family 17

[    3.957161] Key type dns_resolver registered

[    3.961554] omap_voltage_late_init: Voltage driver support not added

[    3.967995] Power Management for TI OMAP4+ devices.

[    3.973101] Registering SWP/SWPB emulation handler

[    3.986921] dmm 4e000000.dmm: initialized all PAT entries

[    4.006375] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz

[    4.012176] connector-hdmi connector: failed to find video source

[    4.019415] input: gpio_keys as /devices/platform/gpio_keys/input/input0

[    4.026436] connector-hdmi connector: failed to find video source

[    4.032643] hctosys: unable to open rtc device (rtc0)

[    4.038318] aic_dvdd_fixed: disabling

[    4.042021] vmmcwl_fixed: disabling

[    4.045680] ldousb: disabling

[    4.048903] ALSA device list:

[    4.049529] mmc1: new DDR MMC card at address 0001

[    4.056707]   No soundcards found.

[    4.059930] mmcblk1: mmc1:0001 Q2J55L 7.09 GiB 

[    4.070607] mmcblk1boot0: mmc1:0001 Q2J55L partition 1 16.0 MiB

[    4.076710] mmcblk1boot1: mmc1:0001 Q2J55L partition 2 16.0 MiB

[    4.084488] Waiting for root device PARTUUID=f17bacfb-02...

[    4.084612] connector-hdmi connector: failed to find video source

[    4.088610] mmc0: host does not support reading read-only switch, assumin

g write-enable

[    4.120777] mmc0: new ultra high speed SDR104 SDHC card at address 59b4

[    4.127680] mmcblk0: mmc0:59b4 NCard 15.0 GiB 

[    4.133153]  mmcblk0: p1 p2

[    4.136491] connector-hdmi connector: failed to find video source

[    4.294286] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mod

e. Opts: (null)

[    4.302442] VFS: Mounted root (ext4 filesystem) on device 179:50.

[    4.311518] devtmpfs: mounted

[    4.315368] Freeing unused kernel memory: 2048K (c0e00000 - c1000000)

[    4.544038] systemd[1]: System time before build time, advancing clock.

[    4.590622] systemd[1]: Configuration file /etc/systemd/system.conf is ma

rked executable. Please remove executable permission bits. Proceeding anyway

.

[    4.610807] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT 

-SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTL

S +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)

[    4.629154] systemd[1]: Detected architecture arm.

Welcome to Arago 2017.05!

[    4.660136] systemd[1]: Set hostname to <am57xx-evm>.

[    4.765247] systemd[1]: Configuration file /lib/systemd/system/local-fs.t

arget is marked executable. Please remove executable permission bits. Procee

ding anyway.

[    4.783860] systemd[1]: Configuration file /lib/systemd/system/var-lib-ma

chines.mount is marked executable. Please remove executable permission bits.

 Proceeding anyway.

[    4.800288] systemd[1]: Configuration file /lib/systemd/system/umount.tar

get is marked executable. Please remove executable permission bits. Proceedi

ng anyway.

[    4.815232] systemd[1]: Configuration file /lib/systemd/system/system.sli

ce is marked executable. Please remove executable permission bits. Proceedin

g anyway.

[    4.830305] systemd[1]: Configuration file /lib/systemd/system/-.slice is

 marked executable. Please remove executable permission bits. Proceeding any

way.

[    4.844784] systemd[1]: Configuration file /lib/systemd/system/slices.tar

get is marked executable. Please remove executable permission bits. Proceedi

ng anyway.

[    4.859813] systemd[1]: Configuration file /lib/systemd/system/systemd-jo

urnald.socket is marked executable. Please remove executable permission bits

. Proceeding anyway.

[ SKIP ] Ordering cycle found, skipping alignment.service

[  OK  ] Listening on Journal Socket.

[  OK  ] Created slice System Slice.

[  OK  ] Listening on Syslog Socket.

[  OK  ] Reached target Remote File Systems.

         Mounting POSIX Message Queue File System...

         Starting Load Kernel Modules...

[    5.225284] cmemk: loading out-of-tree module taints kernel.

[    5.231711] CMEMK module: reference Linux version 4.9.28

[    5.237674] allocated heap buffer 0x40500000 of size 0x100000

[[    5.244208] cmemk initialized

[    5.252207] cryptodev: driver 1.8 loaded. Socket.

         Mounting Debug File System...

[  OK  ] Created slice system-getty.slice.

[  OK  ] Listening on udev Control Socket.

[  OK  ] Listening on Journal Socket (/dev/log).

[  OK  ] Created slice User and Session Slice.

[  OK  ] Reached target Slices.

         Starting Journal Service...

[    5.480179] systemd-journald[118]: Configuration file /etc/systemd/journa

ld.conf is marked executable. Please remove executable permission bits. Proc

eeding anyway.

[  OK  ] Started Dispatch Password Requests to Console Directory Watch.

         Starting Remount Root and Kernel File Systems...

[    5.546019] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

         Starting Create list of required st... nodes for the current kernel

...

[  OK  ] Created slice system-serial\x2dgetty.slice.

[  OK  ] Started Forward Password Requests to Wall Directory Watch.

[  OK  ] Reached target Paths.

[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.

[  OK  ] Reached target Swap.

         Mounting Temporary Directory...

[  OK  ] Listening on udev Kernel Socket.

         Starting Setup Virtual Console...

[  OK  ] Mounted POSIX Message Queue File System.

[  OK  ] Mounted Debug File System.

[  OK  ] Mounted Temporary Directory.

[  OK  ] Started Journal Service.

[  OK  ] Started Load Kernel Modules.

[  OK  ] Started Remount Root and Kernel File Systems.

[  OK  ] Started Create list of required sta...ce nodes for the current kern

el.

[  OK  ] Started Setup Virtual Console.

         Starting Create Static Device Nodes in /dev...

         Starting udev Coldplug all Devices...

         Mounting Configuration File System...

         Starting Apply Kernel Variables...

         Starting Flush Journal to Persistent Storage...

[  OK  ] Mounted Configuration File System.

[  OK  ] Started Create Static Device Nodes in /dev.

[  OK  ] Started Apply Kernel Variables.

[    6.331023] systemd-journald[118]: Received request to flush runtime jour

nal from PID 1

[  OK  ] Started Flush Journal to Persistent Storage.

[  OK  ] Reached target Local File Systems (Pre).

         Mounting /var/volatile...

         Mounting /media/ram...

         Starting udev Kernel Device Manager...

[  OK  ] Mounted /var/volatile.

[  OK  ] Mounted /media/ram.

[  OK  ] Started udev Kernel Device Manager.

         Starting Load/Save Random Seed...

[  OK  ] Reached target Local File Systems.

         Starting Create Volatile Files and Directories...

[  OK  ] Started Load/Save Random Seed.

[  OK  ] Started Create Volatile Files and Directories.

         Starting Update UTMP about System Boot/Shutdown...

         Starting Network Time Synchronization...

[    6.810571] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_c

ma@9d000000

[    6.818443] remoteproc remoteproc0: 58820000.ipu is available

[    6.866723] connector-hdmi connector: failed to find video source

[    6.873116] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_c

ma@95800000

[  OK  ] Started udev Coldplug all Devices.

[    6.873207] remoteproc remoteproc1: 55020000.ipu is available

[    6.873350] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_c

ma@99000000

[    6.873422] remoteproc remoteproc2: 40800000.dsp is available

[    6.873891] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_c

ma@9f000000

[    6.874059] remoteproc remoteproc3: 41000000.dsp is available

[    6.954190] connector-hdmi connector: failed to find video source

[  OK  ] Started Update UTMP about System Boot/Shutdown.

[    7.078105] remoteproc remoteproc0: powering up 58820000.ipu

[    7.086613] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, s

ize 4872056

[    7.102239] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1

[  OK  ] Found device /dev/ttyS2.

[    7.143470] remoteproc remoteproc1: powering up 55020000.ipu

[    7.150866] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, s

ize 3743164

[    7.173028] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1

[    7.188234] virtio_rpmsg_bus virtio0: rpmsg host is online

[    7.189588] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sampl

e addr 0x32

[    7.189720] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sampl

e addr 0x33

[    7.189895] virtio_rpmsg_bus virtio0: creating channel rpmsg-omx addr 0x3

c

[    7.190004] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x6

5

[    7.248117] mt9t11x 4-003c: input-clock-freq: 32000000

[    7.248123] mt9t11x 4-003c: pixel-clock-freq: 96000000

[    7.248211] mt9t11x: probe of 4-003c failed with error -16

[    7.290938] remoteproc remoteproc0: registered virtio0 (type 7)

[    7.312295] remoteproc remoteproc0: remote processor 58820000.ipu is now 

up

[  OK  ] Started Network Time Synchronization.

[    7.346963] connector-hdmi connector: failed to find video source

[    7.364283] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core:

 registered 48070000.i2c:tps659 as rtc1

[  OK  ] Reached target System Time Synchronized.

         Starting Synchronize System and HW clocks...

[    7.428429] connector-hdmi connector: failed to find video source

[    7.495070] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as r

tc2

[    7.519679] pixcir_ts 4-005c: pixcir_set_power_mode: can't read reg 0x33 

: -121

[    7.527919] pixcir_ts 4-005c: Failed to set IDLE mode

[    7.549127] pixcir_ts: probe of 4-005c failed with error -121

[    7.555440] connector-hdmi connector: failed to find video source

[    7.564677] virtio_rpmsg_bus virtio1: rpmsg host is online

[    7.567738] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x6

5

[    7.568629] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x6

6

[    7.570928] rtc-ds1307: probe of 2-006f failed with error -5

[    7.602870] remoteproc remoteproc1: registered virtio1 (type 7)

[    7.615462] remoteproc remoteproc1: remote processor 55020000.ipu is now 

up

[    7.624867] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin

[    7.634604] connector-hdmi connector: failed to find video source

[    7.656947] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2

[    7.664092] omap-des 480a5000.des: will run requests pump with realtime p

riority

[    7.679022] connector-hdmi connector: failed to find video source

[FAILED] Failed to start Synchronize System and HW clocks.

[    7.709761] vpe 489d0000.vpe: Device registered as /dev/video0

See 'systemctl status sync-clocks.service' for details.

[  OK  ] Reached target System Initialization.

[    7.765770] SCSI subsystem initialized

[  OK  ] Started Daily Cleanup of Temporary Directories.

[  OK  ] Reached target Timers.

[  OK  ] Listening on D-Bus System Message Bus Socket.

[    7.839914] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 se

c

[    7.847674] connector-hdmi connector: failed to find video source

[    7.869413] connector-hdmi connector: failed to find video source

[  OK  ] Listening on dropbear.socket.

[    7.921815] [drm] Initialized pvr 1.14.3699939 20110701 on minor 0

[    7.928377] connector-hdmi connector: failed to find video source

[  OK  ] Listening on RPCbind Server Activation Socket[    7.941068] omap-ae

s 4b500000.aes: OMAP AES hw accel rev: 3.3

.

[    7.953784] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <->

 58040000.encoder mapping ok

[    7.965360] omap-aes 4b500000.aes: will run requests pump with realtime p

riority

[    7.966236] connector-hdmi connector: failed to find video source

[    7.984984] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3

[    7.991241] connector-hdmi connector: failed to find video source

[    7.997683] omap-aes 4b700000.aes: will run requests pump with realtime p

riority

[[    8.015289] connector-hdmi connector: failed to find video source

[    8.022310] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3

  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.

[  OK  ] Reached target Sockets.

[    8.062144] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled

[    8.062881] connector-hdmi connector: failed to find video source

[[    8.107780] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0

x1 impl platform mode

  OK  ] Reached target Basic System.

[[    8.151484] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo on

ly pmp pio slum part ccc apst 

  OK  ] Started Kernel Logging Service.

[    8.178393] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp 

mapping ok

[    8.179832] connector-hdmi connector: failed to find video source

[    8.192070] remoteproc remoteproc2: powering up 40800000.dsp

[    8.192079] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, s

ize 21891524

[    8.198704] omap_hwmod: mmu0_dsp1: _wait_target_disable failed

[    8.198737] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0

[    8.198781] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0

[    8.200637] remoteproc remoteproc3: powering up 41000000.dsp

[    8.200646] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, s

ize 21891524

[    8.207244] omap_hwmod: mmu0_dsp2: _wait_target_disable failed

[    8.207273] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0

[    8.207312] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0

[    8.268472] virtio_rpmsg_bus virtio2: rpmsg host is online

[    8.268492] remoteproc remoteproc3: registered virtio2 (type 7)

[    8.268496] remoteproc remoteproc3: remote processor 41000000.dsp is now 

up

[    8.269087] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0

x3d

[    8.283638] connector-hdmi connector: failed to find video source

[    8.284154] virtio_rpmsg_bus virtio3: rpmsg host is online

[    8.284171] remoteproc remoteproc2: registered virtio3 (type 7)

[    8.284174] remoteproc remoteproc2: remote processor 40800000.dsp is now 

up

[    8.284233] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0

x3d

[    8.286782] connector-hdmi connector: failed to find video source

[    8.810640] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some d

ata may be corrupt. Please run fsck.

         Starting uim-sysfs.service...

         Starting Telephony service...

[    9.061072] scsi host0: ahci

[    9.066313] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port

 0x100 irq 348

[  OK  ] Started System Logging Service.

[    9.099300] connector-hdmi connector: failed to find video source

[    9.110887] vip 48990000.vip: loading firmware vpdma-1b8.bin

[    9.149538] vip 48990000.vip: VPDMA firmware loaded

         Starting Print notice about GPLv3 packages...

[  OK  ] Started D-Bus System Message Bus.

[    9.196992] connector-hdmi connector: failed to find video source

[  OK  ] Started Telephony service.

         Starting Network Service...

         Starting Avahi mDNS/DNS-SD Stack...

         Starting Save/Restore Sound Card State...

         Starting Login Service...

         Starting TI MultiCore Tools Daemon...

[    9.370255] Bluetooth: Core ver 2.22

[    9.377366] NET: Registered protocol family 31

[    9.392801] Bluetooth: HCI device and connection manager initialized

[    9.420507] ata1: SATA link down (SStatus 0 SControl 300)

[    9.470993] Bluetooth: HCI socket layer initialized

[    9.471001] Bluetooth: L2CAP socket layer initialized

[    9.471033] Bluetooth: SCO socket layer initialized

[    9.499349] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service rpc_examp

le_2 with src 1024 dst 101

[    9.500189] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 8

[    9.500235] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service dce-callb

ack with src 1024 dst 101

[    9.500634] connector-hdmi connector: failed to find video source

[    9.500840] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: probing service rpmsg-dce

 with src 1025 dst 102

[    9.501201] connector-hdmi connector: failed to find video source

[    9.501297] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 4

[    9.502200] connector-hdmi connector: failed to find video source

[    9.502297] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: published functions = 9

[    9.542918] NET: Registered protocol family 43

[    9.543402] connector-hdmi connector: failed to find video source

[    9.544421] connector-hdmi connector: failed to find video source

[    9.585017] connector-hdmi connector: failed to find video source

[    9.630485] net eth1: initializing cpsw version 1.15 (0)

[    9.630491] net eth0: initialized cpsw ale version 1.4

[    9.630494] net eth0: ALE Table size 1024

[    9.635960] ti-pruss 4b200000.pruss: creating PRU cores and other child p

latform devices

[    9.637307] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/prus

s@4b200000/intc@4b220000 !

[    9.637693] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/prus

s@4b200000/intc@4b220000 !

[    9.637988] ti-pruss 4b280000.pruss: creating PRU cores and other child p

latform devices

[    9.639070] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/prus

s@4b280000/intc@4b2a0000 !

[    9.639434] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/prus

s@4b280000/intc@4b2a0000 !

[    9.639900] connector-hdmi connector: failed to find video source

[    9.648749] connector-hdmi connector: failed to find video source

[    9.655341] connector-hdmi connector: failed to find video source

[    9.700435] connector-hdmi connector: failed to find video source

[    9.706731] usbcore: registered new interface driver usbfs

[    9.706776] usbcore: registered new interface driver hub

[    9.708028] remoteproc remoteproc4: 4b234000.pru0 is available

[    9.708076] pru-rproc 4b234000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b

226000/pruss@4b200000/pru@4b234000 probed successfully

[    9.708325] remoteproc remoteproc5: 4b238000.pru1 is available

[    9.708358] pru-rproc 4b238000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b

226000/pruss@4b200000/pru@4b238000 probed successfully

[    9.708598] remoteproc remoteproc6: 4b2b4000.pru0 is available

[    9.708626] pru-rproc 4b2b4000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b

2a6000/pruss@4b280000/pru@4b2b4000 probed successfully

[    9.708878] remoteproc remoteproc7: 4b2b8000.pru1 is available

[    9.708908] pru-rproc 4b2b8000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b

2a6000/pruss@4b280000/pru@4b2b8000 probed successfully

[    9.710778] connector-hdmi connector: failed to find video source

[    9.711466] usbcore: registered new device driver usb

[    9.721593] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller

[    9.721613] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bu

s number 1

[    9.722031] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0

x100 quirks 0x02010010

[    9.722074] xhci-hcd xhci-hcd.1.auto: irq 475, io mem 0x48890000

[    9.728997] hub 1-0:1.0: USB hub found

[    9.729022] hub 1-0:1.0: 1 port detected

[    9.729779] connector-hdmi connector: failed to find video source

[    9.730366] connector-hdmi connector: failed to find video source

[    9.730596] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller

[    9.730608] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bu

s number 2

[    9.730672] usb usb2: We don't know the algorithms for LPM for this host,

 disabling LPM.

[    9.731301] hub 2-0:1.0: USB hub found

[    9.731361] hub 2-0:1.0: 1 port detected

[    9.732476] connector-hdmi connector: failed to find video source

[    9.732915] connector-hdmi connector: failed to find video source

[    9.734347] connector-hdmi connector: failed to find video source

[    9.739547] 

[    9.739547] 

[    9.739547]  ************************Configuring the VSC8572 ************

[    9.739547] 

[    9.739549] *******setting page select to gerneral purpose reg VSC8572_GP

[    9.741120] *******setting 19G to VSC8572_MAC_MODE for RGMII

[    9.743200] *****readback 19G: 800F

[    9.743202] *******setting page select to extended reg 2

[    9.744238] *******setting 18E2 for skew 1.7nS

[    9.746319] *****readback 18E2: 36

[    9.746320] *******setting page select to gerneral purpose reg

[    9.747358] *******setting 18G to operating mode 80F0

[    9.757377] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.762833] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.769542] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.770239] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.771280] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.772319] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.773358] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.774398] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.775439] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.788496] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.799278] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: F0

[    9.799880] *****readback 18G: F0

[    9.799882] *******setting page select to main

[    9.800919] *******setting reg 23 to media mode reg23[10:8] = 001

[    9.807626] *******setting page select to main

[    9.808198] *******setting reg 0 for software reset

[    9.813922] *****readback reg 0: 1040

[    9.816569] *****readback reg 23:VSC8572_EXT_PHY_23M: 104

[    9.816572] 

[    9.816572] 

[    9.816572]  ************************Finished configuring the VSC8572 ***

********** 

[    9.816572] 

[    9.816585] Vitesse VSC8572 48485000.mdio:01: attached PHY driver [Vitess

e VSC8572] (mii_bus:phy_addr=48485000.mdio:01, irq=-1)

[    9.816603] 

[    9.816603] 

[    9.816603] ***********anegconfig**********

[    9.816603] 

[    9.823800] 

[    9.823800] 

[    9.823800] genphyconfiganeg ret = 0

[    9.823800] 

[    9.833272] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready

[    9.845886] net eth0: initializing cpsw version 1.15 (0)

[    9.949513] 

[    9.949513] 

[    9.949513]  ************************Configuring the VSC8572 ************

[    9.949513] 

[    9.949515] *******setting page select to gerneral purpose reg VSC8572_GP

[    9.951198] *******setting 19G to VSC8572_MAC_MODE for RGMII

[    9.953278] *****readback 19G: 800F

[    9.953280] *******setting page select to extended reg 2

[    9.954318] *******setting 18E2 for skew 1.7nS

[    9.956398] *****readback 18E2: 36

[    9.956399] *******setting page select to gerneral purpose reg

[    9.957438] *******setting 18G to operating mode 80F0

[    9.966280] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.967319] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.968358] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.969398] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.970440] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.971479] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.972518] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.973559] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.974598] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.975638] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.976678] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.991882] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: 80F0

[    9.992798] *****waiting for bit 15 == 0; cur val VSC8572_RGMII_SKEW_18E2

: F0

[    9.993839] *****readback 18G: F0

[    9.993841] *******setting page select to main

[    9.994878] *******setting reg 23 to media mode reg23[10:8] = 001

[    9.996958] *******setting page select to main

[    9.997998] *******setting reg 0 for software reset

[   10.010481] *****readback reg 0: 1040

[   10.011519] *****readback reg 23:VSC8572_EXT_PHY_23M: 104

[   10.011520] 

[   10.011520] 

[   10.011520]  ************************Finished configuring the VSC8572 ***

********** 

[   10.011520] 

[   10.011533] Vitesse VSC8572 48485000.mdio:00: attached PHY driver [Vitess

e VSC8572] (mii_bus:phy_addr=48485000.mdio:00, irq=-1)

[   10.011552] 

[   10.011552] 

[   10.011552] ***********anegconfig**********

[   10.011552] 

[   10.018925] 

[   10.018925] 

[   10.018925] genphyconfiganeg ret = 0

[   10.018925] 

[   10.029003] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

[  OK  ] Started TI MultiCore Tools Daemon.

[  OK  ] Started Save/Restore Sound Card State.

[  OK  ] Started Network Service.

[  OK  ] Started uim-sysfs.service.

[  OK  ] Started Avahi mDNS/DNS-SD Stack.

[  OK  ] Reached target Sound Card.

[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.

         Starting rc.pvr.service...

[  OK  ] Reached target Network.

         Starting Permit User Sessions...

         Starting Lightning Fast Webserver With Light System Requirements...

         Starting Enable and configure wl18xx bluetooth stack...

[  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.

         Starting Simple Network Management Protocol (SNMP) Daemon....

         Starting Network Name[   11.479206] PVR_K: UM DDK-(3699939) and KM 

DDK-(3699939) match. [ OK ]

 Resolution...

[  OK  ] Created slice system-systemd\x2dbacklight.slice.

         Starting Load/Save Screen Backlight...htness of backlight:backlight

...

[  OK  ] Started Permit User Sessions.

[  OK  ] Started Login Service.

[  OK  ] Started Serial Getty on ttyS2.

[  OK  ] Started Getty on tty1.

[  OK  ] Reached target Login Prompts.

[  OK  ] Started Enable and configure wl18xx bluetooth stack.

[  OK  ] Started Lightning Fast Webserver With Light System Requirements.

[  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backligh

t.

[  OK  ] Started rc.pvr.service.

         Starting weston.service...

[  OK  ] Started Network Name Resolution.

[  OK  ] Started weston.service.

         Starting tiipclad-daemon.service...

         Starting telnetd.service...

[  OK  ] Started telnetd.service.

[  OK  ] Started tiipclad-daemon.service.

         Starting thttpd.service...

[   11.817981] NET: Registered protocol family 15

[  OK  ] Started thttpd.service.

         Starting rng-tools.service...

[  OK  ] Started rng-tools.service.

[   11.885239] random: crng init done

         Starting SYSV: The kdump script provides the support:...

[  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..

[FAILED] Failed to start SYSV: The kdump script provides the support:.

See 'systemctl status kdump.service' for details.

         Starting gdbserverproxy.service...

[   11.971612] Initializing XFRM netlink socket

***************************************************************

***************************************************************

NOTICE: This file system contains the following GPLv3 packages:

        autoconf

        binutils-dev

        binutils

        bison-dev

        bison

        cpp-symlinks

        cpp

        dosfstools

        g++-symlinks

        g++

        gawk-dev

        gawk

        gcc-symlinks

        gcc

        gdb

        gdbc6x

        gdbserver

        gstreamer1.0-libav

        hidapi

        libcairo-perf-utils

        libgmp10

        libidn11

        libmpc3

        libmpfr4

        libreadline-dev

        libreadline6

        m4-dev

        m4

        make

        nettle

        parted

        swig-dev

        swig

If you do not wish to distribute GPLv3 components please remove

the above packages prior to distribution.  This can be done using

the opkg remove command.  i.e.:

    opkg remove <package>

Where <package> is the name printed in the list above

NOTE: If the package is a dependency of another package you

      will be notified of the dependent packages.  You should

      use the --force-removal-of-dependent-packages option to

      also remove the dependent packages as well

***************************************************************

***************************************************************

[  OK  ] Started Print notice about GPLv3 packages.

[  OK  ] Started gdbserverproxy.service.

         Starting matrix-gui-2.0.service...

[  OK  ] Started matrix-gui-2.0.service.

         Starting thermal-zone-init.service...

[  OK  ] Started thermal-zone-init.service.

[  OK  ] Reached target Multi-User System.

         Starting Update UTMP about System Runlevel Changes...

[  OK  ] Started Update UTMP about System Runlevel Changes.

 _____                    _____           _         _   

|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 

|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|

|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  

              |___|                    |___|            

Arago Project http://arago-project.org am57xx-evm ttyS2

Arago 2017.05 am57xx-evm ttyS2

am57xx-evm login: root

root@am57xx-evm:~# ifconfig

eth0      Link encap:Ethernet  HWaddr D4:36:39:FB:9B:70  

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

          Interrupt:99 

eth1      Link encap:Ethernet  HWaddr D4:36:39:FB:9B:71  

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

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:160 errors:0 dropped:0 overruns:0 frame:0

          TX packets:160 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1 

          RX bytes:12160 (11.8 KiB)  TX bytes:12160 (11.8 KiB)

root@am57xx-evm:~# ethtool eth0

Settings for eth0:

        Supported ports: [ TP MII ]

        Supported link modes:   10baseT/Half 10baseT/Full 

                                100baseT/Half 100baseT/Full 

                                1000baseT/Half 1000baseT/Full 

        Supported pause frame use: No

        Supports auto-negotiation: Yes

        Advertised link modes:  10baseT/Half 10baseT/Full 

                                100baseT/Half 100baseT/Full 

                                1000baseT/Half 1000baseT/Full 

        Advertised pause frame use: No

        Advertised auto-negotiation: Yes

        Speed: 10Mb/s

        Duplex: Half

        Port: MII

        PHYAD: 0

        Transceiver: external

        Auto-negotiation: on

        Supports Wake-on: d

        Wake-on: d

        Current message level: 0x00000000 (0)

                               

        Link detected: no

  • Hi,

    The first issue to resolve is why the PHY is not reporting a link detection with it's link partner. Until a link is detected no traffic will able to pass, this link establishment is independent of any MAC or MDIO interaction. The first step is review the PHY datasheet or contact the PHY manufacturer for help on how to determine why the PHY is not indicating a link detection. The PHYs are communicating on the MDIO bus but that does not always indicate the PHYs are in a defined correct state. Is the boot log showing the correct PHYs at the intended MDIO addresses? Another thing to check is if the values returned from ethtool are what is expected in terms of link modes supported.

    Link detected: no ------ Have to fix this first

    [ 3.623852] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Vitesse VSC8572
    [ 3.632634] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Vitesse VSC8572

    Best Regards,
    Schuyler
  • Hi,

    So without a link, there should be no activity on RGMII and is that why perhaps the clock has settled at 25 Mhz? 

    I have verified that these are the correct phy address, 0 and 1. And the supported link speeds showing up on ethtool are what is expected from the VSC8572 phy. I have followed the datasheet for the VSC8572 phy but still have no luck with getting a link. 

  • Hi,

    Yes, that is correct without a link detection by the PHY there will not be any traffic. Ethtool is reporting a link speed of 10Mbps and half duplex. This is consistent with the 25MHz clock you are measuring. I can't provide guidance as to what to look at on the PHY but auto-negotiation is enabled as reported by the ethtool output . The PHY datasheet or a forum hosted by the PHY manufacturer may provide help on what to look at concerning the link detection problem.

    Best Regards,
    Schuyler