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: Ethernet ping fails

Part Number: AM3352

Fail_Log_Rio_2020_1_15.txt

Hi Champs:

PLZ review my attached log.

The MDIO detects the Phy, however, the Ping is not working.

I also dump the ETHTOOL.

See the attached.

THanks.

BR Rio

  • Hi,

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

  • Hi Biser:

    I have checked all the required item by following the wiki you said, please see below.

    #1. THe MAC ID is there.

    #2. The CPSW is working.

    #3. The Augo Nego is on.

    #4. The IP is there.

    BR Rio

    root@am335x-evm:~# dmesg | grep "cpsw"
    [ 1.061187] cpsw 4a100000.ethernet: Detected MACID = 50:8c:b1:0f:7e:c8
    [ 1.067850] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 1.074442] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 1.079738] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 19.394465] net eth0: initializing cpsw version 1.12 (0)
    [ 47.792640] net eth0: initializing cpsw version 1.12 (0)
    [ 128.943621] net eth0: initializing cpsw version 1.12 (0)
    root@am335x-evm:~# dmesg | grep "mdio"
    [ 0.949277] mdio_bus fixed-0: GPIO lookup for consumer reset
    [ 0.949285] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [ 0.949292] mdio_bus fixed-0: lookup for GPIO reset failed
    [ 0.968521] mdio_bus 4a101000.mdio: GPIO lookup for consumer reset
    [ 0.968533] mdio_bus 4a101000.mdio: using lookup tables for GPIO lookup
    [ 0.968539] mdio_bus 4a101000.mdio: lookup for GPIO reset failed
    [ 1.020577] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 1.028276] davinci_mdio 4a101000.mdio: detected phy mask 0
    [ 1.055835] libphy: 4a101000.mdio: probed
    [ 19.507998] Generic PHY 4a101000.mdio:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [ 47.806152] Generic PHY 4a101000.mdio:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [ 128.960724] Generic PHY 4a101000.mdio:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    root@am335x-evm:~# ethtool eth0
    Settings for eth0:
    Supported ports: [ TP AUI BNC MII FIBRE ]
    Supported link modes: Not reported
    Supported pause frame use: Symmetric Receive-only
    Supports auto-negotiation: No
    Supported FEC modes: Not reported
    Advertised link modes: Not reported
    Advertised pause frame use: No
    Advertised auto-negotiation: No
    Advertised FEC modes: Not reported
    Speed: 10Mb/s
    Duplex: Half
    Port: MII
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
    Supports Wake-on: d
    Wake-on: d
    Current message level: 0x00000000 (0)

    Link detected: no
    root@am335x-evm:~# ethtool -S eth0
    NIC statistics:
    Good Rx Frames: 0
    Broadcast Rx Frames: 0
    Multicast Rx Frames: 0
    Pause Rx Frames: 0
    Rx CRC Errors: 0
    Rx Align/Code Errors: 0
    Oversize Rx Frames: 0
    Rx Jabbers: 0
    Undersize (Short) Rx Frames: 0
    Rx Fragments: 0
    Rx Octets: 0
    Good Tx Frames: 0
    Broadcast Tx Frames: 0
    Multicast Tx Frames: 0
    Pause Tx Frames: 0
    Deferred Tx Frames: 0
    Collisions: 0
    Single Collision Tx Frames: 0
    Multiple Collision Tx Frames: 0
    Excessive Collisions: 0
    Late Collisions: 0
    Tx Underrun: 0
    Carrier Sense Errors: 0
    Tx Octets: 0
    Rx + Tx 64 Octet Frames: 0
    Rx + Tx 65-127 Octet Frames: 0
    Rx + Tx 128-255 Octet Frames: 0
    Rx + Tx 256-511 Octet Frames: 0
    Rx + Tx 512-1023 Octet Frames: 0
    Rx + Tx 1024-Up Octet Frames: 0
    Net Octets: 0
    Rx Start of Frame Overruns: 0
    Rx Middle of Frame Overruns: 0
    Rx DMA Overruns: 0
    Rx DMA chan 0: head_enqueue: 3
    Rx DMA chan 0: tail_enqueue: 381
    Rx DMA chan 0: pad_enqueue: 0
    Rx DMA chan 0: misqueued: 0
    Rx DMA chan 0: desc_alloc_fail: 0
    Rx DMA chan 0: pad_alloc_fail: 0
    Rx DMA chan 0: runt_receive_buf: 0
    Rx DMA chan 0: runt_transmit_bu: 0
    Rx DMA chan 0: empty_dequeue: 0
    Rx DMA chan 0: busy_dequeue: 0
    Rx DMA chan 0: good_dequeue: 2
    Rx DMA chan 0: requeue: 2
    Rx DMA chan 0: teardown_dequeue: 254
    Tx DMA chan 0: head_enqueue: 0
    Tx DMA chan 0: tail_enqueue: 0
    Tx DMA chan 0: pad_enqueue: 0
    Tx DMA chan 0: misqueued: 0
    Tx DMA chan 0: desc_alloc_fail: 0
    Tx DMA chan 0: pad_alloc_fail: 0
    Tx DMA chan 0: runt_receive_buf: 0
    Tx DMA chan 0: runt_transmit_bu: 0
    Tx DMA chan 0: empty_dequeue: 2
    Tx DMA chan 0: busy_dequeue: 0
    Tx DMA chan 0: good_dequeue: 0
    Tx DMA chan 0: requeue: 0
    Tx DMA chan 0: teardown_dequeue: 0
    root@am335x-evm:~#

  • Hi Biser:

    Any feedback?

    BR Rio

  • U-Boot SPL 2018.01-g313dcd69c2 (Dec 16 2018 - 09:01:09)
    Trying to boot from MMC1
    *** Warning - bad CRC, using default environment
    
    
    
    U-Boot 2018.01-g313dcd69c2 (Dec 16 2018 - 09:01:09 +0000)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x BeagleBone Black
    DRAM:  512 MiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - bad CRC, using default environment
    
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   cpsw, usb_ether
    Hit any key to stop autoboot:  0
    => mii device
    MII devices: 'cpsw'
    Current device: 'cpsw'
    => mii info
    PHY 0x00: OUI = 0x80028, Model = 0x15, Rev = 0x00, 100baseT, FDX
    PHY 0x01: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x02: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x03: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x04: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x05: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x06: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x07: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x08: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x09: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x0A: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x0B: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x0C: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x0D: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x0E: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x0F: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x10: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x11: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x12: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x13: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x14: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x15: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x16: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x17: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x18: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x19: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x1A: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x1B: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x1C: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x1D: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x1E: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    PHY 0x1F: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
    => mii dump 0 0
    0.     (3100)                 -- PHY control register --
      (8000:0000) 0.15    =     0    reset
      (4000:0000) 0.14    =     0    loopback
      (2040:2000) 0. 6,13 =   b01    speed selection = 100 Mbps
      (1000:1000) 0.12    =     1    A/N enable
      (0800:0000) 0.11    =     0    power-down
      (0400:0000) 0.10    =     0    isolate
      (0200:0000) 0. 9    =     0    restart A/N
      (0100:0100) 0. 8    =     1    duplex = full
      (0080:0000) 0. 7    =     0    collision test enable
      (003f:0000) 0. 5- 0 =     0    (reserved)
    
    
    => mii dump 0 1
    1.     (786d)                 -- PHY status register --
      (8000:0000) 1.15    =     0    100BASE-T4 able
      (4000:4000) 1.14    =     1    100BASE-X  full duplex able
      (2000:2000) 1.13    =     1    100BASE-X  half duplex able
      (1000:1000) 1.12    =     1    10 Mbps    full duplex able
      (0800:0800) 1.11    =     1    10 Mbps    half duplex able
      (0400:0000) 1.10    =     0    100BASE-T2 full duplex able
      (0200:0000) 1. 9    =     0    100BASE-T2 half duplex able
      (0100:0000) 1. 8    =     0    extended status
      (0080:0000) 1. 7    =     0    (reserved)
      (0040:0040) 1. 6    =     1    MF preamble suppression
      (0020:0020) 1. 5    =     1    A/N complete
      (0010:0000) 1. 4    =     0    remote fault
      (0008:0008) 1. 3    =     1    A/N able
      (0004:0004) 1. 2    =     1    link status
      (0002:0000) 1. 1    =     0    jabber detect
      (0001:0001) 1. 0    =     1    extended capabilities
    
    
    => mii dump 0 2
    2.     (2000)                 -- PHY ID 1 register --
      (ffff:2000) 2.15- 0 =  8192    OUI portion
    
    
    => mii dump 0 3
    3.     (a150)                 -- PHY ID 2 register --
      (fc00:a000) 3.15-10 =    40    OUI portion
      (03f0:0150) 3. 9- 4 =    21    manufacturer part number
      (000f:0000) 3. 3- 0 =     0    manufacturer rev. number
    
    
    => mii dump 0 4
    4.     (01e1)                 -- Autonegotiation advertisement register --
      (8000:0000) 4.15    =     0    next page able
      (4000:0000) 4.14    =     0    (reserved)
      (2000:0000) 4.13    =     0    remote fault
      (1000:0000) 4.12    =     0    (reserved)
      (0800:0000) 4.11    =     0    asymmetric pause
      (0400:0000) 4.10    =     0    pause enable
      (0200:0000) 4. 9    =     0    100BASE-T4 able
      (0100:0100) 4. 8    =     1    100BASE-TX full duplex able
      (0080:0080) 4. 7    =     1    100BASE-TX able
      (0040:0040) 4. 6    =     1    10BASE-T   full duplex able
      (0020:0020) 4. 5    =     1    10BASE-T   able
      (001f:0001) 4. 4- 0 =     1    selector = IEEE 802.3
    
    
    => mii dump 05
    4.     (0000)                 -- Autonegotiation advertisement register --
      (8000:0000) 4.15    =     0    next page able
      (4000:0000) 4.14    =     0    (reserved)
      (2000:0000) 4.13    =     0    remote fault
      (1000:0000) 4.12    =     0    (reserved)
      (0800:0000) 4.11    =     0    asymmetric pause
      (0400:0000) 4.10    =     0    pause enable
      (0200:0000) 4. 9    =     0    100BASE-T4 able
      (0100:0000) 4. 8    =     0    100BASE-TX full duplex able
      (0080:0000) 4. 7    =     0    100BASE-TX able
      (0040:0000) 4. 6    =     0    10BASE-T   full duplex able
      (0020:0000) 4. 5    =     0    10BASE-T   able
      (001f:0000) 4. 4- 0 =     0    selector = ???
    
    
    => mii dump 0 5
    5.     (4de1)                 -- Autonegotiation partner abilities register --
      (8000:0000) 5.15    =     0    next page able
      (4000:4000) 5.14    =     1    acknowledge
      (2000:0000) 5.13    =     0    remote fault
      (1000:0000) 5.12    =     0    (reserved)
      (0800:0800) 5.11    =     1    asymmetric pause able
      (0400:0400) 5.10    =     1    pause able
      (0200:0000) 5. 9    =     0    100BASE-T4 able
      (0100:0100) 5. 8    =     1    100BASE-X full duplex able
      (0080:0080) 5. 7    =     1    100BASE-TX able
      (0040:0040) 5. 6    =     1    10BASE-T full duplex able
      (0020:0020) 5. 5    =     1    10BASE-T able
      (001f:0001) 5. 4- 0 =     1    selector = IEEE 802.3
    
    
    => boot
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    ** Unable to read file boot.scr **
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3867136 bytes read in 291 ms (12.7 MiB/s)
    36793 bytes read in 23 ms (1.5 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff4000, end 8fffffb8 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.79-gbde58ab01e (root@ubuntu) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #6 PREEMPT Tue Jan 14 18:52:17 PHT 2020
    [    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 BeagleBone Black
    [    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 0x9d000000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=000233a8-02 rw rootfstype=ext4 rootwait
    [    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: 456928K/524288K available (8192K kernel code, 320K rwdata, 2484K rodata, 1024K init, 267K bss, 18208K 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 - 0xc0900000   (9184 kB)
    [    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
    [    0.000000]       .data : 0xc0d00000 - 0xc0d50240   ( 321 kB)
    [    0.000000]        .bss : 0xc0d50240 - 0xc0d92f8c   ( 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.000014] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000031] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000041] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000191] timer_probe: no matching timers found
    [    0.000376] Console: colour dummy device 80x30
    [    0.000402] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000407] This ensures that you still see kernel messages. Please
    [    0.000412] update your kernel commandline.
    [    0.000439] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [    0.089230] pid_max: default: 32768 minimum: 301
    [    0.089399] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089413] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090121] CPU: Testing write buffer coherency: ok
    [    0.090180] CPU0: Spectre v2: using BPIALL workaround
    [    0.090800] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.090933] Hierarchical SRCU implementation.
    [    0.091230] EFI services will not be available.
    [    0.092447] devtmpfs: initialized
    [    0.099146] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [    0.099696] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.099980] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.100001] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.103332] pinctrl core: initialized pinctrl subsystem
    [    0.103992] DMI not present or invalid.
    [    0.104360] NET: Registered protocol family 16
    [    0.106445] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.118733] omap_hwmod: debugss: _wait_target_disable failed
    [    0.171094] cpuidle: using governor ladder
    [    0.171128] cpuidle: using governor menu
    [    0.174905] OMAP GPIO hardware version 0.1
    [    0.183693] No ATAGs?
    [    0.183709] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.195097] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.197804] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [    0.197861] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
    [    0.197968] media: Linux media interface: v0.10
    [    0.198009] Linux video capture interface: v2.00
    [    0.198103] pps_core: LinuxPPS API ver. 1 registered
    [    0.198111] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.198131] PTP clock support registered
    [    0.198162] EDAC MC: Ver: 3.0.0
    [    0.198625] dmi: Firmware registration failed.
    [    0.199007] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.199470] Advanced Linux Sound Architecture Driver Initialized.
    [    0.200539] clocksource: Switched to clocksource timer1
    [    0.207480] NET: Registered protocol family 2
    [    0.208141] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.208187] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.208225] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.208316] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.208333] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.208470] NET: Registered protocol family 1
    [    0.208875] RPC: Registered named UNIX socket transport module.
    [    0.208888] RPC: Registered udp transport module.
    [    0.208894] RPC: Registered tcp transport module.
    [    0.208899] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.209920] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.210032] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.211472] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.215212] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.215992] NFS: Registering the id_resolver key type
    [    0.216032] Key type id_resolver registered
    [    0.216039] Key type id_legacy registered
    [    0.216086] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.217904] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.217923] io scheduler noop registered
    [    0.217931] io scheduler deadline registered
    [    0.218120] io scheduler cfq registered (default)
    [    0.218129] io scheduler mq-deadline registered
    [    0.218136] io scheduler kyber registered
    [    0.219220] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.263395] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.266159] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    0.899962] console [ttyS0] enabled
    [    0.905146] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    0.922358] brd: module loaded
    [    0.931330] loop: module loaded
    [    0.936064] Error: Driver 'TI DP83825' is already registered, aborting...
    [    0.943053] libphy: TI DP83825: Error -16 in registering driver
    [    0.949319] libphy: Fixed MDIO Bus: probed
    [    1.020621] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.028318] davinci_mdio 4a101000.mdio: detected phy mask 0
    [    1.055864] libphy: 4a101000.mdio: probed
    [    1.061221] cpsw 4a100000.ethernet: Detected MACID = 50:8c:b1:0f:7e:c8
    [    1.067886] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.074484] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.079779] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.088250] i2c /dev entries driver
    [    1.092271] IR NEC protocol handler initialized
    [    1.096826] IR RC5(x/sz) protocol handler initialized
    [    1.101934] IR RC6 protocol handler initialized
    [    1.106480] IR JVC protocol handler initialized
    [    1.111037] IR Sony protocol handler initialized
    [    1.115670] IR SANYO protocol handler initialized
    [    1.120390] IR Sharp protocol handler initialized
    [    1.125120] IR MCE Keyboard/mouse protocol handler initialized
    [    1.130985] IR XMP protocol handler initialized
    [    1.136941] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.144065] sdhci: Secure Digital Host Controller Interface driver
    [    1.150274] sdhci: Copyright(c) Pierre Ossman
    [    1.155208] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.270780] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.277834] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.291714] NET: Registered protocol family 10
    [    1.297370] Segment Routing with IPv6
    [    1.301283] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.311137] NET: Registered protocol family 17
    [    1.315932] Key type dns_resolver registered
    [    1.320465] omap_voltage_late_init: Voltage driver support not added
    [    1.336395] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.349529] mmc0: new high speed SDHC card at address aaaa
    [    1.355554] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
    [    1.361708] random: fast init done
    [    1.365295]  mmcblk0: p1 p2
    [    1.377144] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    1.388829] mmc1: new high speed MMC card at address 0001
    [    1.394858] mmcblk1: mmc1:0001 M62704 3.56 GiB
    [    1.399584] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
    [    1.405729] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
    [    1.411841] mmcblk1rpmb: mmc1:0001 M62704 partition 3 512 KiB
    [    1.418879]  mmcblk1: p1
    [    1.522801] tda998x 0-0070: found TDA19988
    [    1.528060] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops)
    [    1.534161] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.540817] [drm] No driver support for vblank timestamp query.
    [    1.547187] [drm] Cannot find any crtc or sizes
    [    1.552304] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
    [    1.559845] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.567260] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
    [    1.574976] hctosys: unable to open rtc device (rtc0)
    [    1.580505] ALSA device list:
    [    1.583668]   No soundcards found.
    [    2.561242] [drm] Cannot find any crtc or sizes
    [    4.307017] EXT4-fs (mmcblk0p2): recovery complete
    [    4.314654] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    4.323829] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    4.337731] devtmpfs: mounted
    [    4.342329] Freeing unused kernel memory: 1024K
    [    4.701144] systemd[1]: System time before build time, advancing clock.
    [    4.766273] 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)
    [    4.787870] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.10!
    
    [    4.832570] systemd[1]: Set hostname to <am335x-evm>.
    [    5.220936] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown lvalue 'ExecStopPre' in section 'Service'
    [    5.521483] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.539975] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    5.570929] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.580458] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    5.611157] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.618603] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    5.652074] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    5.692878] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    5.721309] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Created slice System Slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Created slice system-getty.slice.
             Mounting POSIX Message Queue File System...
             Mounting Temporary Directory (/tmp)...
    [  OK  ] Reached target Paths.
             Mounting Kernel Debug File System...
    [  OK  ] Listening on Journal Socket.
             Starting Load Kernel Modules...
             Starting Journal Service...
    [    6.242966] cryptodev: loading out-of-tree module taints kernel.
    [    6.267449] cryptodev: driver 1.9 loaded.
             Starting Create list of required st�ce nodes for the current kernel...
             Starting Remount Root and Kernel File Systems...
    [    6.317777] usbcore: registered new interface driver usbfs
    [    6.361111] usbcore: registered new interface driver hub
    [    6.361230] usbcore: registered new device driver usb
    [    6.389729] usbcore: registered new interface driver usbserial
    [  OK  ] Mounted Kernel Debug File System.
    [    6.434719] usbcore: registered new interface driver ftdi_sio
    [  OK  ] Mounted POSIX Message Queue File System.
    [    6.452671] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    6.471258] usbserial: USB Serial support registered for FTDI USB Serial Device
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Journal Service.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Create list of required sta�vice nodes for the current kernel.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting Create System Users...
             Starting Rebuild Hardware Database...
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Create System Users.
    [  OK  ] Started Apply Kernel Variables.
    [    7.002823] systemd-journald[101]: Received request to flush runtime journal from PID 1
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Rebuild Journal Catalog...
             Starting Rebuild Dynamic Linker Cache...
             Starting Create Volatile Files and Directories...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Rebuild Dynamic Linker Cache.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Rebuild Hardware Database.
             Starting Update is Completed...
             Starting udev Coldplug all Devices...
    [  OK  ] Started Update is Completed.
    [   16.191054] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  OK  ] Found device /dev/ttyS0.
    [   16.269727] omap_rtc 44e3e000.rtc: registered as rtc0
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [   16.527659] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
             Starting Network Service...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting uim-sysfs.service...
             Starting RPC Bind Service...
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started D-Bus System Message Bus.
    [   17.482646] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   17.669014] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   17.687128] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   17.716887] PM: Cannot get wkup_m3_ipc handle
    [   17.850164] omap-aes 53500000.aes: will run requests pump with realtime priority
    [   17.938120] remoteproc remoteproc0: wkup_m3 is available
    [   17.951304] PM: Cannot get wkup_m3_ipc handle
    [   17.951382] remoteproc remoteproc0: powering up wkup_m3
    [   17.968629] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224628
    [   17.968879] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   17.968908] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Periodic Command Scheduler.
    [   18.663266] PM: bootloader does not support rtc-only!
    [   18.681297] [drm] Initialized pvr 1.14.3699939 20110701 for 56000000.sgx on minor 1
             Starting Login Service...
    [   18.760706] net eth0: initializing cpsw version 1.12 (0)
    [  OK  ] Reached target Containers.
    [   18.868545] Generic PHY 4a101000.mdio:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
             Starting Print notice about GPLv3 packages...
    [   19.083345] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: no source widget found for Playback
    [   19.149591] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Kernel Logging Service.
    [   19.395372] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: Failed to add route Playback -> direct -> TX
    [  OK  ] Started System Logging Service.
    [   19.606262] asoc-simple-card sound: i2s-hifi <-> 48038000.mcasp mapping ok
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.[   19.711706] asoc-simple-card sound: ASoC: no DMI vendor name!
    
    [   19.827535] random: crng init done
    [   19.827545] random: 7 urandom warning(s) missed due to ratelimiting
    [  OK  ] Started Network Service.
    [  OK  ] Started RPC Bind Service.
    [  OK  ] Found device /dev/ttyS3.
    [   20.783215] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   21.038682] EXT4-fs (mmcblk1p1): recovery complete
    [   21.073977] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
    [   21.122005] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   21.122059] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [  OK  ] Found device /dev/mmcblk0p1.
    [  OK  ] Started Login Service.
             Starting Start USB gadget...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
             Starting Simple Network Management Protocol (SNMP) Daemon....
    [  OK  ] Started Redis In-Memory Data Store.
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Permit User Sessions...
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [   24.397450] udc-core: couldn't find an available UDC - added [g_multi] to list of pending drivers
    [  OK  ] Started uim-sysfs.service.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Network Name Resolution.
    [FAILED] Failed to start Start USB gadget.
    See 'systemctl status gadget-init.service' for details.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [   26.823077] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
    [   27.051030] using random self ethernet address
    [   27.069694] using random host ethernet address
    [   27.112206] using host ethernet address: 50:8C:B1:0F:7E:CA
    [   27.112268] using random self ethernet address
    [   27.227949] using random host ethernet address
    [   27.280861] using host ethernet address: 50:8C:B1:0F:7E:CA
    [   27.287196] pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [   27.300506] usb0: HOST MAC 50:8c:b1:0f:7e:ca
    [   27.302652] usb0: MAC 46:c4:9f:1a:65:82
    [   27.380442] Mass Storage Function, version: 2009/09/11
    [   27.380455] LUN: removable file: (no medium)
    [   27.380910] LUN: removable read only file: /dev/mmcblk0p1
    [   27.380915] Number of LUNs=1
    [   27.390958] g_multi gadget: Multifunction Composite Gadget
    [   27.390968] g_multi gadget: g_multi ready
    [   27.392864] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
    [   27.437917] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   27.437951] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [   27.438162] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [   27.438169] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   27.438174] usb usb1: Product: MUSB HDRC host driver
    [   27.438179] usb usb1: Manufacturer: Linux 4.14.79-gbde58ab01e musb-hcd
    [   27.438183] usb usb1: SerialNumber: musb-hdrc.1
    [   27.456387] hub 1-0:1.0: USB hub found
    [   27.456469] hub 1-0:1.0: 1 port detected
    [   28.059284] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    [   28.320692] remoteproc remoteproc1: 4a334000.pru is available
    [   28.326563] pru-rproc 4a334000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@34000 probed successfully
    [   28.420904] remoteproc remoteproc2: 4a338000.pru is available
    [   28.426771] pru-rproc 4a338000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@38000 probed successfully
    [  OK  ] Found device /dev/ttyGS0.
    [  OK  ] Reached target Sound Card.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Stopped Redis In-Memory Data Store.
    [  OK  ] Started Redis In-Memory Data Store.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Serial Getty on ttyGS0.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting rc.pvr.service...
    [  OK  ] Started Synchronize System and HW clocks.
    [   30.608571] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [  OK  ] Stopped Redis In-Memory Data Store.
    [  OK  ] Started Redis In-Memory Data Store.
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    [  OK  ] Stopped Redis In-Memory Data Store.
    [  OK  ] Started Redis In-Memory Data Store.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            binutils
            cifs-utils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            findutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gstreamer1.0-libav
            gzip
            hidapi
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm4
            libgettextlib
            libgettextsrc
            libgmp10
            libidn11
            libmavconn
            libmpc3
            libmpfr4
            libreadline-dev
            libreadline7
            libunistring2
            m4-dev
            m4
            make
            mavlink
            mavros-extras
            mavros-msgs
            mavros
            nettle
            python3-pycairo
            socketcan-interface
            which
    
    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  ] Stopped Redis In-Memory Data Store.
    [  OK  ] Started Redis In-Memory Data Store.
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Stopped Redis In-Memory Data Store.
    [FAILED] Failed to start Redis In-Memory Data Store.
    See 'systemctl status redis.service' for details.
    [  OK  ] Started weston.service.
             Starting telnetd.service...
             Starting Matrix GUI...
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2018.10 am335x-evm ttyS0
    
    am335x-evm login: root
    root@am335x-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 50:8C:B1:0F:7E:C8
              inet6 addr: fe80::528c:b1ff:fe0f:7ec8%775872/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:6033 (5.8 KiB)
              Interrupt:45
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1%775872/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:245 errors:0 dropped:0 overruns:0 frame:0
              TX packets:245 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:18692 (18.2 KiB)  TX bytes:18692 (18.2 KiB)
    
    usb0      Link encap:Ethernet  HWaddr 46:C4:9F:1A:65:82
              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)
    
    root@am335x-evm:~# ping[   57.521984] cpsw 4a100000.ethernet eth0: Link is Down
    
    root@am335x-evm:~# ifconfig eth0 up
    root@am335x-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 50:8C:B1:0F:7E:C8
              inet6 addr: fe80::528c:b1ff:fe0f:7ec8%775872/64 Scope:Link
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:6033 (5.8 KiB)
              Interrupt:45
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1%775872/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:245 errors:0 dropped:0 overruns:0 frame:0
              TX packets:245 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:18692 (18.2 KiB)  TX bytes:18692 (18.2 KiB)
    
    usb0      Link encap:Ethernet  HWaddr 46:C4:9F:1A:65:82
              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)
    
    root@am335x-evm:~# ping 192.168.1.1
    PING 192.168.1.1 (192.168.1.1): 56 data bytes
    ping: sendto: Network is unreachable
    root@am335x-evm:~# ifconfig eth0 up
    root@am335x-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 50:8C:B1:0F:7E:C8
              inet6 addr: fe80::528c:b1ff:fe0f:7ec8%775872/64 Scope:Link
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:6033 (5.8 KiB)
              Interrupt:45
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1%775872/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:245 errors:0 dropped:0 overruns:0 frame:0
              TX packets:245 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:18692 (18.2 KiB)  TX bytes:18692 (18.2 KiB)
    
    usb0      Link encap:Ethernet  HWaddr 46:C4:9F:1A:65:82
              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)
    
    root@am335x-evm:~# ifconfig eth0 192.168.1.100
    root@am335x-evm:~# ping 192.168.1.1
    PING 192.168.1.1 (192.168.1.1): 56 data bytes
    ^C
    --- 192.168.1.1 ping statistics ---
    2 packets transmitted, 0 packets received, 100% packet loss
    root@am335x-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 50:8C:B1:0F:7E:C8
              inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::528c:b1ff:fe0f:7ec8%775872/64 Scope:Link
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:6033 (5.8 KiB)
              Interrupt:45
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1%775872/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:247 errors:0 dropped:0 overruns:0 frame:0
              TX packets:247 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:18916 (18.4 KiB)  TX bytes:18916 (18.4 KiB)
    
    usb0      Link encap:Ethernet  HWaddr 46:C4:9F:1A:65:82
              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)
    
    root@am335x-evm:~# [  144.703745] NET: Registered protocol family 15
    [  144.848701] Initializing XFRM netlink socket
    
    root@am335x-evm:~# dmesg | grep "mdio"
    [    0.949284] mdio_bus fixed-0: GPIO lookup for consumer reset
    [    0.949292] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [    0.949299] mdio_bus fixed-0: lookup for GPIO reset failed
    [    0.968531] mdio_bus 4a101000.mdio: GPIO lookup for consumer reset
    [    0.968542] mdio_bus 4a101000.mdio: using lookup tables for GPIO lookup
    [    0.968548] mdio_bus 4a101000.mdio: lookup for GPIO reset failed
    [    1.020621] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.028318] davinci_mdio 4a101000.mdio: detected phy mask 0
    [    1.055864] libphy: 4a101000.mdio: probed
    [   18.868545] Generic PHY 4a101000.mdio:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    root@am335x-evm:~# dmesg | grep "cpsw"
    [    1.061221] cpsw 4a100000.ethernet: Detected MACID = 50:8c:b1:0f:7e:c8
    [    1.067886] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.074484] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.079779] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [   18.760706] net eth0: initializing cpsw version 1.12 (0)
    [   21.122005] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   57.521984] cpsw 4a100000.ethernet eth0: Link is Down
    root@am335x-evm:~# dmesg | grep "Link"
    [   21.122005] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   57.521984] cpsw 4a100000.ethernet eth0: Link is Down
    root@am335x-evm:~#
    

    Hi Champs:

    PLease review my attached log.

    I think I'm very close to the ping success, but not knowing why it still no works.

    Any help is appreciated.

    BR Rio

  • Hi Champs:

    Can anyone help my issue?

    Below is the newest status.

    root@am335x-evm:~# ifconfig eth0 down
    root@am335x-evm:~# ifconfig eth0 up
    [ 53.258789] net eth0: initializing cpsw version 1.12 (0)
    [ 53.269282] Generic PHY 4a101000.mdio:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [ 53.296028] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    root@am335x-evm:~# [ 55.362352] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 55.370562] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

    root@am335x-evm:~# ping 192.168.1.1
    PING 192.168.1.1 (192.168.1.1): 56 data bytes
    ping: sendto: Network is unreachable
    root@am335x-evm:~# ifconfig eth0 192.168.1.150
    root@am335x-evm:~# ping 192.168.1.1
    PING 192.168.1.1 (192.168.1.1): 56 data bytes
    ^C
    --- 192.168.1.1 ping statistics ---
    3 packets transmitted, 0 packets received, 100% packet loss
    root@am335x-evm:~# ethtool eth0
    Settings for eth0:
    Supported ports: [ TP AUI BNC MII FIBRE ]
    Supported link modes: 10baseT/Half 10baseT/Full
    100baseT/Half 100baseT/Full
    Supported pause frame use: Symmetric Receive-only
    Supports auto-negotiation: Yes
    Supported FEC modes: Not reported
    Advertised link modes: 10baseT/Half 10baseT/Full
    100baseT/Half 100baseT/Full
    Advertised pause frame use: No
    Advertised auto-negotiation: Yes
    Advertised FEC modes: Not reported
    Link partner advertised link modes: 10baseT/Half 10baseT/Full
    100baseT/Half 100baseT/Full
    Link partner advertised pause frame use: Symmetric Receive-only
    Link partner advertised auto-negotiation: Yes
    Link partner advertised FEC modes: Not reported
    Speed: 100Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
    Supports Wake-on: d
    Wake-on: d
    Current message level: 0x00000000 (0)

    Link detected: yes
    root@am335x-evm:~# [ 141.645476] NET: Registered protocol family 15
    [ 141.793105] Initializing XFRM netlink socket

    root@am335x-evm:~#