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.

  • Resolved

Linux/AM3358: Ethernet PHY error

Intellectual 760 points

Replies: 20

Views: 5012

Part Number: AM3358

Tool/software: Linux

What is causing this message in the dmesg log?

net eth0: phy "" not found on slave 1, err -19

here is more dmesg context + output from ethtool:

# dmesg | grep eth
[    1.462277] cpsw 4a100000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
[    1.470702] cpsw 4a100000.ethernet: Detected MACID = 60:64:05:40:eb:5d
[    1.477497] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[    1.498800] cpuidle: enable-method property 'ti,am3352' found operations
[   13.503974] net eth0: initializing cpsw version 1.12 (0)
[   13.560529] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[   13.606469] cpsw 4a100000.ethernet: ALE Table size 1024
[   13.836478] net eth0: phy "" not found on slave 1, err -19
[   13.909576] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   15.925302] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[   15.933234] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000000 (0)

        Link detected: yes
#

  • Hi Bill,

    It looks like you have some issues with integrating your ethernet PHY.

    Please provide the below info:
    - Do you use AM335x TI PSDK v4.03?
    - Do you use AM335x custom board? If yes, what ethernet PHY you are using? Share your DTS file for review.
    - Does your custom board ethernet works fine in u-boot (only kernel is the problem)?

    Check also below e2e threads:



    Regards,
    Pavel



  • In reply to Pavel Botev:

    Pavel Botev
    Do you use AM335x TI PSDK v4.03?

    Using:

     git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git 

    v4.9.69-2821-g89d085d

    Pavel Botev
    Do you use AM335x custom board?

    yes

    Pavel Botev
    what ethernet PHY you are using?

    KSZ8081RNAIA 

    Pavel Botev
    Share your DTS file for review.

    6175.devices.dts.txt

    Pavel Botev
    Does your custom board ethernet works fine in u-boot (only kernel is the problem)?

    works in u-boot and kernel, but I do not know what is causing this message:

    [   14.278286] net eth0: phy "" not found on slave 1, err -19

    Pavel Botev
    Check also below e2e threads:

    I will read them.

  • In reply to Bill Morgan:

    Bill Morgan

    Using:

     git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git 

    v4.9.69-2821-g89d085d

    The latest AM335x TI PSDK v4.03 comes with kernel v4.9.69, which can be taken from:

    Linux Kernel

    The kernel git repository, branch and commit id can be found below:
    Based on Version: 4.9.69
    URL: git://git.ti.com/processor-sdk/processor-sdk-linux.git
    Branch: processor-sdk-linux-04.03.00
    Commit ID: bfe793963ed7b2af3e1c3dd32e7275f449e6259d
     
    Only this kernel is tested and validated. I would suggest you to try with it.
     
    Bill Morgan
    KSZ8081RNAIA 
     
    I will check your DTS file.
     
    Bill Morgan

    works in u-boot and kernel, but I do not know what is causing this message:

    [   14.278286] net eth0: phy "" not found on slave 1, err -19


     
    There is something wrong (SW or HW) with the PHY, check below file and functions:
     
    linux-kernel/drivers/net/ethernet/ti/cpsw.c
     
    cpsw_probe_dt()
     
    cpsw_slave_open()
     
     
     
    Regards,
    Pavel



  • In reply to Pavel Botev:

    I have check your DTS file.

    phy_id = <&davinci_mdio>, <0>;


    Does your PHY at addr 00000? Please check AM335x EVM/SK and AM437x EVM/SK schematics how PHY address is selected. From the log you have sent, seems you have issue with that phy_id value.

    cpsw_probe_dt()
    {

    parp = of_get_property(slave_node, "phy_id", &lenp);

    if (slave_data->phy_node) { }
    else if (of_phy_is_fixed_link(slave_node)) { }
    else if (parp) { }
    else {
    dev_err(&pdev->dev,
    "No slave[%d] phy_id, phy-handle, or fixed-link property\n", i);
    }

    cpsw_slave_open()
    {
    phy = phy_connect(priv->ndev, slave->data->phy_id, &cpsw_adjust_link, slave->data->phy_if);
    if (IS_ERR(phy)) {
    dev_err(priv->dev,
    "phy \"%s\" not found on slave %d, err %ld\n",
    slave->data->phy_id, slave->slave_num,
    PTR_ERR(phy));



  • In reply to Pavel Botev:

    Pavel Botev
    Does your PHY at addr 00000?

    yes

  • In reply to Bill Morgan:

    I have tested latest AM335x TI PSDK v4.03 on AM335x SK board. In this board we have Atheros AR8031 PHY on phy addr 0:

    phy_id = <&davinci_mdio>, <0>;

    And below is the console log I have:

    root@am335x-evm:~# dmesg | grep eth
    [    1.201493] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet
    [    1.210846] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver Atheros 8031 ethernet
    [    1.220903] cpsw 4a100000.ethernet: Detected MACID = c8:a0:30:a1:ce:56
    [    1.227796] cpsw 4a100000.ethernet: device node lookup for pps timer failed
    [    1.234900] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.243057] cpsw 4a100000.ethernet: cpsw: Detected MACID = c8:a0:30:a1:ce:58
    [    1.263056] cpuidle: enable-method property 'ti,am3352' found operations
    [   26.026489] net eth1: initializing cpsw version 1.12 (0)
    [   26.026502] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [   26.026508] cpsw 4a100000.ethernet: ALE Table size 1024
    [   26.165328] Atheros 8031 ethernet 4a101000.mdio:01: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=4a101000.mdio:01, irq=-1)
    [   26.208133] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   26.341777] net eth0: initializing cpsw version 1.12 (0)
    [   26.484607] Atheros 8031 ethernet 4a101000.mdio:00: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=4a101000.mdio:00, irq=-1)
    [   26.489149] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   35.495950] using random self ethernet address
    [   35.495957] using random host ethernet address
    [   35.495990] using host ethernet address: C8:A0:30:A1:CE:58
    [   35.495991] using random self ethernet address
    [   35.495994] using random host ethernet address
    [   35.500721] using host ethernet address: C8:A0:30:A1:CE:58

    I would suggest you:

    - try with the kernel that comes with PSDK v4.03

    - check your HW design of your ethernet PHY

     

    Regards,
    Pavel



  • In reply to Pavel Botev:

    cpsw 4a100000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property

    is my device tree missing a cpsw setting?

    devicetree.dts.txt

  • In reply to Bill Morgan:

    Bill,

    The below line looks suspicious to me:

    &davinci_mdio {
        pinctrl-names = "default";
        pintctrl-0 = <&mymdio1_pins_default>;
        status = "okay";
    };

    &cpsw_emac0 {
        phy_id = <&davinci_mdio>, <0>;
        phy-mode = "rmii";
        reset-gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
    };

    I would suggest you to check this pin with scope and verify that is really generating reset to the external ethernet PHY. And looks like "reset-gpios" entry should be in "davinci_mdio" node, not in "cpsw_emac" node. Check the below pointers for reference:

    linux-kernel/Documentation/devicetree/bindings/net/davinci-mdio.txt

    linux-kernel/arch/arm/boot/dts/am335x-icev2.dts

     

    Regards,
    Pavel



  • In reply to Pavel Botev:

    Thanks, I moved reset-gpios from cpsw_emac0 to davinci_mdio.

    It did not fix the issue.

    boot log:

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.69-g89d085d1a4  (gcc version 6.4.0 (GCC) ) #5 PREEMPT Mon Jun 18 08:47:34 CDT 2018
    [    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: xxx
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x9d000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] On node 0 totalpages: 131072
    [    0.000000] free_area_init_node: node 0, pgdat c0c434a4, node_mem_map dcb61000
    [    0.000000]   Normal zone: 1152 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 131072 pages, LIFO batch:31
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [    0.000000] pcpu-alloc: [0] 0
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyS0,115200 ramdisk_size=327680 root=/dev/ram0 rw rootfstype=ext2
    [    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: 416576K/524288K available (7168K kernel code, 279K rwdata, 2416K rodata, 1024K init, 287K bss, 58560K reserved, 49152K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0800000   (8160 kB)
    [    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
    [    0.000000]       .data : 0xc0c00000 - 0xc0c45c70   ( 280 kB)
    [    0.000000]        .bss : 0xc0c45c70 - 0xc0c8d9f4   ( 288 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 26000000 Hz
    [    0.000015] sched_clock: 32 bits at 26MHz, resolution 38ns, wraps every 82595524588ns
    [    0.000035] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 73510017198 ns
    [    0.000045] OMAP clocksource: timer1 at 26000000 Hz
    [    0.000204] clocksource_probe: no matching clocksources found
    [    0.000377] Console: colour dummy device 80x30
    [    0.000419] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
    [    0.089132] pid_max: default: 32768 minimum: 301
    [    0.089250] Security Framework initialized
    [    0.089290] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089301] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090127] CPU: Testing write buffer coherency: ok
    [    0.090514] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.091373] EFI services will not be available.
    [    0.092782] devtmpfs: initialized
    [    0.104029] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.104418] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.104445] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.108122] pinctrl core: initialized pinctrl subsystem
    [    0.109592] NET: Registered protocol family 16
    [    0.111567] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.126861] omap_hwmod: debugss: _wait_target_disable failed
    [    0.193894] omap_hwmod: cpgmac0: _wait_target_disable failed
    [    0.219129] cpuidle: using governor ladder
    [    0.249117] cpuidle: using governor menu
    [    0.253597] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
    [    0.253990] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
    [    0.255473] OMAP GPIO hardware version 0.1
    [    0.256349] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
    [    0.256690] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
    [    0.258807] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
    [    0.259296] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
    [    0.261365] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
    [    0.261691] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
    [    0.270698] No ATAGs?
    [    0.270725] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.307506] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.307834] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]'
    [    0.308200] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@1[0]' - status (0)
    [    0.311321] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/myi2c1_pins_default, deferring probe
    [    0.311449] media: Linux media interface: v0.10
    [    0.311506] Linux video capture interface: v2.00
    [    0.311548] pps_core: LinuxPPS API ver. 1 registered
    [    0.311556] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.311589] PTP clock support registered
    [    0.311630] EDAC MC: Ver: 3.0.0
    [    0.312731] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.313077] Advanced Linux Sound Architecture Driver Initialized.
    [    0.314374] clocksource: Switched to clocksource timer1
    [    0.325242] NET: Registered protocol family 2
    [    0.326055] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.326110] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.326157] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.326227] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.326245] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.326386] NET: Registered protocol family 1
    [    0.326819] RPC: Registered named UNIX socket transport module.
    [    0.326835] RPC: Registered udp transport module.
    [    0.326841] RPC: Registered tcp transport module.
    [    0.326848] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.326862] PCI: CLS 0 bytes, default 64
    [    0.327401] Trying to unpack rootfs image as initramfs...
    [    0.328221] rootfs image is not initramfs (no cpio magic); looks like an initrd
    [    0.607457] Freeing initrd memory: 41400K
    [    0.607964] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.610601] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.618724] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.619698] NFS: Registering the id_resolver key type
    [    0.619743] Key type id_resolver registered
    [    0.619751] Key type id_legacy registered
    [    0.619801] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.625384] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.625407] io scheduler noop registered
    [    0.625415] io scheduler deadline registered
    [    0.625584] io scheduler cfq registered (default)
    [    0.626817] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.692580] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.696473] console [ttyS0] disabled
    [    0.696572] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.288050] console [ttyS0] enabled
    [    1.292710] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
    [    1.303317] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    1.310206] [drm] Initialized
    [    1.327413] brd: module loaded
    [    1.337353] loop: module loaded
    [    1.343176] m25p80 spi1.0: mx25u12835f (16384 Kbytes)
    [    1.348482] 9 ofpart partitions found on MTD device spi1.0
    [    1.353995] Creating 9 MTD partitions on "spi1.0":
    [    1.358843] 0x000000000000-0x000000010000 : "spl"
    [    1.365003] 0x000000010000-0x000000090000 : "u-boot"
    [    1.371169] 0x000000090000-0x000000110000 : "u-boot1"
    [    1.377509] 0x000000110000-0x000000130000 : "u-boot-env1"
    [    1.384122] 0x000000130000-0x000000150000 : "u-boot-env2"
    [    1.390783] 0x000000150000-0x000000160000 : "key"
    [    1.396691] 0x000000160000-0x000000170000 : "oemkey"
    [    1.402840] 0x000000170000-0x000000970000 : "emmcimggz"
    [    1.409310] 0x000000900000-0x000001000000 : "empty"
    [    1.416133] libphy: Fixed MDIO Bus: probed
    [    1.435047] davinci_mdio 4a101000.mdio: GPIO lookup for consumer reset
    [    1.435059] davinci_mdio 4a101000.mdio: using device tree for GPIO lookup
    [    1.435082] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp/ethernet@4a100000/mdio@4a101000[0]' - status (0)
    [    1.494454] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.500588] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.507830] libphy: 4a101000.mdio: probed
    [    1.511873] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Micrel KSZ8081 or KSZ8091
    [    1.522324] cpsw 4a100000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
    [    1.530749] cpsw 4a100000.ethernet: Detected MACID = 60:64:05:40:eb:33
    [    1.537535] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.546572] mousedev: PS/2 mouse device common for all mice
    [    1.552726] i2c /dev entries driver
    [    1.558806] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.566568] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [    1.566578] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.566589] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@48060000[0]'
    [    1.566596] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@48060000[0]'
    [    1.566603] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [    1.566610] omap_hsmmc 48060000.mmc: lookup for GPIO cd failed
    [    1.566620] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [    1.566625] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.566632] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [    1.566638] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [    1.566644] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [    1.566649] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [    1.617502] omap_hwmod: cpgmac0: _wait_target_disable failed
    [    1.624818] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd
    [    1.624830] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
    [    1.624842] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@47810000[0]'
    [    1.624851] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@47810000[0]'
    [    1.624859] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
    [    1.624869] omap_hsmmc 47810000.mmc: lookup for GPIO cd failed
    [    1.624880] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
    [    1.624887] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
    [    1.624896] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@47810000[0]'
    [    1.624904] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@47810000[0]'
    [    1.624911] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
    [    1.624919] omap_hsmmc 47810000.mmc: lookup for GPIO wp failed
    [    1.680545] mmc0: new high speed MMC card at address 0001
    [    1.686813] mmcblk0: mmc0:0001 Q2J55L 7.09 GiB
    [    1.691722] mmcblk0boot0: mmc0:0001 Q2J55L partition 1 16.0 MiB
    [    1.698070] mmcblk0boot1: mmc0:0001 Q2J55L partition 2 16.0 MiB
    [    1.705725]  mmcblk0: p1 p2
    [    1.775115] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.787297] NET: Registered protocol family 10
    [    1.792473] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range
    [    1.801665] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.802708] NET: Registered protocol family 17
    [    1.803021] Key type dns_resolver registered
    [    1.803232] omap_voltage_late_init: Voltage driver support not added
    [    1.832918] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.839901] ALSA device list:
    [    1.842897]   No soundcards found.
    [    1.847360] RAMDISK: gzip image found at block 0
    [    1.860189] random: fast init done
    [    1.876494] mmc1: new high speed SDIO card at address 0001
    [    5.842427] EXT4-fs (ram0): mounting ext2 file system using the ext4 subsystem
    [    5.851348] EXT4-fs (ram0): mounted filesystem without journal. Opts: (null)
    [    5.858750] VFS: Mounted root (ext2 filesystem) on device 1:0.
    [    5.865280] devtmpfs: mounted
    [    5.869812] Freeing unused kernel memory: 1024K
    [    5.915212] systemd[1]: System time before build time, advancing clock.
    [    5.944987] systemd[1]: systemd 230 running in system mode. (-PAM -AUDIT -SELINUX -IMA -APPARMOR -SMACK +SYSVINIT -UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL -XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    5.963820] systemd[1]: Detected architecture arm.
    [    5.994862] systemd[1]: Set hostname to <xxx>.
    [    5.999868] systemd[1]: Initializing machine ID from random generator.
    [    6.184998] systemd[1]: Listening on Journal Socket (/dev/log).
    [    6.215291] systemd[1]: Listening on Network Service Netlink Socket.
    [    6.257106] systemd[1]: Created slice System Slice.
    [    6.284779] systemd[1]: Reached target Remote File Systems.
    [    6.315023] systemd[1]: Listening on Journal Socket.
    [    6.350230] systemd[1]: Mounting Configuration File System...
    [    6.673835] EXT4-fs (ram0): re-mounted. Opts: (null)
    [    7.625281] systemd-journald[124]: Received request to flush runtime journal from PID 1
    [   10.918989] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   11.488006] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   11.572723] remoteproc remoteproc0: wkup_m3 is available
    [   11.601881] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   11.638103] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   11.639332] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   11.640156] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   11.642021] omap-aes 53500000.aes: will run requests pump with realtime priority
    [   11.645289] omap_hwmod: cpgmac0: _wait_target_disable failed
    [   11.683607] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   11.715847] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [   11.952972] remoteproc remoteproc0: powering up wkup_m3
    [   12.000209] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224244
    [   12.057275] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   12.111519] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   12.125522] EXT4-fs (mmcblk0p2): recovery complete
    [   12.126009] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [   14.058362] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    [   14.058381] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [   14.058396] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   14.058404] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   14.058411] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [   14.058420] am335x-phy-driver 47401300.usb-phy: lookup for GPIO reset failed
    [   14.058428] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
    [   14.058434] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [   14.058441] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   14.058447] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   14.058453] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [   14.058459] am335x-phy-driver 47401300.usb-phy: lookup for GPIO vbus-detect failed
    [   14.058532] 47401300.usb-phy supply vcc not found, using dummy regulator
    [   14.079046] usbcore: registered new interface driver usbfs
    [   14.079123] usbcore: registered new interface driver hub
    [   14.094736] usbcore: registered new device driver usb
    [   14.211222] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   14.261094] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [   14.308610] hub 1-0:1.0: USB hub found
    [   14.327770] hub 1-0:1.0: 1 port detected
    [   14.585818] wl18xx_driver wl18xx.0.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2
    [   15.062051] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [   15.111514] wlcore: loaded
    [   15.946607] wlcore: PHY firmware version: Rev 8.2.0.0.242
    [   16.088366] wlcore: firmware booted (Rev 8.9.0.0.78)
    [   16.136361] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   16.218096] net eth0: initializing cpsw version 1.12 (0)
    [   16.254596] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [   16.261001] cpsw 4a100000.ethernet: ALE Table size 1024
    [   16.395170] Micrel KSZ8081 or KSZ8091 4a101000.mdio:00: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=4a101000.mdio:00, irq=-1)
    [   16.427922] libphy: PHY  not found
    [   16.431364] net eth0: phy "" not found on slave 1, err -19
    [   16.468911] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   18.485333] cpsw 4a100000.ethernet eth0: Link is Up - 10Mbps/Half - flow control off
    [   18.493186] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   19.418842] random: crng init done
    

  • In reply to Bill Morgan:

    Please provide your latest DTS file for review.

    You can also check your HW design of your ethernet PHY. Check if your PHY is properly power supplied and that is properly reset by the GPIO pin.

    Regards,
    Pavel



    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.