This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: Ethernet packet loss issue

Part Number: AM5728

Tool/software: Linux

Hi,

I have a question of ethernet.

The schematic of KSZ9031RN is same as IDK's.

The switch hub, "3COM 3C16471B", communicates well on IDK and custom board without packet loss.

The switch hub, "HP 1405-5G v2 J9792A", communicates well on IDK board but it isn't connected well or packet loss occurs on custom board.

# ethtool -S eth0

NIC statistics:

     Good Rx Frames: 36596

     Broadcast Rx Frames: 12438

     Multicast Rx Frames: 3972

     Pause Rx Frames: 0

     Rx CRC Errors: 0

     Rx Align/Code Errors: 30

     Oversize Rx Frames: 0

     Rx Jabbers: 0

     Undersize (Short) Rx Frames: 0

     Rx Fragments: 5

     Rx Octets: 21182493

     Good Tx Frames: 18080

     Broadcast Tx Frames: 1000

     Multicast Tx Frames: 71

     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: 9223507

     Rx + Tx 64 Octet Frames: 16611

     Rx + Tx 65-127 Octet Frames: 14186

     Rx + Tx 128-255 Octet Frames: 4710

     Rx + Tx 256-511 Octet Frames: 1297

     Rx + Tx 512-1023 Octet Frames: 297

     Rx + Tx 1024-Up Octet Frames: 17605

     Net Octets: 30412649

     Rx Start of Frame Overruns: 0

     Rx Middle of Frame Overruns: 0

     Rx DMA Overruns: 0

     Rx DMA chan: head_enqueue: 1

     Rx DMA chan: tail_enqueue: 32768

     Rx DMA chan: pad_enqueue: 0

     Rx DMA chan: misqueued: 0

     Rx DMA chan: desc_alloc_fail: 0

     Rx DMA chan: pad_alloc_fail: 0

     Rx DMA chan: runt_receive_buf: 0

     Rx DMA chan: runt_transmit_buf: 0

     Rx DMA chan: empty_dequeue: 0

     Rx DMA chan: busy_dequeue: 31286

     Rx DMA chan: good_dequeue: 32641

     Rx DMA chan: requeue: 0

     Rx DMA chan: teardown_dequeue: 0

     Tx DMA chan: head_enqueue: 13075

     Tx DMA chan: tail_enqueue: 5005

     Tx DMA chan: pad_enqueue: 0

     Tx DMA chan: misqueued: 473

     Tx DMA chan: desc_alloc_fail: 0

     Tx DMA chan: pad_alloc_fail: 0

     Tx DMA chan: runt_receive_buf: 0

     Tx DMA chan: runt_transmit_buf: 2240

     Tx DMA chan: empty_dequeue: 13066

     Tx DMA chan: busy_dequeue: 2287

     Tx DMA chan: good_dequeue: 18080

     Tx DMA chan: requeue: 13109

     Tx DMA chan: teardown_dequeue: 0

- XI Clock of IDK board :

- XI Clck of custom board :

Could you tell me anything else to check and how to improve it?

