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.

AM625: Ethernet link does not get an IP address, but only with Yocto

Part Number: AM625
Other Parts Discussed in Thread: SK-AM62B-P1

Dear TI team,

When I run my Yocto image on the SK-AM62B-P1, both ethernet links seem to fail. They report back a MAC address, but they do not get an IP address (not even the loopback interface has an IP address). I don't have this issue with the Arago image.

When I set any link down and then up again, it gets an IPv6 address (I don't know from where, but definitely not via DHCP) but not an IPv4 address.

While looking for the reason, I stumbled accross item i2329 in errata. Could this be causing the issue and the fix is already included in Arago? How can I resolve it?

Many thanks

Leon Rigoni

  • Hi,

    Thanks for your query.

    Our expert will look into this and get back to you.

    Regards

  • Hi,

    The errata mentioned does not cause a complete failure like what you are reporting.

    Please post the results of the following, please only connect 1 port to the network that has a DHCP server that will assign IP addresses. Assuming eth0 is used here which is the connector closest to the USB connector.

    • ethtool eth0
    • ethtool -S eth0
    • please attach (not cut and paste) the boot log.

    This will confirm that there is a link and that the interface is sending and receiving packets. 

    Best Regards,

    Schuyler

  • Hello Schuyler,

    Thank you for the fast reply. I put everything in the attachment.

    I also installed phytool. According to its output, it looks like there is a problem with the MDIO driver. Is it possible that this driver contains a bug and that the Arago image contains a patch?

    Best,

    Leon

    U-Boot SPL 2023.04-gb0d717b732 (Dec 06 2023 - 15:11:45 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
    SPL initial stack usage: 13384 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.9(release):v2.9.0-614-gd7a7135d32-dirty
    NOTICE:  BL31: Built : 09:34:15, Aug 24 2023
    
    U-Boot SPL 2023.04-gb0d717b732 (Dec 06 2023 - 15:11:45 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
    SPL initial stack usage: 1856 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2023.04-gb0d717b732 (Dec 06 2023 - 15:11:45 +0000)
    
    SoC:   AM62X SR1.0 HS-FS
    Model: Texas Instruments AM625 SK
    EEPROM not available at 80, trying to read at 81
    Board: AM62B-SKEVM-P1 rev A
    DRAM:  2 GiB
    Core:  72 devices, 32 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial
    Out:   serial
    Err:   serial
    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'
    Failed to load 'uEnv.txt'
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    20302336 bytes read in 226 ms (85.7 MiB/s)
    59472 bytes read in 19 ms (3 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=ff700000 size=8ca000 flags=4)
       Loading Device Tree to 000000008feee000, end 000000008fffffff ... OK
    Working FDT set to 8feee000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.46-g247b2535b2 (oe-user@oe-host) (aarch64-nse-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Wed Dec  6 17:54:04 UTC 2023
    [    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 0x00000000f7600000, 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-0x00000000ff6fffff]
    [    0.000000]   node   0: [mem 0x00000000ff700000-0x00000000fffc9fff]
    [    0.000000]   node   0: [mem 0x00000000fffca000-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 19 pages/cpu s37992 r8192 d31640 u77824
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    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=b7b43084-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: 1838472K/2097152K available (12288K kernel code, 1266K rwdata, 4016K rodata, 2112K init, 438K bss, 127608K 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 event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 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 @0x0000000080040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080050000
    [    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.008601] Console: colour dummy device 80x25
    [    0.013218] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023900] pid_max: default: 32768 minimum: 301
    [    0.028678] LSM: Security Framework initializing
    [    0.033561] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.041155] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.051327] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.058799] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.065100] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.072494] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.078915] rcu: Hierarchical SRCU implementation.
    [    0.083825] rcu:     Max phase no-delay instances is 1000.
    [    0.089474] Platform MSI: msi-controller@1820000 domain created
    [    0.095854] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.105286] EFI services will not be available.
    [    0.110268] smp: Bringing up secondary CPUs ...
    [    0.115610] Detected VIPT I-cache on CPU1
    [    0.115744] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.115769] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000
    [    0.115841] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.116660] Detected VIPT I-cache on CPU2
    [    0.116752] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.116770] GICv3: CPU2: using allocated LPI pending table @0x0000000080070000
    [    0.116806] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.117535] Detected VIPT I-cache on CPU3
    [    0.117634] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.117648] GICv3: CPU3: using allocated LPI pending table @0x0000000080080000
    [    0.117684] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.117764] smp: Brought up 1 node, 4 CPUs
    [    0.197519] SMP: Total of 4 processors activated.
    [    0.202334] CPU features: detected: 32-bit EL0 Support
    [    0.207612] CPU features: detected: CRC32 instructions
    [    0.212941] CPU: All CPU(s) started at EL2
    [    0.217138] alternatives: applying system-wide alternatives
    [    0.225001] devtmpfs: initialized
    [    0.238182] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.248219] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.260858] pinctrl core: initialized pinctrl subsystem
    [    0.266987] DMI not present or invalid.
    [    0.271682] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.279117] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.286728] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.294865] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.303063] audit: initializing netlink subsys (disabled)
    [    0.308820] audit: type=2000 audit(0.196:1): state=initialized audit_enabled=0 res=1
    [    0.309375] thermal_sys: Registered thermal governor 'step_wise'
    [    0.316754] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.322951] cpuidle: using governor menu
    [    0.333846] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.340900] ASID allocator initialised with 65536 entries
    [    0.357731] platform 30200000.dss: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/sii9022@3b
    [    0.369221] platform connector: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/sii9022@3b
    [    0.380422] KASLR disabled due to lack of seed
    [    0.392499] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.399476] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.405886] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.412825] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.419236] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.426175] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.432582] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.439521] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.447631] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.458460] iommu: Default domain type: Translated
    [    0.463496] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.470280] SCSI subsystem initialized
    [    0.474558] usbcore: registered new interface driver usbfs
    [    0.480206] usbcore: registered new interface driver hub
    [    0.485670] usbcore: registered new device driver usb
    [    0.491406] pps_core: LinuxPPS API ver. 1 registered
    [    0.496490] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.505850] PTP clock support registered
    [    0.510005] EDAC MC: Ver: 3.0.0
    [    0.514301] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [    0.521401] FPGA manager framework
    [    0.524981] Advanced Linux Sound Architecture Driver Initialized.
    [    0.532361] clocksource: Switched to clocksource arch_sys_counter
    [    0.538921] VFS: Disk quotas dquot_6.6.0
    [    0.542986] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.556631] NET: Registered PF_INET protocol family
    [    0.561975] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.571332] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    0.580155] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.588098] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.596320] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [    0.604466] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.611417] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.618353] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.625929] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.632321] RPC: Registered named UNIX socket transport module.
    [    0.638412] RPC: Registered udp transport module.
    [    0.643223] RPC: Registered tcp transport module.
    [    0.648033] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.654625] NET: Registered PF_XDP protocol family
    [    0.659537] PCI: CLS 0 bytes, default 64
    [    0.664559] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.674982] Initialise system trusted keyrings
    [    0.679874] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [    0.691443] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.698157] NFS: Registering the id_resolver key type
    [    0.703402] Key type id_resolver registered
    [    0.707681] Key type id_legacy registered
    [    0.711851] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.718706] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.760927] Key type asymmetric registered
    [    0.765124] Asymmetric key parser 'x509' registered
    [    0.770174] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.777948] io scheduler mq-deadline registered
    [    0.782586] io scheduler kyber registered
    [    0.790354] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.796996] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.803957] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.817151] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.834818] loop: module loaded
    [    0.839466] megasas: 07.719.03.00-rc1
    [    0.846804] tun: Universal TUN/TAP device driver, 1.6
    [    0.852880] thunder_xcv, ver 1.0
    [    0.856212] thunder_bgx, ver 1.0
    [    0.859558] nicpf, ver 1.0
    [    0.862492] e1000: Intel(R) PRO/1000 Network Driver
    [    0.867481] e1000: Copyright (c) 1999-2006 Intel Corporation.
    [    0.873401] e1000e: Intel(R) PRO/1000 Network Driver
    [    0.878477] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    0.884571] igb: Intel(R) Gigabit Ethernet Network Driver
    [    0.890091] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    0.895821] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.902231] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.908421] sky2: driver version 1.30
    [    0.912956] VFIO - User Level meta-driver version: 0.3
    [    0.919158] usbcore: registered new interface driver usb-storage
    [    0.925965] i2c_dev: i2c /dev entries driver
    [    0.932060] sdhci: Secure Digital Host Controller Interface driver
    [    0.938428] sdhci: Copyright(c) Pierre Ossman
    [    0.943113] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.949798] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.956163] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.963168] usbcore: registered new interface driver usbhid
    [    0.968870] usbhid: USB HID core driver
    [    0.973853] optee: probing for conduit method.
    [    0.978455] optee: revision 4.0 (2a5b1d12)
    [    0.978852] optee: dynamic shared memory is enabled
    [    0.988533] optee: initialized driver
    [    0.994385] Initializing XFRM netlink socket
    [    0.998840] NET: Registered PF_PACKET protocol family
    [    1.004100] Key type dns_resolver registered
    [    1.009009] registered taskstats version 1
    [    1.013248] Loading compiled-in X.509 certificates
    [    1.029581] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
    [    1.096179] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.103997] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.111334] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.117326] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.126611] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.138283] simple-framebuffer ff700000.framebuffer: framebuffer at 0xff700000, 0x8ca000 bytes
    [    1.147155] simple-framebuffer ff700000.framebuffer: format=x8r8g8b8, mode=1920x1200x32, linelength=7680
    [    1.172660] Console: switching to colour frame buffer device 240x75
    [    1.193574] simple-framebuffer ff700000.framebuffer: fb0: simplefb registered!
    [    1.202493] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.210974] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.222500] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.233030] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.243567] printk: console [ttyS2] disabled
    [    1.248039] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 240, base_baud = 3000000) is a 8250
    [    1.256954] printk: console [ttyS2] enabled
    [    1.256954] printk: console [ttyS2] enabled
    [    1.265423] printk: bootconsole [ns16550a0] disabled
    [    1.265423] printk: bootconsole [ns16550a0] disabled
    [    1.277209] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.320392] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.330513] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.338634] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    1.346760] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.359650] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.366788] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.367475] pps pps0: new PPS source ptp0
    [    1.377140] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.387929] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.399997] mmc0: CQHCI version 5.10
    [    1.405560] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.412366] pca953x 1-0022: using AI
    [    1.442594] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.445213] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.447714] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
    [    1.462005] Creating 7 MTD partitions on "fc40000.spi.0":
    [    1.467400] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.474403] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.480976] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.487573] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    1.493909] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
    [    1.500885] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.507553] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.525278] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.533105] mmc2: CQHCI version 5.10
    [    1.533116] mmc1: CQHCI version 5.10
    [    1.535318] debugfs: Directory 'pd:186' with parent 'pm_genpd' already present!
    [    1.550371] mmc0: Command Queue Engine enabled
    [    1.554883] mmc0: new HS200 MMC card at address 0001
    [    1.559822] ALSA device list:
    [    1.560819] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
    [    1.562821]   No soundcards found.
    [    1.567066] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.570865]  mmcblk0: p1 p2
    [    1.582329] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
    [    1.588648] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 64-bit
    [    1.588726] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
    [    1.602270] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (240:0)
    [    1.608737] Waiting for root device PARTUUID=b7b43084-02...
    [    1.636804] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    1.644443] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
    [    1.654177]  mmcblk1: p1 p2 p3 p4
    [    1.676246] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    1.684899] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    1.693696] devtmpfs: mounted
    [    1.698327] Freeing unused kernel memory: 2112K
    [    1.702968] Run /sbin/init as init process
    INIT: version 3.01 booting
    Starting udev
    [    2.011982] udevd[177]: starting version 3.2.10
    [    2.976356] random: crng init done
    [    3.003909] udevd[178]: starting eudev-3.2.10
    [    3.179147] mc: Linux media interface: v0.10
    [    3.201171] videodev: Linux video capture interface: v2.00
    [    3.201947] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
    [    3.215747] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [    3.222682] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [    3.230142] remoteproc remoteproc0: 5000000.m4fss is available
    [    3.237268] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2
    [    3.246518] remoteproc remoteproc0: powering up 5000000.m4fss
    [    3.252425] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2
    [    3.263111] remoteproc remoteproc0: request_firmware failed: -2
    [    3.309724] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
    [    3.315278] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:09 UTC (9)
    [    3.334984] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    3.350858] sii902x 1-003b: supply iovcc not found, using dummy regulator
    [    3.358239] sii902x 1-003b: supply cvcc12 not found, using dummy regulator
    [    3.371326] platform 78000000.r5f: configured R5F for IPC-only mode
    [    3.379602] i2c i2c-1: Added multiplexed i2c bus 3
    [    3.380787] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000
    [    3.392032] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    3.393213] remoteproc remoteproc1: 78000000.r5f is available
    [    3.406049] Console: switching to colour dummy device 80x25
    [    3.415347] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
    [    3.419471] remoteproc remoteproc1: attaching to 78000000.r5f
    [    3.425536] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
    [    3.429347] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [    3.444254] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node r5f-dma-memory@9da00000
    [    3.458916] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    3.464687] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    3.465647] rproc-virtio rproc-virtio.2.auto: registered virtio0 (type 7)
    [    3.472620] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    3.479528] remoteproc remoteproc1: remote processor 78000000.r5f is now attached
    [    3.589582] remoteproc remoteproc2: 30074000.pru is available
    [    3.600530] remoteproc remoteproc3: 30078000.pru is available
    [    3.611620] tps6598x 0-003f: Unable to find the interrupt, switching to polling
    [    3.627499] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22
    [    3.638200] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [    3.643833] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
    [    3.651719] xhci-hcd xhci-hcd.3.auto: USB3 root hub has no ports
    [    3.657723] xhci-hcd xhci-hcd.3.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    [    3.667168] xhci-hcd xhci-hcd.3.auto: irq 424, io mem 0x31100000
    [    3.673968] hub 1-0:1.0: USB hub found
    [    3.677782] hub 1-0:1.0: 1 port detected
    [    3.704000] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    Fri Mar  9 12:34:56 UTC 2018
    Configuring packages on first boot....
     (This may take several minutes. Please do not power off the machine.)
    Running postinst /etc/rpm-postinsts/100-sysvinit-inittab...
    update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
     Removing any system startup links for run-postinsts ...
      /etc/rcS.d/S99run-postinsts
    INIT: Entering runlevel: 5
    Configuring network interfaces... ifup: unknown address type "inet"
    Starting Dropbear SSH server: Generating 2048 bit rsa key, this may take a while...
    Public key portion is:
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCBDvAr7DqBubZeCjyw2VajXV8dJ4khFI4BYAil9aopFUxIrguI3MEwT4/iBX02K1EKIQmNDMVH0OqumXr9e7m3MajfZ+RukL+YBB87UGoGJbbJIzGzC2FFO4erTys0kcOCYZDodd2n7ROJLYfatzy0lLklhOadi+mRIYbPWJFi5jZ3q8r2zR0IUmw6H0Mu/5GwUaFJoCPOXJ+C7NxfjLf7jG/km3l/OC2sHiL1A1zdY2cwgUBlB9YK5UvqNwvOquBrQ+IOX310ie8BU3sUx4+ZG8NF1zFhT6Lj/LqMmpmM50asQDEPLvb1mKxm3GbHVqBnl9jD1xyKpspmSjv2NMIz root@am62xx-evm
    Fingerprint: sha1!! be:34:60:8b:60:ad:00:7f:13:c9:59:d5:b5:6a:65:14:9b:22:e4:32
    [    8.190933] NET: Registered PF_INET6 protocol family
    [    8.197241] Segment Routing with IPv6
    [    8.200954] In-situ OAM (IOAM) with IPv6
    dropbear.
    Starting syslogd/klogd: done
    
    Savian (PMPv2) 1.0 am62xx-evm /dev/ttyS2
    
    am62xx-evm login: root
    root@am62xx-evm:~# ethtool eth0
    Settings for eth0:
            Supported ports: [ TP    AUI     MII     FIBRE   BNC     Backplane ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Full
                                    1000baseKX/Full
                                    1000baseX/Full
                                    100baseT1/Full
                                    1000baseT1/Full
                                    100baseFX/Half 100baseFX/Full
                                    10baseT1L/Full
            Supported pause frame use: Symmetric
            Supports auto-negotiation: Yes
            Supported FEC modes: Not reported
            Advertised link modes:  Not reported
            Advertised pause frame use: No
            Advertised auto-negotiation: No
            Advertised FEC modes: Not reported
            Speed: Unknown!
            Duplex: Half
            Auto-negotiation: off
            Port: MII
            PHYAD: 0
            Transceiver: internal
            Supports Wake-on: d
            Wake-on: d
            Current message level: 0x000020f7 (8439)
                                   drv probe link ifdown ifup rx_err tx_err hw
            Link detected: no
    root@am62xx-evm:~# ethtool -S eth0
    NIC statistics:
         p0_rx_good_frames: 0
         p0_rx_broadcast_frames: 0
         p0_rx_multicast_frames: 0
         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: 0
         p0_tx_good_frames: 0
         p0_tx_broadcast_frames: 0
         p0_tx_multicast_frames: 0
         p0_tx_octets: 0
         p0_tx_64B_frames: 0
         p0_tx_65_to_127B_frames: 0
         p0_tx_128_to_255B_frames: 0
         p0_tx_256_to_511B_frames: 0
         p0_tx_512_to_1023B_frames: 0
         p0_tx_1024B_frames: 0
         p0_net_octets: 0
         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: 0
         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: 0
         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: 0
         tx_broadcast_frames: 0
         tx_multicast_frames: 0
         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: 0
         tx_64B_frames: 0
         tx_65_to_127B_frames: 0
         tx_128_to_255B_frames: 0
         tx_256_to_511B_frames: 0
         tx_512_to_1023B_frames: 0
         tx_1024B_frames: 0
         net_octets: 0
         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: 0
         tx_pri1: 0
         tx_pri2: 0
         tx_pri3: 0
         tx_pri4: 0
         tx_pri5: 0
         tx_pri6: 0
         tx_pri7: 0
         tx_pri0_bcnt: 0
         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:~# phytool read eth0/0:3/1
    error: phy_read (-22)

  • Hi Leon,

    Just as a check since you are using a TI EVM could you please make a SD card using the current WIC image on the processor download page? This would confirm the board is functioning as expected.  I know you have stated that your Arago image is working I would still like to confirm the TI WIC image.

    Thank you for the console log with the ethtool and phytool outputs. It could be possible the mdio driver selected is not the right one. The current TI Linux SDK has the up to date MDIO driver, the git commits used for the Linux build are in the release notes if you would like to confirm the correct one is being pulled for your build. Another way to confirm is look at the uname -a results the git commit tag the kernel was built with the WIC image I suggested above and compare it to your uname -a for confirmation.

    A few things are standing out for me, For example this line in the boot log:

     Configuring network interfaces... ifup: unknown address type "inet"

    This looks like the udev rules may not have built correctly since the interface name doesn't match eth0. 

    And the error -22 value from the phytool is saying invalid argument, this could be a build issue as well. 

    The ethtool eth0 output is saying that the speed is unknown, half duplex etc. Also note that the biggest issue here is the link is not detected. Since your phytool command is failing I think the ethtool is failing too since one issue seems to be PHY communication. This is odd as the PHYs are being identified during boot which means the PHY was accessed correctly. At the moment I think something appears to be going wrong during the kernel network interface configuration step.

    Best Regards,

    Schuyler

  • Hi Schuyler,

    I now found the solution based on the line <<Configuring network interfaces... ifup: unknown address type "inet">>. I found this, and it turned out that I have the same issue. The fix was to add "ipv4 ipv6" to DISTRO_FEATURES in Yocto's local.conf.

    Thank you for your help!

    Kind regards,

    Leon