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.

AM3359: Ethernet ping failing from Board to PC (PC to Board working)

Part Number: AM3359
Other Parts Discussed in Thread: AM3352

Hi,

We have a custom-designed HW board with AM3359 processor running with Linux SDK 6.1. Processor is connected with an external PHY.

The main challenge is that the Ethernet Ping from Board to PC is failing, whereas PC to Board is working fine (which clears the HW is proper). The board to PC ping from U-Boot is working.

Please help on how to resolve this.

Thanks

  • Hi,

    Your query has been assigned to an expert, but due to US holidays, the response will be delayed.

  • Happy New & Prosperous Year 2021 team.

    Appreciate your response. 

  • Hi,

    U-Boot does not have the capability to run a ICMP server that looks for Ping messages and therefore will not respond to any Ping requests. U-Boot is a single threaded entity that only runs a single command.  When you ping using U-Boot the ping command will send a request and wait for a response. The first response completes the command and U-Boot returns to an idle state. In this case the PC has an ICMP server that responds to the Ping request.

    When Linux is running there is an ICMP server that is running that will respond to the PC sending Ping requests.

    Best Regards,

    Schuyler

  • Hi Schuyler,

    Thanks for your inputs.

    My query is about Linux Ethernet Ping, the ping from board to pc is not working, whereas pc to board is successful. I'm using SDK 6.1, any configurations to be made in specific for this?

    Best Regards

  • Hi,

    Which ports are being used? CPSW, PRU Eth? Are multiple ports connected simultaneously? If so please attach a block diagram of how the ports are connected.

    This link has a set a requests for data needed to help debug the issue. The ones we need to see are the ethtool <interface in use> and ethtool -S <interface in use>. For example if the first ethernet interface is in use please attach the results of:

    ethtool eth0

    ethtool -S eth0

    Best Regards,

    Schuyler

  • Hi Schuyler,

    AM3359 both Ethernets are being used. Port 1 is connected to Ethernet Switch, Port 2 is connected to Ethernet PHY. Sorry for the inconvenience about the block diagram.

    uname -a: Linux am335x-evm 4.19.59-g5f8c1c6121 #12 PREEMPT Wed Nov 25 12:39:44 IST 2020 armv7l GNU/Linux
    File System: Arago
    Board: Custom

    # ./ethtool eth0
    Settings for eth0:
    Supported ports: [ TP AUI BNC MII FIBRE ]
    Supported link modes: 1000baseT/Half 1000baseT/Full
    Supported pause frame use: Symmetric Receive-only
    Supports auto-negotiation: Yes
    Advertised link modes: 1000baseT/Half 1000baseT/Full
    Advertised pause frame use: No
    Advertised auto-negotiation: Yes
    Link partner advertised link modes: 1000baseT/Full
    Link partner advertised pause frame use: No
    Link partner advertised auto-negotiation: No
    Speed: 1000Mb/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

    # ./ethtool -S eth0
    NIC statistics:
    Good Rx Frames: 94643
    Broadcast Rx Frames: 8058
    Multicast Rx Frames: 85386
    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: 9319497
    Good Tx Frames: 1250
    Broadcast Tx Frames: 41
    Multicast Tx Frames: 12
    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: 92520
    Rx + Tx 64 Octet Frames: 6311
    Rx + Tx 65-127 Octet Frames: 85715
    Rx + Tx 128-255 Octet Frames: 2167
    Rx + Tx 256-511 Octet Frames: 470
    Rx + Tx 512-1023 Octet Frames: 1215
    Rx + Tx 1024-Up Octet Frames: 15
    Net Octets: 9412017
    Rx Start of Frame Overruns: 0
    Rx Middle of Frame Overruns: 0
    Rx DMA Overruns: 0
    Rx DMA chan 0: head_enqueue: 1
    Rx DMA chan 0: tail_enqueue: 9394
    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: 8322
    Rx DMA chan 0: good_dequeue: 9267
    Rx DMA chan 0: requeue: 0
    Rx DMA chan 0: teardown_dequeue: 0
    Tx DMA chan 0: head_enqueue: 1250
    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: 1208
    Tx DMA chan 0: empty_dequeue: 1250
    Tx DMA chan 0: busy_dequeue: 0
    Tx DMA chan 0: good_dequeue: 1250
    Tx DMA chan 0: requeue: 0
    Tx DMA chan 0: teardown_dequeue: 0

    # ./ethtool eth1
    Settings for eth1:
    Supported ports: [ TP AUI BNC MII FIBRE ]
    Supported link modes: 100baseT/Full
    Supported pause frame use: Symmetric Receive-only
    Supports auto-negotiation: Yes
    Advertised link modes: 100baseT/Full
    Advertised pause frame use: No
    Advertised auto-negotiation: Yes
    Link partner advertised link modes: 100baseT/Full
    Link partner advertised pause frame use: No
    Link partner advertised auto-negotiation: No
    Speed: 100Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 1
    Transceiver: external
    Auto-negotiation: on
    Supports Wake-on: d
    Wake-on: d
    Current message level: 0x00000000 (0)

    Link detected: yes

    # ./ethtool -S eth1
    NIC statistics:
    Good Rx Frames: 129774
    Broadcast Rx Frames: 10749
    Multicast Rx Frames: 117823
    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: 12563873
    Good Tx Frames: 1270
    Broadcast Tx Frames: 53
    Multicast Tx Frames: 20
    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: 97360
    Rx + Tx 64 Octet Frames: 8352
    Rx + Tx 65-127 Octet Frames: 117901
    Rx + Tx 128-255 Octet Frames: 2908
    Rx + Tx 256-511 Octet Frames: 648
    Rx + Tx 512-1023 Octet Frames: 1216
    Rx + Tx 1024-Up Octet Frames: 19
    Net Octets: 12661233
    Rx Start of Frame Overruns: 0
    Rx Middle of Frame Overruns: 0
    Rx DMA Overruns: 0
    Rx DMA chan 0: head_enqueue: 1
    Rx DMA chan 0: tail_enqueue: 12089
    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: 10786
    Rx DMA chan 0: good_dequeue: 11962
    Rx DMA chan 0: requeue: 0
    Rx DMA chan 0: teardown_dequeue: 0
    Tx DMA chan 0: head_enqueue: 1270
    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: 1208
    Tx DMA chan 0: empty_dequeue: 1270
    Tx DMA chan 0: busy_dequeue: 0
    Tx DMA chan 0: good_dequeue: 1270
    Tx DMA chan 0: requeue: 0
    Tx DMA chan 0: teardown_dequeue: 0

    # ifconfig
    eth0 Link encap:Ethernet HWaddr E4:15:F6:FD:8F:18
    inet addr:172.16.3.244 Bcast:172.16.255.255 Mask:255.255.0.0
    inet6 addr: fe80::e615:f6ff:fefd:8f18/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:11284 errors:0 dropped:20 overruns:0 frame:0
    TX packets:1264 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1486386 (1.4 MiB) TX bytes:92036 (89.8 KiB)
    Interrupt:44

    eth1 Link encap:Ethernet HWaddr E4:15:F6:FD:8F:1A
    inet addr:192.168.21.23 Bcast:192.168.21.255 Mask:255.255.255.0
    inet6 addr: fe80::e615:f6ff:fefd:8f1a/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1144 errors:0 dropped:2 overruns:0 frame:0
    TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:95195 (92.9 KiB) TX bytes:656 (656.0 B)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:17 errors:0 dropped:0 overruns:0 frame:0
    TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1360 (1.3 KiB) TX bytes:1360 (1.3 KiB)

    Boot log:


    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.19.59-g5f8c1c6121 (root@ubuntu-Vostro-2520) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #12 PREEMPT Wed Nov 25 12:39:44 IST 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 EVM
    [ 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 0x8c000000
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (sgx neon)
    [ 0.000000] random: get_random_bytes called from start_kernel+0xa4/0x434 with crng_init=0
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
    [ 0.000000] Kernel command line: console=ttyS0,115200n8 root=rw rootfstype=
    [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.000000] Memory: 188144K/262144K available (8192K kernel code, 291K rwdata, 2436K rodata, 10240K init, 250K bss, 24848K 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 : 0xd0800000 - 0xff800000 ( 752 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (9184 kB)
    [ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (10240 kB)
    [ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 292 kB)
    [ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 251 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] rcu: 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 0x(ptrval) (revision 5.0) with 128 interrupts
    [ 0.000000] OMAP clockevent source: timer2 at 25000000 Hz
    [ 0.000019] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [ 0.000040] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [ 0.000053] OMAP clocksource: timer1 at 25000000 Hz
    [ 0.000227] timer_probe: no matching timers found
    [ 0.000452] Console: colour dummy device 80x30
    [ 0.000543] Calibrating delay loop... 829.84 BogoMIPS (lpj=4149248)
    [ 0.089086] pid_max: default: 32768 minimum: 301
    [ 0.089315] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.089333] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.090273] CPU: Testing write buffer coherency: ok
    [ 0.090353] CPU0: Spectre v2: using BPIALL workaround
    [ 0.091407] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.091587] rcu: Hierarchical SRCU implementation.
    [ 0.091988] EFI services will not be available.
    [ 0.093489] devtmpfs: initialized
    [ 0.101770] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.102224] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.102250] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.106471] pinctrl core: initialized pinctrl subsystem
    [ 0.107362] DMI not present or invalid.
    [ 0.107878] NET: Registered protocol family 16
    [ 0.110717] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.115191] omap_hwmod: rtc: no dt node
    [ 0.115215] ------------[ cut here ]------------
    [ 0.115261] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2409 _init.constprop.21+0x1ac/0x4d8
    [ 0.115272] omap_hwmod: rtc: doesn't have mpu register target base
    [ 0.115279] Modules linked in:
    [ 0.115303] CPU: 0 PID: 1 Comm: swapper Not tainted 4.19.59-g5f8c1c6121 #12
    [ 0.115311] Hardware name: Generic AM33XX (Flattened Device Tree)
    [ 0.115319] Backtrace:
    [ 0.115345] [<c010cb54>] (dump_backtrace) from [<c010cec4>] (show_stack+0x18/0x1c)
    [ 0.115358] r7:00000009 r6:00000000 r5:c0a94e08 r4:cb851de4
    [ 0.115377] [<c010ceac>] (show_stack) from [<c0857434>] (dump_stack+0x24/0x28)
    [ 0.115401] [<c0857410>] (dump_stack) from [<c0129d88>] (__warn+0xe0/0xf8)
    [ 0.115415] [<c0129ca8>] (__warn) from [<c01299e0>] (warn_slowpath_fmt+0x50/0x6c)
    [ 0.115428] r9:c0c38820 r8:00000000 r7:c160a958 r6:00000000 r5:c0a95398 r4:c1603048
    [ 0.115443] [<c0129994>] (warn_slowpath_fmt) from [<c0c0b618>] (_init.constprop.21+0x1ac/0x4d8)
    [ 0.115452] r3:c0acc4ac r2:c0a95398
    [ 0.115460] r5:00000000 r4:c160a920
    [ 0.115474] [<c0c0b46c>] (_init.constprop.21) from [<c0c0ba74>] (__omap_hwmod_setup_all+0x48/0x134)
    [ 0.115487] r10:00000003 r9:c0c38820 r8:00000000 r7:c0c0ba2c r6:ffffe000 r5:c1607ea0
    [ 0.115495] r4:c160a920
    [ 0.115514] [<c0c0ba2c>] (__omap_hwmod_setup_all) from [<c0102640>] (do_one_initcall+0x84/0x1b0)
    [ 0.115523] r5:c1603048 r4:c1648e80
    [ 0.115548] [<c01025bc>] (do_one_initcall) from [<c0c00f2c>] (kernel_init_freeable+0x148/0x1e4)
    [ 0.115561] r8:c0c38840 r7:c1648e80 r6:c1648e80 r5:c0c4b174 r4:c0b5f278
    [ 0.115583] [<c0c00de4>] (kernel_init_freeable) from [<c086b710>] (kernel_init+0x10/0x11c)
    [ 0.115596] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c086b700
    [ 0.115603] r4:00000000
    [ 0.115616] [<c086b700>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
    [ 0.115625] Exception stack(0xcb851fb0 to 0xcb851ff8)
    [ 0.115638] 1fa0: 00000000 00000000 00000000 00000000
    [ 0.115652] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 0.115664] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
    [ 0.115673] r5:c086b700 r4:00000000
    [ 0.115690] ---[ end trace b6d7a4bcd7604a88 ]---
    [ 0.133032] l4_wkup_cm:clk:0010:0: failed to disable
    [ 0.190427] cpuidle: using governor ladder
    [ 0.190473] cpuidle: using governor menu
    [ 0.196015] OMAP GPIO hardware version 0.1
    [ 0.204943] No ATAGs?
    [ 0.204963] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.220281] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.223134] SCSI subsystem initialized
    [ 0.223687] media: Linux media interface: v0.10
    [ 0.223740] videodev: Linux video capture interface: v2.00
    [ 0.223857] pps_core: LinuxPPS API ver. 1 registered
    [ 0.223867] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.223893] PTP clock support registered
    [ 0.223936] EDAC MC: Ver: 3.0.0
    [ 0.225163] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.226906] clocksource: Switched to clocksource timer1
    [ 0.236058] NET: Registered protocol family 2
    [ 0.237197] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
    [ 0.237240] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.237270] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.237299] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.237442] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.237465] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.237633] NET: Registered protocol family 1
    [ 0.238357] RPC: Registered named UNIX socket transport module.
    [ 0.238374] RPC: Registered udp transport module.
    [ 0.238382] RPC: Registered tcp transport module.
    [ 0.238388] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 2.556946] random: fast init done
    [ 8.133978] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 8.135584] Initialise system trusted keyrings
    [ 8.135978] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [ 8.141539] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 8.142452] NFS: Registering the id_resolver key type
    [ 8.142502] Key type id_resolver registered
    [ 8.142510] Key type id_legacy registered
    [ 8.142566] ntfs: driver 2.1.32 [Flags: R/O].
    [ 8.145149] Key type asymmetric registered
    [ 8.145174] Asymmetric key parser 'x509' registered
    [ 8.145265] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [ 8.145280] io scheduler noop registered
    [ 8.145289] io scheduler deadline registered
    [ 8.145563] io scheduler cfq registered (default)
    [ 8.145575] io scheduler mq-deadline registered
    [ 8.145583] io scheduler kyber registered
    [ 8.147662] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [ 8.202071] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 8.206351] console [ttyS0] disabled
    [ 8.206476] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [ 8.984862] console [ttyS0] enabled
    [ 8.989649] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
    [ 9.000550] omap_rng 48310000.rng: Random Number Generator ver. 20
    [ 9.007329] random: crng init done
    [ 9.026216] brd: module loaded
    [ 9.037689] loop: module loaded
    [ 9.044471] spidev spi0.1: buggy DT: spidev listed directly in DT
    [ 9.050594] ------------[ cut here ]------------
    [ 9.055085] WARNING: CPU: 0 PID: 1 at drivers/spi/spidev.c:730 spidev_probe+0x1d8/0x1ec
    [ 9.062835] Modules linked in:
    [ 9.065795] CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.19.59-g5f8c1c6121 #12
    [ 9.073862] Hardware name: Generic AM33XX (Flattened Device Tree)
    [ 9.079750] Backtrace:
    [ 9.082128] [<c010cb54>] (dump_backtrace) from [<c010cec4>] (show_stack+0x18/0x1c)
    [ 9.089447] r7:00000009 r6:00000000 r5:c0aef3d0 r4:00000000
    [ 9.094915] [<c010ceac>] (show_stack) from [<c0857434>] (dump_stack+0x24/0x28)
    [ 9.101911] [<c0857410>] (dump_stack) from [<c0129d88>] (__warn+0xe0/0xf8)
    [ 9.108561] [<c0129ca8>] (__warn) from [<c0129de8>] (warn_slowpath_null+0x48/0x50)
    [ 9.115863] r9:c1635ecc r8:00000000 r7:00000000 r6:c0601c00 r5:000002da r4:c0aef3d0
    [ 9.123352] [<c0129da0>] (warn_slowpath_null) from [<c0601c00>] (spidev_probe+0x1d8/0x1ec)
    [ 9.131337] r6:c1635ebc r5:c909a000 r4:c909a000
    [ 9.135795] [<c0601a28>] (spidev_probe) from [<c05fd774>] (spi_drv_probe+0x84/0xa8)
    [ 9.143196] r9:c1635ecc r8:00000000 r7:00000000 r6:c1635ebc r5:00000000 r4:c909a000
    [ 9.150684] [<c05fd6f0>] (spi_drv_probe) from [<c055bc98>] (really_probe+0x204/0x2c0)
    [ 9.158251] r7:00000000 r6:c167e9f4 r5:c909a000 r4:c167e9f0
    [ 9.163713] [<c055ba94>] (really_probe) from [<c055bef8>] (driver_probe_device+0x68/0x180)
    [ 9.171698] r10:00000000 r9:c167e9cc r8:00000001 r7:c055c0f8 r6:c909a000 r5:c1635ecc
    [ 9.179261] r4:c909a000 r3:00000000
    [ 9.182712] [<c055be90>] (driver_probe_device) from [<c055c1b0>] (__device_attach_driver+0xb8/0xdc)
    [ 9.191452] r9:c167e9cc r8:00000001 r7:c055c0f8 r6:c909a000 r5:cb851bb4 r4:c1635ecc
    [ 9.198952] [<c055c0f8>] (__device_attach_driver) from [<c0559cd8>] (bus_for_each_drv+0x88/0xcc)
    [ 9.207440] r7:c055c0f8 r6:cb851bb4 r5:c1603048 r4:00000000
    [ 9.212902] [<c0559c50>] (bus_for_each_drv) from [<c055ba14>] (__device_attach+0xd8/0x140)
    [ 9.220886] r7:c9049c00 r6:c909a034 r5:c1603048 r4:c909a000
    [ 9.226347] [<c055b93c>] (__device_attach) from [<c055c220>] (device_initial_probe+0x14/0x18)
    [ 9.234583] r8:c909a000 r7:c9049c00 r6:c1635930 r5:c909a000 r4:c909a008
    [ 9.241062] [<c055c20c>] (device_initial_probe) from [<c055ada0>] (bus_probe_device+0x8c/0x94)
    [ 9.249384] [<c055ad14>] (bus_probe_device) from [<c0557868>] (device_add+0x37c/0x620)
    [ 9.257032] r7:c9049c00 r6:00000000 r5:c1603048 r4:c909a008
    [ 9.262495] [<c05574ec>] (device_add) from [<c05fe6e0>] (spi_add_device+0xa0/0x15c)
    [ 9.269895] r10:c0aef620 r9:00000000 r8:c9049c00 r7:cb927210 r6:00000000 r5:c9049c00
    [ 9.277457] r4:c909a000
    [ 9.279905] [<c05fe640>] (spi_add_device) from [<c05fead8>] (of_register_spi_device+0x25c/0x394)
    [ 9.288390] r7:00000001 r6:c1603048 r5:cfd99d50 r4:c909a000
    [ 9.293852] [<c05fe87c>] (of_register_spi_device) from [<c05ff278>] (spi_register_controller+0x364/0x694)
    [ 9.303095] r9:cfd99a74 r8:c1603048 r7:c0aeef64 r6:cfd99d50 r5:00000000 r4:c9049c00
    [ 9.310580] [<c05fef14>] (spi_register_controller) from [<c05ff5e8>] (devm_spi_register_controller+0x40/0x78)
    [ 9.320158] r10:c0aef620 r9:00000000 r8:00000000 r7:cb927210 r6:c9049c00 r5:c9049c00
    [ 9.327718] r4:c9092040
    [ 9.330171] [<c05ff5a8>] (devm_spi_register_controller) from [<c0604c78>] (omap2_mcspi_probe+0x4b4/0x558)
    [ 9.339411] r7:00000000 r6:c9049c00 r5:c9049ef8 r4:c9049c00
    [ 9.344877] [<c06047c4>] (omap2_mcspi_probe) from [<c055dca4>] (platform_drv_probe+0x50/0xa0)
    [ 9.353114] r10:00000000 r9:c1635f84 r8:00000000 r7:00000000 r6:c1635f84 r5:00000000
    [ 9.360676] r4:cb927210
    [ 9.363123] [<c055dc54>] (platform_drv_probe) from [<c055bc98>] (really_probe+0x204/0x2c0)
    [ 9.371108] r7:00000000 r6:c167e9f4 r5:cb927210 r4:c167e9f0
    [ 9.376569] [<c055ba94>] (really_probe) from [<c055bef8>] (driver_probe_device+0x68/0x180)
    [ 9.384556] r10:00000007 r9:c0c38830 r8:00000000 r7:c055c010 r6:cb927244 r5:c1635f84
    [ 9.392118] r4:cb927210 r3:00000000
    [ 9.395569] [<c055be90>] (driver_probe_device) from [<c055c0f4>] (__driver_attach+0xe4/0xe8)
    [ 9.403722] r9:c0c38830 r8:00000000 r7:c055c010 r6:cb927244 r5:c1635f84 r4:cb927210
    [ 9.411207] [<c055c010>] (__driver_attach) from [<c0559bec>] (bus_for_each_dev+0x7c/0xbc)
    [ 9.419109] r7:c055c010 r6:c1635f84 r5:c1603048 r4:cb917c30
    [ 9.424569] [<c0559b70>] (bus_for_each_dev) from [<c055b5d0>] (driver_attach+0x24/0x28)
    [ 9.432303] r7:00000000 r6:c904f980 r5:c162f6d0 r4:c1635f84
    [ 9.437777] [<c055b5ac>] (driver_attach) from [<c055b06c>] (bus_add_driver+0x1c4/0x208)
    [ 9.445498] [<c055aea8>] (bus_add_driver) from [<c055cb34>] (driver_register+0x7c/0x110)
    [ 9.453314] r7:c0c24b88 r6:ffffe000 r5:c1603048 r4:c1635f84
    [ 9.458790] [<c055cab8>] (driver_register) from [<c055dc08>] (__platform_driver_register+0x48/0x50)
    [ 9.467525] r5:c1603048 r4:c1648e80
    [ 9.470984] [<c055dbc0>] (__platform_driver_register) from [<c0c24ba4>] (omap2_mcspi_driver_init+0x1c/0x20)
    [ 9.480401] [<c0c24b88>] (omap2_mcspi_driver_init) from [<c0102640>] (do_one_initcall+0x84/0x1b0)
    [ 9.488988] [<c01025bc>] (do_one_initcall) from [<c0c00f2c>] (kernel_init_freeable+0x148/0x1e4)
    [ 9.497397] r8:c0c38850 r7:c1648e80 r6:c1648e80 r5:c0c4b6d4 r4:c0b5f278
    [ 9.503873] [<c0c00de4>] (kernel_init_freeable) from [<c086b710>] (kernel_init+0x10/0x11c)
    [ 9.511862] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c086b700
    [ 9.519424] r4:00000000
    [ 9.521871] [<c086b700>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
    [ 9.529185] Exception stack(0xcb851fb0 to 0xcb851ff8)
    [ 9.534059] 1fa0: 00000000 00000000 00000000 00000000
    [ 9.541961] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 9.549863] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
    [ 9.556240] r5:c086b700 r4:00000000
    [ 9.559700] ---[ end trace b6d7a4bcd7604a89 ]---
    [ 9.565094] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
    [ 9.571133] m25p80: probe of spi0.0 failed with error -2
    [ 9.576321] spidev spi0.0: buggy DT: spidev listed directly in DT
    [ 9.582224] ------------[ cut here ]------------
    [ 9.586697] WARNING: CPU: 0 PID: 1 at drivers/spi/spidev.c:730 spidev_probe+0x1d8/0x1ec
    [ 9.594429] Modules linked in:
    [ 9.597398] CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.19.59-g5f8c1c6121 #12
    [ 9.605449] Hardware name: Generic AM33XX (Flattened Device Tree)
    [ 9.611344] Backtrace:
    [ 9.613718] [<c010cb54>] (dump_backtrace) from [<c010cec4>] (show_stack+0x18/0x1c)
    [ 9.621036] r7:00000009 r6:00000000 r5:c0aef3d0 r4:00000000
    [ 9.626502] [<c010ceac>] (show_stack) from [<c0857434>] (dump_stack+0x24/0x28)
    [ 9.633490] [<c0857410>] (dump_stack) from [<c0129d88>] (__warn+0xe0/0xf8)
    [ 9.640139] [<c0129ca8>] (__warn) from [<c0129de8>] (warn_slowpath_null+0x48/0x50)
    [ 9.647455] r9:c1635ecc r8:00000000 r7:00000000 r6:c0601c00 r5:000002da r4:c0aef3d0
    [ 9.654927] [<c0129da0>] (warn_slowpath_null) from [<c0601c00>] (spidev_probe+0x1d8/0x1ec)
    [ 9.662911] r6:c1635ebc r5:c909a400 r4:c909a400
    [ 9.667381] [<c0601a28>] (spidev_probe) from [<c05fd774>] (spi_drv_probe+0x84/0xa8)
    [ 9.674768] r9:c1635ecc r8:00000000 r7:00000000 r6:c1635ebc r5:00000000 r4:c909a400
    [ 9.682254] [<c05fd6f0>] (spi_drv_probe) from [<c055bc98>] (really_probe+0x204/0x2c0)
    [ 9.689821] r7:00000000 r6:c167e9f4 r5:c909a400 r4:c167e9f0
    [ 9.695283] [<c055ba94>] (really_probe) from [<c055bef8>] (driver_probe_device+0x68/0x180)
    [ 9.703269] r10:00000000 r9:c167e9cc r8:00000001 r7:c055c0f8 r6:c909a400 r5:c1635ecc
    [ 9.710831] r4:c909a400 r3:00000000
    [ 9.714282] [<c055be90>] (driver_probe_device) from [<c055c1b0>] (__device_attach_driver+0xb8/0xdc)
    [ 9.723022] r9:c167e9cc r8:00000001 r7:c055c0f8 r6:c909a400 r5:cb851bb4 r4:c1635ecc
    [ 9.730512] [<c055c0f8>] (__device_attach_driver) from [<c0559cd8>] (bus_for_each_drv+0x88/0xcc)
    [ 9.738999] r7:c055c0f8 r6:cb851bb4 r5:c1603048 r4:00000000
    [ 9.744461] [<c0559c50>] (bus_for_each_drv) from [<c055ba14>] (__device_attach+0xd8/0x140)
    [ 9.752445] r7:c9049c00 r6:c909a434 r5:c1603048 r4:c909a400
    [ 9.757920] [<c055b93c>] (__device_attach) from [<c055c220>] (device_initial_probe+0x14/0x18)
    [ 9.766142] r8:c909a400 r7:c9049c00 r6:c1635930 r5:c909a400 r4:c909a408
    [ 9.772620] [<c055c20c>] (device_initial_probe) from [<c055ada0>] (bus_probe_device+0x8c/0x94)
    [ 9.780944] [<c055ad14>] (bus_probe_device) from [<c0557868>] (device_add+0x37c/0x620)
    [ 9.788592] r7:c9049c00 r6:00000000 r5:c1603048 r4:c909a408
    [ 9.794054] [<c05574ec>] (device_add) from [<c05fe6e0>] (spi_add_device+0xa0/0x15c)
    [ 9.801454] r10:c0aef620 r9:00000000 r8:c9049c00 r7:cb927210 r6:00000000 r5:c9049c00
    [ 9.809016] r4:c909a400
    [ 9.811464] [<c05fe640>] (spi_add_device) from [<c05fead8>] (of_register_spi_device+0x25c/0x394)
    [ 9.819949] r7:00000001 r6:c1603048 r5:cfd99f0c r4:c909a400
    [ 9.825412] [<c05fe87c>] (of_register_spi_device) from [<c05ff278>] (spi_register_controller+0x364/0x694)
    [ 9.834654] r9:cfd99a74 r8:c1603048 r7:c0aeef64 r6:cfd99f0c r5:00000000 r4:c9049c00
    [ 9.842139] [<c05fef14>] (spi_register_controller) from [<c05ff5e8>] (devm_spi_register_controller+0x40/0x78)
    [ 9.851717] r10:c0aef620 r9:00000000 r8:00000000 r7:cb927210 r6:c9049c00 r5:c9049c00
    [ 9.859278] r4:c9092040
    [ 9.861729] [<c05ff5a8>] (devm_spi_register_controller) from [<c0604c78>] (omap2_mcspi_probe+0x4b4/0x558)
    [ 9.870968] r7:00000000 r6:c9049c00 r5:c9049ef8 r4:c9049c00
    [ 9.876434] [<c06047c4>] (omap2_mcspi_probe) from [<c055dca4>] (platform_drv_probe+0x50/0xa0)
    [ 9.884672] r10:00000000 r9:c1635f84 r8:00000000 r7:00000000 r6:c1635f84 r5:00000000
    [ 9.892233] r4:cb927210
    [ 9.894681] [<c055dc54>] (platform_drv_probe) from [<c055bc98>] (really_probe+0x204/0x2c0)
    [ 9.902665] r7:00000000 r6:c167e9f4 r5:cb927210 r4:c167e9f0
    [ 9.908138] [<c055ba94>] (really_probe) from [<c055bef8>] (driver_probe_device+0x68/0x180)
    [ 9.916111] r10:00000007 r9:c0c38830 r8:00000000 r7:c055c010 r6:cb927244 r5:c1635f84
    [ 9.923673] r4:cb927210 r3:00000000
    [ 9.927138] [<c055be90>] (driver_probe_device) from [<c055c0f4>] (__driver_attach+0xe4/0xe8)
    [ 9.935278] r9:c0c38830 r8:00000000 r7:c055c010 r6:cb927244 r5:c1635f84 r4:cb927210
    [ 9.942762] [<c055c010>] (__driver_attach) from [<c0559bec>] (bus_for_each_dev+0x7c/0xbc)
    [ 9.950663] r7:c055c010 r6:c1635f84 r5:c1603048 r4:cb917c30
    [ 9.956124] [<c0559b70>] (bus_for_each_dev) from [<c055b5d0>] (driver_attach+0x24/0x28)
    [ 9.963856] r7:00000000 r6:c904f980 r5:c162f6d0 r4:c1635f84
    [ 9.969330] [<c055b5ac>] (driver_attach) from [<c055b06c>] (bus_add_driver+0x1c4/0x208)
    [ 9.977066] [<c055aea8>] (bus_add_driver) from [<c055cb34>] (driver_register+0x7c/0x110)
    [ 9.984869] r7:c0c24b88 r6:ffffe000 r5:c1603048 r4:c1635f84
    [ 9.990343] [<c055cab8>] (driver_register) from [<c055dc08>] (__platform_driver_register+0x48/0x50)
    [ 9.999078] r5:c1603048 r4:c1648e80
    [ 10.002533] [<c055dbc0>] (__platform_driver_register) from [<c0c24ba4>] (omap2_mcspi_driver_init+0x1c/0x20)
    [ 10.011950] [<c0c24b88>] (omap2_mcspi_driver_init) from [<c0102640>] (do_one_initcall+0x84/0x1b0)
    [ 10.020529] [<c01025bc>] (do_one_initcall) from [<c0c00f2c>] (kernel_init_freeable+0x148/0x1e4)
    [ 10.028935] r8:c0c38850 r7:c1648e80 r6:c1648e80 r5:c0c4b6d4 r4:c0b5f278
    [ 10.035405] [<c0c00de4>] (kernel_init_freeable) from [<c086b710>] (kernel_init+0x10/0x11c)
    [ 10.043394] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c086b700
    [ 10.050955] r4:00000000
    [ 10.053403] [<c086b700>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
    [ 10.060715] Exception stack(0xcb851fb0 to 0xcb851ff8)
    [ 10.065589] 1fa0: 00000000 00000000 00000000 00000000
    [ 10.073492] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 10.081393] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
    [ 10.087784] r5:c086b700 r4:00000000
    [ 10.091229] ---[ end trace b6d7a4bcd7604a8a ]---
    [ 10.097023] libphy: Fixed MDIO Bus: probed
    [ 10.177006] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 10.184409] davinci_mdio 4a101000.mdio: detected phy mask e000ff00
    [ 10.217504] davinci_mdio: probe of 4a101000.mdio failed with error -5
    [ 10.231128] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
    [ 10.237635] cpsw 4a100000.ethernet: Using 1 as Reserved VLAN for 0 slave
    [ 10.250038] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
    [ 10.256272] cpsw 4a100000.ethernet: Using 2 as Reserved VLAN for 1 slave
    [ 10.263004] cpsw 4a100000.ethernet: Detected MACID = e4:15:f6:fd:8f:18
    [ 10.269537] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 10.275669] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 10.280806] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 10.288741] cpsw 4a100000.ethernet: cpsw: Detected MACID = e4:15:f6:fd:8f:1a
    [ 10.297196] i2c /dev entries driver
    [ 10.303090] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 833333 KHz
    [ 10.310295] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 833333333 (-34)
    [ 10.318735] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 800000 KHz
    [ 10.327134] cpuidle: enable-method property 'ti,am3352' found operations
    [ 10.338637] NET: Registered protocol family 10
    [ 10.344636] Segment Routing with IPv6
    [ 10.348490] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 10.355060] NET: Registered protocol family 17
    [ 10.359620] Key type dns_resolver registered
    [ 10.363962] omap_voltage_late_init: Voltage driver support not added
    [ 10.371303] Loading compiled-in X.509 certificates
    [ 10.386583] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 10.391818] gpmc_mem_init: disabling cs 3 mapped at 0x10000000-0x11000000
    [ 10.399198] gpmc cs0 before gpmc_cs_program_settings:
    [ 10.428364] gpmc cs0 access configuration:
    [ 10.432316] gpmc,mux-add-data = <0>;
    [ 10.435761] gpmc,device-width = <2>;
    [ 10.439223] gpmc,wait-pin = <0>;
    [ 10.442336] gpmc,burst-length = <4>;
    [ 10.445788] gpmc,cycle2cycle-samecsen = <1>;
    [ 10.449917] gpmc cs0 timings configuration:
    [ 10.453958] gpmc,cs-on-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
    [ 10.459347] gpmc,cs-rd-off-ns = <576>; /* 557 ns - 576 ns; 30 ticks */
    [ 10.465643] gpmc,cs-wr-off-ns = <576>; /* 557 ns - 576 ns; 30 ticks */
    [ 10.471952] gpmc,adv-on-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
    [ 10.477425] gpmc,adv-rd-off-ns = <576>; /* 557 ns - 576 ns; 30 ticks */
    [ 10.483805] gpmc,adv-wr-off-ns = <576>; /* 557 ns - 576 ns; 30 ticks */
    [ 10.490197] gpmc,adv-aad-mux-on-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
    [ 10.496326] gpmc,adv-aad-mux-rd-off-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
    [ 10.502803] gpmc,adv-aad-mux-wr-off-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
    [ 10.509281] gpmc,oe-on-ns = <134>; /* 116 ns - 134 ns; 7 ticks */
    [ 10.515159] gpmc,oe-off-ns = <460>; /* 442 ns - 460 ns; 24 ticks */
    [ 10.521217] gpmc,oe-aad-mux-on-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
    [ 10.527275] gpmc,oe-aad-mux-off-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
    [ 10.533403] gpmc,we-on-ns = <96>; /* 77 ns - 96 ns; 5 ticks */
    [ 10.539043] gpmc,we-off-ns = <422>; /* 404 ns - 422 ns; 22 ticks */
    [ 10.545087] gpmc,rd-cycle-ns = <576>; /* 557 ns - 576 ns; 30 ticks */
    [ 10.551313] gpmc,wr-cycle-ns = <576>; /* 557 ns - 576 ns; 30 ticks */
    [ 10.557539] gpmc,access-ns = <403>; /* 385 ns - 403 ns; 21 ticks */
    [ 10.563582] gpmc,page-burst-access-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
    [ 10.569975] gpmc,bus-turnaround-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
    [ 10.576104] gpmc,cycle2cycle-delay-ns = <288>; /* 269 ns - 288 ns; 15 ticks */
    [ 10.583083] gpmc,wait-monitoring-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
    [ 10.589308] gpmc,clk-activation-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
    [ 10.595437] gpmc,wr-data-mux-bus-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
    [ 10.601662] gpmc,wr-access-ns = <422>; /* 404 ns - 422 ns; 22 ticks */
    [ 10.609510] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xca
    [ 10.615648] nand: Micron MT29F2G16ABAEAWP
    [ 10.619591] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [ 10.627011] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [ 10.632309] 8 fixed-partitions partitions found on MTD device omap2-nand.0
    [ 10.638975] Creating 8 MTD partitions on "omap2-nand.0":
    [ 10.644118] 0x000000000000-0x000000020000 : "NAND.SPL"
    [ 10.650511] 0x000000020000-0x000000120000 : "NAND.u-boot"
    [ 10.658096] 0x000000120000-0x000000160000 : "NAND.u-boot-env"
    [ 10.664881] 0x000000160000-0x0000001a0000 : "NAND.u-boot-env-redund"
    [ 10.672340] 0x0000001a0000-0x0000001e0000 : "NAND.ftd_file"
    [ 10.679031] 0x0000001e0000-0x0000010e0000 : "NAND.Kernel_Fs"
    [ 10.704792] 0x0000010e0000-0x000001ae0000 : "NAND.user_partition"
    [ 10.724543] 0x000001ae0000-0x0000024e0000 : "NAND.test_partition"
    [ 10.745994] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
    [ 10.752879] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [ 10.759530] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
    [ 10.766366] Warning: unable to open an initial console.
    [ 10.788051] Freeing unused kernel memory: 10240K
    [ 10.793026] Run /init as init process
    [ 13.003068] net eth0: initializing cpsw version 1.12 (0)
    [ 13.011981] Generic PHY fixed-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:00, irq=POLL)
    [ 13.027129] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 14.087114] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [ 14.094636] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org am335x-evm /dev/ttyS0

    Arago 2019.07 am335x-evm /dev/ttyS0

    am335x-evm login:

    Can I share the dts file individually?

    Thanks

  • Hi,

    You can share the DTS file, I am not sure what you mean by individually though.

    How is the PC connected to this setup? Please show the results of both the working and non working the ping command that you are performing. How are interfaces getting their IP addresses?

    Could you please elaborate more on how port2 is connected to it's link partner? 

    Best Regards,

    Schuyler

  • Hi Schuyler,

    I have attached the dts file.

    The PC is connected directly to the board RJ45 (one port connection at a time).

    The results of Ethernet Ping:

    Eth0 port:
    # ping 172.16.2.101 -I eth0
    PING 172.16.2.101 (172.16.2.101): 56 data bytes
    64 bytes from 172.16.2.101: seq=0 ttl=128 time=3.507 ms
    64 bytes from 172.16.2.101: seq=1 ttl=128 time=2.109 ms
    ^C
    --- 172.16.2.101 ping statistics ---
    2 packets transmitted, 2 packets received, 0% packet loss
    round-trip min/avg/max = 2.109/2.808/3.507 ms

    Eth1 port:
    # ping 192.168.21.21 -I eth1
    PING 192.168.21.21 (192.168.21.21): 56 data bytes
    ^C
    --- 192.168.21.21 ping statistics ---
    7 packets transmitted, 0 packets received, 100% packet loss

    The IP Addresses are assigned manually from the Linux command line. Based on the port (eth0/eth1) connection to PC and PC IP address is changed to 172/192 series.

    Port 2 (eth1) connected from Processor (rgmii2_tdx) <-> Ethernet PHY <-> RJ45 <-> PC. The Eth1 operated at 100Mbps RGMII mode.

    Thanks.am3359_project.zip

  • Hi,

    From the previous post is the same PC being used between the two ports? And are you always starting the ping test with eth0? If so I would recommend trying starting with eth1 port first after a reboot, do not connect PC in anyway to the setup on eth0. 

    This issue that you are seeing might be related to the PC MAC address being stored in the ARP table on your board as being associated with eth0. This needs to be verified though. You can look at the ARP table with this command:

    arp

    Best Regards,

    Schuyler

  • Hi Schuyler,

    The board Eth port 1 is connected to PC directly and Eth Port 0 is left open.

    PC IP Address: 172.16.2.101
    Eth 1 IP: 172.16.2.111
    Eth 0 Port: Disabled

    I observed that Eth port 1 ping is not working, and tftp file transfers are working proper. Captured the log and attached here.

    # ifconfig eth0 down
    [ 32.851806] cpsw 4a100000.ethernet eth0: Link is Down
    # ifconfig eth1 172.16.2.111 up
    [ 37.501981] net eth1: initializing cpsw version 1.12 (0)
    [ 37.511204] Generic PHY fixed-0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:01, irq=POLL)
    [ 37.527415] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    #
    # [ 38.567149] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
    [ 38.574834] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    #
    #
    #
    # ifconfig
    eth1 Link encap:Ethernet HWaddr E4:15:F6:FD:8F:1A
    inet addr:172.16.2.111 Bcast:172.16.255.255 Mask:255.255.0.0
    inet6 addr: fe80::e615:f6ff:fefd:8f1a/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:8 errors:0 dropped:0 overruns:0 frame:0
    TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:512 (512.0 B) TX bytes:586 (586.0 B)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 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)

    # arp
    #
    # ping 172.16.2.101
    PING 172.16.2.101 (172.16.2.101): 56 data bytes
    ^C
    --- 172.16.2.101 ping statistics ---
    16 packets transmitted, 0 packets received, 100% packet loss
    #
    # ifconfig
    eth1 Link encap:Ethernet HWaddr E4:15:F6:FD:8F:1A
    inet addr:172.16.2.111 Bcast:172.16.255.255 Mask:255.255.0.0
    inet6 addr: fe80::e615:f6ff:fefd:8f1a/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:53 errors:0 dropped:0 overruns:0 frame:0
    TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:3677 (3.5 KiB) TX bytes:2358 (2.3 KiB)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 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)

    #
    # arp
    ? (172.16.2.101) at PC_MAC_ADDR [ether] on eth1
    #
    #
    # tftp -g 172.16.2.101 -r memfile
    #
    # arp
    ? (172.16.2.101) at PC_MAC_ADDR [ether] on eth1
    #
    #
    # ls -lh
    -rw-r--r-- 1 root root 13.2K Oct 20 00:09 memfile
    #
    #
    # ifconfig
    eth1 Link encap:Ethernet HWaddr E4:15:F6:FD:8F:1A
    inet addr:172.16.2.111 Bcast:172.16.255.255 Mask:255.255.0.0
    inet6 addr: fe80::e615:f6ff:fefd:8f1a/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:155 errors:0 dropped:0 overruns:0 frame:0
    TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:23676 (23.1 KiB) TX bytes:4284 (4.1 KiB)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:8 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:680 (680.0 B) TX bytes:680 (680.0 B)

    #
    # ping 172.16.2.101
    PING 172.16.2.101 (172.16.2.101): 56 data bytes
    ^C
    --- 172.16.2.101 ping statistics ---
    9 packets transmitted, 0 packets received, 100% packet loss
    #
    # ifconfig
    eth1 Link encap:Ethernet HWaddr E4:15:F6:FD:8F:1A
    inet addr:172.16.2.111 Bcast:172.16.255.255 Mask:255.255.0.0
    inet6 addr: fe80::e615:f6ff:fefd:8f1a/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:198 errors:0 dropped:0 overruns:0 frame:0
    TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:26578 (25.9 KiB) TX bytes:5230 (5.1 KiB)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:8 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:680 (680.0 B) TX bytes:680 (680.0 B)

    Thanks.

  • Hi,

    That was a good test to run to prove you could transfer a file. The network interface is working correctly it appears since you are able to transfer the file. So I am not sure what TI will be able to support here. 

    The ARP table results is not showing the MAC addresses, assuming here that they were deleted for clarity in the post.  The ARP table entry appears to show that it knows the address of the PC and that is the reason the file can be transferred. The only thing I think I can offer is to use some other device for the PC and perform the same Ping and file transfer tests. The PC may have the ICMP server disabled. 

    Best Regards,

    Schuyler

  • Dear Schuyler,

    Thanks for your inputs.

    We found that this challenge is due to the output of the TX CLK from processor to ETH PHY chip, expected is 25MHz (RGMII 100Mbps), whereas the probed clock was 27MHz. We adjusted the processor M5 PLLs to perform this and it's working fine.

    Regards :)