This thread has been locked.

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

AM3352: Enable Ethernet Speed for 1000 Mbit/s or Gigabit Ethernet

Part Number: AM3352

I am using AM3352 with Marvell Phy. 

I have connected with internet and till 100 Mbps, it is working correctly. When connecting with greater than 100 Mbps, it is showing 1000 Mbps but with speed test ookla, it never shows greater than 100 Mbps. Our Broadband speed is showing 220 Mbps on PC.

Please help me to enable Gigabit ethernet.

  • What OS do you use on your AM3352 board?

  • It is ti's distribution Linux 4.4.16 on Github.

  • This forum only supports TI Processor SDK releases, but I am forwarding your query to our Ethernet expert for any comment.

  • Thank You! It will be helpful to me.

  • Hi,

    Could you provide the console log, and the results of ethtool for the interface that is connected? Example would be:

    ethtool eth0

    Could you also provide a little more detail on the environment that you are testing with and how you are testing? We typically use iperf between two linux devices. I am assuming that you are testing with a server on the web?

    Regards,

    Schuyler

  • Hi,

    Please find attached ethtool and dmesg logs.

    I am using typically 1000 Gigabit Cat 6 cable with Cisco Switch and through that internet coming up. On PC, it is showing 220 Mbps with OOkal Speedtest but with my device, it is showing from 60 - 85 Mbps. One more thing when I am connecting the internet of the lower speed of 50 Mbps or around, it is showing correct speed or around.

    I have used Linux kernel 4.4.16 with default uboot. Also, marvel Phy with 10BaseT to 1000BaseT support. 

    I am testing directly with the Internet. I have created a python script with speedtest based python APIs. I have used this script to check internet speed on both PC and AM3352 device. This script is showing correct speed with Ubuntu on my PC but not on the device.

    You can check speedtest-cli with github.com/.../speedtest-cli.

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.16 (sandip@ubuntu) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #26 SMP PREEMPT RT Sun Jan 24 06:45:21 PST 2021
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: TI AM335x BeagleBone Black
    [    0.000000] debug: ignoring loglevel setting.
    [    0.000000] cma: Reserved 24 MiB at 0x9e000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] On node 0 totalpages: 130816
    [    0.000000] free_area_init_node: node 0, pgdat c0af72c0, node_mem_map dfa6d000
    [    0.000000]   Normal zone: 1150 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 130816 pages, LIFO batch:31
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon )
    [    0.000000] PERCPU: Embedded 13 pages/cpu @dfa2b000 s21408 r8192 d23648 u53248
    [    0.000000] pcpu-alloc: s21408 r8192 d23648 u53248 alloc=13*4096
    [    0.000000] pcpu-alloc: [0] 0 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129666
    [    0.000000] Kernel command line: console=ttyS0,115200 ignore_loglevel mem=511M bootlogo=9FF00000 fbcon=rotate:1 root=/dev/mmcblk1p2 rootfstype=ext4 rw rootwait verify=n lpj=1990656 quiet
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 481004K/523264K available (7015K kernel code, 441K rwdata, 3528K rodata, 316K init, 699K bss, 17684K reserved, 24576K 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 : 0xe0000000 - 0xff800000   ( 504 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xdff00000   ( 511 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf800000 - 0xbfe00000   (   6 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a54058   (10545 kB)
    [    0.000000]       .init : 0xc0a55000 - 0xc0aa4000   ( 316 kB)
    [    0.000000]       .data : 0xc0aa4000 - 0xc0b12558   ( 442 kB)
    [    0.000000]        .bss : 0xc0b15000 - 0xc0bc3cec   ( 700 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Build-time adjustment of leaf fanout to 32.
    [    0.000000] 	RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000011] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000022] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000028] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000691] clocksource_probe: no matching clocksources found
    [    0.000850] Console: colour dummy device 80x30
    [    0.001011] Calibrating delay loop (skipped) preset value.. 995.32 BogoMIPS (lpj=1990656)
    [    0.001016] pid_max: default: 32768 minimum: 301
    [    0.001123] Security Framework initialized
    [    0.001129] Yama: becoming mindful.
    [    0.001156] AppArmor: AppArmor disabled by boot time parameter
    [    0.001191] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001196] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001927] Initializing cgroup subsys io
    [    0.001944] Initializing cgroup subsys memory
    [    0.001976] Initializing cgroup subsys devices
    [    0.001986] Initializing cgroup subsys freezer
    [    0.001997] Initializing cgroup subsys net_cls
    [    0.002005] Initializing cgroup subsys perf_event
    [    0.002012] Initializing cgroup subsys net_prio
    [    0.002022] Initializing cgroup subsys pids
    [    0.002118] CPU: Testing write buffer coherency: ok
    [    0.002489] CPU0: thread -1, cpu 0, socket -1, mpidr 0
    [    0.002626] Setting up static identity map for 0x80008240 - 0x8000828c
    [    0.035269] Brought up 1 CPUs
    [    0.035292] SMP: Total of 1 processors activated (995.32 BogoMIPS).
    [    0.035301] CPU: All CPU(s) started in SVC mode.
    [    0.036758] devtmpfs: initialized
    [    0.059553] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.078321] omap_hwmod: debugss: _wait_target_disable failed
    [    0.132905] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.136902] pinctrl core: initialized pinctrl subsystem
    [    0.138943] NET: Registered protocol family 16
    [    0.142359] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.155208] cpuidle: using governor ladder
    [    0.167196] cpuidle: using governor menu
    [    0.172778] OMAP GPIO hardware version 0.1
    [    0.173292] GPIO line 61 (EMMC ResetN) hogged as output/high
    [    0.185733] No ATAGs?
    [    0.185765] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.236625] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.241621] SCSI subsystem initialized
    [    0.241956] usbcore: registered new interface driver usbfs
    [    0.242028] usbcore: registered new interface driver hub
    [    0.242183] usbcore: registered new device driver usb
    [    0.242649] Linux video capture interface: v2.00
    [    0.242708] pps_core: LinuxPPS API ver. 1 registered
    [    0.242717] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.242746] PTP clock support registered
    [    0.243707] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.248208] Bluetooth: Core ver 2.21
    [    0.248263] NET: Registered protocol family 31
    [    0.248272] Bluetooth: HCI device and connection manager initialized
    [    0.248288] Bluetooth: HCI socket layer initialized
    [    0.248301] Bluetooth: L2CAP socket layer initialized
    [    0.248357] Bluetooth: SCO socket layer initialized
    [    0.251262] NetLabel: Initializing
    [    0.251276] NetLabel:  domain hash size = 128
    [    0.251281] NetLabel:  protocols = UNLABELED CIPSOv4
    [    0.251352] NetLabel:  unlabeled traffic allowed by default
    [    0.252104] clocksource: Switched to clocksource timer1
    [    0.265864] NET: Registered protocol family 2
    [    0.266669] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.266730] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
    [    0.266853] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.266925] UDP hash table entries: 256 (order: 2, 16384 bytes)
    [    0.266956] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
    [    0.267180] NET: Registered protocol family 1
    [    0.271793] RPC: Registered named UNIX socket transport module.
    [    0.271806] RPC: Registered udp transport module.
    [    0.271813] RPC: Registered tcp transport module.
    [    0.271819] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.272960] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.275468] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.275583] audit: initializing netlink subsys (disabled)
    [    0.275662] audit: type=2000 audit(0.272:1): initialized
    [    0.290424] zbud: loaded
    [    0.291107] VFS: Disk quotas dquot_6.6.0
    [    0.291373] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.299605] NFS: Registering the id_resolver key type
    [    0.299667] Key type id_resolver registered
    [    0.299675] Key type id_legacy registered
    [    0.299709] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.299724] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    0.300671] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    0.301566] fuse init (API version 7.23)
    [    0.315874] gfs2: GFS2 installed
    [    0.316442] ceph: loaded (mds proto 32)
    [    0.322812] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
    [    0.327074] io scheduler noop registered
    [    0.327091] io scheduler deadline registered
    [    0.327359] io scheduler cfq registered (default)
    [    0.328946] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.332615] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [    0.334066] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
    [    0.337362] console [ttyS0] disabled
    [    0.337454] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.132471] console [ttyS0] enabled
    [    1.136887] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 159, base_baud = 3000000) is a 8250
    [    1.146501] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 160, base_baud = 3000000) is a 8250
    [    1.156824] [drm] Initialized drm 1.1.0 20060810
    [    1.162140] usbcore: registered new interface driver udl
    [    1.170035] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.176689] [drm] No driver support for vblank timestamp query.
    [    1.196340] Console: switching to colour frame buffer device 60x50
    [    1.224630] tilcdc 4830e000.lcdc: fb0:  frame buffer device
    [    1.240149] [drm] Initialized tilcdc 1.0.0 20121205 on minor 1
    [    1.251753] brd: module loaded
    [    1.295315] loop: module loaded
    [    1.367166] nbd: registered device at major 43
    [    1.386273] rbd: loaded
    [    1.391475] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.402370] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    [    1.415420] eql: Equalizer2002: Simon Janes (simon@ncm.com) and David S. Miller (davem@redhat.com)
    [    1.426842] tun: Universal TUN/TAP device driver, 1.6
    [    1.431929] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [    1.488118] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.494256] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.502705] libphy: 4a101000.mdio: probed
    [    1.506784] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Marvell 88E1510
    [    1.516437] cpsw 4a100000.ethernet: Detected MACID = 70:b3:d5:ac:10:39
    [    1.524544] PPP generic driver version 2.4.2
    [    1.529161] PPP BSD Compression module registered
    [    1.533901] PPP Deflate Compression module registered
    [    1.539002] PPP MPPE Compression module registered
    [    1.543828] NET: Registered protocol family 24
    [    1.550012] aoe: AoE v85 initialised.
    [    1.554653] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.561271] ehci-platform: EHCI generic platform driver
    [    1.566743] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.572525] usbcore: registered new interface driver usb-storage
    [    1.580772] 47401300.usb-phy supply vcc not found, using dummy regulator
    [    1.598348] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [    1.609090] musb-hdrc: MHDRC RTL version 2.0 
    [    1.613468] musb-hdrc: setup fifo_mode 4
    [    1.617418] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [    1.624644] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [    1.642216] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [    1.652798] musb-hdrc: MHDRC RTL version 2.0 
    [    1.657176] musb-hdrc: setup fifo_mode 4
    [    1.661123] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [    1.666737] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [    1.672540] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [    1.680628] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.687452] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.694709] usb usb1: Product: MUSB HDRC host driver
    [    1.699698] usb usb1: Manufacturer: Linux 4.4.16 musb-hcd
    [    1.705123] usb usb1: SerialNumber: musb-hdrc.1.auto
    [    1.710977] hub 1-0:1.0: USB hub found
    [    1.714792] hub 1-0:1.0: 1 port detected
    [    1.737397] mousedev: PS/2 mouse device common for all mice
    [    1.748500] TI-am335x-tsc TI-am335x-tsc: ti,charge-delay not specified
    [    1.755592] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [    1.765886] i2c /dev entries driver
    [    1.771046] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input1
    [    1.806421] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    1.812333] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.820828] rtc-pcf8523 0-0068: rtc core: registered rtc-pcf8523 as rtc0
    [    1.827802] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.834419] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
    [    1.840887] usbcore: registered new interface driver uvcvideo
    [    1.846666] USB Video Class driver (1.1.1)
    [    1.858228] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.865313] Bluetooth: HCI UART driver ver 2.3
    [    1.869869] Bluetooth: HCI UART protocol H4 registered
    [    1.875033] Bluetooth: HCI UART protocol BCSP registered
    [    1.880369] Bluetooth: HCI UART protocol LL registered
    [    1.885529] Bluetooth: HCI UART protocol ATH3K registered
    [    1.890952] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [    1.897710] Bluetooth: HCI UART protocol BCM registered
    [    1.903013] Bluetooth: HCI UART protocol QCA registered
    [    1.908381] usbcore: registered new interface driver btusb
    [    1.913901] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
    [    1.919931] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.927275] pinctrl-single 44e10800.pinmux: pin 44e10960.0 already requested by 48030000.spi; cannot claim for 48060000.mmc
    [    1.938467] pinctrl-single 44e10800.pinmux: pin-88 (48060000.mmc) status -22
    [    1.945552] pinctrl-single 44e10800.pinmux: could not request pin 88 (44e10960.0) from group pinmux_mmc1_pins  on device pinctrl-single
    [    1.957782] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [    1.965398] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    2.033964] hidraw: raw HID events driver (C) Jiri Kosina
    [    2.043249] usbcore: registered new interface driver usbhid
    [    2.051826] usbhid: USB HID core driver
    [    2.056005] ashmem: initialized
    [    2.059801]  remoteproc0: wkup_m3 is available
    [    2.064273]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    2.073277]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.077424] mmc1: MAN_BKOPS_EN bit is not set
    [    2.079296] mmc1: new high speed MMC card at address 0001
    [    2.092032] mmcblk1: mmc1:0001 MMC08G 7.27 GiB 
    [    2.099284] mmcblk1boot0: mmc1:0001 MMC08G partition 1 16.0 MiB
    [    2.104138] usb 1-1: new high-speed USB device number 2 using musb-hdrc
    [    2.120943] NET: Registered protocol family 10
    [    2.124525] mmcblk1boot1: mmc1:0001 MMC08G partition 2 16.0 MiB
    [    2.126619]  mmcblk1: p1 p2 p3 p4
    [    2.144890] mip6: Mobile IPv6
    [    2.147901] NET: Registered protocol family 17
    [    2.152552] Bluetooth: RFCOMM TTY layer initialized
    [    2.157503] Bluetooth: RFCOMM socket layer initialized
    [    2.162693] Bluetooth: RFCOMM ver 1.11
    [    2.166486] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    2.171822] Bluetooth: BNEP filters: protocol multicast
    [    2.177080] Bluetooth: BNEP socket layer initialized
    [    2.182077] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [    2.188032] Bluetooth: HIDP socket layer initialized
    [    2.193143] Key type dns_resolver registered
    [    2.197457] Key type ceph registered
    [    2.205524] libceph: loaded (mon/osd proto 15/24)
    [    2.210264] mpls_gso: MPLS GSO support
    [    2.214358] omap_voltage_late_init: Voltage driver support not added
    [    2.223463] PM: Cannot get wkup_m3_ipc handle
    [    2.228035] ThumbEE CPU extension supported.
    [    2.232798] usb 1-1: New USB device found, idVendor=7392, idProduct=b822
    [    2.236148] Registering SWP/SWPB emulation handler
    [    2.240477] registered taskstats version 1
    [    2.240601] zswap: loaded using pool lzo/zbud
    [    2.252400] Key type encrypted registered
    [    2.261497] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    2.264687] PM: bootloader does not support rtc-only!
    [    2.265526]  remoteproc0: powering up wkup_m3
    [    2.265541]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219735
    [    2.265813]  remoteproc0: remote processor wkup_m3 is now up
    [    2.265878] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
    [    2.270931] input: user_keys as /devices/platform/user_keys/input/input2
    [    2.271857] rtc-pcf8523 0-0068: setting system clock to 2021-02-03 06:39:06 UTC (1612334346)
    [    2.271871] of_cfs_init
    [    2.271919] of_cfs_init: OK
    [    2.282382] PM: Hibernation image not present or could not be loaded.
    [    2.335677] usb 1-1: Product: AC1200 MU-MIMO USB2.0 Adapter
    [    2.342223] usb 1-1: Manufacturer: Realtek
    [    2.347658] usb 1-1: SerialNumber: 123456
    [    2.402036] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.410243] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.421268] devtmpfs: mounted
    [    2.424687] Freeing unused kernel memory: 316K (c0a55000 - c0aa4000)
    [    2.616604] random: systemd urandom read with 21 bits of entropy available
    [    2.980362] systemd[1]: Configuration file /lib/systemd/system/Sheepapp.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    3.089474] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
    [    3.104678] systemd[1]: Found ordering cycle on basic.target/start
    [    3.110916] systemd[1]: Found dependency on sysinit.target/start
    [    3.116973] systemd[1]: Found dependency on systemd-update-utmp.service/verify-active
    [    3.124860] systemd[1]: Found dependency on basic.target/start
    [    3.130736] systemd[1]: Breaking ordering cycle by deleting job systemd-update-utmp.service/verify-active
    [    3.140362] systemd[1]: Job systemd-update-utmp.service/verify-active deleted to break ordering cycle starting with basic.target/start
    [    3.152899] systemd[1]: Found ordering cycle on basic.target/start
    [    3.159139] systemd[1]: Found dependency on sysinit.target/start
    [    3.165195] systemd[1]: Found dependency on systemd-tmpfiles-setup-dev.service/start
    [    3.172992] systemd[1]: Found dependency on basic.target/start
    [    3.178865] systemd[1]: Breaking ordering cycle by deleting job systemd-tmpfiles-setup-dev.service/start
    [    3.188411] systemd[1]: Job systemd-tmpfiles-setup-dev.service/start deleted to break ordering cycle starting with basic.target/start
    [    3.200550] systemd[1]: Found ordering cycle on basic.target/start
    [    3.206775] systemd[1]: Found dependency on sysinit.target/start
    [    3.212828] systemd[1]: Found dependency on systemd-journald.service/start
    [    3.219750] systemd[1]: Found dependency on Sheepapp.service/start
    [    3.225971] systemd[1]: Found dependency on basic.target/start
    [    3.231845] systemd[1]: Breaking ordering cycle by deleting job systemd-journald.service/start
    [    3.240511] systemd[1]: Job systemd-journald.service/start deleted to break ordering cycle starting with basic.target/start
    [    3.380905] systemd-udevd[172]: starting version 215
    [    3.514936] EXT4-fs (mmcblk1p2): re-mounted. Opts: errors=remount-ro
    [    3.579725] systemd[1]: Found ordering cycle on systemd-journald.service/start
    [    3.611292] systemd[1]: Found dependency on Sheepapp.service/start
    [    3.633300] systemd[1]: Found dependency on basic.target/start
    [    3.644692] systemd[1]: Found dependency on sysinit.target/start
    [    3.655327] systemd[1]: Found dependency on systemd-journald.service/start
    [    3.671034] systemd[1]: Unable to break cycle
    [    3.679636] systemd[1]: Requested transaction contains an unfixable cyclic ordering dependency: Transaction order is cyclic. See system logs for details.
    [    3.709731] systemd[1]: systemd-journald.socket failed to queue service startup job (Maybe the service file is missing or not a non-template unit?): Transaction order is cyclic. See system logs for details.
    [    3.746893] systemd[1]: Unit systemd-journald.socket entered failed state.
    [    5.069511] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    5.475743] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    5.492617] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    5.793678] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    6.219490] systemd[1]: Found ordering cycle on systemd-journald.service/start
    [    6.230987] systemd[1]: Found dependency on Sheepapp.service/start
    [    6.245447] systemd[1]: Found dependency on basic.target/start
    [    6.257257] systemd[1]: Found dependency on sysinit.target/start
    [    6.267500] systemd[1]: Found dependency on systemd-journald.service/start
    [    6.282343] systemd[1]: Unable to break cycle
    [    6.290909] systemd[1]: Requested transaction contains an unfixable cyclic ordering dependency: Transaction order is cyclic. See system logs for details.
    [    6.320571] systemd[1]: systemd-journald-dev-log.socket failed to queue service startup job (Maybe the service file is missing or not a non-template unit?): Transaction order is cyclic. See system logs for details.
    [    6.360571] systemd[1]: Unit systemd-journald-dev-log.socket entered failed state.
    [    6.637622] systemd-udevd[172]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:2
    [    6.668970] systemd-udevd[172]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:3
    [    6.693747] systemd-udevd[172]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:9
    [    6.708223] systemd-udevd[172]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:10
    [    7.219183] net eth0: initializing cpsw version 1.12 (0)
    [    7.224541] net eth0: initialized cpsw ale version 1.4
    [    7.229705] net eth0: ALE Table size 1024
    [    7.236526] net eth0: phy found : id is : 0x1410dd1
    [   19.249480] EXT4-fs (mmcblk1p4): mounted filesystem with ordered data mode. Opts: (null)
    [   19.668652] systemd-logind[443]: New seat seat0.
    [   19.689904] systemd-logind[443]: Watching system buttons on /dev/input/event1 (tps65217_pwr_but)
    [   20.333983] using random self ethernet address
    [   20.338580] using random host ethernet address
    [   20.365145] using random self ethernet address
    [   20.369761] using random host ethernet address
    [   20.390464] usb0: HOST MAC 70:b3:d5:ac:10:3c
    [   20.399103] usb0: MAC 70:b3:d5:ac:10:3a
    [   20.412822] usb1: HOST MAC 70:b3:d5:ac:10:3d
    [   20.429548] usb1: MAC 70:b3:d5:ac:10:3b
    [   20.984292] configfs-gadget gadget: high-speed config #2: c
    [   21.133158] random: nonblocking pool is initialized
    [   22.334024] systemd-udevd[172]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:2
    [   22.348484] systemd-udevd[172]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:3
    [   22.363120] systemd-udevd[172]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:9
    [   22.377495] systemd-udevd[172]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:10
    [   23.527966] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [   23.555637] device usb0 entered promiscuous mode
    [   23.579280] device usb1 entered promiscuous mode
    [   23.632794] br0: port 2(usb1) entered forwarding state
    [   23.644436] br0: port 2(usb1) entered forwarding state
    [   24.221464] usbcore: registered new interface driver rtl88x2bu
    [   24.532055] RTW: module init start
    [   24.539696] RTW: rtl8821au v5.3.4_28226.20180614_COEX20171103-6c6d
    [   24.553990] RTW: rtl8821au BT-Coex version = COEX20171103-6c6d
    [   24.568587] RTW: rtw_inetaddr_notifier_register
    [   24.576950] usbcore: registered new interface driver rtl8821au
    [   24.587034] RTW: module init ret=0
    [   25.835695] systemd-udevd[172]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:2
    [   25.850405] systemd-udevd[172]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:3
    [   25.866031] systemd-udevd[172]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:9
    [   25.882300] systemd-udevd[172]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:10
    [   38.026227] systemd-timedated[776]: /etc/localtime should be a symbolic link to a time zone data file in /usr/share/zoneinfo/.
    [   38.688259] br0: port 2(usb1) entered forwarding state
    

    root@arm:~# 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: No
    	Supports auto-negotiation: Yes
    	Advertised link modes:  10baseT/Half 10baseT/Full 
    	                        100baseT/Half 100baseT/Full 
    	Advertised pause frame use: No
    	Advertised auto-negotiation: No
    	Speed: 1000Mb/s
    	Duplex: Half
    	Port: MII
    	PHYAD: 0
    	Transceiver: external
    	Auto-negotiation: on
    	Supports Wake-on: d
    	Wake-on: d
    	Current message level: 0x00000000 (0)
    			       
    	Link detected: no
    

  • Hi,

    Thanks for the logs and the additional explanation. TI will only be able to support a local connection or immediate link partner between the AM3352 device and a PC for example. TI is only able to support the CPSW driver and it's interface to the Linux kernel. Connecting to the internet too many variables that affect throughput will come into play.

    The first thing I see looking through the ethtool output is puzzling and points to some possible HW issues. Ethtool is not showing a link partner and the boot log provided does not show the CPSW establishing a link up status. Are there other network interfaces on the board such as USB? 

    Advertised auto-negotiation: No
    Speed: 1000Mb/s
    Duplex: Half
    Port: MII
    PHYAD: 0
    Transceiver: external
    Auto-negotiation: on
    Supports Wake-on: d
    Wake-on: d
    Current message level: 0x00000000 (0)

    Link detected: no

    Best Regards,

    Schuyler

  • Hello,

    Sorry, I have not seen logs perfectly. Please find attached logs. This time, I have attached cable all time. 

    Yes, We have a wireless interface with USB. 

    One more thing, If Hardware issue is there, then Can you describe where it can be?

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.16 (sandip@ubuntu) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #54 SMP PREEMPT RT Thu Feb 4 20:10:36 PST 2021
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: TI AM335x BeagleBone Black
    [    0.000000] debug: ignoring loglevel setting.
    [    0.000000] cma: Reserved 24 MiB at 0x9e000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] On node 0 totalpages: 130816
    [    0.000000] free_area_init_node: node 0, pgdat c0af72c0, node_mem_map dfa6d000
    [    0.000000]   Normal zone: 1150 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 130816 pages, LIFO batch:31
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon )
    [    0.000000] PERCPU: Embedded 13 pages/cpu @dfa2b000 s21408 r8192 d23648 u53248
    [    0.000000] pcpu-alloc: s21408 r8192 d23648 u53248 alloc=13*4096
    [    0.000000] pcpu-alloc: [0] 0 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129666
    [    0.000000] Kernel command line: console=ttyS0,115200 ignore_loglevel mem=511M bootlogo=9FF00000 fbcon=rotate:1 root=/dev/mmcblk1p2 rootfstype=ext4 rw rootwait verify=n lpj=1990656 quiet
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 481004K/523264K available (7015K kernel code, 441K rwdata, 3528K rodata, 316K init, 699K bss, 17684K reserved, 24576K 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 : 0xe0000000 - 0xff800000   ( 504 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xdff00000   ( 511 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf800000 - 0xbfe00000   (   6 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a54058   (10545 kB)
    [    0.000000]       .init : 0xc0a55000 - 0xc0aa4000   ( 316 kB)
    [    0.000000]       .data : 0xc0aa4000 - 0xc0b12558   ( 442 kB)
    [    0.000000]        .bss : 0xc0b15000 - 0xc0bc3cec   ( 700 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Build-time adjustment of leaf fanout to 32.
    [    0.000000] 	RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000024] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000029] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000697] clocksource_probe: no matching clocksources found
    [    0.000862] Console: colour dummy device 80x30
    [    0.001027] Calibrating delay loop (skipped) preset value.. 995.32 BogoMIPS (lpj=1990656)
    [    0.001032] pid_max: default: 32768 minimum: 301
    [    0.001141] Security Framework initialized
    [    0.001148] Yama: becoming mindful.
    [    0.001175] AppArmor: AppArmor disabled by boot time parameter
    [    0.001210] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001216] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001952] Initializing cgroup subsys io
    [    0.001970] Initializing cgroup subsys memory
    [    0.002003] Initializing cgroup subsys devices
    [    0.002013] Initializing cgroup subsys freezer
    [    0.002023] Initializing cgroup subsys net_cls
    [    0.002031] Initializing cgroup subsys perf_event
    [    0.002039] Initializing cgroup subsys net_prio
    [    0.002049] Initializing cgroup subsys pids
    [    0.002145] CPU: Testing write buffer coherency: ok
    [    0.002512] CPU0: thread -1, cpu 0, socket -1, mpidr 0
    [    0.002648] Setting up static identity map for 0x80008240 - 0x8000828c
    [    0.035266] Brought up 1 CPUs
    [    0.035290] SMP: Total of 1 processors activated (995.32 BogoMIPS).
    [    0.035298] CPU: All CPU(s) started in SVC mode.
    [    0.036745] devtmpfs: initialized
    [    0.059547] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.078290] omap_hwmod: debugss: _wait_target_disable failed
    [    0.132243] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.136906] pinctrl core: initialized pinctrl subsystem
    [    0.138962] NET: Registered protocol family 16
    [    0.142375] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.155193] cpuidle: using governor ladder
    [    0.167193] cpuidle: using governor menu
    [    0.172784] OMAP GPIO hardware version 0.1
    [    0.173305] GPIO line 61 (EMMC ResetN) hogged as output/high
    [    0.185727] No ATAGs?
    [    0.185757] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.236630] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.241603] SCSI subsystem initialized
    [    0.241935] usbcore: registered new interface driver usbfs
    [    0.242006] usbcore: registered new interface driver hub
    [    0.242161] usbcore: registered new device driver usb
    [    0.242635] Linux video capture interface: v2.00
    [    0.242693] pps_core: LinuxPPS API ver. 1 registered
    [    0.242702] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.242730] PTP clock support registered
    [    0.243700] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.248196] Bluetooth: Core ver 2.21
    [    0.248250] NET: Registered protocol family 31
    [    0.248258] Bluetooth: HCI device and connection manager initialized
    [    0.248274] Bluetooth: HCI socket layer initialized
    [    0.248287] Bluetooth: L2CAP socket layer initialized
    [    0.248342] Bluetooth: SCO socket layer initialized
    [    0.251259] NetLabel: Initializing
    [    0.251273] NetLabel:  domain hash size = 128
    [    0.251279] NetLabel:  protocols = UNLABELED CIPSOv4
    [    0.251350] NetLabel:  unlabeled traffic allowed by default
    [    0.252100] clocksource: Switched to clocksource timer1
    [    0.265863] NET: Registered protocol family 2
    [    0.266668] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.266729] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
    [    0.266851] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.266923] UDP hash table entries: 256 (order: 2, 16384 bytes)
    [    0.266954] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
    [    0.267187] NET: Registered protocol family 1
    [    0.271797] RPC: Registered named UNIX socket transport module.
    [    0.271811] RPC: Registered udp transport module.
    [    0.271818] RPC: Registered tcp transport module.
    [    0.271824] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.272968] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.275476] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.275589] audit: initializing netlink subsys (disabled)
    [    0.275667] audit: type=2000 audit(0.272:1): initialized
    [    0.290427] zbud: loaded
    [    0.291112] VFS: Disk quotas dquot_6.6.0
    [    0.291377] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.299629] NFS: Registering the id_resolver key type
    [    0.299691] Key type id_resolver registered
    [    0.299700] Key type id_legacy registered
    [    0.299733] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.299749] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    0.300693] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    0.301574] fuse init (API version 7.23)
    [    0.315881] gfs2: GFS2 installed
    [    0.316449] ceph: loaded (mds proto 32)
    [    0.322807] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
    [    0.327063] io scheduler noop registered
    [    0.327081] io scheduler deadline registered
    [    0.327352] io scheduler cfq registered (default)
    [    0.328948] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.332656] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [    0.334124] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
    [    0.337378] console [ttyS0] disabled
    [    0.337468] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.132470] console [ttyS0] enabled
    [    1.136874] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 159, base_baud = 3000000) is a 8250
    [    1.146481] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 160, base_baud = 3000000) is a 8250
    [    1.156805] [drm] Initialized drm 1.1.0 20060810
    [    1.162116] usbcore: registered new interface driver udl
    [    1.170013] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.176674] [drm] No driver support for vblank timestamp query.
    [    1.196336] Console: switching to colour frame buffer device 60x50
    [    1.224528] tilcdc 4830e000.lcdc: fb0:  frame buffer device
    [    1.240137] [drm] Initialized tilcdc 1.0.0 20121205 on minor 1
    [    1.251744] brd: module loaded
    [    1.295345] loop: module loaded
    [    1.367190] nbd: registered device at major 43
    [    1.386239] rbd: loaded
    [    1.391443] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.402360] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    [    1.415408] eql: Equalizer2002: Simon Janes (simon@ncm.com) and David S. Miller (davem@redhat.com)
    [    1.426823] tun: Universal TUN/TAP device driver, 1.6
    [    1.431907] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [    1.488117] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.494256] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.502636] libphy: 4a101000.mdio: probed
    [    1.506694] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Marvell 88E1510
    [    1.516343] cpsw 4a100000.ethernet: Detected MACID = 70:b3:d5:ac:10:3a
    [    1.524466] PPP generic driver version 2.4.2
    [    1.529079] PPP BSD Compression module registered
    [    1.533818] PPP Deflate Compression module registered
    [    1.538920] PPP MPPE Compression module registered
    [    1.543745] NET: Registered protocol family 24
    [    1.549916] aoe: AoE v85 initialised.
    [    1.554555] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.561168] ehci-platform: EHCI generic platform driver
    [    1.566640] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.572433] usbcore: registered new interface driver usb-storage
    [    1.580698] 47401300.usb-phy supply vcc not found, using dummy regulator
    [    1.598351] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [    1.609024] musb-hdrc: MHDRC RTL version 2.0 
    [    1.613403] musb-hdrc: setup fifo_mode 4
    [    1.617354] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [    1.624594] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [    1.642214] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [    1.652797] musb-hdrc: MHDRC RTL version 2.0 
    [    1.657175] musb-hdrc: setup fifo_mode 4
    [    1.661123] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [    1.666741] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [    1.672547] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [    1.680643] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.687466] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.694724] usb usb1: Product: MUSB HDRC host driver
    [    1.699712] usb usb1: Manufacturer: Linux 4.4.16 musb-hcd
    [    1.705137] usb usb1: SerialNumber: musb-hdrc.1.auto
    [    1.710990] hub 1-0:1.0: USB hub found
    [    1.714803] hub 1-0:1.0: 1 port detected
    [    1.737402] mousedev: PS/2 mouse device common for all mice
    [    1.748515] TI-am335x-tsc TI-am335x-tsc: ti,charge-delay not specified
    [    1.755616] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [    1.765888] i2c /dev entries driver
    [    1.771040] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input1
    [    1.806367] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    1.812262] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.820754] rtc-pcf8523 0-0068: rtc core: registered rtc-pcf8523 as rtc0
    [    1.827728] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.834353] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
    [    1.840823] usbcore: registered new interface driver uvcvideo
    [    1.846603] USB Video Class driver (1.1.1)
    [    1.858161] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.865246] Bluetooth: HCI UART driver ver 2.3
    [    1.869750] Bluetooth: HCI UART protocol H4 registered
    [    1.874915] Bluetooth: HCI UART protocol BCSP registered
    [    1.880251] Bluetooth: HCI UART protocol LL registered
    [    1.885413] Bluetooth: HCI UART protocol ATH3K registered
    [    1.890835] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [    1.897632] Bluetooth: HCI UART protocol BCM registered
    [    1.902932] Bluetooth: HCI UART protocol QCA registered
    [    1.908300] usbcore: registered new interface driver btusb
    [    1.913822] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
    [    1.919853] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.927198] pinctrl-single 44e10800.pinmux: pin 44e10960.0 already requested by 48030000.spi; cannot claim for 48060000.mmc
    [    1.938389] pinctrl-single 44e10800.pinmux: pin-88 (48060000.mmc) status -22
    [    1.945476] pinctrl-single 44e10800.pinmux: could not request pin 88 (44e10960.0) from group pinmux_mmc1_pins  on device pinctrl-single
    [    1.957706] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [    1.965321] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    2.033975] hidraw: raw HID events driver (C) Jiri Kosina
    [    2.043257] usbcore: registered new interface driver usbhid
    [    2.051810] usbhid: USB HID core driver
    [    2.055993] ashmem: initialized
    [    2.059791]  remoteproc0: wkup_m3 is available
    [    2.064265]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    2.073268]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.077546] mmc1: MAN_BKOPS_EN bit is not set
    [    2.079220] mmc1: new high speed MMC card at address 0001
    [    2.092026] mmcblk1: mmc1:0001 008G30 7.28 GiB 
    [    2.099452] mmcblk1boot0: mmc1:0001 008G30 partition 1 4.00 MiB
    [    2.104137] usb 1-1: new high-speed USB device number 2 using musb-hdrc
    [    2.121137] NET: Registered protocol family 10
    [    2.124545] mmcblk1boot1: mmc1:0001 008G30 partition 2 4.00 MiB
    [    2.126425]  mmcblk1: p1 p2 p3 p4
    [    2.145070] mip6: Mobile IPv6
    [    2.148171] NET: Registered protocol family 17
    [    2.152827] Bluetooth: RFCOMM TTY layer initialized
    [    2.157849] Bluetooth: RFCOMM socket layer initialized
    [    2.163041] Bluetooth: RFCOMM ver 1.11
    [    2.166830] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    2.172167] Bluetooth: BNEP filters: protocol multicast
    [    2.177426] Bluetooth: BNEP socket layer initialized
    [    2.182417] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [    2.188372] Bluetooth: HIDP socket layer initialized
    [    2.193489] Key type dns_resolver registered
    [    2.197805] Key type ceph registered
    [    2.205875] libceph: loaded (mon/osd proto 15/24)
    [    2.210616] mpls_gso: MPLS GSO support
    [    2.214709] omap_voltage_late_init: Voltage driver support not added
    [    2.223844] PM: Cannot get wkup_m3_ipc handle
    [    2.228428] ThumbEE CPU extension supported.
    [    2.232785] usb 1-1: New USB device found, idVendor=7392, idProduct=b822
    [    2.232792] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    2.232798] usb 1-1: Product: AC1200 MU-MIMO USB2.0 Adapter
    [    2.232803] usb 1-1: Manufacturer: Realtek
    [    2.232808] usb 1-1: SerialNumber: 123456
    [    2.262561] Registering SWP/SWPB emulation handler
    [    2.268375] registered taskstats version 1
    [    2.272636] zswap: loaded using pool lzo/zbud
    [    2.278782] Key type encrypted registered
    [    2.289141] PM: bootloader does not support rtc-only!
    [    2.292214]  remoteproc0: powering up wkup_m3
    [    2.292229]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219735
    [    2.292505]  remoteproc0: remote processor wkup_m3 is now up
    [    2.292551] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
    [    2.320465] input: user_keys as /devices/platform/user_keys/input/input2
    [    2.328190] rtc-pcf8523 0-0068: setting system clock to 2021-02-08 04:52:23 UTC (1612759943)
    [    2.336686] of_cfs_init
    [    2.339186] of_cfs_init: OK
    [    2.348477] PM: Hibernation image not present or could not be loaded.
    [    2.371155] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.379363] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.390330] devtmpfs: mounted
    [    2.393784] Freeing unused kernel memory: 316K (c0a55000 - c0aa4000)
    [    2.524536] random: systemd urandom read with 22 bits of entropy available
    [    2.816946] systemd[1]: Configuration file /lib/systemd/system/Sheepapp.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    2.895365] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
    [    2.910681] systemd[1]: Found ordering cycle on basic.target/start
    [    2.916924] systemd[1]: Found dependency on sysinit.target/start
    [    2.922981] systemd[1]: Found dependency on systemd-tmpfiles-setup-dev.service/start
    [    2.930778] systemd[1]: Found dependency on basic.target/start
    [    2.936654] systemd[1]: Breaking ordering cycle by deleting job systemd-tmpfiles-setup-dev.service/start
    [    2.946194] systemd[1]: Job systemd-tmpfiles-setup-dev.service/start deleted to break ordering cycle starting with basic.target/start
    [    2.958651] systemd[1]: Found ordering cycle on basic.target/start
    [    2.964893] systemd[1]: Found dependency on sysinit.target/start
    [    2.970950] systemd[1]: Found dependency on systemd-update-utmp.service/verify-active
    [    2.978835] systemd[1]: Found dependency on basic.target/start
    [    2.984712] systemd[1]: Breaking ordering cycle by deleting job systemd-update-utmp.service/verify-active
    [    2.994344] systemd[1]: Job systemd-update-utmp.service/verify-active deleted to break ordering cycle starting with basic.target/start
    [    3.006576] systemd[1]: Found ordering cycle on basic.target/start
    [    3.012803] systemd[1]: Found dependency on sysinit.target/start
    [    3.018856] systemd[1]: Found dependency on systemd-journald.service/start
    [    3.025779] systemd[1]: Found dependency on Sheepapp.service/start
    [    3.032000] systemd[1]: Found dependency on basic.target/start
    [    3.037873] systemd[1]: Breaking ordering cycle by deleting job systemd-journald.service/start
    [    3.046539] systemd[1]: Job systemd-journald.service/start deleted to break ordering cycle starting with basic.target/start
    [    3.242014] systemd-udevd[177]: starting version 215
    [    3.305779] EXT4-fs (mmcblk1p2): re-mounted. Opts: errors=remount-ro
    [    3.317307] systemd[1]: Found ordering cycle on systemd-journald.service/start
    [    3.317330] systemd[1]: Found dependency on Sheepapp.service/start
    [    3.317348] systemd[1]: Found dependency on basic.target/start
    [    3.317362] systemd[1]: Found dependency on sysinit.target/start
    [    3.317376] systemd[1]: Found dependency on systemd-journald.service/start
    [    3.317389] systemd[1]: Unable to break cycle
    [    3.317431] systemd[1]: Requested transaction contains an unfixable cyclic ordering dependency: Transaction order is cyclic. See system logs for details.
    [    3.321281] systemd[1]: systemd-journald.socket failed to queue service startup job (Maybe the service file is missing or not a non-template unit?): Transaction order is cyclic. See system logs for details.
    [    3.321625] systemd[1]: Unit systemd-journald.socket entered failed state.
    [    4.956690] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    5.201156] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    5.438805] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    5.520608] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    6.036588] systemd[1]: Found ordering cycle on systemd-journald.service/start
    [    6.046987] systemd[1]: Found dependency on Sheepapp.service/start
    [    6.061437] systemd[1]: Found dependency on basic.target/start
    [    6.074198] systemd[1]: Found dependency on sysinit.target/start
    [    6.086723] systemd[1]: Found dependency on systemd-journald.service/start
    [    6.098921] systemd[1]: Unable to break cycle
    [    6.110850] systemd[1]: Requested transaction contains an unfixable cyclic ordering dependency: Transaction order is cyclic. See system logs for details.
    [    6.140447] systemd[1]: systemd-journald-dev-log.socket failed to queue service startup job (Maybe the service file is missing or not a non-template unit?): Transaction order is cyclic. See system logs for details.
    [    6.176982] systemd[1]: Unit systemd-journald-dev-log.socket entered failed state.
    [    6.617488] systemd-udevd[177]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:2
    [    6.646437] systemd-udevd[177]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:3
    [    6.686902] systemd-udevd[177]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:9
    [    6.718424] systemd-udevd[177]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:10
    [    6.964786] net eth0: initializing cpsw version 1.12 (0)
    [    6.970145] net eth0: initialized cpsw ale version 1.4
    [    6.975311] net eth0: ALE Table size 1024
    [    6.982160] net eth0: phy found : id is : 0x1410dd1
    [   12.996179] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [   15.003539] cpsw 4a100000.ethernet eth0: Link is Down
    [   17.012175] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [   19.159161] EXT4-fs (mmcblk1p4): mounted filesystem with ordered data mode. Opts: (null)
    [   19.625064] systemd-logind[442]: New seat seat0.
    [   19.653528] systemd-logind[442]: Watching system buttons on /dev/input/event1 (tps65217_pwr_but)
    [   20.031242] random: nonblocking pool is initialized
    [   20.289575] using random self ethernet address
    [   20.294135] using random host ethernet address
    [   20.320703] using random self ethernet address
    [   20.325301] using random host ethernet address
    [   20.345654] usb0: HOST MAC 70:b3:d5:ac:10:3d
    [   20.356941] usb0: MAC 70:b3:d5:ac:10:3b
    [   20.370234] usb1: HOST MAC 70:b3:d5:ac:10:3e
    [   20.386925] usb1: MAC 70:b3:d5:ac:10:3c
    [   20.919248] configfs-gadget gadget: high-speed config #2: c
    [   22.343239] systemd-udevd[177]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:2
    [   22.357708] systemd-udevd[177]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:3
    [   22.372206] systemd-udevd[177]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:9
    [   22.386719] systemd-udevd[177]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:10
    [   23.471827] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [   23.501597] device usb0 entered promiscuous mode
    [   23.525032] device usb1 entered promiscuous mode
    [   23.573655] br0: port 2(usb1) entered forwarding state
    [   23.584581] br0: port 2(usb1) entered forwarding state
    [   24.165633] usbcore: registered new interface driver rtl88x2bu
    [   24.468027] RTW: module init start
    [   24.476319] RTW: rtl8821au v5.3.4_28226.20180614_COEX20171103-6c6d
    [   24.488908] RTW: rtl8821au BT-Coex version = COEX20171103-6c6d
    [   24.501799] RTW: rtw_inetaddr_notifier_register
    [   24.510177] usbcore: registered new interface driver rtl8821au
    [   24.524317] RTW: module init ret=0
    [   25.761061] systemd-udevd[177]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:2
    [   25.775503] systemd-udevd[177]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:3
    [   25.790334] systemd-udevd[177]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:9
    [   25.805270] systemd-udevd[177]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/10_removabledisk.rules:10
    [   36.855830] systemd-timedated[788]: /etc/localtime should be a symbolic link to a time zone data file in /usr/share/zoneinfo/.
    [   38.624157] br0: port 2(usb1) entered forwarding state
    [   75.076939] musb_g_ep0_irq 712: SetupEnd came in a wrong ep0stage in/status
    [   75.084441] musb_g_ep0_irq 712: SetupEnd came in a wrong ep0stage in/status
    [   97.944285] br0: port 2(usb1) entered disabled state
    [  100.137080] configfs-gadget gadget: high-speed config #2: c
    [  100.143044] br0: port 2(usb1) entered forwarding state
    [  100.151100] br0: port 2(usb1) entered forwarding state
    [  115.168285] br0: port 2(usb1) entered forwarding state
    

    root@arm:~# 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: No
    	Supports auto-negotiation: Yes
    	Advertised link modes:  10baseT/Half 10baseT/Full 
    	                        100baseT/Half 100baseT/Full 
    	                        1000baseT/Half 1000baseT/Full 
    	Advertised pause frame use: No
    	Advertised auto-negotiation: Yes
    	Link partner advertised link modes:  10baseT/Half 10baseT/Full 
    	                                     100baseT/Half 100baseT/Full 
    	                                     1000baseT/Full 
    	Link partner advertised pause frame use: No
    	Link partner advertised auto-negotiation: Yes
    	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
    

  • Hello,

    One Update.

    We have taken new broadband of 500 Mbps and with that, I have tested AM335 device. With SpeedTest script, it is showing 130 Mbps around. 

    So, there is no issue as mentioned earlier but still, there is an issue with speed.

    I have checked the same connection with my PC and it shows around 450 Mbps and AM3352 device shows 130 Mbps.

    So, My question is why this much difference (almost 3 times) between PC and AM3352 device?

    Regards,

    Sandip Rakhasiya

  • Hello TI,

    I am expecting some reply. Is there any update for the same?

  • Hi,

    The difference in network throughput is due to the differences in processors. A PC will always have more network throughput capability than the AM3352.

    Please note that comparing the AM3352 to a PC is not and cannot be compared in a 1 to 1 fashion. Most PCs are multi-core and much more complex devices when trying to compare to the AM3352 which is a single core device. Please also consider that PCs use network adapters that have network acceleration in them that increases network throughput. All network traffic on the AM3352 has to be processed by the cortex-A8 processor, there is not any network offloading like there is in a PC.

    Another point to take into account is the speed that the AM3352 is being run at. The link below is to a performance guide and there is a section on network throughput. Depending on the speed that the AM3352 is operating at will have a direct impact on throughput. The board used in the performance guide is running at 1GHz, that would yield roughly 350-370Mbps as an iperf client (sending data).

    To summarize there are several factors such as processor speed, number of interfaces active(CPSW and USB here) that will impact the network throughput.

    Performance Guide

    Best Regards,

    Schuyler