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.

AM620-Q1: Ethernet issue on custom board boot m-eth1

Part Number: AM620-Q1
Other Parts Discussed in Thread: DP83869

Tool/software:

During boot, I get the following:

When boot completes and I do an ifconfig I get:

I can ping eth0 but not eth1.

  • Hi,

    Is this a custom board?

    Could you please attach the full boot log?

    The PHY is not being identified during boot as there may be communication issues with the PHY over the MDIO bus. 

    What is the PHY that is attached on eth1?

    What does ethtool eth1 say when you have a cable connected between eth1 and a link partner? This will indicate both communication between the Processor and the PHY and if the PHY is in a good state.

    Best Regards,

    Schuyler

  • Schuler,

    Sorry for the delayed response - holiday.  I've attached the full boot log:

    U-Boot SPL 2023.04-dirty (Sep 03 2024 - 16:33:05 -0400)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)')
    SPL initial stack usage: 13408 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    
    U-Boot SPL 2023.04-dirty (Sep 03 2024 - 16:33:11 -0400)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)')
    SPL initial stack usage: 1856 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2023.04-dirty (Sep 03 2024 - 16:33:11 -0400)
    
    SoC:   AM62X SR1.0 HS-FS
    Model: Texas Instruments AM625 SK
    EEPROM not available at 80, trying to read at 81
    Reading on-board EEPROM at 0x51 failed -121
    DRAM:  no bloblist found!2 GiB
    Core:  64 devices, 27 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial
    Out:   serial
    Err:   serial
    EEPROM not available at 80, trying to read at 81
    Reading on-board EEPROM at 0x51 failed -121
    Net:   eth0: ethernet@8000000port@1
    Warning: ethernet@8000000port@2 (eth1) using random MAC address - 02:5e:b8:ac:80:f7
    , eth1: ethernet@8000000port@2
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    574 bytes read in 13 ms (43 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    15442432 bytes read in 615 ms (23.9 MiB/s)
    57083 bytes read in 17 ms (3.2 MiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
    ERROR: reserving fdt memory region failed (addr=9ca00000 size=100000 flags=0)
       Loading Device Tree to 000000008feef000, end 000000008fffffff ... OK
    Working FDT set to 8feef000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.83-rt28-ti-rt-g96b0ebd82722 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT_RT Mon May 13 23:06:24 UTC 2024
    [    0.000000] Machine model: Texas Instruments AM625 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] OF: reserved mem: OVERLAP DETECTED!
    [    0.000000] ipc-memories@9c800000 (0x000000009c800000--0x000000009cb00000) overlaps with ramoops@9ca00000 (0x000000009ca00000--0x000000009cb00000)
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000f8000000, size 128 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009c7fffff]
    [    0.000000]   node   0: [mem 0x000000009c800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 20 pages/cpu s44928 r8192 d28800 u81920
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),98048k@32m(ospi.rootfs),256k@130816k(ospi.phypattern);omap2-nand.0:2m(NAND.tiboot3),2m(NAND.tispl),2m(NAND.tiboot3.backup),4m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup),-(NAND.file-system) root=PARTUUID=1a2fb328-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1856136K/2097152K available (9792K kernel code, 1192K rwdata, 2244K rodata, 1728K init, 422K bss, 109944K reserved, 131072K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000] rcu:     RCU_SOFTIRQ processing moved to rcuc kthreads.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: 0xffff800008412740
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000274] Console: colour dummy device 80x25
    [    0.507918] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000)
    [    0.507932] pid_max: default: 32768 minimum: 301
    [    0.508046] LSM: Security Framework initializing
    [    0.508233] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.508272] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.510570] rcu: Hierarchical SRCU implementation.
    [    0.510580] rcu:     Max phase no-delay instances is 400.
    [    0.510644] printk: bootconsole [ns16550a0] printing thread started
    [    0.563190] Platform MSI: msi-controller@1820000 domain created
    [    0.563524] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.563619] EFI services will not be available.
    [    0.563975] smp: Bringing up secondary CPUs ...
    [    0.564963] Detected VIPT I-cache on CPU1
    [    0.565120] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.565143] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000
    [    0.565219] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.615359] Detected VIPT I-cache on CPU2
    [    0.615474] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.615489] GICv3: CPU2: using allocated LPI pending table @0x0000000080060000
    [    0.615537] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.641595] Detected VIPT I-cache on CPU3
    [    0.641709] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.641725] GICv3: CPU3: using allocated LPI pending table @0x0000000080070000
    [    0.641762] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.641852] smp: Brought up 1 node, 4 CPUs
    [    0.641859] SMP: Total of 4 processors activated.
    [    0.641863] CPU features: detected: 32-bit EL0 Support
    [    0.681304] CPU features: detected: CRC32 instructions
    [    0.681361] CPU: All CPU(s) started at EL2
    [    0.681363] alternatives: applying system-wide alternatives
    [    0.698597] devtmpfs: initialized
    [    0.710544] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
    [    0.710585] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.718614] pinctrl core: initialized pinctrl subsystem
    [    0.719498] DMI not present or invalid.
    [    0.720158] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.744674] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.744998] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.745129] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.745324] audit: initializing netlink subsys (disabled)
    [    0.745573] audit: type=2000 audit(0.743:1): state=initialized audit_enabled=0 res=1
    [    0.746301] thermal_sys: Registered thermal governor 'step_wise'
    [    0.746570] ASID allocator initialised with 65536 entries
    [    0.756750] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@f0000/pinctrl@a40000/cpsw-cpts
    [    0.769196] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.769211] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.769216] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.769219] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.769224] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.769227] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.769231] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.769234] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.774096] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.777285] iommu: Default domain type: Translated
    [    0.777302] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.777754] SCSI subsystem initialized
    [    0.778172] usbcore: registered new interface driver usbfs
    [    0.778218] usbcore: registered new interface driver hub
    [    0.778251] usbcore: registered new device driver usb
    [    0.778840] pps_core: LinuxPPS API ver. 1 registered
    [    0.778845] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.778866] PTP clock support registered
    [    0.779014] EDAC MC: Ver: 3.0.0
    [    0.780029] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [    0.780498] FPGA manager framework
    [    0.780635] Advanced Linux Sound Architecture Driver Initialized.
    [    0.781929] clocksource: Switched to clocksource arch_sys_counter
    [    0.782306] VFS: Disk quotas dquot_6.6.0
    [    0.782360] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.789493] NET: Registered PF_INET protocol family
    [    0.789970] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.791897] tcp_listen_portaddr_hash hash table entries: 1024 (order: 3, 40960 bytes, linear)
    [    0.791995] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.792015] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.792293] TCP bind hash table entries: 16384 (order: 8, 1310720 bytes, linear)
    [    0.794840] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.795263] UDP hash table entries: 1024 (order: 4, 98304 bytes, linear)
    [    0.795538] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes, linear)
    [ H▒▒0.796167] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    [1.024639] printk: console [ttyS2] printing thread started
        0.796853] RPC: Registered named UNIX socket transport module.
    [    1.024653] printk: console [ttyS2] enabled
    [    1.024658] printk: bootconsole [ns16550a0] disabled
    [    1.036272] printk: bootconsole [ns16550a0] printing thread stopped
    [    1.038389] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.071951] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.077488] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83869
    [    1.077505] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver unknown
    [    1.077572] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.077872] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.077878] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.078689] pps pps0: new PPS source ptp0
    [    1.079046] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.096636] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.101646] mmc0: CQHCI version 5.10
    [    1.108218] pinctrl-single f4000.pinctrl: Invalid number of rows: 0
    [    1.108237] pinctrl-single f4000.pinctrl: no pins entries for wlan-en-pins-default
    [    1.110664] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.111449] mmc1: CQHCI version 5.10
    [    1.114225] debugfs: Directory 'pd:186' with parent 'pm_genpd' already present!
    [    1.118864] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=81, clk=20, ret=-19
    [    1.124595] ALSA device list:
    [    1.124604]   No soundcards found.
    [    1.143487] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.149051] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.149609] Waiting for root device PARTUUID=1a2fb328-02...
    [    1.194658] mmc0: Command Queue Engine enabled
    [    1.194685] mmc0: new HS200 MMC card at address 0001
    [    1.195798] mmc1: new high speed SDHC card at address 1388
    [    1.195885] mmcblk0: mmc0:0001 IS032G 29.1 GiB
    [    1.197103] mmcblk1: mmc1:1388 USD00 29.5 GiB
    [    1.200174] mmcblk0boot0: mmc0:0001 IS032G 4.00 MiB
    [    1.200928]  mmcblk1: p1 p2
    [    1.202540] mmcblk0boot1: mmc0:0001 IS032G 4.00 MiB
    [    1.204169] mmcblk0rpmb: mmc0:0001 IS032G 4.00 MiB, chardev (240:0)
    [    1.235669] EXT4-fs (mmcblk1p2): recovery complete
    [    1.236564] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    1.236679] VFS: Mounted root (ext4 filesystem) on device 179:34.
    [    1.237473] devtmpfs: mounted
    [    1.239647] Freeing unused kernel memory: 1728K
    [    1.239798] Run /sbin/init as init process
    [    1.605922] systemd[1]: System time before build time, advancing clock.
    [    1.683324] NET: Registered PF_INET6 protocol family
    [    1.685271] Segment Routing with IPv6
    [    1.685315] In-situ OAM (IOAM) with IPv6
    [    1.713756] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    1.714509] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    1.757295] systemd[1]: Hostname set to <am62xx-evm>.
    [    1.900216] systemd-sysv-generator[167]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.196177] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.267203] systemd[1]: Queued start job for default target Multi-User System.
    [    2.303542] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/modprob[    2.320428] systemd[1]: Created slice Slice /system/modprobe.
    e.
    [  OK  ] Created slice Slice /system/serial-[    2.337222] systemd[1]: Created slice Slice /system/serial-getty.
    getty.
    [  OK  ] Created slice User and Session Slic[    2.353466] systemd[1]: Created slice User and Session Slice.
    e.
    [    2.368658] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [  OK  ] Started Forward Password R…uests [    2.388500] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    to Wall Directory Watch.
    [  OK  ] Reached target Path Units.
    [    2.407545] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Remote File Systems systemd[1]: Reached target Remote File Systems.
    [0m.
    [  OK  ] Reached target Slice Units.
    [    2.432130] systemd[1]: Reached target Slice Units.
    [    2.442871] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [  OK  ] Listening on RPCbind Server Activat[    2.455551] systemd[1]: Listening on RPCbind Server Activation Socket.
    ion Socket.
    [  OK  ] Reached target RPC Port Mapper.[    2.471263] systemd[1]: Reached target RPC Port Mapper.
    
    [  OK  ] Listening on Process Core Dump Sock[    2.492444] systemd[1]: Listening on Process Core Dump Socket.
    et.
    [    2.507724] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on Journal Audit Socket    2.524332] systemd[1]: Listening on Journal Audit Socket.
    0m.
    [  OK  ] Listening on Journal Socket (/dev/l[    2.539030] systemd[1]: Listening on Journal Socket (/dev/log).
    og).
    [  OK  ] Listening on Journal Socket.
    [    2.554150] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Network Service Netlin[    2.566374] systemd[1]: Listening on Network Service Netlink Socket.
    k Socket.
    [  OK  ] Listening on udev Control Socket    2.583317] systemd[1]: Listening on udev Control Socket.
    m.
    [  OK  ] Listening on udev Kernel Socket[    2.598904] systemd[1]: Listening on udev Kernel Socket.
    .
    [  OK  ] Listening on User Database Manager [    2.614045] systemd[1]: Listening on User Database Manager Socket.
    Socket.
    [    2.648683] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    2.665534] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    2.698765] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    2.713939] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [    2.720385] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    2.745564] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
             Starting Load Kernel Module configfs...
    [    2.780253] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module drm...
    [    2.798200] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module fuse...[    2.816020] systemd[1]: Starting Load Kernel Module fuse...
    
    [    2.855498] fuse: init (API version 7.37)
             Starting Start psplash boot splash screen.[    2.857601] systemd[1]: Starting Start psplash boot splash screen...
    ..
             Starting RPC Bind...
    [    2.899291] systemd[1]: Starting RPC Bind...
    [    2.908426] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    2.909981] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    2.910005] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    2.916747] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    2.982529] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
             Starting Generate network …ts from Kernel co[    3.003016] systemd[1]: Starting Generate network units from Kernel command line...
    mmand line...
    [    3.022896] cryptodev: loading out-of-tree module taints kernel.
    [    3.024874] cryptodev: driver 1.12 loaded.
    [    3.029478] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    3.065463] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [    3.065681] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [    3.099627] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [  OK  ] Started Journal Service.
    [    3.112252] systemd[1]: Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory /tmp.
    [  OK  ] Finished Create List of Static Device Nodes.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star…progress communication helper.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting FUSE Control File System...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...
    [    3.386457] systemd-journald[182]: Received client request to flush runtime journal.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting Rule-based Manage…for Device Events and Files...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Finished Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [    3.917963] random: crng init done
    [  OK  ] Finished Load/Save Random Seed.
    [    4.128085] Internal error: synchronous external abort: 0000000096000010 [#1] PREEMPT_RT SMP
    [    4.128115] Modules linked in: pruss(+) cryptodev(O) fuse drm drm_panel_orientation_quirks ipv6
    [    4.128155] CPU: 2 PID: 215 Comm: systemd-udevd Tainted: G           O       6.1.83-rt28-ti-rt-g96b0ebd82722 #1
    [    4.128164] Hardware name: Texas Instruments AM625 SK (DT)
    [    4.128169] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [    4.128179] pc : 0xffff80000849e190
    [    4.128182] lr : 0xffff8000084992ec
    [    4.128186] sp : ffff000003387680
    [    4.128188] x29: ffff000003387680 x28: 0000000000000040 x27: ffff000001b88f80
    [    4.128198] x26: ffff800008afd460 x25: 0000000000000002 x24: ffff000003185780
    [    4.128207] x23: ffff000003185900 x22: ffff000003285a80 x21: ffff0000031857d0
    [    4.128215] x20: ffff000003185c80 x19: ffff000003162c00 x18: ffffffffffffffff
    [    4.128224] x17: 0000000000000002 x16: 000043b49e8f6a10 x15: ffff00000318590d
    [    4.128233] x14: 0000000000000000 x13: 0078756d2d6b6c63 x12: 65726f632e737375
    [    4.128241] x11: 0101010101010101 x10: 0000000003175300 x9 : 0000000000000001
    [    4.128249] x8 : 0101010101010101 x7 : 0000000000000000 x6 : 505c5b1900b0c0c0
    [    4.128257] x5 : c0c03000195b5c50 x4 : ffff80000918503c x3 : 6660606860606060
    [    4.128266] x2 : ffff80000849e140 x1 : 0000000000000000 x0 : ffff000003185900
    [    4.128277] Call trace:
    [    4.128281]  0xffff80000849e190
    [    4.128286]  0xffff8000084992ec
    [    4.128289]  0xffff800008499960
    [    4.128291]  0xffff80000849de3c
    [    4.128294]  0xffff80000849df18
    [    4.128296]  0xffff800000a7e424
    [    4.128299]  0xffff800000a7e68c
    [    4.128305]  0xffff800000a7e8c4
    [    4.128308]  0xffff80000853b264
    [    4.128311]  0xffff800008538a38
    [    4.128314]  0xffff800008538cc4
    [    4.128317]  0xffff800008538d9c
    [    4.128320]  0xffff800008539570
    [    4.128322]  0xffff800008536850
    [    4.128325]  0xffff8000085384b4
    [    4.128329]  0xffff800008537e4c
    [    4.128332]  0xffff800008539eb4
    [    4.128335]  0xffff80000853af14
    [    4.128338]  0xffff800000a5901c
    [    4.128340]  0xffff800008013960
    [    4.128343]  0xffff8000080a6554
    [    4.128346]  0xffff8000080a7fbc
    [    4.128349]  0xffff8000080a85d4
    [    4.128353]  0xffff8000080a866c
    [    4.128356]  0xffff80000801db1c
    [    4.128359]  0xffff80000801dc10
    [    4.128362]  0xffff80000898d650
    [    4.128365]  0xffff80000898eb04
    [    4.128367]  0xffff800008011488
    [    4.128378] Code: 0a030083 97fffe8b a8c17bfd d65f03c0 (b9400084)
    [  OK  ] Found device /dev/ttyS2.
    [    4.348754] ---[ end trace 0000000000000000 ]---
    [    4.370772] systemd-journald[182]: Oldest entry in /run/log/journal/76b1738095d0412e9e5b0e7656170ba8/system.journal is older than the configured file retention duration (1month), suggesting rotation.
    [  OK  ] Started Network Time Synchronizatio[    4.370815] systemd-journald[182]: /run/log/journal/76b1738095d0412e9e5b0e7656170ba8/system.journal: Journal header limits reached or header out-of-date, rotating.
    n.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary [    4.396087] mc: Linux media interface: v0.10
    Directories.
    [  OK  ] Reached target System Time Set.
    [    4.422055] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
    [    4.422277] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [    4.422350] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [    4.422688] remoteproc remoteproc0: 5000000.m4fss is available
    [  OK  ] Reached target Timer Units.
    [    4.423254] videodev: Linux video capture interface: v2.00
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stac[    4.424196] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2
    k Activation Socket.
    [    4.424237] remoteproc remoteproc0: powering up 5000000.m4fss
    [  OK  ] Listening on D-Bus System Message B[    4.424283] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2
    [    4.424292] remoteproc remoteproc0: request_firmware failed: -2
    [    4.589821] platform 78000000.r5f: ti-sci processor request failed: -19
    [    4.589856] platform 78000000.r5f: ti_sci_proc_request failed, ret = -19
    us Socket.
    [    4.591175] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_core_of_init failed, ret = -19
             Starting Docker Socket for the API...
    [    4.591200] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_cluster_of_init failed, ret = -19
    [  OK  ] Listening on dropbear.socket.
             Starting D-Bus System Message Bus...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Reached target Basic System.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
             Starting Expand the rootfs…ll size of the boot device....
             Starting User Login Management...
    [  OK  ] Started TEE Supplicant.
             Starting Telnet Server...
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Finished Telnet Server.
    [  OK  ] Reached target Preparation for Network.
             Starting Network Configuration...
    [  OK  ] Finished Expand the rootfs…full size of the boot device..
    [  OK  ] Started User Login Management.
    [    6.179451] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
    [    6.202074] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    6.202905] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    6.206361] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    6.206415] cfg80211: failed to load regulatory.db
    [  OK  ] Started Network Configuration.
             Starting Network Name Resolution...
    [    6.369974] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [Generic PHY] (irq=POLL)
    [    6.370023] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    [    6.371983] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
    [    6.384120] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [    6.416156] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83869] (irq=POLL)
    [    6.416201] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [  OK  ] Created slice Slice /system/systemd-fsck.
    [  OK  ] Found device /dev/mmcblk1p1.
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting containerd container runtime...
    [  OK  ] Started Netperf Benchmark Server.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Permit User Sessions...
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Finished File System Check on /dev/mmcblk1p1.
             Mounting /run/media/boot-mmcblk1p1...
    [  OK  ] Mounted /run/media/boot-mmcblk1p1.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPL-3.0 packages:
            bash
            cifs-utils
            dosfstools
            grub-common
            grub-editenv
            grub-efi
            less
            libdw1
            libelf1
            libgcc1
            libreadline8
            libstdc++6
            parted
    
    If you do not wish to distribute GPL-3.0 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Finished Print notice about GPLv3 packages.
    [  OK  ] Started containerd container runtime.
    [  OK  ] Reached target Multi-User System.
             Starting Record Runlevel Change in UTMP...
    [  OK  ] Finished Record Runlevel Change in UTMP.
    [   10.530621] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   10.530706] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project am62xx-evm -
    
    Arago 2023.10 am62xx-evm -
    
    am62xx-evm login: root
    [   14.835313] audit: type=1006 audit(1725395207.169:2): pid=560 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
    [   14.835351] audit: type=1300 audit(1725395207.169:2): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffd8a7fe18 a2=1 a3=ffff8d0b6020 items=0 ppid=1 pid=560 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [   14.835364] audit: type=1327 audit(1725395207.169:2): proctitle="(systemd)"
    root@am62xx-evm:~# lsusb
    root@am62xx-evm:~#
    


    We're using the same transceiver for both eth0 and eth1 - "DP83869HMRGZR".

    Here's the output from ethtool eth1:



    Here's the output of "ifconfig" on eth1:



    When connected to eth0, I get an auto-negotiated IP.

  • Hi,

    Thanks for the screen caps.

    While the PHY is not being identified the ethtool output is showing that the PHY is accessible on the MDIO bus and the state of the PHY looks to be good as well.  A link is detected and the speed is 100MBps. From the this perspective the interface should be functioning. Please add the results of ethtool -S eth1.

    Since the eth1 PHY is not being detected the appropriate driver is not being loaded. The key would be that the rxid is an extended register mode parameter that would only get loaded into the PHY by the PHY driver. At 100Mbps the internal delay will not matter.

    I am not following the IP address assignment. The second screen cap shows both interfaces without any IP address. Can you only plug-in a cable to eth1 and see if the port is able to obtain an IP address? If so then the port should be ping-able. Please note that the two ports cannot be plugged in the same subnet (eg:192.168.1.x), this network topology is not allowed. The two ethernet ports must be on physically separate subnets.

    Best Regards,

    Schuyler

  • Schuyler,

    See attached:

    root@am62xx-evm:~# ethtool -S eth1
    NIC statistics:
         p0_rx_good_frames: 152
         p0_rx_broadcast_frames: 57
         p0_rx_multicast_frames: 69
         p0_rx_crc_errors: 0
         p0_rx_oversized_frames: 0
         p0_rx_undersized_frames: 0
         p0_ale_drop: 0
         p0_ale_overrun_drop: 0
         p0_rx_octets: 28612
         p0_tx_good_frames: 41446
         p0_tx_broadcast_frames: 38174
         p0_tx_multicast_frames: 3245
         p0_tx_octets: 3352524
         p0_tx_64B_frames: 38000
         p0_tx_65_to_127B_frames: 1907
         p0_tx_128_to_255B_frames: 323
         p0_tx_256_to_511B_frames: 1003
         p0_tx_512_to_1023B_frames: 183
         p0_tx_1024B_frames: 182
         p0_net_octets: 3381136
         p0_rx_bottom_fifo_drop: 0
         p0_rx_port_mask_drop: 0
         p0_rx_top_fifo_drop: 0
         p0_ale_rate_limit_drop: 0
         p0_ale_vid_ingress_drop: 0
         p0_ale_da_eq_sa_drop: 0
         p0_ale_block_drop: 0
         p0_ale_secure_drop: 0
         p0_ale_auth_drop: 0
         p0_ale_unknown_ucast: 0
         p0_ale_unknown_ucast_bytes: 0
         p0_ale_unknown_mcast: 0
         p0_ale_unknown_mcast_bytes: 0
         p0_ale_unknown_bcast: 0
         p0_ale_unknown_bcast_bytes: 0
         p0_ale_pol_match: 0
         p0_ale_pol_match_red: 0
         p0_ale_pol_match_yellow: 0
         p0_ale_mcast_sa_drop: 0
         p0_ale_dual_vlan_drop: 0
         p0_ale_len_err_drop: 0
         p0_ale_ip_next_hdr_drop: 0
         p0_ale_ipv4_frag_drop: 0
         p0_tx_mem_protect_err: 0
         p0_tx_pri0: 41446
         p0_tx_pri1: 0
         p0_tx_pri2: 0
         p0_tx_pri3: 0
         p0_tx_pri4: 0
         p0_tx_pri5: 0
         p0_tx_pri6: 0
         p0_tx_pri7: 0
         p0_tx_pri0_bcnt: 3352524
         p0_tx_pri1_bcnt: 0
         p0_tx_pri2_bcnt: 0
         p0_tx_pri3_bcnt: 0
         p0_tx_pri4_bcnt: 0
         p0_tx_pri5_bcnt: 0
         p0_tx_pri6_bcnt: 0
         p0_tx_pri7_bcnt: 0
         p0_tx_pri0_drop: 0
         p0_tx_pri1_drop: 0
         p0_tx_pri2_drop: 0
         p0_tx_pri3_drop: 0
         p0_tx_pri4_drop: 0
         p0_tx_pri5_drop: 0
         p0_tx_pri6_drop: 0
         p0_tx_pri7_drop: 0
         p0_tx_pri0_drop_bcnt: 0
         p0_tx_pri1_drop_bcnt: 0
         p0_tx_pri2_drop_bcnt: 0
         p0_tx_pri3_drop_bcnt: 0
         p0_tx_pri4_drop_bcnt: 0
         p0_tx_pri5_drop_bcnt: 0
         p0_tx_pri6_drop_bcnt: 0
         p0_tx_pri7_drop_bcnt: 0
         rx_good_frames: 0
         rx_broadcast_frames: 0
         rx_multicast_frames: 0
         rx_pause_frames: 0
         rx_crc_errors: 0
         rx_align_code_errors: 0
         rx_oversized_frames: 0
         rx_jabber_frames: 0
         rx_undersized_frames: 0
         rx_fragments: 0
         ale_drop: 0
         ale_overrun_drop: 0
         rx_octets: 0
         tx_good_frames: 77
         tx_broadcast_frames: 53
         tx_multicast_frames: 24
         tx_pause_frames: 0
         tx_deferred_frames: 0
         tx_collision_frames: 0
         tx_single_coll_frames: 0
         tx_mult_coll_frames: 0
         tx_excessive_collisions: 0
         tx_late_collisions: 0
         rx_ipg_error: 0
         tx_carrier_sense_errors: 0
         tx_octets: 20388
         tx_64B_frames: 0
         tx_65_to_127B_frames: 20
         tx_128_to_255B_frames: 4
         tx_256_to_511B_frames: 53
         tx_512_to_1023B_frames: 0
         tx_1024B_frames: 0
         net_octets: 20388
         rx_bottom_fifo_drop: 0
         rx_port_mask_drop: 0
         rx_top_fifo_drop: 0
         ale_rate_limit_drop: 0
         ale_vid_ingress_drop: 0
         ale_da_eq_sa_drop: 0
         ale_block_drop: 0
         ale_secure_drop: 0
         ale_auth_drop: 0
         ale_unknown_ucast: 0
         ale_unknown_ucast_bytes: 0
         ale_unknown_mcast: 0
         ale_unknown_mcast_bytes: 0
         ale_unknown_bcast: 0
         ale_unknown_bcast_bytes: 0
         ale_pol_match: 0
         ale_pol_match_red: 0
         ale_pol_match_yellow: 0
         ale_mcast_sa_drop: 0
         ale_dual_vlan_drop: 0
         ale_len_err_drop: 0
         ale_ip_next_hdr_drop: 0
         ale_ipv4_frag_drop: 0
         iet_rx_assembly_err: 0
         iet_rx_assembly_ok: 0
         iet_rx_smd_err: 0
         iet_rx_frag: 0
         iet_tx_hold: 0
         iet_tx_frag: 0
         tx_mem_protect_err: 0
         tx_pri0: 77
         tx_pri1: 0
         tx_pri2: 0
         tx_pri3: 0
         tx_pri4: 0
         tx_pri5: 0
         tx_pri6: 0
         tx_pri7: 0
         tx_pri0_bcnt: 20388
         tx_pri1_bcnt: 0
         tx_pri2_bcnt: 0
         tx_pri3_bcnt: 0
         tx_pri4_bcnt: 0
         tx_pri5_bcnt: 0
         tx_pri6_bcnt: 0
         tx_pri7_bcnt: 0
         tx_pri0_drop: 0
         tx_pri1_drop: 0
         tx_pri2_drop: 0
         tx_pri3_drop: 0
         tx_pri4_drop: 0
         tx_pri5_drop: 0
         tx_pri6_drop: 0
         tx_pri7_drop: 0
         tx_pri0_drop_bcnt: 0
         tx_pri1_drop_bcnt: 0
         tx_pri2_drop_bcnt: 0
         tx_pri3_drop_bcnt: 0
         tx_pri4_drop_bcnt: 0
         tx_pri5_drop_bcnt: 0
         tx_pri6_drop_bcnt: 0
         tx_pri7_drop_bcnt: 0
    root@am62xx-evm:~#
    

    Regarding the auto-negotiating, it only occurs on eth0.  When I connect ethernet it gets assigned an IP and I can connect to a PC.  The same is NOT the case for eth1.  I can manually assign an IP address to eth1 but I can't "ping" it like eth0 from my PC.  Our goal is to have both ports at 1000Mb/s like eth0 on boot up.  Here's ethtool eth0 & eth1 output:

    root@am62xx-evm:~/Test# ethtool eth0
    Settings for eth0:
            Supported ports: [ TP    MII ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Full
                                    1000baseX/Full
            Supported pause frame use: Symmetric
            Supports auto-negotiation: Yes
            Supported FEC modes: Not reported
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Full
                                    1000baseX/Full
            Advertised pause frame use: Symmetric
            Advertised auto-negotiation: Yes
            Advertised FEC modes: Not reported
            Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                                 100baseT/Half 100baseT/Full
                                                 1000baseT/Full
            Link partner advertised pause frame use: Symmetric
            Link partner advertised auto-negotiation: Yes
            Link partner advertised FEC modes: Not reported
            Speed: 1000Mb/s
            Duplex: Full
            Auto-negotiation: on
            master-slave cfg: preferred slave
            master-slave status: slave
            Port: Twisted Pair
            PHYAD: 0
            Transceiver: external
            MDI-X: Unknown
            Supports Wake-on: ubgs
            Wake-on: d
            SecureOn password: 00:00:00:00:00:00
            Current message level: 0x000020f7 (8439)
                                   drv probe link ifdown ifup rx_err tx_err hw
            Link detected: yes
    root@am62xx-evm:~/Test# ethtool eth1
    Settings for eth1:
            Supported ports: [ TP    MII ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Full
                                    1000baseX/Full
            Supported pause frame use: Symmetric
            Supports auto-negotiation: Yes
            Supported FEC modes: Not reported
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Full
                                    1000baseX/Full
            Advertised pause frame use: Symmetric
            Advertised auto-negotiation: Yes
            Advertised FEC modes: Not reported
            Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                                 100baseT/Half 100baseT/Full
            Link partner advertised pause frame use: Symmetric Receive-only
            Link partner advertised auto-negotiation: Yes
            Link partner advertised FEC modes: Not reported
            Speed: 100Mb/s
            Duplex: Full
            Auto-negotiation: on
            master-slave cfg: forced master
            master-slave status: slave
            Port: MII
            PHYAD: 1
            Transceiver: external
            Supports Wake-on: d
            Wake-on: d
            Current message level: 0x000020f7 (8439)
                                   drv probe link ifdown ifup rx_err tx_err hw
            Link detected: yes
    root@am62xx-evm:~/Test#
    

    If only one port is connected, can we use the same subnet.  Is it only when they are connected simultaneously?

  • Hi,

    Regarding the same subnet question, as long as only one port is connected to the subnet then there will be not be issue.

    I was getting a little confused on how auto-negotiation is being used. Typically this term is used to describe the interaction between two PHYs and how the link speed is set and duplex mode. The auto-negotiation in the thread here is the DHCP request for an IP address.

    Thank you for the ethtool -S eth1 output. If you connected a PC running Wireshark it would be good to see if there is any traffic coming from eth1. The statistics is showing that TX traffic is showing packets left the MAC, this does not mean the packets actually cross the PHY. This has to be checked from the link partner perspective.

    tx_good_frames: 77

    There is not any received traffic:

    rx_good_frames: 0

    So it appears the ethtool eth1 is showing data we expect, link detection, PHY address, etc. But the PHY does not appear to functioning in the receive direction. This may have to do with the PHY not being identified and therefore the driver not loading parameters for RGMII operation. I will ask the TI PHY team to add to this thread.

    Best Regards,

    Schuyler

  • Schuyler,

    Great!  Thanks!

  • Jim,

    After discussing with the PHY team there was a ID change in the PHY you are using. This might cause the PHY to be misidentified based on the driver source you are building with. 

    Are you using the TI filesystem? What is the SDK version you are using?

    You will either need to use mii-tool or phytools to read register 0x03 of the eth1 PHY.

    Best Regards,

    Schuyler

  • Schuyler,

    I am using "ti-processor-sdk-linux-rt-am62xx-evm-09.02.01.10" (SDK).

    Can you clarify further what I need to do?

  • Jim,

    The simpler task might be to stop in u-boot and use this command to read register 3 of the PHY. There is a utility in u-boot to read PHY registers called mii.

    The command format is mii dump <PHY address> <register address>

    So based on what I see here in this thread you would enter this command:

    mii dump 1 3

    We are looking to see the ID that should match the datasheet.

    Best Regards,

    Schuyler

  • Schuyler,

    I'm not sure if these are the right commands but I found them in another thread:

    For eth0

    For eth1

    If I executed this correctly, both eth0 and eth1 have the same value in register 3 (and most other registers).

    u-boot is not as useful:

    With ID = 1:

    Current log:

    U-Boot SPL 2023.04-dirty (Sep 10 2024 - 13:05:50 -0400)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)')
    SPL initial stack usage: 13408 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    
    U-Boot SPL 2023.04-dirty (Sep 10 2024 - 13:06:04 -0400)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)')
    SPL initial stack usage: 1856 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2023.04-dirty (Sep 10 2024 - 13:06:04 -0400)
    
    SoC:   AM62X SR1.0 HS-FS
    Model: Texas Instruments AM625 SK
    EEPROM not available at 80, trying to read at 81
    Reading on-board EEPROM at 0x51 failed -121
    DRAM:  no bloblist found!2 GiB
    Core:  65 devices, 27 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial
    Out:   serial
    Err:   serial
    EEPROM not available at 80, trying to read at 81
    Reading on-board EEPROM at 0x51 failed -121
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    574 bytes read in 14 ms (40 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    15442432 bytes read in 624 ms (23.6 MiB/s)
    56572 bytes read in 19 ms (2.8 MiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008feef000, end 000000008fffffff ... OK
    Working FDT set to 8feef000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.83-rt28-ti-rt-g96b0ebd82722 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT_RT Mon May 13 23:06:24 UTC 2024
    [    0.000000] Machine model: Texas Instruments AM625 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000f8000000, size 128 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009c7fffff]
    [    0.000000]   node   0: [mem 0x000000009c800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 20 pages/cpu s44928 r8192 d28800 u81920
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),98048k@32m(ospi.rootfs),256k@130816k(ospi.phypattern);omap2-nand.0:2m(NAND.tiboot3),2m(NAND.tispl),2m(NAND.tiboot3.backup),4m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup),-(NAND.file-system) root=PARTUUID=1a2fb328-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1856140K/2097152K available (9792K kernel code, 1192K rwdata, 2244K rodata, 1728K init, 422K bss, 109940K reserved, 131072K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000] rcu:     RCU_SOFTIRQ processing moved to rcuc kthreads.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: 0xffff800008412740
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000281] Console: colour dummy device 80x25
    [    0.489883] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000)
    [    0.489897] pid_max: default: 32768 minimum: 301
    [    0.490012] LSM: Security Framework initializing
    [    0.490199] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.490239] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.492527] rcu: Hierarchical SRCU implementation.
    [    0.492539] rcu:     Max phase no-delay instances is 400.
    [    0.492603] printk: bootconsole [ns16550a0] printing thread started
    [    0.545154] Platform MSI: msi-controller@1820000 domain created
    [    0.545473] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.545570] EFI services will not be available.
    [    0.545933] smp: Bringing up secondary CPUs ...
    [    0.546920] Detected VIPT I-cache on CPU1
    [    0.547081] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.547102] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000
    [    0.547181] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.597324] Detected VIPT I-cache on CPU2
    [    0.597443] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.597459] GICv3: CPU2: using allocated LPI pending table @0x0000000080060000
    [    0.597503] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.623560] Detected VIPT I-cache on CPU3
    [    0.623670] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.623685] GICv3: CPU3: using allocated LPI pending table @0x0000000080070000
    [    0.623725] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.623793] smp: Brought up 1 node, 4 CPUs
    [    0.623801] SMP: Total of 4 processors activated.
    [    0.658001] CPU features: detected: 32-bit EL0 Support
    [    0.658006] CPU features: detected: CRC32 instructions
    [    0.658062] CPU: All CPU(s) started at EL2
    [    0.658065] alternatives: applying system-wide alternatives
    [    0.660195] devtmpfs: initialized
    [    0.672075] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
    [    0.672112] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.680055] pinctrl core: initialized pinctrl subsystem
    [    0.680953] DMI not present or invalid.
    [    0.681629] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.695549] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.695847] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.696015] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.696204] audit: initializing netlink subsys (disabled)
    [    0.696434] audit: type=2000 audit(0.694:1): state=initialized audit_enabled=0 res=1
    [    0.697163] thermal_sys: Registered thermal governor 'step_wise'
    [    0.697403] ASID allocator initialised with 65536 entries
    [    0.719765] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.719781] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.719787] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.719789] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.719794] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.719797] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.719802] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.719805] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.722600] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.725649] iommu: Default domain type: Translated
    [    0.725665] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.726109] SCSI subsystem initialized
    [    0.726597] usbcore: registered new interface driver usbfs
    [    0.726641] usbcore: registered new interface driver hub
    [    0.726674] usbcore: registered new device driver usb
    [    0.727227] pps_core: LinuxPPS API ver. 1 registered
    [    0.727232] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.727250] PTP clock support registered
    [    0.727403] EDAC MC: Ver: 3.0.0
    [    0.728401] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [    0.728829] FPGA manager framework
    [    0.728971] Advanced Linux Sound Architecture Driver Initialized.
    [    0.730172] clocksource: Switched to clocksource arch_sys_counter
    [    0.730568] VFS: Disk quotas dquot_6.6.0
    [    0.730622] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.737696] NET: Registered PF_INET protocol family
    [    0.738218] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.740198] tcp_listen_portaddr_hash hash table entries: 1024 (order: 3, 40960 bytes, linear)
    [    0.740281] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.740298] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.740574] TCP bind hash table entries: 16384 (order: 8, 1310720 bytes, linear)
    [    0.743082] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.743508] UDP hash table entries: 1024 (order: 4, 98304 bytes, linear)
    [ ▒▒r▒▒▒▒ʂ▒▒E
                 U▒*▒W$mX.Z▒▒able entries: 1024 (order: 4, 98304 bytes, linear)
    [    0.[978607] printk: console [ttyS2] printing thread started
        0.744401] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.978632] printk: console [ttyS2] enabled
    [    0.978637] printk: bootconsole [ns16550a0] disabled
    [    0.989978] printk: bootconsole [ns16550a0] printing thread stopped
    [    0.992111] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    0.992938] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.026184] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.031768] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83869
    [    1.031785] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver unknown
    [    1.031851] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.032237] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
    [    1.032253] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.032259] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.033001] pps pps0: new PPS source ptp0
    [    1.033330] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.050883] mmc0: Command Queue Engine enabled
    [    1.050912] mmc0: new HS200 MMC card at address 0001
    [    1.051920] mmcblk0: mmc0:0001 IS032G 29.1 GiB
    [    1.055025] mmcblk0boot0: mmc0:0001 IS032G 4.00 MiB
    [    1.056884] mmcblk0boot1: mmc0:0001 IS032G 4.00 MiB
    [    1.058367] mmcblk0rpmb: mmc0:0001 IS032G 4.00 MiB, chardev (240:0)
    [    1.063759] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.074083] pinctrl-single f4000.pinctrl: Invalid number of rows: 0
    [    1.074104] pinctrl-single f4000.pinctrl: no pins entries for wlan-en-pins-default
    [    1.076695] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.076903] mmc1: CQHCI version 5.10
    [    1.080304] debugfs: Directory 'pd:186' with parent 'pm_genpd' already present!
    [    1.084967] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=81, clk=20, ret=-19
    [    1.090756] ALSA device list:
    [    1.090765]   No soundcards found.
    [    1.118659] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.126481] Waiting for root device PARTUUID=1a2fb328-02...
    [    1.152361] mmc1: new high speed SDHC card at address 0001
    [    1.153541] mmcblk1: mmc1:0001 SD32G 28.9 GiB
    [    1.156767]  mmcblk1: p1 p2
    [    1.207962] EXT4-fs (mmcblk1p2): recovery complete
    [    1.210995] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    1.211116] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    1.212106] devtmpfs: mounted
    [    1.214257] Freeing unused kernel memory: 1728K
    [    1.214407] Run /sbin/init as init process
    PuTTY[    1.585112] systemd[1]: System time before build time, advancing clock.
    [    1.666556] NET: Registered PF_INET6 protocol family
    [    1.668505] Segment Routing with IPv6
    [    1.668547] In-situ OAM (IOAM) with IPv6
    [    1.697856] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    1.698587] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    1.741688] systemd[1]: Hostname set to <am62xx-evm>.
    [    1.895312] systemd-sysv-generator[168]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.210615] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.284540] systemd[1]: Queued start job for default target Multi-User System.
    [    2.317760] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/modprob[    2.334650] systemd[1]: Created slice Slice /system/modprobe.
    e.
    [  OK  ] Created slice Slice /system/serial-[    2.351475] systemd[1]: Created slice Slice /system/serial-getty.
    getty.
    [  OK  ] Created slice User and Session Slic[    2.367747] systemd[1]: Created slice User and Session Slice.
    e.
    [    2.382910] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [  OK  ] Started Forward Password R…uests [    2.402786] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    to Wall Directory Watch.
    [  OK  ] Reached target Path Units.[    2.419879] systemd[1]: Reached target Path Units.
    
    [  OK  ] Reached target Remote File Systems systemd[1]: Reached target Remote File Systems.
    [0m.
    [  OK  ] Reached target Slice Units.
    [    2.446402] systemd[1]: Reached target Slice Units.
    [    2.457084] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [  OK  ] Listening on RPCbind Server Activat[    2.471800] systemd[1]: Listening on RPCbind Server Activation Socket.
    ion Socket.
    [  OK  ] Reached target RPC Port Mapper.[    2.487509] systemd[1]: Reached target RPC Port Mapper.
    
    [    2.508922] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    2.523976] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on Journal Audit Socket    2.540567] systemd[1]: Listening on Journal Audit Socket.
    0m.
    [  OK  ] Listening on Journal Socket (/dev/l[    2.555287] systemd[1]: Listening on Journal Socket (/dev/log).
    og).
    [  OK  ] Listening on Journal Socket.
    [    2.570322] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Network Service Netlin[    2.582419] systemd[1]: Listening on Network Service Netlink Socket.
    k Socket.
    [  OK  ] Listening on udev Control Socket    2.599543] systemd[1]: Listening on udev Control Socket.
    m.
    [    2.614085] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on User Database Manager [    2.629280] systemd[1]: Listening on User Database Manager Socket.
    Socket.
    [    2.663905] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
             Mounting POSIX Message Queue File System..[    2.680665] systemd[1]: Mounting POSIX Message Queue File System...
    .
             Mounting Kernel Debug File System...
    [    2.700626] systemd[1]: Mounting Kernel Debug File System...
    [    2.712931] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [    2.719777] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
             Starting Create List of Static Device Nodes    2.757447] systemd[1]: Starting Create List of Static Device Nodes...
    m...
             Starting Load Kernel Module configfs...
    [    2.779322] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module drm...
    [    2.797477] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module fuse...
    [    2.815268] systemd[1]: Starting Load Kernel Module fuse...
    [    2.863955] fuse: init (API version 7.37)
             Starting Start psplash boot splash screen.[    2.865855] systemd[1]: Starting Start psplash boot splash screen...
    ..
             Starting RPC Bind...[    2.908606] systemd[1]: Starting RPC Bind...
    
    [    2.919734] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
             Starting Journal Service...
    [    2.921338] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    2.921363] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    2.928143] systemd[1]: Starting Journal Service...
             Starting Load Kernel Modules...
    [    2.971460] systemd[1]: Starting Load Kernel Modules...
             Starting Generate network …ts from Kernel co[    2.989506] systemd[1]: Starting Generate network units from Kernel command line...
    mmand line...
    [    3.005428] cryptodev: loading out-of-tree module taints kernel.
    [    3.007785] cryptodev: driver 1.12 loaded.
             Starting Remount Root and Kernel File Systems systemd[1]: Starting Remount Root and Kernel File Systems...
    [0m...
             Starting Coldplug All udev Devices...
    [    3.047899] systemd[1]: Starting Coldplug All udev Devices...
    [    3.075823] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [  OK  ] Started RPC Bind.
    [    3.089621] systemd[1]: Started RPC Bind.
    [    3.099898] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory /tmp.
    [  OK  ] Finished Create List of Static Device Nodes.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star…progress communication helper.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting FUSE Control File System...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...
    [    3.375102] systemd-journald[181]: Received client request to flush runtime journal.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting Rule-based Manage…for Device Events and Files...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [  OK  ] Finished Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [    3.942278] random: crng init done
    [  OK  ] Finished Load/Save Random Seed.
    [    4.167092] Internal error: synchronous external abort: 0000000096000010 [#1] PREEMPT_RT SMP
    [    4.167123] Modules linked in: pruss(+) cryptodev(O) fuse drm drm_panel_orientation_quirks ipv6
    [    4.167159] CPU: 3 PID: 220 Comm: systemd-udevd Tainted: G           O       6.1.83-rt28-ti-rt-g96b0ebd82722 #1
    [    4.167169] Hardware name: Texas Instruments AM625 SK (DT)
    [    4.167176] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [    4.167184] pc : 0xffff80000849e190
    [    4.167188] lr : 0xffff8000084992ec
    [    4.167192] sp : ffff000003727680
    [    4.167194] x29: ffff000003727680 x28: 0000000000000040 x27: ffff0000033ff080
    [    4.167204] x26: ffff800008afd460 x25: 0000000000000002 x24: ffff00000345f500
    [    4.167213] x23: ffff00000345f780 x22: ffff00000345f380 x21: ffff00000345f550
    [    4.167222] x20: ffff00000345f580 x19: ffff0000033ff200 x18: 0000000000074b85
    [    4.167232] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
    [    4.167240] x14: 0000000000000000 x13: 0078756d2d6b6c63 x12: 65726f632e737375
    [    4.167248] x11: 0101010101010101 x10: 000000000344ec00 x9 : 0000000000000001
    [    4.167256] x8 : 0101010101010101 x7 : 0000000000000000 x6 : 505c5b1900b0c0c0
    [    4.167265] x5 : c0c03000195b5c50 x4 : ffff800008f3903c x3 : 6660606860606060
    [    4.167273] x2 : ffff80000849e140 x1 : 0000000000000000 x0 : ffff00000345f780
    [    4.167283] Call trace:
    [    4.167288]  0xffff80000849e190
    [    4.167293]  0xffff8000084992ec
    [    4.167295]  0xffff800008499960
    [    4.167298]  0xffff80000849de3c
    [    4.167300]  0xffff80000849df18
    [    4.167303]  0xffff800000a7e424
    [    4.167306]  0xffff800000a7e68c
    [    4.167309]  0xffff800000a7e8c4
    [    4.167312]  0xffff80000853b264
    [    4.167315]  0xffff800008538a38
    [    4.167318]  0xffff800008538cc4
    [    4.167322]  0xffff800008538d9c
    [    4.167325]  0xffff800008539570
    [    4.167328]  0xffff800008536850
    [    4.167331]  0xffff8000085384b4
    [    4.167334]  0xffff800008537e4c
    [    4.167336]  0xffff800008539eb4
    [    4.167340]  0xffff80000853af14
    [    4.167343]  0xffff800000a5901c
    [    4.167346]  0xffff800008013960
    [    4.167348]  0xffff8000080a6554
    [    4.167352]  0xffff8000080a7fbc
    [    4.167355]  0xffff8000080a85d4
    [    4.167358]  0xffff8000080a866c
    [    4.167361]  0xffff80000801db1c
    [    4.167365]  0xffff80000801dc10
    [    4.167367]  0xffff80000898d650
    [    4.167371]  0xffff80000898eb04
    [    4.167373]  0xffff800008011488
    [    4.167382] Code: 0a030083 97fffe8b a8c17bfd d65f03c0 (b9400084)
    [    4.387539] ---[ end trace 0000000000000000 ]---
    [  OK  ] Found device /dev/ttyS2.
    [    4.415991] mc: Linux media interface: v0.10
    [    4.449980] systemd-journald[181]: Oldest entry in /run/log/journal/7dfb7131e104450db5ccd36a12b2555d/system.journal is older than the configured file retention duration (1month), suggesting rotation.
    [  OK  ] Started Network Time Synchronizatio[    4.450035] systemd-journald[181]: /run/log/journal/7dfb7131e104450db5ccd36a12b2555d/system.journal: Journal header limits reached or header out-of-date, rotating.
    n.
    [    4.460350] videodev: Linux video capture interface: v2.00
    [  OK  ] Reached target System Initialization.
    [    4.530629] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
    [  OK  ] Started Daily Cleanup of Temporary [    4.531273] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    Directories.
    [    4.532058] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [  OK  ] Reached target System Time Set.[    4.553645] remoteproc remoteproc0: 5000000.m4fss is available
    
    [    4.555571] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2
    [  OK  ] Reached target Timer Units.[    4.555622] remoteproc remoteproc0: powering up 5000000.m4fss
    
    [    4.555670] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stac[    4.555680] remoteproc remoteproc0: request_firmware failed: -2
    k Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [    4.686282] platform 78000000.r5f: ti-sci processor request failed: -19
             Starting Docker Socket for the API...
    [    4.686315] platform 78000000.r5f: ti_sci_proc_request failed, ret = -19
    [    4.686373] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_core_of_init failed, ret = -19
    [    4.686383] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_cluster_of_init failed, ret = -19
    [  OK  ] Listening on dropbear.socket.
             Starting D-Bus System Message Bus...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Reached target Basic System.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
             Starting Expand the rootfs…ll size of the boot device....
             Starting User Login Management...
    [  OK  ] Started TEE Supplicant.
             Starting Telnet Server...
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Finished Telnet Server.
    [  OK  ] Reached target Preparation for Network.
             Starting Network Configuration...
    [  OK  ] Finished Expand the rootfs…full size of the boot device..
    [  OK  ] Started User Login Management.
    [    6.263476] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
    [    6.281249] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    6.282150] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    6.283673] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    6.283720] cfg80211: failed to load regulatory.db
    [  OK  ] Started Network Configuration.
             Starting Network Name Resolution...
    [    6.444055] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [Generic PHY] (irq=POLL)
    [    6.444101] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    [    6.446204] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
    [    6.451432] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [    6.489603] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83869] (irq=POLL)
    [    6.489664] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [  OK  ] Created slice Slice /system/systemd-fsck.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting containerd container runtime...
    [  OK  ] Started Netperf Benchmark Server.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Permit User Sessions...
    [  OK  ] Found device /dev/mmcblk1p1.
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Finished File System Check on /dev/mmcblk1p1.
             Mounting /run/media/boot-mmcblk1p1...
    [  OK  ] Mounted /run/media/boot-mmcblk1p1.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPL-3.0 packages:
            bash
            cifs-utils
            dosfstools
            grub-common
            grub-editenv
            grub-efi
            less
            libdw1
            libelf1
            libgcc1
            libreadline8
            libstdc++6
            parted
    
    If you do not wish to distribute GPL-3.0 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Finished Print notice about GPLv3 packages.
    [  OK  ] Started containerd container runtime.
    [  OK  ] Reached target Multi-User System.
             Starting Record Runlevel Change in UTMP...
    [  OK  ] Finished Record Runlevel Change in UTMP.
    [   10.594848] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   10.594930] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project am62xx-evm -
    
    Arago 2023.10 am62xx-evm -
    

  • Jim,

    The concerning thing is why the second run of phytool is showing different results from the previous run. The PHY ID is correct for both PHYs. I will ask the PHY team to provide more insight here. 

    It is odd that the register value is correct but the PHY ID is not being detected on eth1.

    Best Regards,

    Schuyler

  • Schuyler,

    OK!  Since we successfully booted, some of the configuration files were changed (mostly in the boot folder).  I've attached all the configuration files (and mmc.c) file that I changed to get the boot.  I initially had both eth0 and eth1 defined in Boot.  Any suggestion would be welcome.

    ModifiedFiles.zip

    We're using the TI base image from the SDK "tisdk-base-image-am62xx-evm.wic.xz"

  • Jim,

    I am little confused, this e2e thread was discussing misidentification of the PHY on eth1, is that now correct? Is the info you provided for another e2e thread?

    Best Regards,

    Schuyler

  • Schuyler,

    No, the issue remains.  I provided the file changes for clarification (if needed).  I have another issue getting addressed and I have been building the kernel with debug statements to isolate problems.  I can do that with this issue, as well, if it would help.

  • Schuyler,

    Any updates?

    eth1 doesn't appear to be auto-negotiating.  The first call to ifconfig is with eth0 connected to network.  The second call to ifconfig is with eth1 connected to network.

  • Hi,

    Are eth0 and eth1 both connected to the same switch? If so please disconnect eth0 and then check if eth1 is able to obtain an IP address.

    Best Regards,

    Schuyler

  • Shuyler,

    I only connect one or the other (to the same switch).  If eth0 is connected, eth1 is not (and vice versa).

    If you need me to introduce prink() messages to resolve this, I can.  I had an issue with the USB and was asked to introduce a number of printk() messages and rebuild the kernel and we were able to resolve the USB issue.

  • Shuyler,

    I only connect one or the other (to the same switch).  If eth0 is connected, eth1 is not (and vice versa).

    If you need me to introduce prink() messages to resolve this, I can.  I had an issue with the USB and was asked to introduce a number of printk() messages and rebuild the kernel and we were able to resolve the USB issue.

  • Shuyler,

    After the modifications for the USB issue, here are some of the routine returns we did earlier -

    It seems like eth0 and eth1 are getting configured differently.  

    eth0:

    eth1: (No SecureOn Password: listing)

    Could a strapping issue be the cause of the differences on eth1?

    Log:

    U-Boot SPL 2023.04-dirty (Sep 25 2024 - 10:16:07 -0400)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)')
    SPL initial stack usage: 13408 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    
    U-Boot SPL 2023.04-dirty (Sep 25 2024 - 10:16:13 -0400)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)')
    SPL initial stack usage: 1856 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2023.04-dirty (Sep 25 2024 - 10:16:13 -0400)
    
    SoC:   AM62X SR1.0 HS-FS
    Model: Texas Instruments AM625 SK
    EEPROM not available at 80, trying to read at 81
    Reading on-board EEPROM at 0x51 failed -121
    DRAM:  no bloblist found!2 GiB
    Core:  65 devices, 27 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial
    Out:   serial
    Err:   serial
    EEPROM not available at 80, trying to read at 81
    Reading on-board EEPROM at 0x51 failed -121
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    574 bytes read in 14 ms (40 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    16753152 bytes read in 711 ms (22.5 MiB/s)
    56632 bytes read in 20 ms (2.7 MiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008feef000, end 000000008fffffff ... OK
    Working FDT set to 8feef000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.83-rt28-dirty (jim@jim-XPS-8940) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT_RT Wed Sep 25 10:21:01 EDT 2024
    [    0.000000] Machine model: My Custom Board
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000f8000000, size 128 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009c7fffff]
    [    0.000000]   node   0: [mem 0x000000009c800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 20 pages/cpu s44928 r8192 d28800 u81920
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),98048k@32m(ospi.rootfs),256k@130816k(ospi.phypattern);omap2-nand.0:2m(NAND.tiboot3),2m(NAND.tispl),2m(NAND.tiboot3.backup),4m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup),-(NAND.file-system) root=PARTUUID=1a2fb328-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1854860K/2097152K available (9792K kernel code, 1192K rwdata, 3552K rodata, 1728K init, 422K bss, 111220K reserved, 131072K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000] rcu:     RCU_SOFTIRQ processing moved to rcuc kthreads.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080020000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080030000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000269] Console: colour dummy device 80x25
    [    0.489526] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000)
    [    0.489539] pid_max: default: 32768 minimum: 301
    [    0.489644] LSM: Security Framework initializing
    [    0.489833] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.489873] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.492188] rcu: Hierarchical SRCU implementation.
    [    0.492198] rcu:     Max phase no-delay instances is 400.
    [    0.492259] printk: bootconsole [ns16550a0] printing thread started
    [    0.544809] Platform MSI: msi-controller@1820000 domain created
    [    0.545123] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.545210] EFI services will not be available.
    [    0.545590] smp: Bringing up secondary CPUs ...
    [    0.546521] Detected VIPT I-cache on CPU1
    [    0.546675] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.546697] GICv3: CPU1: using allocated LPI pending table @0x0000000080040000
    [    0.546775] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.597010] Detected VIPT I-cache on CPU2
    [    0.597122] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.597137] GICv3: CPU2: using allocated LPI pending table @0x0000000080050000
    [    0.597179] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.623249] Detected VIPT I-cache on CPU3
    [    0.623354] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.623369] GICv3: CPU3: using allocated LPI pending table @0x0000000080060000
    [    0.623411] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.623485] smp: Brought up 1 node, 4 CPUs
    [    0.623493] SMP: Total of 4 processors activated.
    [    0.657693] CPU features: detected: 32-bit EL0 Support
    [    0.657698] CPU features: detected: CRC32 instructions
    [    0.657756] CPU: All CPU(s) started at EL2
    [    0.657758] alternatives: applying system-wide alternatives
    [    0.659896] devtmpfs: initialized
    [    0.671616] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
    [    0.671652] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.679734] pinctrl core: initialized pinctrl subsystem
    [    0.680612] DMI not present or invalid.
    [    0.681291] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.695515] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.695816] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.695985] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.696171] audit: initializing netlink subsys (disabled)
    [    0.696420] audit: type=2000 audit(0.694:1): state=initialized audit_enabled=0 res=1
    [    0.697125] thermal_sys: Registered thermal governor 'step_wise'
    [    0.697374] ASID allocator initialised with 65536 entries
    [    0.718771] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.718786] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.718791] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.718794] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.718799] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.718801] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.718806] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.718809] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.722267] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.725371] iommu: Default domain type: Translated
    [    0.725384] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.725864] SCSI subsystem initialized
    [    0.726287] usbcore: registered new interface driver usbfs
    [    0.726331] usbcore: registered new interface driver hub
    [    0.726363] usbcore: registered new device driver usb
    [    0.726916] pps_core: LinuxPPS API ver. 1 registered
    [    0.726921] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.726942] PTP clock support registered
    [    0.727086] EDAC MC: Ver: 3.0.0
    [    0.728082] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [    0.728543] FPGA manager framework
    [    0.728673] Advanced Linux Sound Architecture Driver Initialized.
    [    0.729874] clocksource: Switched to clocksource arch_sys_counter
    [    0.730196] VFS: Disk quotas dquot_6.6.0
    [    0.730242] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.737308] NET: Registered PF_INET protocol family
    [    0.737763] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.739717] tcp_listen_portaddr_hash hash table entries: 1024 (order: 3, 40960 bytes, linear)
    [    0.739800] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.739817] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.740104] TCP bind hash table entries: 16384 (order: 8, 1310720 bytes, linear)
    [    0.742610] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.743060] UDP hash table entries: 1024 (order: 4, 98304 bytes, linear)
    [    0.743337] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes, linear)
    [ H▒▒0.743939] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.9[84287] printk: console [ttyS2] printing thread started
        0.744609] RPC: Registered named UNIX socket transport module.
    [    0.984314] printk: console [ttyS2] enabled
    [    0.984319] printk: bootconsole [ns16550a0] disabled
    [    0.995919] printk: bootconsole [ns16550a0] printing thread stopped
    [    0.997990] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.031897] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.037582] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83869
    [    1.037599] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver unknown
    [    1.037666] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.038069] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
    [    1.038087] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.038093] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.038901] pps pps0: new PPS source ptp0
    [    1.039250] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.056545] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.061413] mmc0: CQHCI version 5.10
    [    1.067737] pinctrl-single f4000.pinctrl: Invalid number of rows: 0
    [    1.067755] pinctrl-single f4000.pinctrl: no pins entries for wlan-en-pins-default
    [    1.070151] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.071036] mmc1: CQHCI version 5.10
    [    1.073785] debugfs: Directory 'pd:186' with parent 'pm_genpd' already present!
    [    1.078029] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=81, clk=20, ret=-19
    [    1.083682] ALSA device list:
    [    1.083692]   No soundcards found.
    [    1.103539] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.109125] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.111955] Waiting for root device PARTUUID=1a2fb328-02...
    [    1.142789] mmc1: new high speed SDHC card at address 0001
    [    1.143984] mmcblk1: mmc1:0001 SD32G 28.9 GiB
    [    1.147187]  mmcblk1: p1 p2
    [    1.154258] mmc0: Command Queue Engine enabled
    [    1.154283] mmc0: new HS200 MMC card at address 0001
    [    1.155289] mmcblk0: mmc0:0001 IS032G 29.1 GiB
    [    1.158106] mmcblk0boot0: mmc0:0001 IS032G 4.00 MiB
    [    1.159953] mmcblk0boot1: mmc0:0001 IS032G 4.00 MiB
    [    1.161407] mmcblk0rpmb: mmc0:0001 IS032G 4.00 MiB, chardev (240:0)
    [    1.660093] EXT4-fs (mmcblk1p2): recovery complete
    [    1.663053] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    1.663178] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.664275] devtmpfs: mounted
    [    1.666448] Freeing unused kernel memory: 1728K
    [    1.666582] Run /sbin/init as init process
    [    2.006807] systemd[1]: System time before build time, advancing clock.
    [    2.081584] NET: Registered PF_INET6 protocol family
    [    2.083509] Segment Routing with IPv6
    [    2.083551] In-situ OAM (IOAM) with IPv6
    [    2.106470] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    2.107233] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    2.150400] systemd[1]: Hostname set to <am62xx-evm>.
    [    2.156122] systemd[1]: Initializing machine ID from random generator.
    [    2.304714] systemd-sysv-generator[169]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.650843] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.725814] systemd[1]: Queued start job for default target Multi-User System.
    [    2.754544] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/modprob[    2.772285] systemd[1]: Created slice Slice /system/modprobe.
    e.
    [  OK  ] Created slice Slice /system/serial-[    2.789234] systemd[1]: Created slice Slice /system/serial-getty.
    getty.
    [  OK  ] Created slice User and Session Slic[    2.805496] systemd[1]: Created slice User and Session Slice.
    e.
    [    2.820615] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [  OK  ] Started Forward Password R…uests [    2.840425] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    to Wall Directory Watch.
    [  OK  ] Reached target Path Units.
    [    2.859461] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Remote File Systems systemd[1]: Reached target Remote File Systems.
    [0m.
    [  OK  ] Reached target Slice Units.
    [    2.884075] systemd[1]: Reached target Slice Units.
    [    2.894735] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [  OK  ] Listening on RPCbind Server Activat[    2.907543] systemd[1]: Listening on RPCbind Server Activation Socket.
    ion Socket.
    [  OK  ] Reached target RPC Port Mapper.[    2.923227] systemd[1]: Reached target RPC Port Mapper.
    
    [    2.944711] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    2.959709] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on Journal Audit Socket    2.976308] systemd[1]: Listening on Journal Audit Socket.
    0m.
    [  OK  ] Listening on Journal Socket (/dev/l[    2.991041] systemd[1]: Listening on Journal Socket (/dev/log).
    og).
    [  OK  ] Listening on Journal Socket.
    [    3.006059] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Network Service Netlin[    3.018152] systemd[1]: Listening on Network Service Netlink Socket.
    k Socket.
    [  OK  ] Listening on udev Control Socket    3.035233] systemd[1]: Listening on udev Control Socket.
    m.
    [    3.049820] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on User Database Manager [    3.064990] systemd[1]: Listening on User Database Manager Socket.
    Socket.
             Mounting Huge Pages File System...
    [    3.107735] systemd[1]: Mounting Huge Pages File System...
             Mounting POSIX Message Queue File System..[    3.124465] systemd[1]: Mounting POSIX Message Queue File System...
    .
             Mounting Kernel Debug File System...
    [    3.145260] systemd[1]: Mounting Kernel Debug File System...
    [    3.157727] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.175751] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    3.194643] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
             Starting Load Kernel Module configfs...
    [    3.236173] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module drm...
    [    3.254112] systemd[1]: Starting Load Kernel Module drm...
    [    3.271580] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    3.311852] fuse: init (API version 7.37)
    [    3.316377] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    3.344606] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    3.357516] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    3.359168] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    3.359194] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    3.385575] systemd[1]: Starting Journal Service...
             Starting Journal Service...
             Starting Load Kernel Modules...
    [    3.413341] systemd[1]: Starting Load Kernel Modules...
             Starting Generate network …ts from Kernel co[    3.431343] systemd[1]: Starting Generate network units from Kernel command line...
    mmand line...
    [    3.461411] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
             Starting Coldplug All udev Devices...
    [    3.495002] systemd[1]: Starting Coldplug All udev Devices...
    [    3.509668] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [  OK  ] Started RPC Bind.
    [    3.524112] systemd[1]: Started RPC Bind.
    [    3.534735] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory /tmp.
    [  OK  ] Finished Create List of Static Device Nodes.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star…progress communication helper.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting FUSE Control File System...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...
    [    3.808969] systemd-journald[181]: Received client request to flush runtime journal.
             Starting Create System Users...
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create System Users.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting Rule-based Manage…for Device Events and Files...
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Rebuild Dynamic Linker Cache...
             Starting Create Volatile Files and Directories...
    [  OK  ] Finished Create Volatile Files and Directories.
             Starting Rebuild Journal Catalog...
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [    4.383938] random: crng init done
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [  OK  ] Finished Rebuild Journal Catalog.
    [  OK  ] Finished Load/Save Random Seed.
    [  OK  ] Found device /dev/ttyS2.
    [    4.771489] mc: Linux media interface: v0.10
    [    4.811119] videodev: Linux video capture interface: v2.00
    [    4.848549] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
    [    4.849004] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [    4.849412] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [    4.866371] remoteproc remoteproc0: 5000000.m4fss is available
    [    4.870119] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2
    [    4.870176] remoteproc remoteproc0: powering up 5000000.m4fss
    [    4.870228] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2
    [    4.870237] remoteproc remoteproc0: request_firmware failed: -2
    [    4.998998] dwc3-am62 f900000.dwc3-usb: enter dwc3_ti_probe()
    [    4.999029] TEST printk() in dwc3_ti_probe()
    [    4.999037] dwc3-am62 f900000.dwc3-usb: enter dwc3_ti_probe() 1
    [    4.999042] dwc3-am62 f900000.dwc3-usb: enter dwc3_ti_probe() 2
    [    4.999109] dwc3-am62 f900000.dwc3-usb: enter dwc3_ti_probe() 3
    [    4.999130] dwc3-am62 f900000.dwc3-usb: enter dwc3_ti_probe() 4
    [    4.999134] dwc3-am62 f900000.dwc3-usb: before - data->usb2_refclk = 0
    [    4.999140] f900000.dwc3-usb: in __devm_clk_get s
    [    4.999146] f900000.dwc3-usb: devres_alloc() ffff000003e46f80
    [    4.999151] f900000.dwc3-usb: in clk_get
    [    4.999180] f900000.dwc3-usb: clk hw ffff000001219080
    [    4.999186] f900000.dwc3-usb: in clk_hw_create_clk ffff000001219080
    [    4.999193] f900000.dwc3-usb: create_clk: before try_module_get
    [    4.999198] f900000.dwc3-usb: create_clk: before clk link consumer ffff000003cc2900
    [    4.999203] f900000.dwc3-usb: _link_consumer start
    [    5.008789] f900000.dwc3-usb: _link_consumer after lock
    [    5.008818] f900000.dwc3-usb: _link_consumer after link
    [    5.008823] f900000.dwc3-usb: _link_consumer done
    [    5.008828] f900000.dwc3-usb: clk_hw_create_clk done ffff000003cc2900
    [    5.008836] f900000.dwc3-usb: clk hw: clk ffff000003cc2900
    [  OK  ] Started Network Time Synchronizatio[    5.008844] f900000.dwc3-usb: after get() ffff000003cc2900
    n.
    [    5.008851] f900000.dwc3-usb: __devm_clk_get done: clk: ffff000003cc2900
    [    5.008987] dwc3-am62 f900000.dwc3-usb: enter dwc3_ti_probe() 5
    [    5.010134] dwc3-am62 f900000.dwc3-usb: enter dwc3_ti_probe() 6
    [    5.013775] dwc3-am62 f900000.dwc3-usb: dwc3_ti_probe() after phy_syscon
    [    5.014964] dwc3-am62 f900000.dwc3-usb: before of_platform_populate()
    [    5.063335] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
    [    5.063395] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:02 UTC (2)
    [    5.174357] platform 78000000.r5f: ti-sci processor request failed: -19
    [    5.174387] platform 78000000.r5f: ti_sci_proc_request failed, ret = -19
    [    5.174439] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_core_of_init failed, ret = -19
    [    5.174447] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_cluster_of_init failed, ret = -19
    [  OK  ] Reached target System Time Set.
    [  OK  ] Finished Rebuild Dynamic Linker Cache.
             Starting Update is Completed...
    [  OK  ] Finished Update is Completed.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timer Units.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API...
    [  OK  ] Listening on dropbear.socket.
    [    5.845692] dwc3 31000000.usb: enter core wc3_probe()
    [    5.851565] dwc3 31000000.usb: before dwc3_core_init_mode()
    [    5.851597] dwc3 31000000.usb: dwc3_core_init_mode: dr_mode host
    [    5.851607] dwc3 31000000.usb: enter dwc3_host_init()
    [    5.864418] dwc3 31000000.usb: exit dwc3_host_init()
    [    5.864447] dwc3 31000000.usb: dwc3_core_init_mode: ret 0
             Starting D-Bus System Message Bus...
    [  OK  ] Listening on Docker Socket for the API.
    [    5.956662] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    5.956732] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [    5.957202] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports
    [    5.957223] xhci-hcd xhci-hcd.1.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008000010010
    [    5.972169] xhci-hcd xhci-hcd.1.auto: irq 399, io mem 0x31000000
    [    5.976370] hub 1-0:1.0: USB hub found
    [    5.976457] hub 1-0:1.0: 1 port detected
    [    6.035130] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22
    [  OK  ] Reached target Socket Units.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Reached target Basic System.
    [    6.213078] usb 1-1: new high-speed USB device number 2 using xhci-hcd
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
             Starting Expand the rootfs…ll size of the boot device....
             Starting User Login Management...
    [  OK  ] Started TEE Supplicant.
             Starting Telnet Server...
    [    6.362634] usb-storage 1-1:1.0: USB Mass Storage device detected
    [    6.380755] scsi host0: usb-storage 1-1:1.0
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Finished Telnet Server.
    [  OK  ] Reached target Preparation for Network.
             Starting Network Configuration...
    [  OK  ] Started User Login Management.
    [    6.920774] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
    [    6.968670] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    6.969792] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    6.971424] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    6.971471] cfg80211: failed to load regulatory.db
    [  OK  ] Started Network Configuration.
             Starting Network Name Resolution...
    [    7.203697] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [Generic PHY] (irq=POLL)
    [    7.203741] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    [    7.209138] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
    [    7.213768] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [    7.248853] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83869] (irq=POLL)
    [    7.248970] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [    7.399379] scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 6
    [    7.492339] sd 0:0:0:0: [sda] 30240768 512-byte logical blocks: (15.5 GB/14.4 GiB)
    [    7.500986] sd 0:0:0:0: [sda] Write Protect is off
    [    7.501631] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [    7.514648]  sda: sda1
    [    7.515931] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting containerd container runtime...
    [  OK  ] Started Netperf Benchmark Server.
    [    7.736090] EXT4-fs (mmcblk1p2): resizing filesystem from 233056 to 7533568 blocks
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Permit User Sessions...
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Created slice Slice /system/systemd-fsck.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Found device /dev/mmcblk1p1.
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Finished File System Check on /dev/mmcblk1p1.
             Mounting /run/media/boot-mmcblk1p1...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Mounted /run/media/boot-mmcblk1p1.
    [  OK  ] Found device DataTraveler_2.0 1.
             Starting File System Check on /dev/sda1...
    [  OK  ] Finished File System Check on /dev/sda1.
             Mounting /run/media/sda1...
    [  OK  ] Mounted /run/media/sda1.
    [   11.134610] EXT4-fs (mmcblk1p2): resized filesystem to 7533568
    [   11.363664] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   11.363752] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [  OK  ] Finished Expand the rootfs…full size of the boot device..
    [  OK  ] Started containerd container runtime.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPL-3.0 packages:
            bash
            cifs-utils
            dosfstools
            grub-common
            grub-editenv
            grub-efi
            less
            libdw1
            libelf1
            libgcc1
            libreadline8
            libstdc++6
            parted
    
    If you do not wish to distribute GPL-3.0 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Finished Print notice about GPLv3 packages.
    [  OK  ] Reached target Multi-User System.
             Starting Record Runlevel Change in UTMP...
    [  OK  ] Finished Record Runlevel Change in UTMP.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project am62xx-evm -
    
    Arago 2023.10 am62xx-evm -
    

  • Hi Jim.

    The items you are pointing out are read from the PHY.  Are eth1 and eth0 being plugged into the same link partner? The reason I ask is because is the ethtool output is read directly from the PHY. So both should PHYs read the same parameters. That maybe what you are trying to tell me though. 

    So if both ports are plugged in turn to the same link partner and they read differently on ethtool then perhaps you question about HW strapping would be something to look at. I will consult with the PHY team.

    This might explain the identification issue that is seen on eth1.

    Best Regards,

    Schuyler

  • Schuyler,

    Yes, both eth0 and eth1 get plugged into the same link partner.  Basically, I move the ethernet cable from eth0 to eth1 (or vice versa) and run one port at a time.

    Let me know what the PHY team thinks.  As I mentioned previously, the USB problem was resolved by having the TI team (first) show me where to insert printk() statements in the kernel code and then I would rebuild the kernel code and send the TI team the boot log to review.  I can do that for this if needed.

  • Schuyler,

    This morning when I executed ethtool eth1, two additional "Advertised link modes" are seen in the output (compared to yesterday):

    Here's how we think we should be strapped:

    Do we need pull down resisters on all these pins?  What would be the recommended resistor value?

  • Schuyler,

    If you need to see schematics, I can send them to your TI email address but I'm prohibited by management from sending anything via the forum.

  • Hi,

    I definitely understand the reason to not send the full schematic. Could we clarify that we only need the area of the connection between the CPSW and the PHY?

    I agree with your observation of the advertised link modes changing between boots could be pointing to a resistor strapping issue. I am reaching out to the PHY team for additional comment.

    Best Regards,

    Schuyler

  • Schuyler,

    OK!  One of your co-workers gave me (one of his) "ti.com" email addresses.  My management was OK with sending it that way.  I can separate the relevant portion of the schematic.  That's what I did for your co-worker while we were debugging the USB.  He was really familiar with Linux but indicated Ethernet was not really in his "wheel house".

    He "friended" me and sent his email via secured message.

  • OK, I will wait for the schematic. 

    Best Regards,

    Schuyler

  • Schuyler,

    I was expecting an email address for you but I sent the schematics to your co-worker (at his TI address and asked him to forward them to you using TI internal email).  He indicated he would forward the files to you.

    Let me know if you need any additional hardware information.

    Thanks!  

  • Schuyler,

    Any updates?  Did you receive the schematic snippets?

  • Hi Jim,

    I have passed the schematic snippets to the PHY team. The first one with the PHYs is really hard to read clearly when they are zoomed, Were the schematics submitted to TI as part of a schematic review?

    Best Regards,

    Schuyler 

  • Schuyler,

    No, the various schematics provided to TI have been "piece meal" to address specific issues.  I noticed the blurry zoom, as well, and provided additional screen shots of the transceivers individually.  They were a little clearer.

    Let me know if you need anything additional on the schematic front. 

  • Schuyler,

    Any updates?

  • Schuyler,

    Any updates?  This ethernet issue is one of the few remaining issues I need to correct.

  • Hi Jim!

    I'm an Applications Engineer from the Ethernet team. I have not yet fully read through this thread, please allow me until end of day Monday Oct 14th to provide a more detailed response.

    In the mean time, please look through this Linux Ethernet Driver Appnote for debug tips.

    During boot, I get the following:

    From this image it seems like phy[1] is not getting recognized properly. Can you confirm that phy[1] is correctly strapped to have PHYADDR = 1?

    Regards,

    Alvaro

  • Alvaro,

    OK!  Great!  Can you tell me how I can be sure phy[1] is strapped properly?  I'll look through the documents here, as well.

  • Hi Jim!

    I read through this post and would like to reel it back in a bit and slowly start from the beginning. As mentioned in my previous reply, PHY[1] is not being recognized. This means that the software is expecting PHY Address = 1 and the PHY is not being strapped correctly. 

    Please confirm if both PHY[0] and PHY[1] are DP83869s, one with Address: 0 and the other with Address:1. Do both of these PHYs share a MDC/MDIO bus that is connected to the processor? If so, they each must have a unique PHY Address.

    The DP83869 PHY Address is configured via the RX_D0 and RX_D1 pins. The PHY Address cannot be changed via software. 

    For PHY[0], these pins can be left floating and it will correctly configure itself as PHY ADDRESS = 0 (Both RX_D0 and RX_D1 are in Mode 0).

    For PHY[1], RX_D1 can be left in Mode 0 and RX_D0 needs to be in Mode 1.

    • For Mode 1, please use a 10kΩ Rhi and 2.49kΩ Rlo resistor.

    Regards,

    Alvaro

  • Alvaro,

    Awesome!  I'll get the strapping done this morning.  The hardware team has been focusing on the RX_D2, RX_D3 and JTAG_TDO/GPIO_1 pins.  It looks like they have JTAG_TD0/GPIO_1 pulled up to 3.3v.

    Is there any issue with this configuration?  I think we want 0-0-0

    In any case, I'll talk with our tech guys to queue your changes up.

    To reiterate, RX_DO on phy[1] requires the Rhi and Rio resistors defined above.

  • Alvaro,

    Awesome!  I'll get the strapping done this morning.  The hardware team has been focusing on the RX_D2, RX_D3 and JTAG_TDO/GPIO_1 pins.  It looks like they have JTAG_TD0/GPIO_1 pulled up to 3.3v.

    Is there any issue with this configuration?  I think we want 0-0-0

    In any case, I'll talk with our tech guys to queue your changes up.

    To reiterate, RX_DO on phy[1] requires the Rhi and Rio resistors defined above.

  • Alvaro,

    That modification appears to have been the solution:







    Can you comment on the RX_D2, RX_D3 and JTAG_TDO/GPIO_1 pins?

    Can we connect both ethernet ports (eth0 and eth1) to the same subnet?

  • Hi Jim!

    Glad to hear that PHY[1] is getting recognized now!

    Now to configure the correct OPMODE (determined by RX_D2, RX_D3, and JTAG_TDO), we can read Register 0x6E to confirm what OPMODE the PHY booted up with. Please see See Section 2.1 Configuring Correct Operational Mode from the DP83869 Troubleshooting Guide for more information.

    Please note that Register 0x6E is an extended Register, please see this FAQ for more information on how to access.

    Can we connect both ethernet ports (eth0 and eth1) to the same subnet?

    Yes! From your example, eth0 can be 192.168.1.80 and eth1 can be 192.168.1.90

    Regards,

    Alvaro

  • Alvaro,

    Awesome!  It may take me a day or two to get to the OPMODE activities, but I'll follow up when I do.

    Thanks for your assistance thus far.  It's great to get this issue resolved.

  • Alvaro,

    I think I can read that register using phytool (using the extended register sequence in the document you referenced)?

    Here's the output:

    Is there another strapping adjustment needed on phy[1]?

    Here? ->

  • Hi Jim!

    The reads for both eth0 and eth1 look good! The only bit that is different, bit 4, is due to the PHY Address. Both are set into OPMODE: 000 RGMII to Copper. Seems like you're good to go!

    Regards,

    Alvaro

  • Alvaro,

    Excellent!  Thanks!