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.
Our customer sees the "Enet CPSW TimeSync PTP Demo" fail with TMDS243EVM. Note that Linux on the TMDX654GPEVM was used for the master clock instead of a Linux PC.
Enet_validateIoctl: Malformed IOCTL cmd 0x01000304 prms 7011F664 inArgs 7011F658 / 8 outArg 00000000 / 0
Enet_validateIoctl: Malformed IOCTL
Assertion @ Line: 1486 in c:/ti/mcu_plus_sdk_am243x_08_06_00_43/source/networking/enet/core/src/core/enet.c: status == ENET_SOK
I have reproduced the issue. Note that TMDS64EVM was used instead of TMDS243EVM.
Attached are the message logs for each of TMDX654GPEVM as a PTP broadcaster and TMDS64EVM with the demo.
U-Boot SPL 2021.01-gdce3935756 (Mar 25 2023 - 15:34:42 +0000) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.5--v08.06.05 (Chill Capybar') SPL initial stack usage: 1416 bytes Trying to boot from MMC2 spl_load_fit_image: Skip load 'dm': image size is 0! Starting ATF on ARM64 core... NOTICE: BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty NOTICE: BL31: Built : 14:59:33, Mar 25 2023 I/TC: I/TC: OP-TEE version: 3.20.0 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Sat Mar 25 15:09:20 UTC 2023 aarch64 I/TC: WARNING: This OP-TEE configuration might be insecure! I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html I/TC: Primary CPU initializing I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.5--v08.06.05 (Chill Capybar') I/TC: HUK Initialized I/TC: Activated SA2UL device I/TC: Fixing SA2UL firewall owner for GP device I/TC: Enabled firewalls for SA2UL TRNG device I/TC: SA2UL TRNG initialized I/TC: SA2UL Drivers initialized I/TC: Primary CPU switching to normal world boot U-Boot SPL 2021.01-gdce3935756 (Mar 25 2023 - 15:16:14 +0000) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.5--v08.06.05 (Chill Capybar') Detected: Silicon SR1.0 i2c_omap i2c@42120000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19 Detected: SER-PCIEUSBEVM rev E3 Trying to boot from MMC2 U-Boot 2021.01-gdce3935756 (Mar 25 2023 - 15:16:14 +0000) SoC: AM65X SR1.0 GP Model: Texas Instruments AM654 Base Board Board: AM6-COMPROCEVM rev E3 DRAM: 4 GiB MMC: sdhci@4f80000: 0, sdhci@4fa0000: 1 Loading Environment from MMC... OK In: serial Out: serial Err: serial am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA07100 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000 Detected: Silicon SR1.0 Detected: SER-PCIEUSBEVM rev E3 Net: eth1: icssg2-eth, eth0: ethernet@46000000port@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' 1490 bytes read in 7 ms (207 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... Running uenvcmd ... 1 bytes read in 6 ms (0 Bytes/s) Already setup. 19147264 bytes read in 1602 ms (11.4 MiB/s) 64327 bytes read in 11 ms (5.6 MiB/s) 2080 bytes read in 5 ms (406.3 KiB/s) 2307 bytes read in 5 ms (450.2 KiB/s) ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.10.168-g2c23e6c538 (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Sat Mar 25 15:35:31 UTC 2023 [ 0.000000] Machine model: Texas Instruments AM654 Base 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 DMA memory pool at 0x00000000a0000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal [mem 0x0000000100000000-0x00000008ffffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000009e7fffff] [ 0.000000] node 0: [mem 0x000000009e800000-0x00000000a20fffff] [ 0.000000] node 0: [mem 0x00000000a2100000-0x00000000ffffffff] [ 0.000000] node 0: [mem 0x0000000880000000-0x00000008ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff] [ 0.000000] cma: Reserved 512 MiB at 0x00000000e0000000 [ 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.2 [ 0.000000] percpu: Embedded 22 pages/cpu s51288 r8192 d30632 u90112 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1032192 [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),57216k@8m(ospi.rootfs),128k(ospi.phypattern) root=PARTUUID=25085390-02 rw rootfstype=ext4 rootwait [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: mapped [mem 0x00000000dc000000-0x00000000e0000000] (64MB) [ 0.000000] Memory: 3446068K/4194304K available (11200K kernel code, 1162K rwdata, 4308K rodata, 1920K init, 431K bss, 223948K reserved, 524288K 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: 960 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 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 @880800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000880040000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000 [ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns [ 0.000007] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008704] Console: colour dummy device 80x25 [ 0.013313] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [ 0.024011] pid_max: default: 32768 minimum: 301 [ 0.028858] LSM: Security Framework initializing [ 0.033670] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.041273] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.051518] rcu: Hierarchical SRCU implementation. [ 0.056789] Platform MSI: msi-controller@1820000 domain created [ 0.063121] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.072498] EFI services will not be available. [ 0.077449] smp: Bringing up secondary CPUs ... I/TC: Secondary CPU 1 initializing I/TC: Secondary CPU 1 switching to normal world boot I/TC: Secondary CPU 2 initializing I/TC: Secondary CPU 2 switching to normal world boot I/TC: Secondary CPU 3 initializing I/TC: Secondary CPU 3 switching to normal world boot [ 0.091172] Detected VIPT I-cache on CPU1 [ 0.091212] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.091227] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000 [ 0.091290] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.100542] Detected VIPT I-cache on CPU2 [ 0.100584] GICv3: CPU2: found redistributor 100 region 0:0x00000000018c0000 [ 0.100601] GICv3: CPU2: using allocated LPI pending table @0x0000000880070000 [ 0.100666] CPU2: Booted secondary processor 0x0000000100 [0x410fd034] [ 0.109881] Detected VIPT I-cache on CPU3 [ 0.109907] GICv3: CPU3: found redistributor 101 region 0:0x00000000018e0000 [ 0.109918] GICv3: CPU3: using allocated LPI pending table @0x0000000880080000 [ 0.109953] CPU3: Booted secondary processor 0x0000000101 [0x410fd034] [ 0.110088] smp: Brought up 1 node, 4 CPUs [ 0.190253] SMP: Total of 4 processors activated. [ 0.195077] CPU features: detected: 32-bit EL0 Support [ 0.200360] CPU features: detected: CRC32 instructions [ 0.221692] CPU: All CPU(s) started at EL2 [ 0.225936] alternatives: patching kernel code [ 0.232058] devtmpfs: initialized [ 0.246531] KASLR disabled due to lack of seed [ 0.251341] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.261329] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.286335] pinctrl core: initialized pinctrl subsystem [ 0.292419] DMI not present or invalid. [ 0.297220] NET: Registered protocol family 16 [ 0.303541] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations [ 0.310987] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.319255] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.327986] thermal_sys: Registered thermal governor 'step_wise' [ 0.327993] thermal_sys: Registered thermal governor 'power_allocator' [ 0.334819] cpuidle: using governor menu [ 0.345819] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.352925] ASID allocator initialised with 65536 entries [ 0.402666] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.409558] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.416421] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.423281] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.431875] cryptd: max_cpu_qlen set to 1000 [ 0.440722] k3-chipinfo 43000014.chipid: Family:AM65X rev:SR1.0 JTAGID[0x0bb5a02f] Detected [ 0.449966] vcc3v3_io: supplied by evm_12v0 [ 0.455526] iommu: Default domain type: Translated [ 0.460997] SCSI subsystem initialized [ 0.465498] mc: Linux media interface: v0.10 [ 0.469910] videodev: Linux video capture interface: v2.00 [ 0.475608] pps_core: LinuxPPS API ver. 1 registered [ 0.480693] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.490058] PTP clock support registered [ 0.494115] EDAC MC: Ver: 3.0.0 [ 0.498666] FPGA manager framework [ 0.502265] Advanced Linux Sound Architecture Driver Initialized. [ 0.509631] clocksource: Switched to clocksource arch_sys_counter [ 0.516104] VFS: Disk quotas dquot_6.6.0 [ 0.520189] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.534762] NET: Registered protocol family 2 [ 0.539630] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.549769] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear) [ 0.558600] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.567033] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear) [ 0.575175] TCP: Hash tables configured (established 32768 bind 32768) [ 0.582106] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.589108] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.596693] NET: Registered protocol family 1 [ 0.601798] RPC: Registered named UNIX socket transport module. [ 0.607904] RPC: Registered udp transport module. [ 0.612723] RPC: Registered tcp transport module. [ 0.617543] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.624145] NET: Registered protocol family 44 [ 0.628710] PCI: CLS 0 bytes, default 64 [ 0.633813] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 0.648257] Initialise system trusted keyrings [ 0.653128] workingset: timestamp_bits=46 max_order=20 bucket_order=0 [ 0.664907] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.671527] NFS: Registering the id_resolver key type [ 0.676737] Key type id_resolver registered [ 0.681026] Key type id_legacy registered [ 0.685211] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.692077] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.699839] 9p: Installing v9fs 9p2000 file system support [ 0.759673] Key type asymmetric registered [ 0.763881] Asymmetric key parser 'x509' registered [ 0.768915] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 0.776492] io scheduler mq-deadline registered [ 0.781133] io scheduler kyber registered [ 0.788428] pinctrl-single 4301c000.pinctrl: 70 pins, size 280 [ 0.795050] pinctrl-single 11c000.pinctrl: 185 pins, size 740 [ 0.801109] pinctrl-single 11c2e8.pinctrl: 9 pins, size 36 [ 0.818659] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.844488] brd: module loaded [ 0.856217] loop: module loaded [ 0.860574] megasas: 07.714.04.00-rc1 [ 0.869825] tun: Universal TUN/TAP device driver, 1.6 [ 0.875842] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 0.882275] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 0.888406] sky2: driver version 1.30 [ 0.893636] VFIO - User Level meta-driver version: 0.3 [ 0.900097] i2c /dev entries driver [ 0.905751] sdhci: Secure Digital Host Controller Interface driver [ 0.912086] sdhci: Copyright(c) Pierre Ossman [ 0.917071] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.924546] ledtrig-cpu: registered to indicate activity on CPUs [ 0.930821] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource [ 0.938423] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 0.947013] optee: probing for conduit method. I/TC: Reserved shared memory is enabled I/TC: Dynamic shared memory is enabled I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled [ 0.951603] optee: revision 3.20 (8e74d476) [ 0.968237] optee: dynamic shared memory is enabled [ 0.978045] optee: initialized driver [ 0.984514] NET: Registered protocol family 17 [ 0.989260] 9pnet: Installing 9P2000 support [ 0.993721] Key type dns_resolver registered [ 0.998544] Loading compiled-in X.509 certificates [ 1.023435] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource [ 1.031543] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: lpm region is required for suspend but not provided. [ 1.042209] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: ABI: 3.1 (firmware rev 0x0008 '8.6.5--v08.06.05 (Chill Capybar') [ 1.133765] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz [ 1.140758] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 100 kHz [ 1.148091] pca953x 2-0021: supply vcc not found, using dummy regulator [ 1.155016] pca953x 2-0021: using no AI [ 1.182448] omap_i2c 2000000.i2c: bus 2 rev0.12 at 400 kHz [ 1.189186] omap_i2c 2010000.i2c: bus 3 rev0.12 at 400 kHz [ 1.195845] omap_i2c 2020000.i2c: bus 4 rev0.12 at 400 kHz [ 1.202483] omap_i2c 2030000.i2c: bus 5 rev0.12 at 100 kHz [ 1.209482] ti-sci-intr bus@100000:bus@28380000:bus@42040000:interrupt-controller2: Interrupt Router 156 domain created [ 1.220774] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 100 domain created [ 1.229748] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 182 domain created [ 1.239847] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 179 created [ 1.260476] keystone-pcie 5600000.pcie: host bridge /bus@100000/pcie@5600000 ranges: [ 1.268452] OF: /bus@100000/pcie@5600000: Missing device_type [ 1.274365] keystone-pcie 5600000.pcie: IO 0x0018020000..0x001802ffff -> 0x0000000000 [ 1.282938] keystone-pcie 5600000.pcie: MEM 0x0018030000..0x001fffffff -> 0x0018030000 [ 2.292032] keystone-pcie 5600000.pcie: Phy link never came up [ 2.298204] keystone-pcie 5600000.pcie: PCI host bridge to bus 0000:00 [ 2.304920] pci_bus 0000:00: root bus resource [bus 00-ff] [ 2.310560] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] [ 2.316895] pci_bus 0000:00: root bus resource [mem 0x18030000-0x1fffffff] [ 2.323976] pci 0000:00:00.0: [104c:b00c] type 01 class 0x060400 [ 2.330144] pci 0000:00:00.0: reg 0x10: [mem 0x05600000-0x056fffff] [ 2.336576] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref] [ 2.343510] pci 0000:00:00.0: supports D1 [ 2.347623] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 2.360886] pci 0000:00:00.0: BAR 0: assigned [mem 0x18100000-0x181fffff] [ 2.367854] pci 0000:00:00.0: BAR 6: assigned [mem 0x18030000-0x1803ffff pref] [ 2.375259] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 2.380802] pcieport 0000:00:00.0: limiting MRRS to 128 bytes [ 2.386956] pcieport 0000:00:00.0: PME: Signaling with IRQ 51 [ 2.395801] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:195 [ 2.405715] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: enabled [ 2.412405] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66344100, num_proxies:64 [ 2.423343] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:818, gp-rings[304,100] sci-dev-id:187 [ 2.433426] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: enabled [ 2.440117] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66344100, num_proxies:64 [ 2.448667] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 16, base_baud = 6000000) is a 8250 [ 2.458857] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 29, base_baud = 3000000) is a 8250 [ 2.467642] printk: console [ttyS2] enabled [ 2.467642] printk: console [ttyS2] enabled [ 2.476097] printk: bootconsole [ns16550a0] disabled [ 2.476097] printk: bootconsole [ns16550a0] disabled [ 2.487296] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 30, base_baud = 3000000) is a 8250 [ 2.496908] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 31, base_baud = 3000000) is a 8250 [ 2.520285] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode [ 2.565653] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 2.575027] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867 [ 2.583422] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA07100, cpsw version 0x6BA80100 Ports: 2 quirks:00000001 [ 2.596308] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4 [ 2.603532] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64 [ 2.610692] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a2109, freq:200000000, add_val:4 pps:0 [ 2.623260] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a2109, freq:200000000, add_val:4 pps:0 [ 2.632366] thermal thermal_zone1: failed to read out thermal zone (-22) [ 2.641662] mmc0: CQHCI version 5.10 [ 2.653691] pca953x 0-0039: supply vcc not found, using dummy regulator [ 2.660475] pca953x 0-0039: using no AI [ 2.682192] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit [ 2.691428] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc5900 [ 2.698481] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc5900 [ 2.706853] ti-udma 285c0000.dma-controller: Channels: 28 (tchan: 14, rchan: 14, gp-rflow: 16) [ 2.721714] ti-udma 31150000.dma-controller: Channels: 119 (tchan: 53, rchan: 66, gp-rflow: 64) [ 2.741986] spi-nor spi7.0: mt35xu512aba (65536 Kbytes) [ 2.747270] 8 cmdlinepart partitions found on MTD device 47040000.spi.0 [ 2.753882] Creating 8 MTD partitions on "47040000.spi.0": [ 2.759370] 0x000000000000-0x000000080000 : "ospi.tiboot3" [ 2.766331] 0x000000080000-0x000000280000 : "ospi.tispl" [ 2.772896] 0x000000280000-0x000000680000 : "ospi.u-boot" [ 2.777416] mmc0: new HS200 MMC card at address 0001 [ 2.784121] mmcblk0: mmc0:0001 R1J56L 14.7 GiB [ 2.784742] 0x000000680000-0x0000006a0000 : "ospi.env" [ 2.789036] mmcblk0boot0: mmc0:0001 R1J56L partition 1 8.00 MiB [ 2.795080] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup" [ 2.800115] mmcblk0boot1: mmc0:0001 R1J56L partition 2 8.00 MiB [ 2.806778] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw" [ 2.811574] mmcblk0rpmb: mmc0:0001 R1J56L partition 3 4.00 MiB, chardev (237:0) [ 2.818019] 0x000000800000-0x000003fe0000 : "ospi.rootfs" [ 2.830877] 0x000003fe0000-0x000004000000 : "ospi.phypattern" [ 2.848312] spi-nor spi9.0: n25q128a13 (16384 Kbytes) [ 2.856941] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode [ 2.901641] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 2.910997] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867 [ 2.919377] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA07100, cpsw version 0x6BA80100 Ports: 2 quirks:00000001 [ 2.932262] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4 [ 2.939484] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64 [ 2.946370] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a2109, freq:200000000, add_val:4 pps:0 [ 2.957440] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48 [ 2.967774] vdd_mmc1_sd: supplied by vcc3v3_io [ 2.974346] debugfs: Directory 'pd:121' with parent 'pm_genpd' already present! [ 2.974397] mmc1: CQHCI version 5.10 [ 2.981755] debugfs: Directory 'pd:120' with parent 'pm_genpd' already present! [ 2.995186] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 3.022454] ALSA device list: [ 3.025420] No soundcards found. [ 3.712960] mmc1: SDHCI controller on 4fa0000.mmc [4fa0000.mmc] using ADMA 64-bit [ 3.721234] Waiting for root device PARTUUID=25085390-02... [ 3.750206] mmc1: new SDHC card at address 0001 [ 3.755479] mmcblk1: mmc1:0001 SD32G 29.0 GiB [ 3.761816] mmcblk1: p1 p2 [ 4.035179] EXT4-fs (mmcblk1p2): recovery complete [ 4.042476] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) [ 4.050647] VFS: Mounted root (ext4 filesystem) on device 179:98. [ 4.070768] devtmpfs: mounted [ 4.075049] Freeing unused kernel memory: 1920K [ 4.079793] Run /sbin/init as init process [ 4.787816] systemd[1]: System time before build time, advancing clock. [ 4.980728] NET: Registered protocol family 10 [ 4.986586] Segment Routing with IPv6 [ 5.091079] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid) [ 5.113284] systemd[1]: Detected architecture arm64. Welcome to Arago 2021.09! [ 5.147149] systemd[1]: Set hostname to <am65xx-evm>. [ 5.663468] systemd[1]: /lib/systemd/system/irqbalanced.service:6: Unknown key name 'ConditionCPUs' in section 'Unit', ignoring. [ 5.708576] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly. [ 5.871481] random: systemd: uninitialized urandom read (16 bytes read) [ 5.882664] systemd[1]: Created slice system-getty.slice. [ OK ] Created slice system-getty.slice. [ 5.905820] random: systemd: uninitialized urandom read (16 bytes read) [ 5.914595] systemd[1]: Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ 5.937789] random: systemd: uninitialized urandom read (16 bytes read) [ 5.946178] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 5.970129] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ 5.993949] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password R…uests to Wall Directory Watch. [ 6.017962] systemd[1]: Reached target Paths. [ OK ] Reached target Paths. [ 6.033801] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 6.053778] systemd[1]: Reached target Slices. [ OK ] Reached target Slices. [ 6.069809] systemd[1]: Reached target Swap. [ OK ] Reached target Swap. [ 6.119588] systemd[1]: Listening on RPCbind Server Activation Socket. [ OK ] Listening on RPCbind Server Activation Socket. [ 6.141922] systemd[1]: Reached target RPC Port Mapper. [ OK ] Reached target RPC Port Mapper. [ 6.169370] systemd[1]: Listening on Process Core Dump Socket. [ OK ] Listening on Process Core Dump Socket. [ 6.190145] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ 6.217773] systemd[1]: Condition check resulted in Journal Audit Socket being skipped. [ 6.228989] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 6.250458] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 6.270622] systemd[1]: Listening on Network Service Netlink Socket. [ OK ] Listening on Network Service Netlink Socket. [ 6.294314] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 6.314133] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 6.339353] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... [ 6.367250] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 6.395186] systemd[1]: Mounting Kernel Debug File System... Mounting Kernel Debug File System... [ 6.436751] systemd[1]: Mounting Temporary Directory (/tmp)... Mounting Temporary Directory (/tmp)... [ 6.459652] systemd[1]: Starting Create list of static device nodes for the current kernel... Starting Create list of st…odes for the current kernel... [ 6.495780] systemd[1]: Starting Start psplash boot splash screen... Starting Start psplash boot splash screen... [ 6.531630] systemd[1]: Starting RPC Bind... Starting RPC Bind... [ 6.550107] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. [ 6.566793] systemd[1]: Starting Journal Service... Starting Journal Service... [ 6.621542] systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... [ 6.643607] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 6.670062] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) [ 6.672294] systemd[1]: Starting udev Coldplug all Devices... [ 6.681526] cryptodev: loading out-of-tree module taints kernel. Starting udev Coldplug all Devices... [ 6.690467] cryptodev: driver 1.10 loaded. [ 6.706061] systemd[1]: Started RPC Bind. [ OK ] Started RPC Bind. [ 6.722571] systemd[1]: Mounted Huge Pages File System. [ OK ] Mounted Huge Pages File System. [ 6.750436] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Kernel Debug File System. [ OK ] Mounted Temporary Directory (/tmp). [ OK ] Started Create list of sta… nodes for the current kernel. [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 ] Started Load Kernel Modules. [ OK ] Started Remount Root and Kernel File Systems. [ 6.946900] random: systemd-journal: uninitialized urandom read (16 bytes read) [ 6.947839] random: systemd: uninitialized urandom read (16 bytes read) Mounting Kernel Configuration File System.[ 6.968300] random: systemd-journal: uninitialized urandom read (16 bytes read) .. Starting Flush Journal to Persistent Storage... Starting Apply Kernel Variables...[ 7.025593] systemd-journald[187]: Received client request to flush runtime journal. Starting Create Static Device Nodes in /dev... [ OK ] Mounted Kernel Configuration File System. [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started Apply Kernel Variables. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Reached target Local File Systems (Pre). Mounting /media/ram... Mounting /var/volatile... Starting udev Kernel Device Manager... [ 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 udev Coldplug all Devices. Starting udev Wait for Complete Device Initialization... [ OK ] Started Create Volatile Files and Directories. Starting Network Time Synchronization... Starting Update UTMP about System Boot/Shutdown... [ OK ] Started udev Kernel Device Manager. [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Time Set. [ OK ] Reached target System Time Synchronized. [ 7.906403] random: crng init done [ 7.910088] random: 73 urandom warning(s) missed due to ratelimiting [ OK ] Started Load/Save Random Seed. [ 8.050155] [drm] Initialized pvr 1.17.4948957 20110701 for 7000000.gpu on minor 0 [ 8.061578] davinci_mdio b232400.mdio: Configuring MDIO in manual mode [ 8.109716] davinci_mdio b232400.mdio: davinci mdio revision 1.7, bus freq 1000000 [ 8.136406] davinci_mdio b232400.mdio: phy[0]: device b232400.mdio:00, driver TI DP83867 [ 8.146702] davinci_mdio b232400.mdio: phy[3]: device b232400.mdio:03, driver TI DP83867 [ 8.160341] CAN device driver interface [ 8.201815] platform 41000000.r5f: configured R5F for remoteproc mode [ 8.238961] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000 [ 8.253157] remoteproc remoteproc0: 41000000.r5f is available [ 8.258567] m_can_platform 40528000.mcan: m_can device registered (irq=23, version=32) [ 8.311501] remoteproc remoteproc0: powering up 41000000.r5f [ 8.315011] m_can_platform 40568000.mcan: m_can device registered (irq=25, version=32) [ 8.317705] remoteproc remoteproc0: Booting fw image am65x-mcu-r5f0_0-fw, size 82412 [ 8.337398] remoteproc0#vdev0buffer: assigned reserved memory node r5f-dma-memory@a0000000 [ 8.346530] virtio_rpmsg_bus virtio0: rpmsg host is online [ 8.352223] remoteproc0#vdev0buffer: registered virtio0 (type 7) [ 8.354073] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd [ 8.358379] remoteproc remoteproc0: remote processor 41000000.r5f is now up [ 8.366157] cal 6f03000.cal: Neither port is configured, no point in staying up [ 8.381154] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe [ 8.507679] remoteproc remoteproc1: b034000.pru is available [ 8.554672] remoteproc remoteproc2: b004000.rtu is available [ 8.567476] remoteproc remoteproc3: b038000.pru is available [ 8.578227] remoteproc remoteproc4: b006000.rtu is available [ 8.586656] remoteproc remoteproc5: b134000.pru is available [ 8.595538] remoteproc remoteproc6: b104000.rtu is available [ 8.604106] remoteproc remoteproc7: b138000.pru is available [ 8.612363] remoteproc remoteproc8: b106000.rtu is available [ 8.626206] remoteproc remoteproc9: b234000.pru is available [ 8.639770] remoteproc remoteproc10: b204000.rtu is available [ 8.648393] remoteproc remoteproc11: b238000.pru is available [ 8.659973] remoteproc remoteproc12: b206000.rtu is available [ 9.306466] OF: graph: no port node found in /bus@100000/phy@4110000 [ 9.340125] pps pps0: new PPS source ptp2 [ 9.347616] pps pps1: new PPS source ptp3 [ 9.379640] TI DP83867 b232400.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b232400.mdio:00, irq=POLL) [ 9.407702] TI DP83867 b232400.mdio:03: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b232400.mdio:03, irq=POLL) [ 9.422355] icssg-prueth icssg2-eth: TI PRU ethernet driver initialized: dual EMAC mode [ OK ] Reached target Hardware activated USB gadget. [ 9.509375] usbcore: registered new interface driver usbfs [ 9.517524] usbcore: registered new interface driver hub [ 9.523314] usbcore: registered new device driver usb [ 9.574852] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 9.582578] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1 [ 9.593150] xhci-hcd xhci-hcd.2.auto: hcc params 0x0298fe6d hci version 0x110 quirks 0x0000000000010010 [ 9.607251] xhci-hcd xhci-hcd.2.auto: irq 599, io mem 0x04010000 [ 9.615440] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 9.623693] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2 [ 9.633148] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed [ 9.643591] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 9.652230] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.659643] usb usb1: Product: xHCI Host Controller [ 9.664617] usb usb1: Manufacturer: Linux 5.10.168-g2c23e6c538 xhci-hcd [ 9.671318] usb usb1: SerialNumber: xhci-hcd.2.auto [ 9.677159] hub 1-0:1.0: USB hub found [ 9.681107] hub 1-0:1.0: 1 port detected [ 9.685863] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 9.694189] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 9.702532] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.709833] usb usb2: Product: xHCI Host Controller [ 9.714776] usb usb2: Manufacturer: Linux 5.10.168-g2c23e6c538 xhci-hcd [ 9.721448] usb usb2: SerialNumber: xhci-hcd.2.auto [ 9.727222] hub 2-0:1.0: USB hub found [ 9.731077] hub 2-0:1.0: 1 port detected [ 9.735861] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller [ 9.741418] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 3 [ 9.749245] xhci-hcd xhci-hcd.3.auto: hcc params 0x0298fe6d hci version 0x110 quirks 0x0000000000010010 [ 9.758746] xhci-hcd xhci-hcd.3.auto: irq 601, io mem 0x04030000 [ 9.765039] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller [ 9.770565] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 4 [ 9.778252] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed [ 9.785014] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 9.793314] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.800557] usb usb3: Product: xHCI Host Controller [ 9.805493] usb usb3: Manufacturer: Linux 5.10.168-g2c23e6c538 xhci-hcd [ 9.812134] usb usb3: SerialNumber: xhci-hcd.3.auto [ 9.817861] hub 3-0:1.0: USB hub found [ 9.821669] hub 3-0:1.0: 1 port detected [ 9.826186] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 9.834467] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 9.842831] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.850174] usb usb4: Product: xHCI Host Controller [ 9.855090] usb usb4: Manufacturer: Linux 5.10.168-g2c23e6c538 xhci-hcd [ 9.861722] usb usb4: SerialNumber: xhci-hcd.3.auto [ 9.867392] hub 4-0:1.0: USB hub found [ 9.871236] hub 4-0:1.0: 1 port detected [ OK ] Created slice system-systemd\x2dfsck.slice. [ OK ] Found device /dev/mmcblk1p1. [ OK ] Started udev Wait for Complete Device Initialization. [ OK ] Started Hardware RNG Entropy Gatherer Daemon. [ OK ] Reached target System Initialization. [ OK ] Started Daily rotation of log files. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Timers. [ 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. Starting Reboot and dump vmcore via kexec... Starting File System Check on /dev/mmcblk1p1... [ OK ] Listening on Docker Socket for the API. [ OK ] Started Reboot and dump vmcore via kexec. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. [ OK ] Started Job spooling tools. [ OK ] Started Periodic Command Scheduler. [ OK ] Started D-Bus System Message Bus. Starting Print notice about GPLv3 packages... Starting IPv6 Packet Filtering Framework... Starting IPv4 Packet Filtering Framework... [ OK ] Started irqbalance daemon. Starting Telephony service... Starting rc.pvr.service... Starting Login Service... [ OK ] Started TEE Supplicant. [ 11.283329] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ] [ OK ] Started File System Check on /dev/mmcblk1p1. [ OK ] Started IPv6 Packet Filtering Framework. [ OK ] Started IPv4 Packet Filtering Framework. [ OK ] Started rc.pvr.service. [ OK ] Started Telephony service. [ OK ] Reached target Network (Pre). Mounting /run/media/mmcblk1p1... Starting Network Service... Starting weston.service... [ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. [ 12.053705] Bluetooth: Core ver 2.22 [ 12.061665] NET: Registered protocol family 31 [ 12.066188] Bluetooth: HCI device and connection manager initialized [ 12.077688] Bluetooth: HCI socket layer initialized [ 12.082631] Bluetooth: L2CAP socket layer initialized [ 12.087746] Bluetooth: SCO socket layer initialized [ OK ] Started weston.service. Starting telnetd.service... [ OK ] Started telnetd.service. [ OK ] Mounted /run/media/mmcblk1p1. [ OK ] Started Login Service. [ OK ] Started Network Service. Starting Wait for Network to be Configured... Starting Network Name Resolution... [ 12.406569] remoteproc remoteproc11: powering up b238000.pru [ 12.432977] remoteproc remoteproc11: Booting fw image ti-pruss/am65x-pru1-prueth-fw.elf, size 17008 [ 12.453826] remoteproc remoteproc11: remote processor b238000.pru is now up [ 12.481761] remoteproc remoteproc12: powering up b206000.rtu [ 12.498259] remoteproc remoteproc12: Booting fw image ti-pruss/am65x-rtu1-prueth-fw.elf, size 15588 [ 12.512103] remoteproc remoteproc12: remote processor b206000.rtu is now up [ 12.521393] net eth2: started [ 12.554289] remoteproc remoteproc9: powering up b234000.pru [ 12.568488] remoteproc remoteproc9: Booting fw image ti-pruss/am65x-pru0-prueth-fw.elf, size 16992 [ 12.581713] remoteproc remoteproc9: remote processor b234000.pru is now up [ 12.588735] remoteproc remoteproc10: powering up b204000.rtu [ 12.600233] remoteproc remoteproc10: Booting fw image ti-pruss/am65x-rtu0-prueth-fw.elf, size 15588 [ 12.629748] remoteproc remoteproc10: remote processor b204000.rtu is now up [ 12.643525] net eth1: started [ 12.773768] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL) [ 12.833674] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode [ OK ] Started Network Name Resolution. [ OK ] Reached target Network. [ OK ] Reached target Host and Network Name Lookups. Starting Avahi mDNS/DNS-SD Stack... Starting Enable and configure wl18xx bluetooth stack... [ OK ] Started NFS status monitor for NFSv2/3 locking.. Starting Simple Network Ma…ent Protocol (SNMP) Daemon.... Starting Permit User Sessions... [ OK ] Started Permit User Sessions. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS1. [ OK ] Started Serial Getty on ttyS2. [ OK ] Reached target Login Prompts. Starting Synchronize System and HW clocks... [ OK ] Started Enable and configure wl18xx bluetooth stack. [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 ] Started Simple Network Man…ement Protocol (SNMP) Daemon.. *************************************************************** *************************************************************** NOTICE: This file system contains the following GPLv3 packages: autoconf bash-dev bash bc binutils cifs-utils coreutils-stdbuf coreutils cpio cpp-symlinks cpp dosfstools elfutils g++-symlinks g++ gawk gcc-symlinks gcc gdb gdbserver gettext glmark2 gstreamer1.0-libav-dev gstreamer1.0-libav gzip hidapi less libasm1 libbfd libdw1 libelf1 libgdbm-compat4 libgdbm-dev libgdbm6 libgettextlib libgettextsrc libgmp-dev libgmp10 libgmpxx4 libidn2-0 libidn2-dev libmpc3 libmpfr6 libreadline-dev libreadline8 libunistring-dev libunistring2 m4-dev m4 make nettle-dev nettle parted pdm-anomaly-detection python3-rfc3987 python3-strict-rfc3339 tar which zeromq If you do not wish to distribute GPLv3 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** [ OK ] Started Print notice about GPLv3 packages. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project am65xx-evm ttyS2 Arago 2021.09 am65xx-evm ttyS2 am65xx-evm login: [ 136.934264] Initializing XFRM netlink socket [ 142.167619] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 142.188072] Bridge firewalling registered [ 143.835682] process 'docker/tmp/qemu-check402489254/check' started with executable stack am65xx-evm login: root root@am65xx-evm:~# sudo ptp4l -i eth0 -m -2 -P -l 6 -q -f $HOME/ptp_config.cfg ptp4l[237.143]: selected /dev/ptp1 as PTP clock ptp4l[237.581]: port 1 (eth0): INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[237.582]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[237.582]: port 1: link down ptp4l[237.582]: port 1 (eth0): LISTENING to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED) ptp4l[237.916]: selected best master clock f4844c.fffe.ed2cf2 ptp4l[237.916]: selected local clock f4844c.fffe.ed2cf2 as best master [ 296.506855] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 296.515469] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready ptp4l[296.428]: port 1: link up ptp4l[296.714]: port 1 (eth0): FAULTY to LISTENING on INIT_COMPLETE ptp4l[300.006]: port 1: announce timeout ptp4l[300.007]: port 1 (eth0): LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES ptp4l[300.007]: selected best master clock f4844c.fffe.ed2cf2 ptp4l[300.007]: selected local clock f4844c.fffe.ed2cf2 as best master ptp4l[300.007]: port 1: assuming the grand master role
========================== L2 Multi-channel Test ========================== Init all peripheral clocks ---------------------------------------------- Enabling clocks! Create RX tasks ---------------------------------------------- cpsw-3g: Create RX task Open all peripherals ---------------------------------------------- cpsw-3g: Open enet EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 4 To 2 Init all configs ---------------------------------------------- cpsw-3g: init config Mdio_open: MDIO Manual_Mode enabled cpsw-3g: Open port 1 EnetPhy_bindDriver: PHY 0: OUI:080028 Model:23 Ver:01 <-> 'dp83867' : OK PHY 0 is alive Attach core id 1 on all peripherals ---------------------------------------------- cpsw-3g: Attach core cpsw-3g: Open DMA initQs() freePktInfoQ initialized with 16 pkts initQs() freePktInfoQ initialized with 16 pkts cpsw-3g: Waiting for link up... Cpsw_handleLinkUp: Port 1: Link up: 1-Gbps Full-Duplex MAC Port 1: link up cpsw-3g: MAC port addr: 34:08:e1:80:b5:c0 TimeSync PTP enabled Enet Multi-channel Menu: 'c' - GetCurrentTime 't' - Toggle Printing timestamps 's' - Print statistics 'r' - Reset statistics 'm' - Show allocated MAC addresses 'p' - Enable Policer for rate limiting 'x' - Stop the test Enet_validateIoctl: Malformed IOCTL cmd 0x01000304 prms 7011FB64 inArgs 7011FB58 / 8 outArg 00000000 / 0 Enet_validateIoctl: Malformed IOCTL Assertion @ Line: 1486 in /nightlybuilds/mcupsdk_internal/jenkins/mcu_plus_sdk_am243x_08_06_00_45/source/networking/enet/core/src/core/enet.c: status == ENET_SOK
Could you tell me how to fix the issue?
Unfortunately we do not have a Linux PC with a NIC that supports PTP.
Is a Linux PC required as a PTP broadcaster for the demo to work?
Best regards,
Daisuke
Hello Daisuke,
I see the issue is only present in debug build (Can you confirm the same?), I root caused the issue, this is because of the incorrect ioctl parameters validation (ioctl params validation only happens in debug mode). We see that this is a bug introduced in 8.6. Unfortunately, our testing didn't cover the debug mode of this application. We will fix this bug in the upcoming release.
For now, Please use release mode of this application. If you want to use debug mode, Please use the below work around in mcu_plus_sdk/source/networking/enet/core/src/core/enet.c to avoid the assert. (at line number: 517). Proper fix will be coming in the upcoming release.
ENET_IOCTL_VALID_PRMS(ENET_TIMESYNC_IOCTL_SET_TIMESTAMP, - sizeof(EnetTimeSync_setTimestamp), + sizeof(uint64_t), 0U),
Please clean and re-build the libs after making this change
make -s -f makefile.am243x libs-clean
make -s -f makefile.am243x libs
Regards
Susheel