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.

AM3352: RGMII interface problem

Part Number: AM3352
We have Ethernet connected on RGMII Interface.
 modified the dts but still the drivers are not able to detect the interface.

&mac {
status = "okay";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&cpsw_default>;
pinctrl-1 = <&cpsw_sleep>;
};

&cpsw_emac0 {
status = "okay";
/*phy-handle = <&&phy0>;*/
phy_id = <&davinci_mdio>, <3>;
phy-mode = "rgmii-id";
/*
phy0: phy@3 {
reg = <3>;
};*/
};

&davinci_mdio {
status = "okay";
compatible = "Micrel,Micrel KSZ9021 Gigabit PHY";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
};

root@am335x-evm:~# dmesg | grep eth
[    1.353659] cpsw 4a100000.ethernet: Detected MACID = 50:33:8b:49:63:45
[    1.360374] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[    1.366816] cpsw 4a100000.ethernet: ALE Table size 1024
[    1.372121] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[    1.431012] cpuidle: enable-method property 'ti,am3352' found operations
[   32.683852] net eth0: initializing cpsw version 1.12 (0)
[   32.853675] net eth0: phy "4a101000.mdio:03" not found on slave 0, err -19
[   33.029115] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Also I am attaching the menu configuration where we have enabled the Micrel net phy drivers, Please find the kernel config and its screenshots attached.
I have a queries:
Where to setup this address net eth0: CPSW phy found : PHY_ID is : 0x221611 and PHY_MASK   in dts?
Please find the DTS attached.hs_ethernet_dts.zip
  • Please post which Linux SDK version you are using. 

    Please complete this checklist and post the results here: processors.wiki.ti.com/.../5x_CPSW

  • I am using ti-processor-sdk-linux-am335x-evm-05.03.00.07 linux ver 4.14 

  • Please find the boot logs here.

    It doesnt detects the device and its drivers

    [ 0.291439] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.359173] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.363140] console [ttyS0] disabled
    [ 0.363270] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [ 1.177154] console [ttyS0] enabled
    [ 1.182052] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
    [ 1.191425] pinctrl-single 44e10800.pinmux: pin PIN89 already requested by 44e10800.pinmux; cannot claim for 481a6000.serial
    [ 1.202805] pinctrl-single 44e10800.pinmux: pin-89 (481a6000.serial) status -22
    [ 1.210211] pinctrl-single 44e10800.pinmux: could not request pin 89 (PIN89) from group pinmux_uart3_pins on device pinctrl-single
    [ 1.222116] omap8250 481a6000.serial: Error applying setting, reverse things back
    [ 1.229678] omap8250: probe of 481a6000.serial failed with error -22
    [ 1.236950] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 33, base_baud = 3000000) is a 8250
    [ 1.246985] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 34, base_baud = 3000000) is a 8250
    [ 1.258016] omap_rng 48310000.rng: Random Number Generator ver. 20
    [ 1.280496] brd: module loaded
    [ 1.292270] loop: module loaded
    [ 1.298299] mdio_bus fixed-0: GPIO lookup for consumer reset
    [ 1.298317] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [ 1.298328] mdio_bus fixed-0: lookup for GPIO reset failed
    [ 1.298358] libphy: Fixed MDIO Bus: probed
    [ 1.304875] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff914 (0x238)
    [ 1.312934] pinctrl-single 44e10800.pinmux: could not add functions for cpsw_default 4294965524x
    [ 1.321881] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff914 (0x238)
    [ 1.329955] pinctrl-single 44e10800.pinmux: could not add functions for cpsw_sleep 4294965524x
    [ 1.353659] cpsw 4a100000.ethernet: Detected MACID = 50:33:8b:49:63:45
    [ 1.360374] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 1.366816] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 1.372121] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)

    I am attaching the logs here. 

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.79-ge669d52447 (pcadmin@MYTSP00296) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #2 PREEMPT Mon Aug 12 10:31:05 UTC 2019
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM335x EVM-SK
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x8a800000
    [    0.000000] On node 0 totalpages: 65536
    [    0.000000] free_area_init_node: node 0, pgdat c0d4d580, node_mem_map cfda1000
    [    0.000000]   Normal zone: 576 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 65536 pages, LIFO batch:15
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon)
    [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [    0.000000] pcpu-alloc: [0] 0 
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
    [    0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk0p2
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 197292K/262144K available (8192K kernel code, 319K rwdata, 2484K rodata, 1024K init, 267K bss, 15700K reserved, 49152K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
                       lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                         .text : 0xc0008000 - 0xc0900000   (9184 kB)
                         .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
                         .data : 0xc0d00000 - 0xc0d4fe40   ( 320 kB)
                          .bss : 0xc0d4fe40 - 0xc0d92b8c   ( 268 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000019] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000045] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000061] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000272] timer_probe: no matching timers found
    [    0.000541] Console: colour dummy device 80x30
    [    0.000603] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.118799] pid_max: default: 32768 minimum: 301
    [    0.119046] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.119066] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.120070] CPU: Testing write buffer coherency: ok
    [    0.120150] CPU0: Spectre v2: using BPIALL workaround
    [    0.121024] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.121224] Hierarchical SRCU implementation.
    [    0.121682] EFI services will not be available.
    [    0.123573] devtmpfs: initialized
    [    0.134064] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [    0.134605] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.134995] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.135022] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.139768] pinctrl core: initialized pinctrl subsystem
    [    0.140683] DMI not present or invalid.
    [    0.141202] NET: Registered protocol family 16
    [    0.144064] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.148718] omap_hwmod: rtc: no dt node
    [    0.148740] ------------[ cut here ]------------
    [    0.148784] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2494 _init.constprop.20+0x1e0/0x4a4
    [    0.148909] omap_hwmod: rtc: doesn't have mpu register target base
    [    0.148920] Modules linked in:
    [    0.148945] CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.79-ge669d52447 #2
    [    0.148955] Hardware name: Generic AM33XX (Flattened Device Tree)
    [    0.148965] Backtrace: 
    [    0.149012] [<c010b6f0>] (dump_backtrace) from [<c010b9d4>] (show_stack+0x18/0x1c)
    [    0.149028]  r7:00000009 r6:00000000 r5:c0a9d1fc r4:cf03fe20
    [    0.149053] [<c010b9bc>] (show_stack) from [<c0834588>] (dump_stack+0x24/0x28)
    [    0.149081] [<c0834564>] (dump_stack) from [<c0128aa8>] (__warn+0xe8/0x100)
    [    0.149100] [<c01289c0>] (__warn) from [<c0128b00>] (warn_slowpath_fmt+0x40/0x48)
    [    0.149117]  r9:000000d2 r8:c0c3b820 r7:00000000 r6:c0d0ae84 r5:00000000 r4:c0a9d4b0
    [    0.149136] [<c0128ac4>] (warn_slowpath_fmt) from [<c0c0ac00>] (_init.constprop.20+0x1e0/0x4a4)
    [    0.149148]  r3:c0ad4404 r2:c0a9d4b0
    [    0.149158]  r4:c0d0ae40
    [    0.149175] [<c0c0aa20>] (_init.constprop.20) from [<c0c0b3f8>] (__omap_hwmod_setup_all+0x48/0x108)
    [    0.149193]  r10:c0d4fe40 r9:000000d2 r8:c0c3b820 r7:c0d4fe40 r6:c0c0b3b0 r5:c0d07ee0
    [    0.149202]  r4:c0d0ae40
    [    0.149219] [<c0c0b3b0>] (__omap_hwmod_setup_all) from [<c0101974>] (do_one_initcall+0x4c/0x170)
    [    0.149230]  r5:00000000 r4:ffffe000
    [    0.149254] [<c0101928>] (do_one_initcall) from [<c0c00eb4>] (kernel_init_freeable+0x148/0x1e4)
    [    0.149270]  r8:c0c3b820 r7:c0d4fe40 r6:00000003 r5:c0c4c3b4 r4:c0b6b604
    [    0.149296] [<c0c00d6c>] (kernel_init_freeable) from [<c08475b8>] (kernel_init+0x10/0x114)
    [    0.149312]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c08475a8
    [    0.149322]  r4:00000000
    [    0.149340] [<c08475a8>] (kernel_init) from [<c0107d28>] (ret_from_fork+0x14/0x2c)
    [    0.149351]  r5:c08475a8 r4:00000000
    [    0.149374] ---[ end trace 4c50df114f199c48 ]---
    [    0.162938] omap_hwmod: debugss: _wait_target_disable failed
    [    0.217599] cpuidle: using governor ladder
    [    0.217646] cpuidle: using governor menu
    [    0.223310] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
    [    0.223429] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
    [    0.223505] OMAP GPIO hardware version 0.1
    [    0.224536] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
    [    0.224673] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
    [    0.225638] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
    [    0.225743] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
    [    0.226670] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
    [    0.226795] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
    [    0.237097] No ATAGs?
    [    0.237120] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.254837] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.255583] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator0[0]'
    [    0.255954] reg-fixed-voltage fixedregulator2: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_wl12xx_gpio, deferring probe
    [    0.256112] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator3[0]' - status (0)
    [    0.259801] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [    0.259888] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring probe
    [    0.260035] media: Linux media interface: v0.10
    [    0.260089] Linux video capture interface: v2.00
    [    0.260232] pps_core: LinuxPPS API ver. 1 registered
    [    0.260244] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.260273] PTP clock support registered
    [    0.260319] EDAC MC: Ver: 3.0.0
    [    0.260918] dmi: Firmware registration failed.
    [    0.261477] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.261920] Advanced Linux Sound Architecture Driver Initialized.
    [    0.263341] clocksource: Switched to clocksource timer1
    [    0.274411] NET: Registered protocol family 2
    [    0.275359] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.275405] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.275442] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.275565] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.275592] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.275799] NET: Registered protocol family 1
    [    0.276371] RPC: Registered named UNIX socket transport module.
    [    0.276391] RPC: Registered udp transport module.
    [    0.276400] RPC: Registered tcp transport module.
    [    0.276409] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.276428] PCI: CLS 0 bytes, default 64
    [    0.277418] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.277576] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.279518] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [    0.285595] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.286650] NFS: Registering the id_resolver key type
    [    0.286705] Key type id_resolver registered
    [    0.286716] Key type id_legacy registered
    [    0.286782] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.289476] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.289502] io scheduler noop registered
    [    0.289514] io scheduler deadline registered
    [    0.289800] io scheduler cfq registered (default)
    [    0.289816] io scheduler mq-deadline registered
    [    0.289826] io scheduler kyber registered
    [    0.291439] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.359173] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.363140] console [ttyS0] disabled
    [    0.363270] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.177154] console [ttyS0] enabled
    [    1.182052] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
    [    1.191425] pinctrl-single 44e10800.pinmux: pin PIN89 already requested by 44e10800.pinmux; cannot claim for 481a6000.serial
    [    1.202805] pinctrl-single 44e10800.pinmux: pin-89 (481a6000.serial) status -22
    [    1.210211] pinctrl-single 44e10800.pinmux: could not request pin 89 (PIN89) from group pinmux_uart3_pins  on device pinctrl-single
    [    1.222116] omap8250 481a6000.serial: Error applying setting, reverse things back
    [    1.229678] omap8250: probe of 481a6000.serial failed with error -22
    [    1.236950] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 33, base_baud = 3000000) is a 8250
    [    1.246985] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 34, base_baud = 3000000) is a 8250
    [    1.258016] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    1.280496] brd: module loaded
    [    1.292270] loop: module loaded
    [    1.298299] mdio_bus fixed-0: GPIO lookup for consumer reset
    [    1.298317] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [    1.298328] mdio_bus fixed-0: lookup for GPIO reset failed
    [    1.298358] libphy: Fixed MDIO Bus: probed
    [    1.304875] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff914 (0x238)
    [    1.312934] pinctrl-single 44e10800.pinmux: could not add functions for cpsw_default 4294965524x
    [    1.321881] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff914 (0x238)
    [    1.329955] pinctrl-single 44e10800.pinmux: could not add functions for cpsw_sleep 4294965524x
    [    1.353659] cpsw 4a100000.ethernet: Detected MACID = 50:33:8b:49:63:45
    [    1.360374] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.366816] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.372121] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.381369] i2c /dev entries driver
    [    1.385654] IR NEC protocol handler initialized
    [    1.390216] IR RC5(x/sz) protocol handler initialized
    [    1.395350] IR RC6 protocol handler initialized
    [    1.399900] IR JVC protocol handler initialized
    [    1.404470] IR Sony protocol handler initialized
    [    1.409107] IR SANYO protocol handler initialized
    [    1.413848] IR Sharp protocol handler initialized
    [    1.418573] IR MCE Keyboard/mouse protocol handler initialized
    [    1.424447] IR XMP protocol handler initialized
    [    1.431012] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.438318] sdhci: Secure Digital Host Controller Interface driver
    [    1.444575] sdhci: Copyright(c) Pierre Ossman
    [    1.449562] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [    1.449573] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.449598] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@48060000[0]'
    [    1.449611] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@48060000[0]'
    [    1.449620] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [    1.449631] omap_hsmmc 48060000.mmc: lookup for GPIO cd failed
    [    1.449644] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [    1.449652] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.449663] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [    1.449674] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [    1.449682] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [    1.449691] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [    1.450660] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
    [    1.450672] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [    1.450695] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
    [    1.450706] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
    [    1.450715] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [    1.450724] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
    [    1.450735] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
    [    1.450743] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [    1.450754] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
    [    1.450764] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
    [    1.450772] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [    1.450781] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
    [    1.451469] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.458139] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.468419] NET: Registered protocol family 10
    [    1.474666] Segment Routing with IPv6
    [    1.478460] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.485454] NET: Registered protocol family 17
    [    1.490274] Key type dns_resolver registered
    [    1.494928] omap_voltage_late_init: Voltage driver support not added
    [    1.508273] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator2[0]' - status (0)
    [    1.533604] tps65910 1-002d: No interrupt support, no core IRQ
    [    1.539718] tps65910-gpio tps65910-gpio: ti,en-gpio-sleep not specified
    [    1.539749] gpiochip_find_base: found new base at 506
    [    1.540015] gpio gpiochip4: (tps65910): added GPIO chardev (254:4)
    [    1.540133] gpiochip_setup_dev: registered GPIOs 506 to 511 on device: gpiochip4 (tps65910)
    [    1.541913] vrtc: supplied by vbat
    [    1.549276] vio: supplied by vbat
    [    1.554267] vdd1: supplied by vbat
    [    1.559631] vdd2: supplied by vbat
    [    1.565034] random: fast init done
    [    1.570025] vdig1: supplied by vbat
    [    1.575082] vdig2: supplied by vbat
    [    1.580095] vpll: supplied by vbat
    [    1.585054] vdac: supplied by vbat
    [    1.589983] vaux1: supplied by vbat
    [    1.595020] vaux2: supplied by vbat
    [    1.600022] vaux33: supplied by vbat
    [    1.605121] vmmc: supplied by vbat
    [    1.610052] vbb: supplied by vbat
    [    1.615027] pca953x 1-0021: GPIO lookup for consumer reset
    [    1.615040] pca953x 1-0021: using device tree for GPIO lookup
    [    1.615061] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@44e0b000/tca6408@21[0]'
    [    1.615075] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/i2c@44e0b000/tca6408@21[0]'
    [    1.615083] pca953x 1-0021: using lookup tables for GPIO lookup
    [    1.615094] pca953x 1-0021: lookup for GPIO reset failed
    [    1.615137] pca953x 1-0021: 1-0021 supply vcc not found, using dummy regulator
    [    1.622987] gpiochip_find_base: found new base at 498
    [    1.624580] gpio gpiochip5: (tca6408): added GPIO chardev (254:5)
    [    1.624720] gpiochip_setup_dev: registered GPIOs 498 to 505 on device: gpiochip5 (tca6408)
    [    1.624802] i2c i2c-1: of_i2c: invalid addr=d0 on /ocp/i2c@44e0b000/bq32000@d0
    [    1.632072] i2c i2c-1: Failed to create I2C device for /ocp/i2c@44e0b000/bq32000@d0
    [    1.639875] omap_i2c 44e0b000.i2c: bus 1 rev0.11 at 400 kHz
    [    1.646960] omap_i2c 4802a000.i2c: bus 2 rev0.11 at 400 kHz
    [    1.655194] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [    1.655211] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.655235] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@48060000[0]'
    [    1.655248] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@48060000[0]'
    [    1.655257] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [    1.655267] omap_hsmmc 48060000.mmc: lookup for GPIO cd failed
    [    1.655280] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [    1.655288] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.655299] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [    1.655310] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [    1.655318] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [    1.655326] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [    1.714763] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
    [    1.714789] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [    1.714825] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
    [    1.714849] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
    [    1.714866] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [    1.714884] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
    [    1.714909] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
    [    1.714924] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [    1.714945] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
    [    1.714966] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
    [    1.714982] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [    1.714998] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
    [    1.761075] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.771397] mmc0: new high speed SDHC card at address 59b4
    [    1.777936] mmcblk0: mmc0:59b4 USDU1 14.7 GiB 
    [    1.784856]  mmcblk0: p1 p2
    [    1.864785] hctosys: unable to open rtc device (rtc0)
    [    1.871249] ALSA device list:
    [    1.877418]   No soundcards found.
    [    1.883952] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
    [    1.904875] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    1.913103] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
    [    1.924125] devtmpfs: mounted
    [    1.929086] Freeing unused kernel memory: 1024K
    [    2.325865] systemd[1]: System time before build time, advancing clock.
    [    2.427843] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid)
    [    2.449555] systemd[1]: Detected architecture arm.
    [    2.485844] systemd[1]: Set hostname to <am335x-evm>.
    [    3.175540] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.185989] systemd[1]: Created slice System Slice.
    [    3.213976] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.221303] systemd[1]: Listening on Journal Socket.
    [    3.255169] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.262335] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.309572] systemd[1]: Mounting Kernel Debug File System...
    [    3.356265] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    3.396232] systemd[1]: Created slice system-getty.slice.
    [    3.437634] systemd[1]: Listening on Process Core Dump Socket.
    [    4.220882] cryptodev: loading out-of-tree module taints kernel.
    [    4.231180] cryptodev: driver 1.9 loaded.
    [   17.880882] random: crng init done
    [   17.884363] random: 7 urandom warning(s) missed due to ratelimiting
    [   21.851584] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [   22.164008] systemd-journald[65]: Received request to flush runtime journal from PID 1
    [   27.068985] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   28.402632] omap_hwmod: pruss: _wait_target_ready failed: -16
    [   28.430033] remoteproc remoteproc0: wkup_m3 is available
    [   28.506510] pruss-soc-bus 4a326004.pruss-soc-bus: use pm_runtime_put_sync_suspend() in driver?
    [   28.506529] pruss-soc-bus 4a326004.pruss-soc-bus: couldn't enable module
    [   28.506615] pruss-soc-bus: probe of 4a326004.pruss-soc-bus failed with error -16
    [   28.508772] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   28.531058] omap-aes 53500000.aes: will run requests pump with realtime priority
    [   28.556144] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   28.600778] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   28.601262] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   28.640823] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   28.867365] PM: Cannot get wkup_m3_ipc handle
    [   29.032399] PM: Cannot get wkup_m3_ipc handle
    [   29.044327] remoteproc remoteproc0: powering up wkup_m3
    [   29.447441] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224628
    [   29.493911] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   29.493938] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   32.683852] net eth0: initializing cpsw version 1.12 (0)
    [   32.690895] libphy: PHY 4a101000.mdio:03 not found
    [   32.853675] net eth0: phy "4a101000.mdio:03" not found on slave 0, err -19
    [   33.029115] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   33.604531] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   36.607621] PM: no-rtc available, rtc-only mode disabled.
    [   37.988383] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    [   37.988402] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [   37.988428] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   37.988440] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   37.988448] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [   37.988457] am335x-phy-driver 47401300.usb-phy: lookup for GPIO reset failed
    [   37.988467] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
    [   37.988473] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [   37.988483] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   37.988492] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   37.988499] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [   37.988506] am335x-phy-driver 47401300.usb-phy: lookup for GPIO vbus-detect failed
    [   37.988610] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
    [   38.018141] usbcore: registered new interface driver usbfs
    [   38.018201] usbcore: registered new interface driver hub
    [   38.054536] usbcore: registered new device driver usb
    [   38.252372] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   38.316218] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [   38.381823] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [   38.435261] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   38.442540] usb usb1: Product: MUSB HDRC host driver
    [   38.533841] usb usb1: Manufacturer: Linux 4.14.79-ge669d52447 musb-hcd
    [   38.540419] usb usb1: SerialNumber: musb-hdrc.0
    [   38.617285] hub 1-0:1.0: USB hub found
    [   38.650425] hub 1-0:1.0: 1 port detected
    [   38.685418] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset
    [   38.685438] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [   38.685461] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [   38.685472] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [   38.685480] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [   38.685489] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO reset failed
    [   38.685501] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect
    [   38.685507] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [   38.685517] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [   38.685526] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [   38.685533] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [   38.685540] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO vbus-detect failed
    [   38.685642] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
    [   38.808705] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   38.856355] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [   38.918461] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [   38.962557] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   39.009681] usb usb2: Product: MUSB HDRC host driver
    [   39.048153] usb usb2: Manufacturer: Linux 4.14.79-ge669d52447 musb-hcd
    [   39.096828] usb usb2: SerialNumber: musb-hdrc.1
    [   39.131224] hub 2-0:1.0: USB hub found
    [   39.152208] hub 2-0:1.0: 1 port detected
    [   39.324082] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #1, port1 00000104
    [   39.476517] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #2, port1 00000104
    [   39.628947] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #3, port1 00000104
    [   39.781377] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
    

  • Hi,

    This error message here indicates that the MDIO driver is not finding the PHY on the MDIO bus. The -19 translates to "no such device". This can point to a HW issue, the PHY is not answering to this address, this could be a number of things that you will have to discuss with the PHY vendor. Since the driver is not publishing any other PHYs found on the bus is a good indicator that the issue is with the PHY.

    [   32.853675] net eth0: phy "4a101000.mdio:03" not found on slave 0, err -19

    Best Regards,

    Schuyler