Thanks BR,

  • Hi,

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

    Thanks for your reply.

    Here is the information requested. :

    U-Boot 2016.05-svn48 (Jul 03 2018 - 15:21:04 +0900)
    
    CPU  : DRA752-GP ES2.0
    Model: TI AM5728 IDK
    Board: AM572x IDK REV <NULL>
    DRAM:  2 GiB
    MMC:   no pinctrl for sdr104
    no pinctrl for ddr50
    no pinctrl for sdr50
    no pinctrl for sdr25
    no pinctrl for sdr12
    OMAP SD/MMC: 0, OMAP SD/MMC: 1
    
    ** Unable to use mmc 1:1 for loading the env **
    Using default environment
    
    I2C chip 50: requested alen 2 does not match chip offset_len 1
    SCSI:  SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst 
    scanning bus for devices...
    Found 0 device(s).
    Net:   
    Warning: ethernet@48484000 using MAC address from ROM
    eth0: ethernet@48484000
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc1(part 0) is current device
    SD/MMC found on device 1
    ** Unrecognized filesystem type **
    ** Unrecognized filesystem type **
    switch to partitions #0, OK
    mmc1(part 0) is current device
    SD/MMC found on device 1
    SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB, mapped at 5c000000
    device 0 offset 0x1c0000, size 0x400000
    SF: 4194304 bytes @ 0x1c0000 Read: OK
    device 0 offset 0x180000, size 0x40000
    SF: 262144 bytes @ 0x180000 Read: OK
    Kernel image @ 0x82000000 [ 0x000000 - 0x341f78 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe5000, end 8ffffdf7 ... OK
    
    Starting kernel ...
    
    Booting Linux on physical CPU 0x0
    Initializing cgroup subsys cpuset
    Initializing cgroup subsys cpu
    Initializing cgroup subsys cpuacct
    Linux version 4.4.19-rt25-gf572d285f0 (root@johnkim-Ubuntu) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #9 SMP PREEMPT RT Wed Jul 4 14:00:07 KST 2018
    CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    Machine model: TI AM5728 IDK
    Reserved memory: created CMA memory pool at 0x0000000095800000, size 32 MiB
    Reserved memory: initialized node ipu1_cma@95800000, compatible id shared-dma-pool
    Reserved memory: created CMA memory pool at 0x0000000097800000, size 32 MiB
    Reserved memory: initialized node ipu2_cma@97800000, compatible id shared-dma-pool
    Reserved memory: created CMA memory pool at 0x0000000099800000, size 32 MiB
    Reserved memory: initialized node dsp1_cma@99800000, compatible id shared-dma-pool
    Reserved memory: created CMA memory pool at 0x000000009b800000, size 32 MiB
    Reserved memory: initialized node dsp2_cma@9b800000, compatible id shared-dma-pool
    cma: Reserved 24 MiB at 0x00000000fe400000
    Forcing write-allocate cache policy for SMP
    Memory policy: Data cache writealloc
    OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
    DRA752 ES2.0
    PERCPU: Embedded 11 pages/cpu @eed33000 s15424 r8192 d21440 u45056
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 472640
    Kernel command line: console=ttyO0,115200n8 root=PARTUUID=b20c611f-28c7-a549-b1b0-142b607587bf ro rootfstype=ext4 rootwait
    PID hash table entries: 4096 (order: 2, 16384 bytes)
    Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
    Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    Memory: 1713360K/1897472K available (6115K kernel code, 404K rwdata, 2336K rodata, 344K init, 317K bss, 28464K reserved, 155648K cma-reserved, 1283072K highmem)
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
        vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
        lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .text : 0xc0008000 - 0xc084901c   (8453 kB)
          .init : 0xc084a000 - 0xc08a0000   ( 344 kB)
          .data : 0xc08a0000 - 0xc09052e8   ( 405 kB)
           .bss : 0xc0908000 - 0xc0957524   ( 318 kB)
    SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    Preemptible hierarchical RCU implementation.
    	RCU kthread priority: 1.
    NR_IRQS:16 nr_irqs:16 16
    OMAP clockevent source: timer1 at 32786 Hz
    Architected cp15 timer(s) running at 6.14MHz (virt).
    clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    Switching to timer-based delay loop, resolution 162ns
    clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    OMAP clocksource: 32k_counter at 32768 Hz
    Console: colour dummy device 80x30
    WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    This ensures that you still see kernel messages. Please
    update your kernel commandline.
    Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    Initializing cgroup subsys io
    Initializing cgroup subsys memory
    Initializing cgroup subsys devices
    Initializing cgroup subsys freezer
    Initializing cgroup subsys perf_event
    Initializing cgroup subsys pids
    CPU: Testing write buffer coherency: ok
    /cpus/cpu@0 missing clock-frequency property
    /cpus/cpu@1 missing clock-frequency property
    CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    Setting up static identity map for 0x800082c0 - 0x80008318
    CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    Brought up 2 CPUs
    SMP: Total of 2 processors activated (24.59 BogoMIPS).
    CPU: All CPU(s) started in SVC mode.
    devtmpfs: initialized
    VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    omap_hwmod: l3_main_2 using broken dt data from ocp
    omap_hwmod: dcan1: _wait_target_disable failed
    omap_hwmod: dcan2: _wait_target_disable failed
    clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    pinctrl core: initialized pinctrl subsystem
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    OMAP GPIO hardware version 0.1
    irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    omap-gpmc 50000000.gpmc: GPMC revision 6.0
    gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    hw-breakpoint: maximum watchpoint size is 8 bytes.
    omap4_sram_init:Unable to allocate sram needed to handle errata I688
    omap4_sram_init:Unable to get sram pool needed to handle errata I688
    OMAP DMA hardware revision 0.0
    omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
    edma 43300000.edma: memcpy is disabled
    edma 43300000.edma: TI EDMA DMA engine driver
    omap-iommu 40d01000.mmu: 40d01000.mmu registered
    omap-iommu 40d02000.mmu: 40d02000.mmu registered
    omap-iommu 58882000.mmu: 58882000.mmu registered
    omap-iommu 55082000.mmu: 55082000.mmu registered
    omap-iommu 41501000.mmu: 41501000.mmu registered
    omap-iommu 41502000.mmu: 41502000.mmu registered
    vgaarb: loaded
    palmas 0-0058: Irq flag is 0x00000004
    palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
    omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    pps_core: LinuxPPS API ver. 1 registered
    pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    PTP clock support registered
    EDAC MC: Ver: 3.0.0
    omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    clocksource: Switched to clocksource arch_sys_counter
    NET: Registered protocol family 2
    TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    TCP bind hash table entries: 8192 (order: 5, 229376 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    UDP hash table entries: 512 (order: 3, 32768 bytes)
    UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    futex hash table entries: 512 (order: 3, 32768 bytes)
    NFS: Registering the id_resolver key type
    Key type id_resolver registered
    Key type id_legacy registered
    ntfs: driver 2.1.32 [Flags: R/O].
    jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    bounce: pool size: 64 pages
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 299, base_baud = 3000000) is a 8250
    console [ttyS0] enabled
    4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 300, base_baud = 3000000) is a 8250
    48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
    omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [drm] Initialized drm 1.1.0 20060810
    ldoln: supplied by VMAIN
    OMAP DSS rev 6.1
    omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    loop: module loaded
    m25p80 spi32766.0: s25fl256s1 (32768 Kbytes)
    8 ofpart partitions found on MTD device spi32766.0
    Creating 8 MTD partitions on "spi32766.0":
    0x000000000000-0x000000040000 : "QSPI.SPL"
    0x000000040000-0x000000140000 : "QSPI.u-boot"
    0x000000140000-0x000000180000 : "QSPI.env"
    0x000000180000-0x0000001c0000 : "QSPI.dtb"
    0x0000001c0000-0x0000005c0000 : "QSPI.kernel"
    0x0000005c0000-0x0000014c0000 : "QSPI.app"
    0x0000014c0000-0x0000019c0000 : "QSPI.db"
    0x0000019c0000-0x000001ec0000 : "QSPI.testprg"
    Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    libphy: Fixed MDIO Bus: probed
    CAN device driver interface
    c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=356)
    c_can_platform 48480000.can: c_can_platform device registered (regs=fa480000, irq=357)
    davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    davinci_mdio 48485000.mdio: detected phy mask fffffffe
    libphy: 48485000.mdio: probed
    davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
    cpsw 48484000.ethernet: Detected MACID = 94:e3:6d:4f:2d:fa
    cpsw 48484000.ethernet: cpsw: Random MACID = c6:99:54:09:5f:6e
    mousedev: PS/2 mouse device common for all mice
    rtc-ds1307 4-0068: rtc core: registered ds3231 as rtc0
    omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
    i2c /dev entries driver
    omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    omap_hsmmc 4809c000.mmc: Got CD GPIO
    smps9: supplied by VMAIN
    V3_3D: supplied by smps9
    ldo1: supplied by VMAIN
    omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    alg: skcipher: setkey failed on test 5 for ecb-des-omap: flags=100
    alg: skcipher-ddst: setkey failed on test 5 for ecb-des-omap: flags=100
    alg: skcipher-ddst: setkey failed on test 5 for ecb-des-omap: flags=100
    omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@95800000
     remoteproc0: 58820000.ipu is available
     remoteproc0: Note: remoteproc is still under development and considered experimental.
     remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
     remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
     remoteproc0: failed to load dra7-ipu1-fw.xem4
    omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@97800000
     remoteproc1: 55020000.ipu is available
     remoteproc1: Note: remoteproc is still under development and considered experimental.
     remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99800000
     remoteproc2: 40800000.dsp is available
     remoteproc2: Note: remoteproc is still under development and considered experimental.
     remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9b800000
     remoteproc3: 41000000.dsp is available
     remoteproc3: Note: remoteproc is still under development and considered experimental.
     remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    Initializing XFRM netlink socket
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    can: controller area network core (rev 20120528 abi 9)
    NET: Registered protocol family 29
    can: raw protocol (rev 20120528)
    can: broadcast manager protocol (rev 20120528 t)
    can: netlink gateway (rev 20130117) max_hops=1
    8021q: 802.1Q VLAN Support v1.8
    Key type dns_resolver registered
    NET: Registered protocol family 41
    omap_voltage_late_init: Voltage driver support not added
    Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    Power Management for TI OMAP4+ devices.
    Registering SWP/SWPB emulation handler
     remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
    dmm 4e000000.dmm: initialized all PAT entries
    ldo3: supplied by VMAIN
     remoteproc1: failed to load dra7-ipu2-fw.xem4
     remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
     remoteproc2: failed to load dra7-dsp1-fw.xe66
     remoteproc3: Direct firmware load for dra7-dsp2-fw.xe66 failed with error -2
    mmc1: MAN_BKOPS_EN bit is not set
    [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [drm] No driver support for vblank timestamp query.
     remoteproc3: failed to load dra7-dsp2-fw.xe66
    omapdss error: HDMI I2C Master Error
    [drm] Enabling DMM ywrap scrolling
    Console: switching to colour frame buffer device 128x48
    omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    rtc-ds1307 4-0068: setting system clock to 2018-07-06 11:19:23 UTC (1530875963)
    mmc1: new DDR MMC card at address 0001
    mmcblk0: mmc1:0001 R1J56L 13.8 GiB 
    mmcblk0boot0: mmc1:0001 R1J56L partition 1 16.0 MiB
    mmcblk0boot1: mmc1:0001 R1J56L partition 2 16.0 MiB
     mmcblk0: p1 p2 p3 p4 p5
    EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
    devtmpfs: mounted
    Freeing unused kernel memory: 344K (c084a000 - c08a0000)
    random: systemd: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
    random: systemd: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
    systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2016.08!
    
    systemd[1]: Set hostname to <am57xx-evm>.
    random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 20 bits of entropy available)
    random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 20 bits of entropy available)
    random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
    random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
    random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 22 bits of entropy available)
    random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
    random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
    random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
    systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    systemd[1]: sysinit.target: Found dependency on alignment.service/start
    systemd[1]: sysinit.target: Found dependency on basic.target/start
    systemd[1]: sysinit.target: Found dependency on sockets.target/start
    systemd[1]: sysinit.target: Found dependency on rpcbind.socket/start
    systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
    [ SKIP ] Ordering cycle found, skipping alignment.service
    systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    systemd[1]: Starting Synchronize System and HW clocks...
             Starting Synchronize System and HW clocks...
    systemd[1]: Starting Journal Service...
             Starting Journal Service...
    systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    systemd[1]: Starting Create list of required static device nodes for the current kernel...
             Starting Create list of required st... nodes for the current kernel...
    systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    systemd[1]: Mounting Temporary Directory...
             Mounting Temporary Directory...
    systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    systemd[1]: Starting Setup Virtual Console...
             Starting Setup Virtual Console...
    systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    CMEMK module: reference Linux version 4.4.19
    allocated heap buffer 0x40500000 of size 0x100000
    cmemk initialized
    cryptodev: driver 1.8 loaded.
    systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    systemd[1]: Starting File System Check on Root Device...
             Starting File System Check on Root Device...
    systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    systemd[1]: Mounted Debug File System.
    [  OK  ] Mounted Debug File System.
    systemd[1]: Mounted Temporary Directory.
    [  OK  ] Mounted Temporary Directory.
    systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started File System Check on Root Device.
             Starting Remount Root and Kernel File Systems...
    EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
             Starting udev Kernel Device Manager...
             Starting udev Coldplug all Devices...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
    systemd-journald[235]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Bind mount volatile /var/lib...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Found device /dev/ttyS0.
    random: nonblocking pool is initialized
    EXT4-fs (mmcblk0p2): recovery complete
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (mmcblk0p5): recovery complete
    EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (mmcblk0p3): recovery complete
    EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Started Bind mount volatile /var/lib.
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
             Starting Load/Save Random Seed...
    [  OK  ] Started Create Volatile Files and Directories.
    [  OK  ] Started Load/Save Random Seed.
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Login Service...
    [  OK  ] Started System Logging Service.
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started sootoo23 scripts.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started D-Bus System Message Bus.
    zinitix : [zinitix_touch_init: 2944]zinitix_touch_init
     <-- ######zinitix_touch_init###### 
    zinitix : [zinitix_touch_probe: 2639]sootoo23 > zinitix_touch_probe+
    zinitix : [zinitix_touch_probe: 2645]driver version = 2.0.8
    zinitix : [zinitix_touch_probe: 2707]power on 
    zinitix : [ts_power_sequence :  747]chip code = 0xe538
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
             Starting Print notice about GPLv3 packages...
             Starting uim-sysfs.service...
             Starting Network Service...
             Starting Permit User Sessions...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Started Permit User Sessions.
    zinitix : [ts_init_touch     : 1419]ts_init_touch->ts_cable_attached_info  
    zinitix : [ts_init_touch     : 1591]touch max x = 800, y = 480
    net eth1: initializing cpsw version 1.15 (0)
    net eth0: initialized cpsw ale version 1.4
    net eth0: ALE Table size 1024
    libphy: PHY  not found
    net eth1: phy "" not found on slave 1, err -19
    8021q: adding VLAN 0 to HW filter on device eth1
    net eth0: initializing cpsw version 1.15 (0)
    [  OK  ] Started Network Service.
    zinitix : [ts_init_touch     : 1609]max supported finger num = 5
    zinitix : [ts_init_touch     : 1625]use i2s checksum = 0
    zinitix : [ts_init_touch     : 1655]esd timer register = 100
    zinitix : [ts_init_touch     : 1663]successfully initialized
    net eth0: phy found : id is : 0x221622
    8021q: adding VLAN 0 to HW filter on device eth0
    zinitix : [zinitix_touch_probe: 2763]ts_esd_timer_start
    zinitix : [zinitix_touch_probe: 2814]register zinitix_touch input device 
    input: zinitix_touch as /devices/platform/44000000.ocp/4807c000.i2c/i2c-4/4-0020/input/input0
    zinitix : [zinitix_touch_probe: 2824][sunny] touch_dev->irq = GPIO_TOUCH_IRQ=131
    zinitix : [zinitix_touch_probe: 2834]request irq (irq = 131, pin = 93) 
    zinitix_touch 4-0020: zinitix touch probe.
    ti-pruss 4b200000.pruss: creating PRU cores and other child platform devices
    irq: no irq domain found for /ocp/pruss@4b200000/intc@4b220000 !
    irq: no irq domain found for /ocp/pruss@4b200000/intc@4b220000 !
    ti-pruss 4b280000.pruss: creating PRU cores and other child platform devices
    irq: no irq domain found for /ocp/pruss@4b280000/intc@4b2a0000 !
    irq: no irq domain found for /ocp/pruss@4b280000/intc@4b2a0000 !
    [  OK  ] Reached target Network.
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Network Name Resolution...
    davinci_mdio 4b2b2400.mdio: davinci mdio revision 1.6
    libphy: 4b2b2400.mdio: probed
    davinci_mdio 4b2b2400.mdio: phy[0]: device 4b2b2400.mdio:00, driver TI DP83822 10/100 Mbps PHY
    davinci_mdio 4b2b2400.mdio: phy[1]: device 4b2b2400.mdio:01, driver TI DP83822 10/100 Mbps PHY
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Reached target Login Prompts.
    [  OK  ] Started Network Name Resolution.
     remoteproc4: 4b234000.pru0 is available
     remoteproc4: Note: remoteproc is still under development and considered experimental.
     remoteproc4: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements. remoteproc4: powering up 4b234000.pru0
    
     remoteproc4: Booting fw image am57xx-pru1_0-fw, size 75856
    ti-pruss 4b200000.pruss: configured system_events = 0x0000000000030000 intr_channels = 0x00000005 host_intr = 0x00000005
     remoteproc4: remote processor 4b234000.pru0 is now up
    virtio_rpmsg_bus virtio0: rpmsg host is online
    virtio_rpmsg_bus virtio0: creating channel rpmsg-pru addr 0x1e
    rpmsg_pru rpmsg0: new rpmsg_pru device: /dev/rpmsg_pru30
     remoteproc4: registered virtio0 (type 7)
    pru-rproc 4b234000.pru0: PRU rproc node /ocp/pruss@4b200000/pru0@4b234000 probed successfully
     remoteproc5: 4b238000.pru1 is available
     remoteproc5: Note: remoteproc is still under development and considered experimental.
     remoteproc5: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
     remoteproc5: powering up 4b238000.pru1
     remoteproc5: Booting fw image am57xx-pru1_1-fw, size 75856
    ti-pruss 4b200000.pruss: configured system_events = 0x00000000000c0000 intr_channels = 0x0000000a host_intr = 0x0000000a
     remoteproc5: remote processor 4b238000.pru1 is now up
    virtio_rpmsg_bus virtio1: rpmsg host is online
    virtio_rpmsg_bus virtio1: creating channel rpmsg-pru addr 0x1f
    rpmsg_pru rpmsg1: new rpmsg_pru device: /dev/rpmsg_pru31
     remoteproc5: registered virtio1 (type 7)
    pru-rproc 4b238000.pru1: PRU rproc node /ocp/pruss@4b200000/pru1@4b238000 probed successfully
    *************************************************************** remoteproc6: 4b2b4000.pru0 is available
    
    *************************************************************** remoteproc6: Note: remoteproc is still under development and considered experimental.
    
    NOTICE: This file system contains the following GPLv3 packages: remoteproc6: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    
    pru-rproc 4b2b4000.pru0: PRU rproc node /ocp/pruss@4b280000/pru0@4b2b4000 probed successfully
     remoteproc7: 4b2b8000.pru1 is available
     remoteproc7: Note: remoteproc is still under development and considered experimental.
     remoteproc7: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    pru-rproc 4b2b8000.pru1: PRU rproc node /ocp/pruss@4b280000/pru1@4b2b8000 probed successfully
    prueth pruss2_eth: port 1: using random MAC addr: aa:e7:ab:32:f7:2d
    	autoconfprueth pruss2_eth: port 2: using random MAC addr: 86:e3:56:b5:a1:8e
    
    	binutils-dev
    [	binutils
      OK  	bison-dev
    ] 	bison
    Started Login Service.	cpp-symlinks
    
    	cpp
    	dosfstools
    	g++-symlinks
    	g++
    	gawk-dev
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbc6x
    	gdbserver
    	gstreamer1.0-libav
    	hidapi
    	libcairo-perf-utils
    	libgmp10
    	libidn11
    	libmpc3
    	libmpfr4
    	make
    	nettle
    	parted
    	swig-dev
    	swig
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    prueth pruss2_eth: TI PRU ethernet driver initialized
     remoteproc6: powering up 4b2b4000.pru0
     remoteproc6: Booting fw image ti-pruss/am57xx-pru0-prueth-fw.elf, size 4350
    ti-pruss 4b280000.pruss: configured system_events = 0x0000060000500000 intr_channels = 0x00000095 host_intr = 0x00000115
     remoteproc6: remote processor 4b2b4000.pru0 is now up
    net eth2: started
    c_can_platform 4ae3c000.can can0: setting BTR=4d00 BRPE=0000
     remoteproc7: powering up 4b2b8000.pru1
     remoteproc7: Booting fw image ti-pruss/am57xx-pru1-prueth-fw.elf, size 4382
    ti-pruss 4b280000.pruss: configured system_events = 0x0060000000a00000 intr_channels = 0x0000012a host_intr = 0x0000022a
     remoteproc7: remote processor 4b2b8000.pru1 is now up
    net eth3: started
    c_can_platform 48480000.can can1: setting BTR=4d00 BRPE=0000
    route: SIOCADDRT: Network is unreachable
    mount: /dev/mtdblock5 mounted on /apps.
    mount: /dev/mtdblock6 mounted on /.db.
    [  OK  ] Started uim-sysfs.service.
             Starting rc.pvr.service...
    [  OK  ] Started rc.pvr.service.
             Starting tiipclad-daemon.service...
             Starting telnetd.service...
    [  OK  ] Started tiipclad-daemon.service.
    [  OK  ] Started telnetd.service.
             Starting thttpd.service...
    [  OK  ] Started thttpd.service.
             Starting rng-tools.service...
    [  OK  ] Started rng-tools.service.
             Starting gdbserverproxy.service...
    [  OK  ] Started gdbserverproxy.service.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am57xx-evm ttyS0
    
    Arago 2016.08 am57xx-evm ttyS0
    
    am57xx-evm login: root (automatic login)
    omapdss error: HDMI I2C Master Error
    
    
    HUR Application Start!
    root@am57xx-evm:~# cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    root@am57xx-evm:~# 
    root@am57xx-evm:~# uname -a
    Linux am57xx-evm 4.4.19-rt25-gf572d285f0 #9 SMP PREEMPT RT Wed Jul 4 14:00:07 KST 2018 armv7l GNU/Linux
    root@am57xx-evm:~# 
    root@am57xx-evm:~# 
    root@am57xx-evm:~# ethtool eth0
    Settings for eth0:
    	Supported ports: [ TP MII ]
    	Supported link modes:   10baseT/Half 10baseT/Full 
    	                        100baseT/Half 100baseT/Full 
    	                        1000baseT/Half 1000baseT/Full 
    	Supported pause frame use: Symmetric
    	Supports auto-negotiation: Yes
    	Advertised link modes:  10baseT/Half 10baseT/Full 
    	                        100baseT/Half 100baseT/Full 
    	                        1000baseT/Half 1000baseT/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: Symmetric Receive-only
    	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
    root@am57xx-evm:~# 
    root@am57xx-evm:~# 
    root@am57xx-evm:~# 
    root@am57xx-evm:~# ethtool -S eth0
    NIC statistics:
         Good Rx Frames: 15
         Broadcast Rx Frames: 9
         Multicast Rx Frames: 6
         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: 1624
         Good Tx Frames: 13
         Broadcast Tx Frames: 6
         Multicast Tx Frames: 7
         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: 2894
         Rx + Tx 64 Octet Frames: 11
         Rx + Tx 65-127 Octet Frames: 5
         Rx + Tx 128-255 Octet Frames: 5
         Rx + Tx 256-511 Octet Frames: 7
         Rx + Tx 512-1023 Octet Frames: 0
         Rx + Tx 1024-Up Octet Frames: 0
         Net Octets: 4518
         Rx Start of Frame Overruns: 0
         Rx Middle of Frame Overruns: 0
         Rx DMA Overruns: 0
         Rx DMA chan: head_enqueue: 1
         Rx DMA chan: tail_enqueue: 136
         Rx DMA chan: pad_enqueue: 0
         Rx DMA chan: misqueued: 0
         Rx DMA chan: desc_alloc_fail: 0
         Rx DMA chan: pad_alloc_fail: 0
         Rx DMA chan: runt_receive_buf: 0
         Rx DMA chan: runt_transmit_buf: 0
         Rx DMA chan: empty_dequeue: 0
         Rx DMA chan: busy_dequeue: 9
         Rx DMA chan: good_dequeue: 9
         Rx DMA chan: requeue: 0
         Rx DMA chan: teardown_dequeue: 0
         Tx DMA chan: head_enqueue: 13
         Tx DMA chan: tail_enqueue: 0
         Tx DMA chan: pad_enqueue: 0
         Tx DMA chan: misqueued: 0
         Tx DMA chan: desc_alloc_fail: 0
         Tx DMA chan: pad_alloc_fail: 0
         Tx DMA chan: runt_receive_buf: 0
         Tx DMA chan: runt_transmit_buf: 2
         Tx DMA chan: empty_dequeue: 13
         Tx DMA chan: busy_dequeue: 0
         Tx DMA chan: good_dequeue: 13
         Tx DMA chan: requeue: 13
         Tx DMA chan: teardown_dequeue: 0
    root@am57xx-evm:~# 
    root@am57xx-evm:~# 
    root@am57xx-evm:~# 
    root@am57xx-evm:~# 
    root@am57xx-evm:~# 
    root@am57xx-evm:~# 
    root@am57xx-evm:~# ifconfig
    can0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
              UP RUNNING NOARP  MTU:16  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:10 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:100 
    
    can1      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
              UP RUNNING NOARP  MTU:16  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:10 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:101 
    
    eth0      Link encap:Ethernet  HWaddr 94:E3:6D:4F:2D:FA  
              inet addr:192.168.123.50  Bcast:192.168.123.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:9 errors:0 dropped:0 overruns:0 frame:0
              TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:540 (540.0 B)  TX bytes:2842 (2.7 KiB)
              Interrupt:97 
    
    eth1      Link encap:Ethernet  HWaddr C6:99:54:09:5F:6E  
              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)
    
    eth2      Link encap:Ethernet  HWaddr AA:E7:AB:32:F7:2D  
              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)
    
    eth3      Link encap:Ethernet  HWaddr 86:E3:56:B5:A1:8E  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:3 errors:0 dropped:0 overruns:0 frame:0
              TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1 
              RX bytes:216 (216.0 B)  TX bytes:216 (216.0 B)
    
    root@am57xx-evm:~# 

    SDK Version is ti-processor-sdk-linux-rt-am57xx-evm-03.01.00.06

    The customer does not give the device tree all because it includes specific settings of their products.

    Please tell me what you need, I will provide excerpts.

    BR,

  • Hi Henry,
    Please dump the PHY registers in a GOOD and BAD case and post the results here.

    Instructions for dumping the PHY regs in uBoot can be found here: training.ti.com/.../ETH_System_SW_on_AMClass_Devices.pdf
  • Hi DK,

    Thanks for your reply.

    Here is the PHY registers requested.

    All tested using the same cable.

    1. Good case : Custom board <-> The switch hub, "3COM 3C16471B"

    BMCR(0x0): 0x1140
    BMSR(0x1): 0x796d
    PHYIDR1(0x2): 0x22
    PHYIDR2(0x3): 0x1622
    ANAR(0x4): 0x5e1
    ANLPAR(0x5): 0x4de1
    ANER(0x6): 0x5
    ANNPTR(0x7): 0x2001
    ANLNPTR(0x8): 0x0
    1000T CTRL(0x9): 0x300
    1000T STS(0xa): 0x4000
    MMD CTRL(0xd): 0x4000
    MMD DATA(0xe): 0x1a80
    EXT STS(0xF): 0x3000
    Remote Loopback(0x11): 0xf4
    LinkMD Cable Diagnostic(0x12): 0x0
    D PMA/PCS STS(0x13): 0x1
    RXER(0x15): 0x0
    INT CTRL/STS(0x1b): 0x0
    AUTO MDI/MDI-X(0x1c): 0x0
    PHYRCR(0x1f): 0x328

    Kernel: ethtool –S eth0
    root@am57xx-evm:/# ethtool -S eth0

    NIC statistics:

         Good Rx Frames: 10

         Broadcast Rx Frames: 9

         Multicast Rx Frames: 1

         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: 795

         Good Tx Frames: 14

         Broadcast Tx Frames: 6

         Multicast Tx Frames: 8

         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: 3133

         Rx + Tx 64 Octet Frames: 11

         Rx + Tx 65-127 Octet Frames: 3

         Rx + Tx 128-255 Octet Frames: 3

         Rx + Tx 256-511 Octet Frames: 7

         Rx + Tx 512-1023 Octet Frames: 0

         Rx + Tx 1024-Up Octet Frames: 0

         Net Octets: 3928

         Rx Start of Frame Overruns: 0

         Rx Middle of Frame Overruns: 0

         Rx DMA Overruns: 0

         Rx DMA chan: head_enqueue: 1

         Rx DMA chan: tail_enqueue: 136

         Rx DMA chan: pad_enqueue: 0

         Rx DMA chan: misqueued: 0

         Rx DMA chan: desc_alloc_fail: 0

         Rx DMA chan: pad_alloc_fail: 0

         Rx DMA chan: runt_receive_buf: 0

         Rx DMA chan: runt_transmit_buf: 0

         Rx DMA chan: empty_dequeue: 0

         Rx DMA chan: busy_dequeue: 9

         Rx DMA chan: good_dequeue: 9

         Rx DMA chan: requeue: 0

         Rx DMA chan: teardown_dequeue: 0

         Tx DMA chan: head_enqueue: 14

         Tx DMA chan: tail_enqueue: 0

         Tx DMA chan: pad_enqueue: 0

         Tx DMA chan: misqueued: 0

         Tx DMA chan: desc_alloc_fail: 0

         Tx DMA chan: pad_alloc_fail: 0

         Tx DMA chan: runt_receive_buf: 0

         Tx DMA chan: runt_transmit_buf: 2

         Tx DMA chan: empty_dequeue: 14

         Tx DMA chan: busy_dequeue: 0

         Tx DMA chan: good_dequeue: 14

         Tx DMA chan: requeue: 14

         Tx DMA chan: teardown_dequeue: 0

    2. Bad case : Custom board <-> The switch hub, "HP 1405-5G v2 J9792A"

    BMCR(0x0): 0x1140
    BMSR(0x1): 0x796d
    PHYIDR1(0x2): 0x22
    PHYIDR2(0x3): 0x1622
    ANAR(0x4): 0x5e1
    ANLPAR(0x5): 0xc5e1
    ANER(0x6): 0xd
    ANNPTR(0x7): 0x2001
    ANLNPTR(0x8): 0x4006
    1000T CTRL(0x9): 0x300
    1000T STS(0xa): 0x38ff
    MMD CTRL(0xd): 0x4000
    MMD DATA(0xe): 0x1a80
    EXT STS(0xF): 0x3000
    Remote Loopback(0x11): 0xf4
    LinkMD Cable Diagnostic(0x12): 0x0
    D PMA/PCS STS(0x13): 0xd7e
    RXER(0x15): 0x0
    INT CTRL/STS(0x1b): 0x0
    AUTO MDI/MDI-X(0x1c): 0x0
    PHYRCR(0x1f): 0x348

    Kernel: ethtool –S eth0
    root@am57xx-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: 110

         Rx Align/Code Errors: 67

         Oversize Rx Frames: 0

         Rx Jabbers: 0

         Undersize (Short) Rx Frames: 0

         Rx Fragments: 167

         Rx Octets: 0

         Good Tx Frames: 61

         Broadcast Tx Frames: 25

         Multicast Tx Frames: 36

         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: 10620

         Rx + Tx 64 Octet Frames: 16

         Rx + Tx 65-127 Octet Frames: 149

         Rx + Tx 128-255 Octet Frames: 49

         Rx + Tx 256-511 Octet Frames: 24

         Rx + Tx 512-1023 Octet Frames: 0

         Rx + Tx 1024-Up Octet Frames: 0

         Net Octets: 36383

         Rx Start of Frame Overruns: 0

         Rx Middle of Frame Overruns: 0

         Rx DMA Overruns: 0

         Rx DMA chan: head_enqueue: 1

         Rx DMA chan: tail_enqueue: 127

         Rx DMA chan: pad_enqueue: 0

         Rx DMA chan: misqueued: 0

         Rx DMA chan: desc_alloc_fail: 0

         Rx DMA chan: pad_alloc_fail: 0

         Rx DMA chan: runt_receive_buf: 0

         Rx DMA chan: runt_transmit_buf: 0

         Rx DMA chan: empty_dequeue: 0

         Rx DMA chan: busy_dequeue: 0

         Rx DMA chan: good_dequeue: 0

         Rx DMA chan: requeue: 0

         Rx DMA chan: teardown_dequeue: 0

         Tx DMA chan: head_enqueue: 61

         Tx DMA chan: tail_enqueue: 0

         Tx DMA chan: pad_enqueue: 0

         Tx DMA chan: misqueued: 0

         Tx DMA chan: desc_alloc_fail: 0

         Tx DMA chan: pad_alloc_fail: 0

         Tx DMA chan: runt_receive_buf: 0

         Tx DMA chan: runt_transmit_buf: 16

         Tx DMA chan: empty_dequeue: 61

         Tx DMA chan: busy_dequeue: 0

         Tx DMA chan: good_dequeue: 61

         Tx DMA chan: requeue: 61

         Tx DMA chan: teardown_dequeue: 0

    3. Good case : IDK board <-> The switch hub, "HP 1405-5G v2 J9792A"

    BMCR(0x0): 0x1140

    BMSR(0x1): 0x796d

    PHYIDR1(0x2): 0x22

    PHYIDR2(0x3): 0x1622

    ANAR(0x4): 0x5e1

    ANLPAR(0x5): 0xc5e1

    ANER(0x6): 0xd

    ANNPTR(0x7): 0x2001

    ANLNPTR(0x8): 0x4006

    1000T CTRL(0x9): 0x300

    1000T STS(0xa): 0x3800

    MMD CTRL(0xd): 0x4000

    MMD DATA(0xe): 0x1a80

    EXT STS(0xF): 0x3000

    Remote Loopback(0x11): 0xf4

    LinkMD Cable Diagnostic(0x12): 0x0

    D PMA/PCS STS(0x13): 0x806

    RXER(0x15): 0x0

    INT CTRL/STS(0x1b): 0x0

    AUTO MDI/MDI-X(0x1c): 0x0

    PHYRCR(0x1f): 0x348

     

    BR,

  • Thanks Henry,
    From what I can see on the web, only the HP switch you are using is Gigabit-capable. The 3COM device is only 10/100 and as such the margins for successful operation are much larger.

    Taking a look at the PHY dump with the HP switch as the link partner I can see that the IDLE_ERROR_COUNT is maxxed which indicates that there is a not a stable link on the PHY analog (wire) side. This matches up with what the MAC is reporting as RX_CRC and RX_ALIGN/CODE errors in ethtool. You'll need to contact the PHY manufacturer for assistance in resolving this issue.