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.

AM68A: Linux device tree spi-max-frequency

Part Number: AM68A
Other Parts Discussed in Thread: AM67, AM68

Tool/software:

Hello,

While configuring a spi device in our device tree, I noticed that the spi clock shown on my scope is roughly 3x less than what I specify for the spi-max-frequency parameter in the spi device's node. Why is that? Is there another clock I need to configure in the device tree?

I'm using the Linux SDK v 10.00.00.08 on a custom board.

Thanks!

  • Hi Amandio,

    Max is different from actual clock being used. I found this past E2E thread that reports similar behavior: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1365643/tda4vh-q1-vh-change-spi-max-frequency-of-ospi/5286765?tisearch=e2e-sitesearch&keymatch=spi-max-frequency#5286765

    Additionally, there is a hardware limitation on what clock rate can be achieved through divider values. Attached is a screenshot from TRM:

    Regards,

    Takuma

  • Hi Takuma,

    Thanks for the response! I read through the post you linked and if I'm understanding it correctly the experience is different. In the post you linked, the user is seeing a clock rate getting coerced to the closest support rate. What I'm seeing is linear across any rate I specify for spi-max-frequency which gets divided by about 3.

    For example, when I set spi-max-frequency to 48 MHz I measure a clock rate of about 16.6 MHz which is roughly 3x less. I've seen the same table you posted in the TRM and 16.6MHz is not listed there. It sounds like the clock rate should have been coerced to either 50MHz or 25MHz but that's not the case.

    Here's the output of k3conf when I dump the clocks for dev id 341 which is main_spi2 in my case when spi-max-frequency is to 48000000 (48MHz):

    |------------------------------------------------------------------------------|
    | VERSION INFO                                                                 |
    |------------------------------------------------------------------------------|
    | K3CONF | (version 0.3-nogit built Thu Jul 25 14:13:02 UTC 2024)              |
    | SoC    | J721S2 SR1.0                                                        |
    | SYSFW  | ABI: 4.0 (firmware version 0x000a '10.0.8--v10.00.08 (Fiery Fox))') |
    |------------------------------------------------------------------------------|
    
    |---------------------------------------------------------------------------------------------------------------------------|
    | Device ID | Clock ID | Clock Name                                                 | Status              | Clock Frequency |
    |---------------------------------------------------------------------------------------------------------------------------|
    |   341     |     0    | DEV_MCSPI2_IO_CLKSPIO_CLK                                  | CLK_STATE_READY     | 0               |
    |   341     |     1    | DEV_MCSPI2_VBUSP_CLK                                       | CLK_STATE_READY     | 125000000       |
    |   341     |     2    | DEV_MCSPI2_CLKSPIREF_CLK                                   | CLK_STATE_READY     | 50000000        |
    |   341     |     3    | DEV_MCSPI2_IO_CLKSPII_CLK                                  | CLK_STATE_READY     | 0               |
    |   341     |     4    | DEV_MCSPI2_IO_CLKSPII_CLK_PARENT_BOARD_0_SPI2_CLK_OUT      | CLK_STATE_READY     | 0               |
    |   341     |     5    | DEV_MCSPI2_IO_CLKSPII_CLK_PARENT_SPI_MAIN_2_IO_CLKSPIO_CLK | CLK_STATE_NOT_READY | 0               |
    |---------------------------------------------------------------------------------------------------------------------------|
    


    Can you provide some more insight into this?

    Thanks!

  • Hi Amandio,

    Thanks for the k3conf dump. It looks like SPI clock is set to 50MHz, which is the closest to 48MHz. 16.6MHz is 1/3 of that, so that is strange to hear.

    3 questions:

    • Which pin is connected to measure the clock? I ask because there are some clocks that have a observation pin which divides down the clock for scope measurements, since the clock is too fast. Usually for internal clocks, but want to check if something similar is happening for SPI
    • What SPI device is connected? Aka, is this spidev, spi-nor, or some other SPI driver? I want to check to see if there is anything in device driver that divides down clock.
    • Can you put a "#define DEBUG" at the top of spi-omap2-mcspi.c and rebuild the driver? This should enable some extra debug logs: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/drivers/spi/spi-omap2-mcspi.c?h=ti-linux-6.6.y. Afterwards, please share the logs from dmesg.

    Regards,

    Takuma

  • Hi Takuma,

    I've measured the clocks on both main_spi2 and main_spi5 clock pins. So AB25 for SPI2_CLK and T27 for SPI5_CLK. I can reproduce the same behavior on either mcspi instance and k3conf clock output is the same for each instance as well.

    On main_spi2, we've connected the ATWILC3000 from Microchip. We are not using the current in tree driver, rather the driver that Microchip is actively maintaining via their own Linux fork. You can find it here: https://github.com/linux4microchip/linux/tree/linux-6.6-mchp/drivers/net/wireless/microchip/wilc1000

    On main_spi5, we're just using spi-dev for spi communication.

    Here are the logs you've requested after rebuilding the mcspi driver with the DEBUG macro defined. Just a note in the log, spi1.0 is main_spi2 which is connected to the Microchip ATWILC3000 and spi2.0 is main_spi5 which is using spi-dev.

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.6.32+ (amandio@DESKTOP-UJC140B) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240620) #10 SMP PREEMPT Fri Feb  7 11:59:59 EST 2025
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Company Name Product Name
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002830000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000bc8000000, size 896 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000bc8000000..0x0000000bffffffff (917504 KiB) map reusable linux,cma
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    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] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a0000000
    [    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] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-memory@a0100000
    [    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] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a1000000
    [    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] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-memory@a1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a2000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-memory@a2100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3000000..0x00000000a30fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a3000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-memory@a3100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a40fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a4000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4100000..0x00000000a4ffffff (15360 KiB) nomap non-reusable r5f-memory@a4100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5000000..0x00000000a50fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a5000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5100000..0x00000000a5ffffff (15360 KiB) nomap non-reusable r5f-memory@a5100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6000000..0x00000000a60fffff (1024 KiB) nomap non-reusable c71-dma-memory@a6000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6100000..0x00000000a6ffffff (15360 KiB) nomap non-reusable c71-memory@a6100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7000000..0x00000000a70fffff (1024 KiB) nomap non-reusable c71-dma-memory@a7000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7100000..0x00000000a7ffffff (15360 KiB) nomap non-reusable c71-memory@a7100000
    [    0.000000] OF: reserved mem: 0x00000000a8000000..0x00000000a9bfffff (28672 KiB) nomap non-reusable ipc-memories@a8000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x0000000bffffffff]
    [    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-0x00000000a9bfffff]
    [    0.000000]   node   0: [mem 0x00000000a9c00000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x0000000bffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000bffffffff]
    [    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 s43112 r8192 d30616 u81920
    [    0.000000] pcpu-alloc: s43112 r8192 d30616 u81920 alloc=20*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS3,115200n8 earlycon=ns16550a,mmio32,0x02830000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=9dadd190-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 4128768
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 15267576K/16777216K available (12352K kernel code, 1442K rwdata, 4400K rodata, 2752K init, 506K bss, 592136K reserved, 917504K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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=2.
    [    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=2
    [    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] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    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] 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.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008432] Console: colour dummy device 80x25
    [    0.013013] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023703] pid_max: default: 32768 minimum: 301
    [    0.028476] LSM: initializing lsm=capability,integrity
    [    0.033821] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.041610] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.050816] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.058095] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.065971] rcu: Hierarchical SRCU implementation.
    [    0.070880] rcu: 	Max phase no-delay instances is 1000.
    [    0.076590] Platform MSI: msi-controller@1820000 domain created
    [    0.082825] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.092258] EFI services will not be available.
    [    0.097037] smp: Bringing up secondary CPUs ...
    [    0.110176] Detected PIPT I-cache on CPU1
    [    0.110228] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.110243] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.110278] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.110342] smp: Brought up 1 node, 2 CPUs
    [    0.139737] SMP: Total of 2 processors activated.
    [    0.144551] CPU features: detected: 32-bit EL0 Support
    [    0.149815] CPU features: detected: CRC32 instructions
    [    0.155102] CPU: All CPU(s) started at EL2
    [    0.159292] alternatives: applying system-wide alternatives
    [    0.165957] devtmpfs: initialized
    [    0.176700] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.186705] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.205068] pinctrl core: initialized pinctrl subsystem
    [    0.210745] DMI not present or invalid.
    [    0.215027] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.221771] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.229442] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.237798] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.246036] audit: initializing netlink subsys (disabled)
    [    0.251677] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
    [    0.251901] thermal_sys: Registered thermal governor 'step_wise'
    [    0.259614] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.265783] cpuidle: using governor menu
    [    0.276555] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.283541] ASID allocator initialised with 65536 entries
    [    0.297245] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.305566] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dsi@4800000/panel@0
    [    0.314827] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.323145] platform 4a00000.dss: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    0.332562] Modules: 27360 pages in range for non-PLT usage
    [    0.332566] Modules: 518880 pages in range for PLT usage
    [    0.338769] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.351162] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.357576] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.364524] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.370936] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.377882] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.384294] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.391240] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.398516] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
    [    0.407644] iommu: Default domain type: Translated
    [    0.412571] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.419047] SCSI subsystem initialized
    [    0.422985] libata version 3.00 loaded.
    [    0.423074] usbcore: registered new interface driver usbfs
    [    0.428704] usbcore: registered new interface driver hub
    [    0.434157] usbcore: registered new device driver usb
    [    0.439563] pps_core: LinuxPPS API ver. 1 registered
    [    0.444646] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.453998] PTP clock support registered
    [    0.458108] EDAC MC: Ver: 3.0.0
    [    0.461574] scmi_core: SCMI protocol bus registered
    [    0.466729] FPGA manager framework
    [    0.470249] Advanced Linux Sound Architecture Driver Initialized.
    [    0.476951] vgaarb: loaded
    [    0.479889] clocksource: Switched to clocksource arch_sys_counter
    [    0.486278] VFS: Disk quotas dquot_6.6.0
    [    0.490323] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.500758] NET: Registered PF_INET protocol family
    [    0.506120] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.518999] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    0.527937] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.535880] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.544575] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
    [    0.553210] TCP: Hash tables configured (established 131072 bind 65536)
    [    0.560118] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.567257] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.574958] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.581125] RPC: Registered named UNIX socket transport module.
    [    0.587203] RPC: Registered udp transport module.
    [    0.592015] RPC: Registered tcp transport module.
    [    0.596828] RPC: Registered tcp-with-tls transport module.
    [    0.602439] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.609035] NET: Registered PF_XDP protocol family
    [    0.613948] PCI: CLS 0 bytes, default 64
    [    0.618652] Initialise system trusted keyrings
    [    0.623341] workingset: timestamp_bits=46 max_order=22 bucket_order=0
    [    0.630133] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.636272] NFS: Registering the id_resolver key type
    [    0.641472] Key type id_resolver registered
    [    0.645751] Key type id_legacy registered
    [    0.649859] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.656719] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.677962] Key type asymmetric registered
    [    0.682152] Asymmetric key parser 'x509' registered
    [    0.687180] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.694850] io scheduler mq-deadline registered
    [    0.699496] io scheduler kyber registered
    [    0.703619] io scheduler bfq registered
    [    0.709390] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.715379] pinctrl-single 4301c038.pinctrl: 11 pins, size 44
    [    0.721360] pinctrl-single 4301c068.pinctrl: 72 pins, size 288
    [    0.727445] pinctrl-single 4301c190.pinctrl: 1 pins, size 4
    [    0.733264] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.739355] pinctrl-single 104200.pinctrl: 20 pins, size 80
    [    0.745132] pinctrl-single 104280.pinctrl: 8 pins, size 32
    [    0.754273] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.766039] loop: module loaded
    [    0.769918] megasas: 07.725.01.00-rc1
    [    0.775483] tun: Universal TUN/TAP device driver, 1.6
    [    0.781312] VFIO - User Level meta-driver version: 0.3
    [    0.787181] usbcore: registered new interface driver usb-storage
    [    0.793672] i2c_dev: i2c /dev entries driver
    [    0.798677] sdhci: Secure Digital Host Controller Interface driver
    [    0.805010] sdhci: Copyright(c) Pierre Ossman
    [    0.809578] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.815675] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.821984] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.828995] usbcore: registered new interface driver usbhid
    [    0.834706] usbhid: USB HID core driver
    [    0.839464] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.848108] optee: probing for conduit method.
    [    0.852672] optee: revision 4.2 (12d7c4ee)
    [    0.869162] optee: dynamic shared memory is enabled
    [    0.878818] random: crng init done
    [    0.882371] optee: initialized driver
    [    0.887432] Initializing XFRM netlink socket
    [    0.891842] NET: Registered PF_PACKET protocol family
    [    0.897062] Key type dns_resolver registered
    [    0.904952] registered taskstats version 1
    [    0.909222] Loading compiled-in X.509 certificates
    [    0.920609] ti-sci 44083000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    0.973048] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.979490] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.985354] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
    [    0.993964] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
    [    1.003334] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
    [    1.012013] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
    [    1.022506] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    1.029481] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    1.038873] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
    [    1.048780] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.055551] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.064970] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
    [    1.075161] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.081932] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.090127] 2810000.serial: ttyS1 at MMIO 0x2810000 (irq = 228, base_baud = 3000000) is a 8250
    [    1.099667] 2830000.serial: ttyS3 at MMIO 0x2830000 (irq = 229, base_baud = 3000000) is a 8250
    [    1.108579] printk: console [ttyS3] enabled
    [    1.117102] printk: bootconsole [ns16550a0] disabled
    [    1.128541] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.171894] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.181954] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.190236] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.203095] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.210304] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.216623] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.227124] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:200000000, add_val:4 pps:0
    [    1.235802] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [    1.242658] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [    1.249538] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [    1.256370] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [    1.266374] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.276788] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16)
    [    1.287127] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.331895] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.341955] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.350241] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.363107] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.370318] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.376598] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.391560] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.401489] mmc0: CQHCI version 5.10
    [    1.403619] clk: Disabling unused clocks
    [    1.415748] ALSA device list:
    [    1.418780]   No soundcards found.
    [    1.442520] mmc0: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    1.450168] Waiting for root device PARTUUID=9dadd190-02...
    [    1.485251] mmc0: new high speed SDHC card at address aaaa
    [    1.491154] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
    [    1.500282]  mmcblk0: p1 p2
    [    1.532342] EXT4-fs (mmcblk0p2): mounted filesystem d88879a7-aaa7-46a6-ab32-21f4d3c680cd r/w with ordered data mode. Quota mode: none.
    [    1.544458] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.560872] devtmpfs: mounted
    [    1.564897] Freeing unused kernel memory: 2752K
    [    1.569541] Run /sbin/init as init process
    [    1.573636]   with arguments:
    [    1.573640]     /sbin/init
    [    1.573643]   with environment:
    [    1.573645]     HOME=/
    [    1.573648]     TERM=linux
    [    2.129250] systemd[1]: System time before build time, advancing clock.
    [    2.222206] NET: Registered PF_INET6 protocol family
    [    2.227820] Segment Routing with IPv6
    [    2.231503] In-situ OAM (IOAM) with IPv6
    [    2.300819] systemd[1]: systemd 255.4^ 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 -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    2.332608] systemd[1]: Detected architecture arm64.
    [    2.367473] systemd[1]: Hostname set to <am68-sk>.
    [    2.488795] systemd-sysv-generator[86]: SysV service '/etc/init.d/edgeai-launcher.sh' 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 safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
    [    2.641033] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.713692] 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.776349] systemd[1]: Queued start job for default target Graphical Interface.
    [    2.819243] systemd[1]: Created slice Slice /system/getty.
    [    2.841369] systemd[1]: Created slice Slice /system/modprobe.
    [    2.865185] systemd[1]: Created slice Slice /system/serial-getty.
    [    2.888856] systemd[1]: Created slice User and Session Slice.
    [    2.912179] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    2.936070] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    2.959998] systemd[1]: Expecting device /dev/ttyS3...
    [    2.976028] systemd[1]: Reached target Path Units.
    [    2.991968] systemd[1]: Reached target Remote File Systems.
    [    3.011945] systemd[1]: Reached target Slice Units.
    [    3.027958] systemd[1]: Reached target Swaps.
    [    3.067284] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    3.092094] systemd[1]: Reached target RPC Port Mapper.
    [    3.117551] systemd[1]: Listening on Process Core Dump Socket.
    [    3.140197] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    3.164613] systemd[1]: Listening on Journal Audit Socket.
    [    3.188350] systemd[1]: Listening on Journal Socket (/dev/log).
    [    3.212336] systemd[1]: Listening on Journal Socket.
    [    3.232535] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.261975] systemd[1]: Listening on udev Control Socket.
    [    3.284318] systemd[1]: Listening on udev Kernel Socket.
    [    3.304296] systemd[1]: Listening on User Database Manager Socket.
    [    3.352161] systemd[1]: Mounting Huge Pages File System...
    [    3.374458] systemd[1]: Mounting POSIX Message Queue File System...
    [    3.419827] systemd[1]: Mounting Kernel Debug File System...
    [    3.440323] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.458718] systemd[1]: Mounting Temporary Directory /tmp...
    [    3.485687] systemd[1]: Starting Create List of Static Device Nodes...
    [    3.516605] systemd[1]: Starting Load Kernel Module configfs...
    [    3.544585] systemd[1]: Starting Load Kernel Module drm...
    [    3.564581] systemd[1]: Starting Load Kernel Module fuse...
    [    3.608874] systemd[1]: Starting Start psplash boot splash screen...
    [    3.635773] fuse: init (API version 7.39)
    [    3.653614] systemd[1]: Starting RPC Bind...
    [    3.658357] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    3.679113] systemd[1]: Starting Journal Service...
    [    3.732689] systemd[1]: Starting Load Kernel Modules...
    [    3.772448] systemd-journald[104]: Collecting audit messages is enabled.
    [    3.777222] systemd[1]: Starting Generate network units from Kernel command line...
    [    3.824578] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.864150] EXT4-fs (mmcblk0p2): re-mounted d88879a7-aaa7-46a6-ab32-21f4d3c680cd r/w. Quota mode: none.
    [    3.876434] systemd[1]: Starting Coldplug All udev Devices...
    [    3.901108] systemd[1]: Started RPC Bind.
    [    3.920413] systemd[1]: Started Journal Service.
    [    4.299552] systemd-journald[104]: Received client request to flush runtime journal.
    [    4.557641] audit: type=1334 audit(1709054766.424:2): prog-id=6 op=LOAD
    [    4.564684] audit: type=1334 audit(1709054766.432:3): prog-id=7 op=LOAD
    [    4.747602] audit: type=1334 audit(1709054766.612:4): prog-id=8 op=LOAD
    [    4.786180] audit: type=1334 audit(1709054766.652:5): prog-id=9 op=LOAD
    [    4.835977] audit: type=1334 audit(1709054766.700:6): prog-id=10 op=LOAD
    [    4.853197] audit: type=1334 audit(1709054766.700:7): prog-id=11 op=LOAD
    [    4.865969] audit: type=1334 audit(1709054766.700:8): prog-id=12 op=LOAD
    [    5.631982] audit: type=1334 audit(1740087835.716:9): prog-id=13 op=LOAD
    [    5.640623] spi spi0.0: setup: speed 20833333, sample leading edge, clk normal
    [    5.640770] spi spi0.1: setup: speed 20833333, sample leading edge, clk normal
    [    5.649982] spi spi1.0: setup: speed 41666666, sample leading edge, clk normal
    [    5.654226] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a6000000
    [    5.674782] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
    [    5.696490] mc: Linux media interface: v0.10
    [    5.701302] spi spi2.0: setup: speed 41666666, sample leading edge, clk normal
    [    5.776664] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c
    [    5.789049] remoteproc remoteproc0: 64800000.dsp is available
    [    5.809104] remoteproc remoteproc0: attaching to 64800000.dsp
    [    5.818867] remoteproc remoteproc0: rsc table is truncated
    [    5.827323] remoteproc remoteproc0: Failed to process resources: -22
    [    5.839485] k3-dsp-rproc 64800000.dsp: error -EINVAL: failed to add register device with remoteproc core
    [    5.862534] cdns-dsi 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dsi@4800000/panel@0
    [    5.874465] videodev: Linux video capture interface: v2.00
    [    5.884653] k3-dsp-rproc: probe of 64800000.dsp failed with error -22
    [    5.898426] mipi-dsi 4800000.dsi.0: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    5.928710] remoteproc remoteproc0: releasing 64800000.dsp
    [    5.971134] k3-dsp-rproc 65800000.dsp: assigned reserved memory node c71-dma-memory@a7000000
    [    5.986289] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    6.003726] k3-dsp-rproc 65800000.dsp: configured DSP for IPC-only mode
    [    6.013215] remoteproc remoteproc0: 65800000.dsp is available
    [    6.019258] remoteproc remoteproc0: attaching to 65800000.dsp
    [    6.026900] remoteproc remoteproc0: rsc table is truncated
    [    6.034898] remoteproc remoteproc0: Failed to process resources: -22
    [    6.044106] k3-dsp-rproc 65800000.dsp: error -EINVAL: failed to add register device with remoteproc core
    [    6.055121] k3-dsp-rproc: probe of 65800000.dsp failed with error -22
    [    6.066666] platform 41000000.r5f: configured R5F for IPC-only mode
    [    6.074762] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    6.092271] remoteproc remoteproc1: 41000000.r5f is available
    [    6.098093] remoteproc remoteproc0: releasing 65800000.dsp
    [    6.102142] remoteproc remoteproc1: attaching to 41000000.r5f
    [    6.117788] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    6.139506] rproc-virtio rproc-virtio.0.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [    6.180959] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    6.187228] rproc-virtio rproc-virtio.0.auto: registered virtio0 (type 7)
    [    6.195816] remoteproc remoteproc1: remote processor 41000000.r5f is now attached
    [    6.203403] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.211058] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    6.225918] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    6.240693] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.250474] remoteproc remoteproc0: 5c00000.r5f is available
    [    6.256225] remoteproc remoteproc0: attaching to 5c00000.r5f
    [    6.263514] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [    6.270156] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.280761] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    6.286360] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    6.287426] rproc-virtio rproc-virtio.1.auto: registered virtio1 (type 7)
    [    6.300661] remoteproc remoteproc0: remote processor 5c00000.r5f is now attached
    [    6.317177] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    6.324473] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    6.336111] pvrsrvkm: loading out-of-tree module taints kernel.
    [    6.350598] remoteproc remoteproc2: 5d00000.r5f is available
    [    6.356857] remoteproc remoteproc2: attaching to 5d00000.r5f
    [    6.359419] PVR_K:  178: Device: 4e20000000.gpu
    [    6.371510] remoteproc remoteproc2: rsc table is truncated
    [    6.379918] remoteproc remoteproc2: Failed to process resources: -22
    [    6.389590] k3_r5_rproc bus@100000:r5fss@5c00000: rproc_add failed, ret = -22
    [    6.401865] PVR_K:  178: Read BVNC 36.53.104.796 from HW device registers
    [    6.406956] remoteproc remoteproc2: releasing 5d00000.r5f
    [    6.414952] PVR_K:  178: RGX Device registered BVNC 36.53.104.796 with 1 core in the system
    [    6.423524] platform 5c00000.r5f: R5F core deinitialized in IPC-only mode
    [    6.435804] [drm] Initialized pvr 24.1.6554834 20170530 for 4e20000000.gpu on minor 0
    [    6.443659] remoteproc remoteproc0: detached remote processor 5c00000.r5f
    [    6.468543] remoteproc remoteproc0: releasing 5c00000.r5f
    [    6.479325] k3_r5_rproc bus@100000:r5fss@5c00000: k3_r5_cluster_rproc_init failed, ret = -22
    [    6.492738] k3_r5_rproc: probe of bus@100000:r5fss@5c00000 failed with error -22
    [    6.504251] platform 5e00000.r5f: configured R5F for remoteproc mode
    [    6.510920] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
    [    6.520509] remoteproc remoteproc0: 5e00000.r5f is available
    [    6.539825] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    6.556367] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    6.562499] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    6.564395] vdec 4210000.video-codec: Added wave5 driver with caps: 'ENCODE' 'DECODE'
    [    6.571751] remoteproc remoteproc0: loading /lib/firmware/j721s2-main-r5f1_0-fw failed with error -22
    [    6.577584] vdec 4210000.video-codec: Product Code:      0x521c
    [    6.577588] vdec 4210000.video-codec: Firmware Revision: 320127
    [    6.599026] remoteproc remoteproc0: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -22
    [    6.614263] remoteproc remoteproc0: powering up 5e00000.r5f
    [    6.621095] remoteproc remoteproc0: loading /lib/firmware/j721s2-main-r5f1_0-fw failed with error -22
    [    6.630590] remoteproc remoteproc0: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -22
    [    6.646573] remoteproc remoteproc0: request_firmware failed: -22
    [    6.698426] wilc1000_spi spi1.0: WILC SPI probe success
    [    6.866448] dbus-broker-lau[261]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [    6.878958] audit: type=1334 audit(1740087836.960:10): prog-id=14 op=LOAD
    [    6.890738] audit: type=1334 audit(1740087836.972:11): prog-id=15 op=LOAD
    [    6.903482] audit: type=1334 audit(1740087836.980:12): prog-id=16 op=LOAD
    [    6.977282] input: ILI210x Touchscreen as /devices/platform/bus@100000/2000000.i2c/i2c-1/1-0041/input/input0
    [    6.994293] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 1
    [    7.616854] Bluetooth: Core ver 2.22
    [    7.616938] NET: Registered PF_BLUETOOTH protocol family
    [    7.616941] Bluetooth: HCI device and connection manager initialized
    [    7.616952] Bluetooth: HCI socket layer initialized
    [    7.616958] Bluetooth: L2CAP socket layer initialized
    [    7.616969] Bluetooth: SCO socket layer initialized
    [    7.915962] Console: switching to colour frame buffer device 128x37
    [    7.965554] tidss 4a00000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [    8.044186] audit: type=1334 audit(1740087838.124:13): prog-id=17 op=LOAD
    [    8.358191] wilc1000_spi spi1.0 wlan0: INFO [dump_station]Dumping station information
    [    8.539931] k3_r5_rproc bus@100000:r5fss@5e00000: Timed out waiting for 5e00000.r5f core to power up!
    [   11.387914] wilc1000_spi spi1.0 wlan0: ERR [wilc_send_config_pkt:1831] Get Timed out
    [   11.395672] wilc1000_spi spi1.0 wlan0: Failed to get RSSI value
    [   11.421883] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [   11.431454] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [   11.443582] wilc1000_spi spi1.0 wlan0: INFO [wilc_mac_open]MAC OPEN[000000007dc62240] wlan0
    [   11.453572] WILC POWER UP
    [   11.456210] wilc1000_spi spi1.0 wlan0: INFO [wilc_init_host_int]Host[000000007dc62240][00000000abdf710a]
    [   11.465768] wilc1000_spi spi1.0 wlan0: INFO [wilc_mac_open]*** re-init ***
    [   11.472692] wilc1000_spi spi1.0 wlan0: INFO [wilc_wlan_init]Initializing WILC_Wlan
    [   11.496768] wilc1000_spi spi1.0 wlan0: INFO [init_chip]Bootrom sts = c
    [   11.503531] wilc1000_spi spi1.0 wlan0: INFO [wlan_initialize_threads]Initializing Threads ...
    [   11.512952] wilc1000_spi spi1.0 wlan0: INFO [wlan_initialize_threads]Creating kthread for transmission
    [   11.525271] wilc1000_spi spi1.0 wlan0: INFO [wlan_initialize_threads]Creating kthread for Debugging
    [   11.543735] wilc1000_spi spi1.0 wlan0: INFO [init_irq]IRQ request succeeded IRQ-NUM= 250
    [   11.554372] Detect chip WILC3000
    [   11.557867] loading firmware mchp/wilc3000_wifi_firmware.bin
    [   11.611570] Downloading Firmware ...
    [   11.722620] Download Succeeded
    [   11.725744] wilc1000_spi spi1.0 wlan0: INFO [wilc_start_firmware]Starting Firmware ...
    [   11.743626] wilc1000_spi spi1.0 wlan0: INFO [wilc_start_firmware]Waiting for FW to get ready ...
    [   11.846831] wilc1000_spi spi1.0 wlan0: INFO [wilc_start_firmware]Firmware successfully started
    [   12.599582] audit: type=1006 audit(1740087842.680:14): pid=843 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [   12.612277] audit: type=1300 audit(1740087842.680:14): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffd3198e38 a2=4 a3=1 items=0 ppid=1 pid=843 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   12.639029] audit: type=1327 audit(1740087842.680:14): proctitle="(systemd)"
    [   13.081531] audit: type=1006 audit(1740087843.160:15): pid=834 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [   13.094014] audit: type=1300 audit(1740087843.160:15): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc32ef208 a2=4 a3=1 items=0 ppid=1 pid=834 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   13.120535] audit: type=1327 audit(1740087843.160:15): proctitle="(weston)"
    [   14.186793] PVR_K:  834: RGX Firmware image 'rgx.fw.36.53.104.796' loaded
    [   14.212137] PVR_K:  834: Shader binary image 'rgx.sh.36.53.104.796' loaded
    [   15.517016] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   17.021720] audit: type=1701 audit(1740087847.104:16): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=970 comm="edgeai-gui-app" exe="/usr/bin/edgeai-gui-app" sig=11 res=1
    [   18.043913] wilc1000_spi spi1.0 wlan0: Failed to configure firmware
    [   18.050523] wilc1000_spi spi1.0 wlan0: INFO [wlan_deinitialize_threads]Deinitializing Threads
    [   18.059050] wilc1000_spi spi1.0 wlan0: INFO [wlan_deinitialize_threads]Deinit debug Thread
    [   18.067333] Exit debug thread
    [   18.070444] wilc1000_spi spi1.0 wlan0: INFO [wlan_deinitialize_threads]Deinitializing Threads
    [   18.079044] wilc1000_spi spi1.0 wlan0: WLAN initialization FAILED
    [   18.085146] wilc1000_spi spi1.0 wlan0: ERR [wilc_mac_open:1016] Failed to initialize wilc
    [   18.160533] audit: type=1334 audit(1740087848.244:17): prog-id=18 op=LOAD
    [   18.168053] audit: type=1334 audit(1740087848.252:18): prog-id=19 op=LOAD
    [   18.175488] audit: type=1334 audit(1740087848.252:19): prog-id=20 op=LOAD
    [   18.532129] audit: type=1334 audit(1740087848.616:20): prog-id=20 op=UNLOAD
    [   18.540076] audit: type=1334 audit(1740087848.616:21): prog-id=19 op=UNLOAD
    [   18.547611] audit: type=1334 audit(1740087848.616:22): prog-id=18 op=UNLOAD
    [   35.041688] audit: type=1006 audit(1740087865.124:23): pid=1130 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [   35.054229] audit: type=1300 audit(1740087865.124:23): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffe74ab608 a2=1 a3=1 items=0 ppid=1 pid=1130 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   35.081011] audit: type=1327 audit(1740087865.124:23): proctitle="(systemd)"
    [   35.088099] audit: type=1334 audit(1740087865.144:24): prog-id=21 op=LOAD
    [   35.094954] audit: type=1300 audit(1740087865.144:24): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffc6b58288 a2=90 a3=0 items=0 ppid=1 pid=1130 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [   35.120845] audit: type=1327 audit(1740087865.144:24): proctitle="(systemd)"
    [   35.127970] audit: type=1334 audit(1740087865.164:25): prog-id=21 op=UNLOAD
    [   35.134999] audit: type=1300 audit(1740087865.164:25): arch=c00000b7 syscall=57 success=yes exit=0 a0=8 a1=1 a2=0 a3=ffffb3824c60 items=0 ppid=1 pid=1130 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [   35.160684] audit: type=1327 audit(1740087865.164:25): proctitle="(systemd)"
    [   35.167761] audit: type=1334 audit(1740087865.164:26): prog-id=22 op=LOAD
    

    Thank you for your time and help!

  • Hi Amandio,

    Looking through the driver, I do not see anything that would put a soft limit. I also do not see anything special with the measured signals as well.

    Could you add this debug print:

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/0001_2D00_adding_2D00_debug_2D00_logs_2D00_to_2D00_spi_2D00_omap2_2D00_mcspi.c.patch

    And also dump the following registers using devmem2 or other tools:

    • 0x0210012C
    • 0x0211012C
    • 0x0212012C
    • 0x0213012C
    • 0x0214012C
    • 0x0215012C

    Regards,

    Takuma

  • Hi Takuma,

    Here is the dmesg log after rebuilding with your patch:

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.6.32+ (amandio@DESKTOP-UJC140B) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240620) #10 SMP PREEMPT Fri Feb  7 11:59:59 EST 2025
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Company Name Product Name
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002830000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000bc8000000, size 896 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000bc8000000..0x0000000bffffffff (917504 KiB) map reusable linux,cma
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    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] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a0000000
    [    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] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-memory@a0100000
    [    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] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a1000000
    [    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] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-memory@a1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a2000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-memory@a2100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3000000..0x00000000a30fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a3000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-memory@a3100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a40fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a4000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4100000..0x00000000a4ffffff (15360 KiB) nomap non-reusable r5f-memory@a4100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5000000..0x00000000a50fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a5000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5100000..0x00000000a5ffffff (15360 KiB) nomap non-reusable r5f-memory@a5100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6000000..0x00000000a60fffff (1024 KiB) nomap non-reusable c71-dma-memory@a6000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6100000..0x00000000a6ffffff (15360 KiB) nomap non-reusable c71-memory@a6100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7000000..0x00000000a70fffff (1024 KiB) nomap non-reusable c71-dma-memory@a7000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7100000..0x00000000a7ffffff (15360 KiB) nomap non-reusable c71-memory@a7100000
    [    0.000000] OF: reserved mem: 0x00000000a8000000..0x00000000a9bfffff (28672 KiB) nomap non-reusable ipc-memories@a8000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x0000000bffffffff]
    [    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-0x00000000a9bfffff]
    [    0.000000]   node   0: [mem 0x00000000a9c00000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x0000000bffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000bffffffff]
    [    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 s43112 r8192 d30616 u81920
    [    0.000000] pcpu-alloc: s43112 r8192 d30616 u81920 alloc=20*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS3,115200n8 earlycon=ns16550a,mmio32,0x02830000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=9dadd190-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 4128768
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 15267576K/16777216K available (12352K kernel code, 1442K rwdata, 4400K rodata, 2752K init, 506K bss, 592136K reserved, 917504K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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=2.
    [    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=2
    [    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] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    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] 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.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008403] Console: colour dummy device 80x25
    [    0.012984] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023676] pid_max: default: 32768 minimum: 301
    [    0.028444] LSM: initializing lsm=capability,integrity
    [    0.033783] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.041575] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.050754] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.058030] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.065899] rcu: Hierarchical SRCU implementation.
    [    0.070808] rcu: 	Max phase no-delay instances is 1000.
    [    0.076523] Platform MSI: msi-controller@1820000 domain created
    [    0.082752] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.092177] EFI services will not be available.
    [    0.096955] smp: Bringing up secondary CPUs ...
    [    0.110084] Detected PIPT I-cache on CPU1
    [    0.110137] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.110152] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.110186] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.110250] smp: Brought up 1 node, 2 CPUs
    [    0.139663] SMP: Total of 2 processors activated.
    [    0.144478] CPU features: detected: 32-bit EL0 Support
    [    0.149742] CPU features: detected: CRC32 instructions
    [    0.155030] CPU: All CPU(s) started at EL2
    [    0.159221] alternatives: applying system-wide alternatives
    [    0.165859] devtmpfs: initialized
    [    0.176556] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.186558] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.204122] pinctrl core: initialized pinctrl subsystem
    [    0.209817] DMI not present or invalid.
    [    0.214181] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.220916] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.228582] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.236936] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.245173] audit: initializing netlink subsys (disabled)
    [    0.250808] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
    [    0.251025] thermal_sys: Registered thermal governor 'step_wise'
    [    0.258747] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.264920] cpuidle: using governor menu
    [    0.275686] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.282666] ASID allocator initialised with 65536 entries
    [    0.295963] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.304284] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dsi@4800000/panel@0
    [    0.313572] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.321894] platform 4a00000.dss: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    0.331301] Modules: 27360 pages in range for non-PLT usage
    [    0.331307] Modules: 518880 pages in range for PLT usage
    [    0.337517] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.349908] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.356324] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.363270] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.369683] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.376631] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.383044] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.389992] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.397265] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
    [    0.406389] iommu: Default domain type: Translated
    [    0.411318] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.417790] SCSI subsystem initialized
    [    0.421728] libata version 3.00 loaded.
    [    0.421811] usbcore: registered new interface driver usbfs
    [    0.427442] usbcore: registered new interface driver hub
    [    0.432896] usbcore: registered new device driver usb
    [    0.438312] pps_core: LinuxPPS API ver. 1 registered
    [    0.443392] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.452750] PTP clock support registered
    [    0.456857] EDAC MC: Ver: 3.0.0
    [    0.460338] scmi_core: SCMI protocol bus registered
    [    0.465497] FPGA manager framework
    [    0.469017] Advanced Linux Sound Architecture Driver Initialized.
    [    0.475698] vgaarb: loaded
    [    0.478644] clocksource: Switched to clocksource arch_sys_counter
    [    0.485034] VFS: Disk quotas dquot_6.6.0
    [    0.489072] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.499451] NET: Registered PF_INET protocol family
    [    0.504801] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.517667] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    0.526603] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.534552] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.543246] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
    [    0.551843] TCP: Hash tables configured (established 131072 bind 65536)
    [    0.558753] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.565883] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.573563] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.579728] RPC: Registered named UNIX socket transport module.
    [    0.585802] RPC: Registered udp transport module.
    [    0.590615] RPC: Registered tcp transport module.
    [    0.595428] RPC: Registered tcp-with-tls transport module.
    [    0.601040] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.607636] NET: Registered PF_XDP protocol family
    [    0.612552] PCI: CLS 0 bytes, default 64
    [    0.617249] Initialise system trusted keyrings
    [    0.621934] workingset: timestamp_bits=46 max_order=22 bucket_order=0
    [    0.628719] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.634874] NFS: Registering the id_resolver key type
    [    0.640063] Key type id_resolver registered
    [    0.644344] Key type id_legacy registered
    [    0.648454] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.655317] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.676543] Key type asymmetric registered
    [    0.680736] Asymmetric key parser 'x509' registered
    [    0.685757] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.693422] io scheduler mq-deadline registered
    [    0.698069] io scheduler kyber registered
    [    0.702187] io scheduler bfq registered
    [    0.707954] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.713937] pinctrl-single 4301c038.pinctrl: 11 pins, size 44
    [    0.719914] pinctrl-single 4301c068.pinctrl: 72 pins, size 288
    [    0.726006] pinctrl-single 4301c190.pinctrl: 1 pins, size 4
    [    0.731829] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.737918] pinctrl-single 104200.pinctrl: 20 pins, size 80
    [    0.743692] pinctrl-single 104280.pinctrl: 8 pins, size 32
    [    0.752761] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.764502] loop: module loaded
    [    0.768352] megasas: 07.725.01.00-rc1
    [    0.773940] tun: Universal TUN/TAP device driver, 1.6
    [    0.779708] VFIO - User Level meta-driver version: 0.3
    [    0.785558] usbcore: registered new interface driver usb-storage
    [    0.792053] i2c_dev: i2c /dev entries driver
    [    0.797061] sdhci: Secure Digital Host Controller Interface driver
    [    0.803395] sdhci: Copyright(c) Pierre Ossman
    [    0.807961] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.814055] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.820361] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.827373] usbcore: registered new interface driver usbhid
    [    0.833086] usbhid: USB HID core driver
    [    0.837798] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.846420] optee: probing for conduit method.
    [    0.850988] optee: revision 4.2 (12d7c4ee)
    [    0.867478] optee: dynamic shared memory is enabled
    [    0.877121] random: crng init done
    [    0.880667] optee: initialized driver
    [    0.885729] Initializing XFRM netlink socket
    [    0.890132] NET: Registered PF_PACKET protocol family
    [    0.895351] Key type dns_resolver registered
    [    0.903248] registered taskstats version 1
    [    0.907523] Loading compiled-in X.509 certificates
    [    0.918905] ti-sci 44083000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    0.971125] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.977544] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.983346] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
    [    0.991973] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
    [    1.001336] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
    [    1.010026] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
    [    1.020536] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    1.027507] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    1.036895] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
    [    1.046799] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.053578] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.062968] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
    [    1.073167] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.079943] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.088122] 2810000.serial: ttyS1 at MMIO 0x2810000 (irq = 228, base_baud = 3000000) is a 8250
    [    1.097664] 2830000.serial: ttyS3 at MMIO 0x2830000 (irq = 229, base_baud = 3000000) is a 8250
    [    1.106615] printk: console [ttyS3] enabled
    [    1.115084] printk: bootconsole [ns16550a0] disabled
    [    1.127286] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.170649] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.180702] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.188983] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.201847] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.209059] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.215375] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.225844] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:200000000, add_val:4 pps:0
    [    1.234511] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [    1.241368] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [    1.248242] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [    1.255077] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [    1.265058] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.275433] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16)
    [    1.285794] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.330650] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.340719] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.349003] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.361868] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.369079] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.375366] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.390299] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.400225] mmc0: CQHCI version 5.10
    [    1.402225] clk: Disabling unused clocks
    [    1.414561] ALSA device list:
    [    1.417592]   No soundcards found.
    [    1.441263] mmc0: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    1.448906] Waiting for root device PARTUUID=9dadd190-02...
    [    1.483715] mmc0: new high speed SDHC card at address aaaa
    [    1.489600] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
    [    1.498435]  mmcblk0: p1 p2
    [    1.534355] EXT4-fs (mmcblk0p2): mounted filesystem d88879a7-aaa7-46a6-ab32-21f4d3c680cd r/w with ordered data mode. Quota mode: none.
    [    1.546470] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.562681] devtmpfs: mounted
    [    1.566694] Freeing unused kernel memory: 2752K
    [    1.571318] Run /sbin/init as init process
    [    1.575410]   with arguments:
    [    1.575414]     /sbin/init
    [    1.575416]   with environment:
    [    1.575419]     HOME=/
    [    1.575422]     TERM=linux
    [    2.131728] systemd[1]: System time before build time, advancing clock.
    [    2.224007] NET: Registered PF_INET6 protocol family
    [    2.229606] Segment Routing with IPv6
    [    2.233300] In-situ OAM (IOAM) with IPv6
    [    2.302354] systemd[1]: systemd 255.4^ 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 -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    2.334191] systemd[1]: Detected architecture arm64.
    [    2.364265] systemd[1]: Hostname set to <am68-sk>.
    [    2.491664] systemd-sysv-generator[86]: SysV service '/etc/init.d/edgeai-launcher.sh' 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 safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
    [    2.675521] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.748053] 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.810347] systemd[1]: Queued start job for default target Graphical Interface.
    [    2.841944] systemd[1]: Created slice Slice /system/getty.
    [    2.864033] systemd[1]: Created slice Slice /system/modprobe.
    [    2.887940] systemd[1]: Created slice Slice /system/serial-getty.
    [    2.911657] systemd[1]: Created slice User and Session Slice.
    [    2.934916] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    2.958832] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    2.982744] systemd[1]: Expecting device /dev/ttyS3...
    [    2.998778] systemd[1]: Reached target Path Units.
    [    3.014719] systemd[1]: Reached target Remote File Systems.
    [    3.034712] systemd[1]: Reached target Slice Units.
    [    3.050722] systemd[1]: Reached target Swaps.
    [    3.089940] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    3.114837] systemd[1]: Reached target RPC Port Mapper.
    [    3.140284] systemd[1]: Listening on Process Core Dump Socket.
    [    3.162952] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    3.187368] systemd[1]: Listening on Journal Audit Socket.
    [    3.211084] systemd[1]: Listening on Journal Socket (/dev/log).
    [    3.235083] systemd[1]: Listening on Journal Socket.
    [    3.255114] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.286448] systemd[1]: Listening on udev Control Socket.
    [    3.307024] systemd[1]: Listening on udev Kernel Socket.
    [    3.327018] systemd[1]: Listening on User Database Manager Socket.
    [    3.374902] systemd[1]: Mounting Huge Pages File System...
    [    3.397168] systemd[1]: Mounting POSIX Message Queue File System...
    [    3.443062] systemd[1]: Mounting Kernel Debug File System...
    [    3.463047] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.481078] systemd[1]: Mounting Temporary Directory /tmp...
    [    3.522835] systemd[1]: Starting Create List of Static Device Nodes...
    [    3.532319] systemd[1]: Starting Load Kernel Module configfs...
    [    3.575384] systemd[1]: Starting Load Kernel Module drm...
    [    3.605456] systemd[1]: Starting Load Kernel Module fuse...
    [    3.655100] systemd[1]: Starting Start psplash boot splash screen...
    [    3.673650] fuse: init (API version 7.39)
    [    3.699441] systemd[1]: Starting RPC Bind...
    [    3.714968] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    3.733828] systemd[1]: Starting Journal Service...
    [    3.783267] systemd[1]: Starting Load Kernel Modules...
    [    3.811295] systemd[1]: Starting Generate network units from Kernel command line...
    [    3.831091] systemd-journald[105]: Collecting audit messages is enabled.
    [    3.871258] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.891793] systemd[1]: Starting Coldplug All udev Devices...
    [    3.915088] systemd[1]: Started RPC Bind.
    [    3.923291] EXT4-fs (mmcblk0p2): re-mounted d88879a7-aaa7-46a6-ab32-21f4d3c680cd r/w. Quota mode: none.
    [    3.937297] systemd[1]: Started Journal Service.
    [    4.354109] systemd-journald[105]: Received client request to flush runtime journal.
    [    4.604372] audit: type=1334 audit(1709054766.468:2): prog-id=6 op=LOAD
    [    4.611366] audit: type=1334 audit(1709054766.476:3): prog-id=7 op=LOAD
    [    4.794055] audit: type=1334 audit(1709054766.656:4): prog-id=8 op=LOAD
    [    4.832925] audit: type=1334 audit(1709054766.696:5): prog-id=9 op=LOAD
    [    4.948960] audit: type=1334 audit(1709054766.812:6): prog-id=10 op=LOAD
    [    4.957763] audit: type=1334 audit(1709054766.812:7): prog-id=11 op=LOAD
    [    4.966719] audit: type=1334 audit(1709054766.812:8): prog-id=12 op=LOAD
    [    5.605096] DEBUG: clock granularity bit set
    [    5.605233] DEBUG: clock granularity bit set
    [    5.629571] DEBUG: clock granularity bit set
    [    5.639253] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a6000000
    [    5.658158] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode
    [    5.666173] k3-dsp-rproc 64800000.dsp: local reset is deasserted for device
    [    5.673384] DEBUG: clock granularity bit set
    [    5.702835] remoteproc remoteproc0: 64800000.dsp is available
    [    5.741275] audit: type=1334 audit(1740090975.056:9): prog-id=13 op=LOAD
    [    5.779587] k3-dsp-rproc 65800000.dsp: assigned reserved memory node c71-dma-memory@a7000000
    [    5.797125] mc: Linux media interface: v0.10
    [    5.818123] k3-dsp-rproc 65800000.dsp: configured DSP for remoteproc mode
    [    5.826091] k3-dsp-rproc 65800000.dsp: local reset is deasserted for device
    [    5.844955] remoteproc remoteproc1: 65800000.dsp is available
    [    5.876504] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    5.880973] cdns-dsi 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dsi@4800000/panel@0
    [    5.901406] mipi-dsi 4800000.dsi.0: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    5.915370] platform 41000000.r5f: configured R5F for IPC-only mode
    [    5.930119] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c
    [    5.938321] videodev: Linux video capture interface: v2.00
    [    5.943190] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    5.977302] remoteproc remoteproc2: 41000000.r5f is available
    [    5.990070] remoteproc remoteproc2: attaching to 41000000.r5f
    [    6.018707] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    6.043659] rproc-virtio rproc-virtio.0.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [    6.054460] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    6.061400] rproc-virtio rproc-virtio.0.auto: registered virtio0 (type 7)
    [    6.068305] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.075960] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    6.086195] remoteproc remoteproc2: remote processor 41000000.r5f is now attached
    [    6.118261] platform 5c00000.r5f: configured R5F for remoteproc mode
    [    6.126942] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.147821] remoteproc remoteproc3: 5c00000.r5f is available
    [    6.357909] remoteproc remoteproc3: powering up 5c00000.r5f
    [    6.364136] remoteproc remoteproc3: Booting fw image j721s2-main-r5f0_0-fw, size 482764
    [    6.376025] remoteproc remoteproc3: bad phdr da 0xa3ffec00 mem 0x1400
    [    6.382610] remoteproc remoteproc3: Failed to load program segments: -22
    [    6.769660] pvrsrvkm: loading out-of-tree module taints kernel.
    [    6.783978] PVR_K:  160: Device: 4e20000000.gpu
    [    6.789925] PVR_K:  160: Read BVNC 36.53.104.796 from HW device registers
    [    6.796792] PVR_K:  160: RGX Device registered BVNC 36.53.104.796 with 1 core in the system
    [    6.806663] [drm] Initialized pvr 24.1.6554834 20170530 for 4e20000000.gpu on minor 0
    [    6.998425] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    7.016103] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    7.022105] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    7.203728] input: ILI210x Touchscreen as /devices/platform/bus@100000/2000000.i2c/i2c-1/1-0041/input/input0
    [    7.215602] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 1
    [    7.240108] remoteproc remoteproc1: powering up 65800000.dsp
    [    7.250742] remoteproc remoteproc1: Booting fw image j721s2-c71_1-fw, size 9703384
    [    7.251039] remoteproc remoteproc1: unsupported resource 65538
    [    7.251055] remoteproc remoteproc1: bad phdr da 0xb6100000 mem 0x98
    [    7.251059] remoteproc remoteproc1: Failed to load program segments: -22
    [    7.455546] wilc1000_spi spi1.0: WILC SPI probe success
    [    7.570842] remoteproc remoteproc0: powering up 64800000.dsp
    [    7.586462] remoteproc remoteproc0: Booting fw image j721s2-c71_0-fw, size 15077408
    [    7.586837] remoteproc remoteproc0: unsupported resource 65538
    [    7.586856] remoteproc remoteproc0: bad phdr da 0xb0100000 mem 0x98
    [    7.586860] remoteproc remoteproc0: Failed to load program segments: -22
    [    7.589640] vdec 4210000.video-codec: Added wave5 driver with caps: 'ENCODE' 'DECODE'
    [    7.589649] vdec 4210000.video-codec: Product Code:      0x521c
    [    7.589652] vdec 4210000.video-codec: Firmware Revision: 320127
    [    7.715458] dbus-broker-lau[274]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [    8.138707] Console: switching to colour frame buffer device 128x37
    [    8.190658] k3_r5_rproc bus@100000:r5fss@5c00000: Timed out waiting for 5c00000.r5f core to power up!
    [    8.192113] tidss 4a00000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [    8.204240] platform 5e00000.r5f: configured R5F for remoteproc mode
    [    8.275811] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
    [    8.290223] remoteproc remoteproc4: 5e00000.r5f is available
    [    8.298767] remoteproc remoteproc4: loading /lib/firmware/j721s2-main-r5f1_0-fw failed with error -22
    [    8.310824] remoteproc remoteproc4: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -22
    [    8.320705] remoteproc remoteproc4: powering up 5e00000.r5f
    [    8.326309] remoteproc remoteproc4: loading /lib/firmware/j721s2-main-r5f1_0-fw failed with error -22
    [    8.335559] remoteproc remoteproc4: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -22
    [    8.345061] remoteproc remoteproc4: request_firmware failed: -22
    [    8.610539] audit: type=1334 audit(1740090977.924:10): prog-id=14 op=LOAD
    [    8.621616] audit: type=1334 audit(1740090977.924:11): prog-id=15 op=LOAD
    [    8.642739] audit: type=1334 audit(1740090977.924:12): prog-id=16 op=LOAD
    [    8.743801] audit: type=1334 audit(1740090978.060:13): prog-id=17 op=LOAD
    [    9.303470] wilc1000_spi spi1.0 wlan0: INFO [dump_station]Dumping station information
    [    9.549767] Bluetooth: Core ver 2.22
    [    9.553468] NET: Registered PF_BLUETOOTH protocol family
    [    9.558924] Bluetooth: HCI device and connection manager initialized
    [    9.565306] Bluetooth: HCI socket layer initialized
    [    9.570196] Bluetooth: L2CAP socket layer initialized
    [    9.575275] Bluetooth: SCO socket layer initialized
    [   10.302674] k3_r5_rproc bus@100000:r5fss@5e00000: Timed out waiting for 5e00000.r5f core to power up!
    [   12.414667] wilc1000_spi spi1.0 wlan0: ERR [wilc_send_config_pkt:1831] Get Timed out
    [   12.422425] wilc1000_spi spi1.0 wlan0: Failed to get RSSI value
    [   12.451454] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [   12.462671] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [   12.477004] wilc1000_spi spi1.0 wlan0: INFO [wilc_mac_open]MAC OPEN[0000000086d9d802] wlan0
    [   12.485569] WILC POWER UP
    [   12.488284] wilc1000_spi spi1.0 wlan0: INFO [wilc_init_host_int]Host[0000000086d9d802][00000000ee677b6c]
    [   12.497890] wilc1000_spi spi1.0 wlan0: INFO [wilc_mac_open]*** re-init ***
    [   12.504795] wilc1000_spi spi1.0 wlan0: INFO [wilc_wlan_init]Initializing WILC_Wlan
    [   12.537604] wilc1000_spi spi1.0 wlan0: INFO [init_chip]Bootrom sts = c
    [   12.549089] wilc1000_spi spi1.0 wlan0: INFO [wlan_initialize_threads]Initializing Threads ...
    [   12.561668] wilc1000_spi spi1.0 wlan0: INFO [wlan_initialize_threads]Creating kthread for transmission
    [   12.566665] wilc1000_spi spi1.0 wlan0: INFO [wlan_initialize_threads]Creating kthread for Debugging
    [   12.580370] wilc1000_spi spi1.0 wlan0: INFO [init_irq]IRQ request succeeded IRQ-NUM= 250
    [   12.589353] Detect chip WILC3000
    [   12.592790] loading firmware mchp/wilc3000_wifi_firmware.bin
    [   12.628494] Downloading Firmware ...
    [   12.722295] Download Succeeded
    [   12.730787] wilc1000_spi spi1.0 wlan0: INFO [wilc_start_firmware]Starting Firmware ...
    [   12.739484] wilc1000_spi spi1.0 wlan0: INFO [wilc_start_firmware]Waiting for FW to get ready ...
    [   12.842672] wilc1000_spi spi1.0 wlan0: INFO [wilc_start_firmware]Firmware successfully started
    [   13.703822] audit: type=1006 audit(1740090983.020:14): pid=841 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [   13.716505] audit: type=1300 audit(1740090983.020:14): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc84e4428 a2=4 a3=1 items=0 ppid=1 pid=841 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   13.743348] audit: type=1327 audit(1740090983.020:14): proctitle="(systemd)"
    [   14.185504] audit: type=1006 audit(1740090983.500:15): pid=832 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [   14.198034] audit: type=1300 audit(1740090983.500:15): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffe2c4d008 a2=4 a3=1 items=0 ppid=1 pid=832 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   14.224781] audit: type=1327 audit(1740090983.500:15): proctitle="(weston)"
    [   15.308210] PVR_K:  832: RGX Firmware image 'rgx.fw.36.53.104.796' loaded
    [   15.338389] PVR_K:  832: Shader binary image 'rgx.sh.36.53.104.796' loaded
    [   16.578715] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   18.074598] audit: type=1701 audit(1740090987.388:16): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=973 comm="edgeai-gui-app" exe="/usr/bin/edgeai-gui-app" sig=11 res=1
    [   19.070663] wilc1000_spi spi1.0 wlan0: Failed to configure firmware
    [   19.077217] wilc1000_spi spi1.0 wlan0: INFO [wlan_deinitialize_threads]Deinitializing Threads
    [   19.085748] wilc1000_spi spi1.0 wlan0: INFO [wlan_deinitialize_threads]Deinit debug Thread
    [   19.094018] Exit debug thread
    [   19.097087] wilc1000_spi spi1.0 wlan0: INFO [wlan_deinitialize_threads]Deinitializing Threads
    [   19.105646] wilc1000_spi spi1.0 wlan0: WLAN initialization FAILED
    [   19.111743] wilc1000_spi spi1.0 wlan0: ERR [wilc_mac_open:1016] Failed to initialize wilc
    [   19.154356] audit: type=1334 audit(1740090988.468:17): prog-id=18 op=LOAD
    [   19.161775] audit: type=1334 audit(1740090988.480:18): prog-id=19 op=LOAD
    [   19.169405] audit: type=1334 audit(1740090988.480:19): prog-id=20 op=LOAD
    [   19.579100] audit: type=1334 audit(1740090988.896:20): prog-id=20 op=UNLOAD
    [   19.586614] audit: type=1334 audit(1740090988.896:21): prog-id=19 op=UNLOAD
    [   19.593772] audit: type=1334 audit(1740090988.896:22): prog-id=18 op=UNLOAD
    [   47.588411] audit: type=1006 audit(1740091016.904:23): pid=1128 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [   47.601129] audit: type=1300 audit(1740091016.904:23): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffde9058e8 a2=1 a3=1 items=0 ppid=1 pid=1128 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   47.628022] audit: type=1327 audit(1740091016.904:23): proctitle="(systemd)"
    [   47.635778] audit: type=1334 audit(1740091016.944:24): prog-id=21 op=LOAD
    [   47.642610] audit: type=1300 audit(1740091016.944:24): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffc919bf68 a2=90 a3=0 items=0 ppid=1 pid=1128 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [   47.668437] audit: type=1327 audit(1740091016.944:24): proctitle="(systemd)"
    [   47.675556] audit: type=1334 audit(1740091016.952:25): prog-id=21 op=UNLOAD
    [   47.682723] audit: type=1300 audit(1740091016.952:25): arch=c00000b7 syscall=57 success=yes exit=0 a0=8 a1=1 a2=0 a3=ffff98fc5c60 items=0 ppid=1 pid=1128 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [   47.708398] audit: type=1327 audit(1740091016.952:25): proctitle="(systemd)"
    [   47.715502] audit: type=1334 audit(1740091016.952:26): prog-id=22 op=LOAD
    

    Here are the register values you asked for:

    • 0x0210012C = 0x00060000
    • 0x0211012C = 0x00060000
    • 0x0212012C = 0x00060000
    • 0x0213012C = 0x00060000
    • 0x0214012C = 0x00060000
    • 0x0215012C = 0x00060000

    Thanks again for your help!

  • Actually, some of those register values are incorrect. I realize that 0x00060000 is a reset value and I had to use each spi device first. After using both main_spi2 and main_spi5 I got different values for these addresses:

    • 0x0212012C = 0x200603C8
    • 0x0215012C = 0x200623C8
  • Hi Amandio,

    Thank you for the logs and register dump.

    The issue could be that we are using 48MHz, which is not exactly 50MHz and causing some issues with divider value. Could you try setting clock rate to 50MHz and 25MHz as well and do measurements, if not already done so?

    Below is information I have found to lead to this suggestion.

    It looks like we are in granularity mode and CLKD (clock divisor) field has a value of 2, which is then added by 1 to get the SPICLK frequency division ration. Details of this are below:

    And the highlighted row is what is going out, which is 16.6MHz:

    Issue might be how our driver is calculating the divisor value, so an experiment with a value that should not need divisor value (50MHz), and an experiment with a value that has a clear divisor value of 2 (25MHz) would be interesting.

    Regards,

    Takuma

  • Hi Takuma,

    Thank you for this info.

    With spi-max-frequency set to exactly 50000000 (50 MHz) on main_spi5 (the spidev device) I measure basically the same rate on the clock output with my scope, 16.61 MHz.

    Here is the k3conf clock dump:

    root@am68-sk:~# k3conf dump clock 344
    |------------------------------------------------------------------------------|
    | VERSION INFO                                                                 |
    |------------------------------------------------------------------------------|
    | K3CONF | (version 0.3-nogit built Thu Jul 25 14:13:02 UTC 2024)              |
    | SoC    | J721S2 SR1.0                                                        |
    | SYSFW  | ABI: 4.0 (firmware version 0x000a '10.0.8--v10.00.08 (Fiery Fox))') |
    |------------------------------------------------------------------------------|
    
    |---------------------------------------------------------------------------------------------------------------------------|
    | Device ID | Clock ID | Clock Name                                                 | Status              | Clock Frequency |
    |---------------------------------------------------------------------------------------------------------------------------|
    |   344     |     0    | DEV_MCSPI5_IO_CLKSPIO_CLK                                  | CLK_STATE_READY     | 0               |
    |   344     |     1    | DEV_MCSPI5_VBUSP_CLK                                       | CLK_STATE_READY     | 125000000       |
    |   344     |     2    | DEV_MCSPI5_CLKSPIREF_CLK                                   | CLK_STATE_READY     | 50000000        |
    |   344     |     3    | DEV_MCSPI5_IO_CLKSPII_CLK                                  | CLK_STATE_READY     | 0               |
    |   344     |     4    | DEV_MCSPI5_IO_CLKSPII_CLK_PARENT_BOARD_0_SPI5_CLK_OUT      | CLK_STATE_READY     | 0               |
    |   344     |     5    | DEV_MCSPI5_IO_CLKSPII_CLK_PARENT_SPI_MAIN_5_IO_CLKSPIO_CLK | CLK_STATE_NOT_READY | 0               |
    |---------------------------------------------------------------------------------------------------------------------------|
    

    And here is the dmesg output. The spi driver is still using the debug patch you gave me earlier.

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.6.32+ (amandio@DESKTOP-UJC140B) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240620) #10 SMP PREEMPT Fri Feb  7 11:59:59 EST 2025
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Company Name Product Name
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002830000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000bc8000000, size 896 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000bc8000000..0x0000000bffffffff (917504 KiB) map reusable linux,cma
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    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] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a0000000
    [    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] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-memory@a0100000
    [    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] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a1000000
    [    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] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-memory@a1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a2000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-memory@a2100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3000000..0x00000000a30fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a3000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-memory@a3100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a40fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a4000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4100000..0x00000000a4ffffff (15360 KiB) nomap non-reusable r5f-memory@a4100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5000000..0x00000000a50fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a5000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5100000..0x00000000a5ffffff (15360 KiB) nomap non-reusable r5f-memory@a5100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6000000..0x00000000a60fffff (1024 KiB) nomap non-reusable c71-dma-memory@a6000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6100000..0x00000000a6ffffff (15360 KiB) nomap non-reusable c71-memory@a6100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7000000..0x00000000a70fffff (1024 KiB) nomap non-reusable c71-dma-memory@a7000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7100000..0x00000000a7ffffff (15360 KiB) nomap non-reusable c71-memory@a7100000
    [    0.000000] OF: reserved mem: 0x00000000a8000000..0x00000000a9bfffff (28672 KiB) nomap non-reusable ipc-memories@a8000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x0000000bffffffff]
    [    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-0x00000000a9bfffff]
    [    0.000000]   node   0: [mem 0x00000000a9c00000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x0000000bffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000bffffffff]
    [    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 s43112 r8192 d30616 u81920
    [    0.000000] pcpu-alloc: s43112 r8192 d30616 u81920 alloc=20*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS3,115200n8 earlycon=ns16550a,mmio32,0x02830000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=9dadd190-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 4128768
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 15267576K/16777216K available (12352K kernel code, 1442K rwdata, 4400K rodata, 2752K init, 506K bss, 592136K reserved, 917504K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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=2.
    [    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=2
    [    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] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    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] 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.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008408] Console: colour dummy device 80x25
    [    0.012991] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023682] pid_max: default: 32768 minimum: 301
    [    0.028467] LSM: initializing lsm=capability,integrity
    [    0.033811] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.041604] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.050793] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.058076] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.065952] rcu: Hierarchical SRCU implementation.
    [    0.070862] rcu: 	Max phase no-delay instances is 1000.
    [    0.076593] Platform MSI: msi-controller@1820000 domain created
    [    0.082833] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.092262] EFI services will not be available.
    [    0.097045] smp: Bringing up secondary CPUs ...
    [    0.110180] Detected PIPT I-cache on CPU1
    [    0.110231] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.110246] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.110280] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.110351] smp: Brought up 1 node, 2 CPUs
    [    0.139756] SMP: Total of 2 processors activated.
    [    0.144571] CPU features: detected: 32-bit EL0 Support
    [    0.149837] CPU features: detected: CRC32 instructions
    [    0.155127] CPU: All CPU(s) started at EL2
    [    0.159317] alternatives: applying system-wide alternatives
    [    0.165989] devtmpfs: initialized
    [    0.176819] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.186824] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.204819] pinctrl core: initialized pinctrl subsystem
    [    0.210488] DMI not present or invalid.
    [    0.214785] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.221530] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.229202] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.237557] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.245800] audit: initializing netlink subsys (disabled)
    [    0.251447] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
    [    0.251665] thermal_sys: Registered thermal governor 'step_wise'
    [    0.259385] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.265556] cpuidle: using governor menu
    [    0.276322] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.283302] ASID allocator initialised with 65536 entries
    [    0.296881] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.305202] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dsi@4800000/panel@0
    [    0.314463] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.322781] platform 4a00000.dss: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    0.332180] Modules: 27360 pages in range for non-PLT usage
    [    0.332186] Modules: 518880 pages in range for PLT usage
    [    0.338374] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.350765] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.357181] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.364128] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.370540] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.377489] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.383903] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.390851] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.398152] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
    [    0.407288] iommu: Default domain type: Translated
    [    0.412218] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.418700] SCSI subsystem initialized
    [    0.422644] libata version 3.00 loaded.
    [    0.422729] usbcore: registered new interface driver usbfs
    [    0.428366] usbcore: registered new interface driver hub
    [    0.433823] usbcore: registered new device driver usb
    [    0.439246] pps_core: LinuxPPS API ver. 1 registered
    [    0.444330] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.453687] PTP clock support registered
    [    0.457798] EDAC MC: Ver: 3.0.0
    [    0.461281] scmi_core: SCMI protocol bus registered
    [    0.466439] FPGA manager framework
    [    0.469964] Advanced Linux Sound Architecture Driver Initialized.
    [    0.476659] vgaarb: loaded
    [    0.479605] clocksource: Switched to clocksource arch_sys_counter
    [    0.486000] VFS: Disk quotas dquot_6.6.0
    [    0.490044] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.500463] NET: Registered PF_INET protocol family
    [    0.505817] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.518774] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    0.527725] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.535686] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.544378] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
    [    0.553027] TCP: Hash tables configured (established 131072 bind 65536)
    [    0.559917] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.567067] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.574751] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.580932] RPC: Registered named UNIX socket transport module.
    [    0.587011] RPC: Registered udp transport module.
    [    0.591823] RPC: Registered tcp transport module.
    [    0.596635] RPC: Registered tcp-with-tls transport module.
    [    0.602247] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.608842] NET: Registered PF_XDP protocol family
    [    0.613758] PCI: CLS 0 bytes, default 64
    [    0.618479] Initialise system trusted keyrings
    [    0.623161] workingset: timestamp_bits=46 max_order=22 bucket_order=0
    [    0.629950] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.636088] NFS: Registering the id_resolver key type
    [    0.641290] Key type id_resolver registered
    [    0.645570] Key type id_legacy registered
    [    0.649681] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.656541] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.677770] Key type asymmetric registered
    [    0.681962] Asymmetric key parser 'x509' registered
    [    0.686992] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.694662] io scheduler mq-deadline registered
    [    0.699310] io scheduler kyber registered
    [    0.703432] io scheduler bfq registered
    [    0.709187] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.715178] pinctrl-single 4301c038.pinctrl: 11 pins, size 44
    [    0.721159] pinctrl-single 4301c068.pinctrl: 72 pins, size 288
    [    0.727253] pinctrl-single 4301c190.pinctrl: 1 pins, size 4
    [    0.733074] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.739169] pinctrl-single 104200.pinctrl: 20 pins, size 80
    [    0.744946] pinctrl-single 104280.pinctrl: 8 pins, size 32
    [    0.754110] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.765872] loop: module loaded
    [    0.769741] megasas: 07.725.01.00-rc1
    [    0.775311] tun: Universal TUN/TAP device driver, 1.6
    [    0.781126] VFIO - User Level meta-driver version: 0.3
    [    0.786998] usbcore: registered new interface driver usb-storage
    [    0.793497] i2c_dev: i2c /dev entries driver
    [    0.798495] sdhci: Secure Digital Host Controller Interface driver
    [    0.804828] sdhci: Copyright(c) Pierre Ossman
    [    0.809398] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.815494] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.821809] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.828816] usbcore: registered new interface driver usbhid
    [    0.834528] usbhid: USB HID core driver
    [    0.839267] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.847901] optee: probing for conduit method.
    [    0.852468] optee: revision 4.2 (12d7c4ee)
    [    0.868957] optee: dynamic shared memory is enabled
    [    0.878616] random: crng init done
    [    0.882169] optee: initialized driver
    [    0.887245] Initializing XFRM netlink socket
    [    0.891658] NET: Registered PF_PACKET protocol family
    [    0.896876] Key type dns_resolver registered
    [    0.904808] registered taskstats version 1
    [    0.909075] Loading compiled-in X.509 certificates
    [    0.920563] ti-sci 44083000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    0.973114] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.979538] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.985351] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
    [    0.993946] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
    [    1.003311] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
    [    1.011995] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
    [    1.022503] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    1.029491] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    1.038905] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
    [    1.048817] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.055589] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.065003] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
    [    1.075193] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.081962] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.090155] 2810000.serial: ttyS1 at MMIO 0x2810000 (irq = 228, base_baud = 3000000) is a 8250
    [    1.099756] 2830000.serial: ttyS3 at MMIO 0x2830000 (irq = 229, base_baud = 3000000) is a 8250
    [    1.108633] printk: console [ttyS3] enabled
    [    1.117145] printk: bootconsole [ns16550a0] disabled
    [    1.127873] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.171610] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.181670] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.189951] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.202810] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.210022] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.216368] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.226874] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:200000000, add_val:4 pps:0
    [    1.235534] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [    1.242395] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [    1.249274] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [    1.256103] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [    1.266104] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.276478] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16)
    [    1.286833] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.331610] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.341681] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.349962] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.362828] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.370040] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.376318] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.391335] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.401264] mmc0: CQHCI version 5.10
    [    1.403349] clk: Disabling unused clocks
    [    1.415629] ALSA device list:
    [    1.418591]   No soundcards found.
    [    1.442228] mmc0: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    1.449885] Waiting for root device PARTUUID=9dadd190-02...
    [    1.484980] mmc0: new high speed SDHC card at address aaaa
    [    1.490884] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
    [    1.499751]  mmcblk0: p1 p2
    [    1.532540] EXT4-fs (mmcblk0p2): mounted filesystem d88879a7-aaa7-46a6-ab32-21f4d3c680cd r/w with ordered data mode. Quota mode: none.
    [    1.544656] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.561490] devtmpfs: mounted
    [    1.565516] Freeing unused kernel memory: 2752K
    [    1.570170] Run /sbin/init as init process
    [    1.574263]   with arguments:
    [    1.574267]     /sbin/init
    [    1.574270]   with environment:
    [    1.574272]     HOME=/
    [    1.574275]     TERM=linux
    [    2.132770] systemd[1]: System time before build time, advancing clock.
    [    2.225169] NET: Registered PF_INET6 protocol family
    [    2.230789] Segment Routing with IPv6
    [    2.234481] In-situ OAM (IOAM) with IPv6
    [    2.303522] systemd[1]: systemd 255.4^ 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 -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    2.335355] systemd[1]: Detected architecture arm64.
    [    2.369238] systemd[1]: Hostname set to <am68-sk>.
    [    2.486553] systemd-sysv-generator[86]: SysV service '/etc/init.d/edgeai-launcher.sh' 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 safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
    [    2.638577] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.711370] 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.773912] systemd[1]: Queued start job for default target Graphical Interface.
    [    2.806966] systemd[1]: Created slice Slice /system/getty.
    [    2.829030] systemd[1]: Created slice Slice /system/modprobe.
    [    2.852883] systemd[1]: Created slice Slice /system/serial-getty.
    [    2.876570] systemd[1]: Created slice User and Session Slice.
    [    2.899876] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    2.923805] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    2.947705] systemd[1]: Expecting device /dev/ttyS3...
    [    2.963743] systemd[1]: Reached target Path Units.
    [    2.979684] systemd[1]: Reached target Remote File Systems.
    [    2.999666] systemd[1]: Reached target Slice Units.
    [    3.015671] systemd[1]: Reached target Swaps.
    [    3.055039] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    3.075825] systemd[1]: Reached target RPC Port Mapper.
    [    3.101290] systemd[1]: Listening on Process Core Dump Socket.
    [    3.123919] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    3.148336] systemd[1]: Listening on Journal Audit Socket.
    [    3.172060] systemd[1]: Listening on Journal Socket (/dev/log).
    [    3.196034] systemd[1]: Listening on Journal Socket.
    [    3.216102] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.247360] systemd[1]: Listening on udev Control Socket.
    [    3.267987] systemd[1]: Listening on udev Kernel Socket.
    [    3.287975] systemd[1]: Listening on User Database Manager Socket.
    [    3.335870] systemd[1]: Mounting Huge Pages File System...
    [    3.358159] systemd[1]: Mounting POSIX Message Queue File System...
    [    3.403540] systemd[1]: Mounting Kernel Debug File System...
    [    3.420015] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.438219] systemd[1]: Mounting Temporary Directory /tmp...
    [    3.461621] systemd[1]: Starting Create List of Static Device Nodes...
    [    3.471336] systemd[1]: Starting Load Kernel Module configfs...
    [    3.508338] systemd[1]: Starting Load Kernel Module drm...
    [    3.528317] systemd[1]: Starting Load Kernel Module fuse...
    [    3.572372] systemd[1]: Starting Start psplash boot splash screen...
    [    3.599416] fuse: init (API version 7.39)
    [    3.604308] systemd[1]: Starting RPC Bind...
    [    3.623965] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    3.640779] systemd[1]: Starting Journal Service...
    [    3.676259] systemd[1]: Starting Load Kernel Modules...
    [    3.713016] systemd[1]: Starting Generate network units from Kernel command line...
    [    3.720786] systemd-journald[105]: Collecting audit messages is enabled.
    [    3.748176] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.805519] systemd[1]: Starting Coldplug All udev Devices...
    [    3.837620] systemd[1]: Started RPC Bind.
    [    3.843974] EXT4-fs (mmcblk0p2): re-mounted d88879a7-aaa7-46a6-ab32-21f4d3c680cd r/w. Quota mode: none.
    [    3.869206] systemd[1]: Started Journal Service.
    [    4.311421] systemd-journald[105]: Received client request to flush runtime journal.
    [    4.565516] audit: type=1334 audit(1709054766.428:2): prog-id=6 op=LOAD
    [    4.572498] audit: type=1334 audit(1709054766.436:3): prog-id=7 op=LOAD
    [    4.803260] audit: type=1334 audit(1709054766.664:4): prog-id=8 op=LOAD
    [    4.854160] audit: type=1334 audit(1709054766.716:5): prog-id=9 op=LOAD
    [    5.044621] audit: type=1334 audit(1709054766.908:6): prog-id=10 op=LOAD
    [    5.053903] audit: type=1334 audit(1709054766.916:7): prog-id=11 op=LOAD
    [    5.061265] audit: type=1334 audit(1709054766.916:8): prog-id=12 op=LOAD
    [    5.557882] DEBUG: clock granularity bit set
    [    5.558012] DEBUG: clock granularity bit set
    [    5.569648] DEBUG: clock granularity bit set
    [    5.591297] DEBUG: clock granularity bit set
    [    5.639194] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c
    [    5.682631] mc: Linux media interface: v0.10
    [    5.683847] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a6000000
    [    5.720768] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
    [    5.761388] remoteproc remoteproc0: 64800000.dsp is available
    [    5.783535] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    5.788643] remoteproc remoteproc0: attaching to 64800000.dsp
    [    5.809112] platform 41000000.r5f: configured R5F for IPC-only mode
    [    5.813354] remoteproc remoteproc0: rsc table is truncated
    [    5.823070] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    5.832771] remoteproc remoteproc0: Failed to process resources: -22
    [    5.842833] remoteproc remoteproc1: 41000000.r5f is available
    [    5.848657] remoteproc remoteproc1: attaching to 41000000.r5f
    [    5.858648] audit: type=1334 audit(1740098810.592:9): prog-id=13 op=LOAD
    [    5.858705] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    5.872616] rproc-virtio rproc-virtio.0.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [    5.900279] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    5.912872] videodev: Linux video capture interface: v2.00
    [    5.918757] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    5.918890] rproc-virtio rproc-virtio.0.auto: registered virtio0 (type 7)
    [    5.931896] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    5.947408] k3-dsp-rproc 64800000.dsp: error -EINVAL: failed to add register device with remoteproc core
    [    5.969961] remoteproc remoteproc1: remote processor 41000000.r5f is now attached
    [    5.985433] k3-dsp-rproc: probe of 64800000.dsp failed with error -22
    [    5.994496] cdns-dsi 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dsi@4800000/panel@0
    [    6.004564] mipi-dsi 4800000.dsi.0: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    6.006120] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    6.019961] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.040864] remoteproc remoteproc0: releasing 64800000.dsp
    [    6.053464] remoteproc remoteproc2: 5c00000.r5f is available
    [    6.061987] k3-dsp-rproc 65800000.dsp: assigned reserved memory node c71-dma-memory@a7000000
    [    6.066850] remoteproc remoteproc2: attaching to 5c00000.r5f
    [    6.084743] k3-dsp-rproc 65800000.dsp: configured DSP for IPC-only mode
    [    6.095240] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [    6.095425] remoteproc remoteproc0: 65800000.dsp is available
    [    6.109062] remoteproc remoteproc0: attaching to 65800000.dsp
    [    6.115014] remoteproc remoteproc0: Carveout already associated to resource table
    [    6.123643] remoteproc remoteproc0: Failed to process resources: -12
    [    6.130384] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.139709] k3-dsp-rproc 65800000.dsp: error -ENOMEM: failed to add register device with remoteproc core
    [    6.149882] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    6.155502] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    6.162996] k3-dsp-rproc: probe of 65800000.dsp failed with error -12
    [    6.169652] rproc-virtio rproc-virtio.1.auto: registered virtio1 (type 7)
    [    6.177013] remoteproc remoteproc0: releasing 65800000.dsp
    [    6.177322] remoteproc remoteproc2: remote processor 5c00000.r5f is now attached
    [    6.190560] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    6.197911] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    6.223893] remoteproc remoteproc3: 5d00000.r5f is available
    [    6.241243] remoteproc remoteproc3: attaching to 5d00000.r5f
    [    6.246990] remoteproc remoteproc3: rsc table is truncated
    [    6.252525] remoteproc remoteproc3: Failed to process resources: -22
    [    6.260611] k3_r5_rproc bus@100000:r5fss@5c00000: rproc_add failed, ret = -22
    [    6.268761] remoteproc remoteproc3: releasing 5d00000.r5f
    [    6.288340] platform 5c00000.r5f: R5F core deinitialized in IPC-only mode
    [    6.296649] remoteproc remoteproc2: detached remote processor 5c00000.r5f
    [    6.331348] remoteproc remoteproc2: releasing 5c00000.r5f
    [    6.337833] k3_r5_rproc bus@100000:r5fss@5c00000: k3_r5_cluster_rproc_init failed, ret = -22
    [    6.347026] k3_r5_rproc: probe of bus@100000:r5fss@5c00000 failed with error -22
    [    6.358058] platform 5e00000.r5f: configured R5F for remoteproc mode
    [    6.364775] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
    [    6.373753] remoteproc remoteproc0: 5e00000.r5f is available
    [    6.410535] pvrsrvkm: loading out-of-tree module taints kernel.
    [    6.429839] remoteproc remoteproc0: loading /lib/firmware/j721s2-main-r5f1_0-fw failed with error -22
    [    6.439419] remoteproc remoteproc0: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -22
    [    6.455506] remoteproc remoteproc0: powering up 5e00000.r5f
    [    6.465673] remoteproc remoteproc0: loading /lib/firmware/j721s2-main-r5f1_0-fw failed with error -22
    [    6.480945] PVR_K:  161: Device: 4e20000000.gpu
    [    6.491243] remoteproc remoteproc0: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -22
    [    6.503676] PVR_K:  161: Read BVNC 36.53.104.796 from HW device registers
    [    6.514352] remoteproc remoteproc0: request_firmware failed: -22
    [    6.515448] PVR_K:  161: RGX Device registered BVNC 36.53.104.796 with 1 core in the system
    [    6.530986] [drm] Initialized pvr 24.1.6554834 20170530 for 4e20000000.gpu on minor 0
    [    6.578622] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    6.597926] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    6.604344] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    6.679735] vdec 4210000.video-codec: Added wave5 driver with caps: 'ENCODE' 'DECODE'
    [    6.687695] vdec 4210000.video-codec: Product Code:      0x521c
    [    6.687703] vdec 4210000.video-codec: Firmware Revision: 320127
    [    6.732209] wilc1000_spi spi1.0: WILC SPI probe success
    [    6.868286] dbus-broker-lau[271]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [    6.952730] audit: type=1334 audit(1740098811.688:10): prog-id=14 op=LOAD
    [    6.967684] audit: type=1334 audit(1740098811.696:11): prog-id=15 op=LOAD
    [    6.967699] audit: type=1334 audit(1740098811.696:12): prog-id=16 op=LOAD
    [    7.056149] audit: type=1334 audit(1740098811.788:13): prog-id=17 op=LOAD
    [    7.081371] input: ILI210x Touchscreen as /devices/platform/bus@100000/2000000.i2c/i2c-1/1-0041/input/input0
    [    7.103840] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 1
    [    7.651682] wilc1000_spi spi1.0 wlan0: INFO [dump_station]Dumping station information
    [    7.823645] Bluetooth: Core ver 2.22
    [    7.823730] NET: Registered PF_BLUETOOTH protocol family
    [    7.823733] Bluetooth: HCI device and connection manager initialized
    [    7.823812] Bluetooth: HCI socket layer initialized
    [    7.823819] Bluetooth: L2CAP socket layer initialized
    [    7.823831] Bluetooth: SCO socket layer initialized
    [    7.983678] Console: switching to colour frame buffer device 128x37
    [    8.039748] tidss 4a00000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [    8.411639] k3_r5_rproc bus@100000:r5fss@5e00000: Timed out waiting for 5e00000.r5f core to power up!
    [   10.875627] wilc1000_spi spi1.0 wlan0: ERR [wilc_send_config_pkt:1831] Get Timed out
    [   10.883381] wilc1000_spi spi1.0 wlan0: Failed to get RSSI value
    [   10.910290] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [   10.919795] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [   10.932598] wilc1000_spi spi1.0 wlan0: INFO [wilc_mac_open]MAC OPEN[0000000056d5cacc] wlan0
    [   10.941208] WILC POWER UP
    [   10.943896] wilc1000_spi spi1.0 wlan0: INFO [wilc_init_host_int]Host[0000000056d5cacc][00000000eefc7cee]
    [   10.953463] wilc1000_spi spi1.0 wlan0: INFO [wilc_mac_open]*** re-init ***
    [   10.960414] wilc1000_spi spi1.0 wlan0: INFO [wilc_wlan_init]Initializing WILC_Wlan
    [   10.991462] wilc1000_spi spi1.0 wlan0: INFO [init_chip]Bootrom sts = c
    [   10.998178] wilc1000_spi spi1.0 wlan0: INFO [wlan_initialize_threads]Initializing Threads ...
    [   11.013612] wilc1000_spi spi1.0 wlan0: INFO [wlan_initialize_threads]Creating kthread for transmission
    [   11.024235] wilc1000_spi spi1.0 wlan0: INFO [wlan_initialize_threads]Creating kthread for Debugging
    [   11.037642] wilc1000_spi spi1.0 wlan0: INFO [init_irq]IRQ request succeeded IRQ-NUM= 250
    [   11.047388] Detect chip WILC3000
    [   11.050932] loading firmware mchp/wilc3000_wifi_firmware.bin
    [   11.092283] Downloading Firmware ...
    [   11.216159] Download Succeeded
    [   11.219279] wilc1000_spi spi1.0 wlan0: INFO [wilc_start_firmware]Starting Firmware ...
    [   11.224856] wilc1000_spi spi1.0 wlan0: INFO [wilc_start_firmware]Waiting for FW to get ready ...
    [   11.328082] wilc1000_spi spi1.0 wlan0: INFO [wilc_start_firmware]Firmware successfully started
    [   12.118340] audit: type=1006 audit(1740098816.852:14): pid=848 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [   12.131274] audit: type=1300 audit(1740098816.852:14): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffefc5bf58 a2=4 a3=1 items=0 ppid=1 pid=848 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   12.158442] audit: type=1327 audit(1740098816.852:14): proctitle="(systemd)"
    [   12.603755] audit: type=1006 audit(1740098817.336:15): pid=839 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [   12.616267] audit: type=1300 audit(1740098817.336:15): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc98b66c8 a2=4 a3=1 items=0 ppid=1 pid=839 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   12.642786] audit: type=1327 audit(1740098817.336:15): proctitle="(weston)"
    [   13.701502] PVR_K:  839: RGX Firmware image 'rgx.fw.36.53.104.796' loaded
    [   13.729892] PVR_K:  839: Shader binary image 'rgx.sh.36.53.104.796' loaded
    [   15.036679] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   16.498177] audit: type=1701 audit(1740098821.232:16): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=976 comm="edgeai-gui-app" exe="/usr/bin/edgeai-gui-app" sig=11 res=1
    [   17.531624] wilc1000_spi spi1.0 wlan0: Failed to configure firmware
    [   17.538212] wilc1000_spi spi1.0 wlan0: INFO [wlan_deinitialize_threads]Deinitializing Threads
    [   17.546743] wilc1000_spi spi1.0 wlan0: INFO [wlan_deinitialize_threads]Deinit debug Thread
    [   17.555016] Exit debug thread
    [   17.558089] wilc1000_spi spi1.0 wlan0: INFO [wlan_deinitialize_threads]Deinitializing Threads
    [   17.566687] wilc1000_spi spi1.0 wlan0: WLAN initialization FAILED
    [   17.572790] wilc1000_spi spi1.0 wlan0: ERR [wilc_mac_open:1016] Failed to initialize wilc
    [   17.621060] audit: type=1334 audit(1740098822.356:17): prog-id=18 op=LOAD
    [   17.628390] audit: type=1334 audit(1740098822.364:18): prog-id=19 op=LOAD
    [   17.635835] audit: type=1334 audit(1740098822.364:19): prog-id=20 op=LOAD
    [   18.007909] audit: type=1334 audit(1740098822.744:20): prog-id=20 op=UNLOAD
    [   18.015392] audit: type=1334 audit(1740098822.744:21): prog-id=19 op=UNLOAD
    [   18.023184] audit: type=1334 audit(1740098822.744:22): prog-id=18 op=UNLOAD
    [   24.412670] audit: type=1006 audit(1740098829.148:23): pid=1132 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [   24.425227] audit: type=1300 audit(1740098829.148:23): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffd736fac8 a2=1 a3=1 items=0 ppid=1 pid=1132 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   24.451898] audit: type=1327 audit(1740098829.148:23): proctitle="(systemd)"
    [   24.460299] audit: type=1334 audit(1740098829.196:24): prog-id=21 op=LOAD
    [   24.467432] audit: type=1300 audit(1740098829.196:24): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffe62841f8 a2=90 a3=0 items=0 ppid=1 pid=1132 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [   24.493236] audit: type=1327 audit(1740098829.196:24): proctitle="(systemd)"
    [   24.500366] audit: type=1334 audit(1740098829.196:25): prog-id=21 op=UNLOAD
    [   24.507412] audit: type=1300 audit(1740098829.196:25): arch=c00000b7 syscall=57 success=yes exit=0 a0=8 a1=1 a2=0 a3=ffffb5b17c60 items=0 ppid=1 pid=1132 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [   24.533069] audit: type=1327 audit(1740098829.196:25): proctitle="(systemd)"
    [   24.540172] audit: type=1334 audit(1740098829.196:26): prog-id=22 op=LOAD
    

    With spi-max-frequency set to exactly 25000000 MHz on main_spi5, I measure 10MHz almost on the dot on the spi clock output.

    Here is the k3conf clock dump with this clock setting:

    root@am68-sk:/opt/edgeai-gst-apps# k3conf dump clock 344
    |------------------------------------------------------------------------------|
    | VERSION INFO                                                                 |
    |------------------------------------------------------------------------------|
    | K3CONF | (version 0.3-nogit built Thu Jul 25 14:13:02 UTC 2024)              |
    | SoC    | J721S2 SR1.0                                                        |
    | SYSFW  | ABI: 4.0 (firmware version 0x000a '10.0.8--v10.00.08 (Fiery Fox))') |
    |------------------------------------------------------------------------------|
    
    |---------------------------------------------------------------------------------------------------------------------------|
    | Device ID | Clock ID | Clock Name                                                 | Status              | Clock Frequency |
    |---------------------------------------------------------------------------------------------------------------------------|
    |   344     |     0    | DEV_MCSPI5_IO_CLKSPIO_CLK                                  | CLK_STATE_READY     | 0               |
    |   344     |     1    | DEV_MCSPI5_VBUSP_CLK                                       | CLK_STATE_READY     | 125000000       |
    |   344     |     2    | DEV_MCSPI5_CLKSPIREF_CLK                                   | CLK_STATE_READY     | 50000000        |
    |   344     |     3    | DEV_MCSPI5_IO_CLKSPII_CLK                                  | CLK_STATE_READY     | 0               |
    |   344     |     4    | DEV_MCSPI5_IO_CLKSPII_CLK_PARENT_BOARD_0_SPI5_CLK_OUT      | CLK_STATE_READY     | 0               |
    |   344     |     5    | DEV_MCSPI5_IO_CLKSPII_CLK_PARENT_SPI_MAIN_5_IO_CLKSPIO_CLK | CLK_STATE_NOT_READY | 0               |
    |---------------------------------------------------------------------------------------------------------------------------|
    

    And here is the associated dmesg output. Again, the spi driver in use is the debug patch you gave me earlier:

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.6.32+ (amandio@DESKTOP-UJC140B) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240620) #10 SMP PREEMPT Fri Feb  7 11:59:59 EST 2025
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Company Name Product Name
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002830000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000bc8000000, size 896 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000bc8000000..0x0000000bffffffff (917504 KiB) map reusable linux,cma
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    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] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a0000000
    [    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] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-memory@a0100000
    [    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] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a1000000
    [    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] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-memory@a1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a2000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-memory@a2100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3000000..0x00000000a30fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a3000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-memory@a3100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a40fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a4000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4100000..0x00000000a4ffffff (15360 KiB) nomap non-reusable r5f-memory@a4100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5000000..0x00000000a50fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a5000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5100000..0x00000000a5ffffff (15360 KiB) nomap non-reusable r5f-memory@a5100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6000000..0x00000000a60fffff (1024 KiB) nomap non-reusable c71-dma-memory@a6000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6100000..0x00000000a6ffffff (15360 KiB) nomap non-reusable c71-memory@a6100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7000000..0x00000000a70fffff (1024 KiB) nomap non-reusable c71-dma-memory@a7000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7100000..0x00000000a7ffffff (15360 KiB) nomap non-reusable c71-memory@a7100000
    [    0.000000] OF: reserved mem: 0x00000000a8000000..0x00000000a9bfffff (28672 KiB) nomap non-reusable ipc-memories@a8000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x0000000bffffffff]
    [    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-0x00000000a9bfffff]
    [    0.000000]   node   0: [mem 0x00000000a9c00000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x0000000bffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000bffffffff]
    [    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 s43112 r8192 d30616 u81920
    [    0.000000] pcpu-alloc: s43112 r8192 d30616 u81920 alloc=20*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS3,115200n8 earlycon=ns16550a,mmio32,0x02830000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=9dadd190-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 4128768
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 15267576K/16777216K available (12352K kernel code, 1442K rwdata, 4400K rodata, 2752K init, 506K bss, 592136K reserved, 917504K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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=2.
    [    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=2
    [    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] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    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] 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.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008404] Console: colour dummy device 80x25
    [    0.012984] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023677] pid_max: default: 32768 minimum: 301
    [    0.028446] LSM: initializing lsm=capability,integrity
    [    0.033787] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.041579] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.050761] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.058046] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.065919] rcu: Hierarchical SRCU implementation.
    [    0.070826] rcu: 	Max phase no-delay instances is 1000.
    [    0.076541] Platform MSI: msi-controller@1820000 domain created
    [    0.082767] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.092195] EFI services will not be available.
    [    0.096978] smp: Bringing up secondary CPUs ...
    [    0.110110] Detected PIPT I-cache on CPU1
    [    0.110159] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.110174] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.110207] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.110270] smp: Brought up 1 node, 2 CPUs
    [    0.139682] SMP: Total of 2 processors activated.
    [    0.144500] CPU features: detected: 32-bit EL0 Support
    [    0.149766] CPU features: detected: CRC32 instructions
    [    0.155057] CPU: All CPU(s) started at EL2
    [    0.159251] alternatives: applying system-wide alternatives
    [    0.165909] devtmpfs: initialized
    [    0.176648] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.186650] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.204329] pinctrl core: initialized pinctrl subsystem
    [    0.210000] DMI not present or invalid.
    [    0.214513] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.221249] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.228918] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.237281] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.245514] audit: initializing netlink subsys (disabled)
    [    0.251150] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
    [    0.251370] thermal_sys: Registered thermal governor 'step_wise'
    [    0.259088] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.265260] cpuidle: using governor menu
    [    0.276023] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.283002] ASID allocator initialised with 65536 entries
    [    0.296504] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.304817] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dsi@4800000/panel@0
    [    0.314107] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.322426] platform 4a00000.dss: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    0.331838] Modules: 27360 pages in range for non-PLT usage
    [    0.331844] Modules: 518880 pages in range for PLT usage
    [    0.338090] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.350482] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.356895] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.363842] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.370256] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.377204] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.383619] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.390567] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.397869] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
    [    0.406992] iommu: Default domain type: Translated
    [    0.411920] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.418396] SCSI subsystem initialized
    [    0.422336] libata version 3.00 loaded.
    [    0.422436] usbcore: registered new interface driver usbfs
    [    0.428070] usbcore: registered new interface driver hub
    [    0.433524] usbcore: registered new device driver usb
    [    0.438952] pps_core: LinuxPPS API ver. 1 registered
    [    0.444034] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.453394] PTP clock support registered
    [    0.457505] EDAC MC: Ver: 3.0.0
    [    0.460983] scmi_core: SCMI protocol bus registered
    [    0.466135] FPGA manager framework
    [    0.469655] Advanced Linux Sound Architecture Driver Initialized.
    [    0.476339] vgaarb: loaded
    [    0.479283] clocksource: Switched to clocksource arch_sys_counter
    [    0.485680] VFS: Disk quotas dquot_6.6.0
    [    0.489727] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.500067] NET: Registered PF_INET protocol family
    [    0.505419] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.518441] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    0.527373] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.535321] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.544019] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
    [    0.552654] TCP: Hash tables configured (established 131072 bind 65536)
    [    0.559568] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.566710] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.574376] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.580521] RPC: Registered named UNIX socket transport module.
    [    0.586598] RPC: Registered udp transport module.
    [    0.591410] RPC: Registered tcp transport module.
    [    0.596223] RPC: Registered tcp-with-tls transport module.
    [    0.601835] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.608430] NET: Registered PF_XDP protocol family
    [    0.613344] PCI: CLS 0 bytes, default 64
    [    0.618030] Initialise system trusted keyrings
    [    0.622710] workingset: timestamp_bits=46 max_order=22 bucket_order=0
    [    0.629489] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.635655] NFS: Registering the id_resolver key type
    [    0.640858] Key type id_resolver registered
    [    0.645138] Key type id_legacy registered
    [    0.649250] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.656112] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.677359] Key type asymmetric registered
    [    0.681551] Asymmetric key parser 'x509' registered
    [    0.686571] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.694249] io scheduler mq-deadline registered
    [    0.698893] io scheduler kyber registered
    [    0.703019] io scheduler bfq registered
    [    0.708777] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.714767] pinctrl-single 4301c038.pinctrl: 11 pins, size 44
    [    0.720752] pinctrl-single 4301c068.pinctrl: 72 pins, size 288
    [    0.726849] pinctrl-single 4301c190.pinctrl: 1 pins, size 4
    [    0.732681] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.738745] pinctrl-single 104200.pinctrl: 20 pins, size 80
    [    0.744519] pinctrl-single 104280.pinctrl: 8 pins, size 32
    [    0.753650] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.765509] loop: module loaded
    [    0.769387] megasas: 07.725.01.00-rc1
    [    0.774939] tun: Universal TUN/TAP device driver, 1.6
    [    0.780733] VFIO - User Level meta-driver version: 0.3
    [    0.786605] usbcore: registered new interface driver usb-storage
    [    0.793082] i2c_dev: i2c /dev entries driver
    [    0.798106] sdhci: Secure Digital Host Controller Interface driver
    [    0.804442] sdhci: Copyright(c) Pierre Ossman
    [    0.809015] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.815114] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.821419] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.828421] usbcore: registered new interface driver usbhid
    [    0.834135] usbhid: USB HID core driver
    [    0.838866] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.847581] optee: probing for conduit method.
    [    0.852144] optee: revision 4.2 (12d7c4ee)
    [    0.868619] optee: dynamic shared memory is enabled
    [    0.878265] random: crng init done
    [    0.881808] optee: initialized driver
    [    0.886813] Initializing XFRM netlink socket
    [    0.891221] NET: Registered PF_PACKET protocol family
    [    0.896445] Key type dns_resolver registered
    [    0.904333] registered taskstats version 1
    [    0.908595] Loading compiled-in X.509 certificates
    [    0.920152] ti-sci 44083000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    0.973313] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.979827] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.985638] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
    [    0.994205] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
    [    1.003582] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
    [    1.012268] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
    [    1.022766] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    1.029746] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    1.039152] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
    [    1.049056] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.055827] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.065236] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
    [    1.075429] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.082203] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.090390] 2810000.serial: ttyS1 at MMIO 0x2810000 (irq = 228, base_baud = 3000000) is a 8250
    [    1.099943] 2830000.serial: ttyS3 at MMIO 0x2830000 (irq = 229, base_baud = 3000000) is a 8250
    [    1.108835] printk: console [ttyS3] enabled
    [    1.117322] printk: bootconsole [ns16550a0] disabled
    [    1.128033] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.171285] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.181330] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.189613] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.202479] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.209689] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.216002] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.226452] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:200000000, add_val:4 pps:0
    [    1.235117] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [    1.241961] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [    1.248830] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [    1.255653] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [    1.265623] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.276000] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16)
    [    1.286296] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.331287] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.341318] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.349599] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.362466] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.369676] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.375949] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.390893] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.400736] mmc0: CQHCI version 5.10
    [    1.402834] clk: Disabling unused clocks
    [    1.415137] ALSA device list:
    [    1.418106]   No soundcards found.
    [    1.441902] mmc0: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    1.449544] Waiting for root device PARTUUID=9dadd190-02...
    [    1.484656] mmc0: new high speed SDHC card at address aaaa
    [    1.490543] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
    [    1.499378]  mmcblk0: p1 p2
    [    1.532274] EXT4-fs (mmcblk0p2): mounted filesystem d88879a7-aaa7-46a6-ab32-21f4d3c680cd r/w with ordered data mode. Quota mode: none.
    [    1.544393] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.560523] devtmpfs: mounted
    [    1.564529] Freeing unused kernel memory: 2752K
    [    1.569179] Run /sbin/init as init process
    [    1.573273]   with arguments:
    [    1.573277]     /sbin/init
    [    1.573279]   with environment:
    [    1.573282]     HOME=/
    [    1.573284]     TERM=linux
    [    2.129275] systemd[1]: System time before build time, advancing clock.
    [    2.221439] NET: Registered PF_INET6 protocol family
    [    2.227074] Segment Routing with IPv6
    [    2.230760] In-situ OAM (IOAM) with IPv6
    [    2.299934] systemd[1]: systemd 255.4^ 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 -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    2.331718] systemd[1]: Detected architecture arm64.
    [    2.366881] systemd[1]: Hostname set to <am68-sk>.
    [    2.502993] systemd-sysv-generator[87]: SysV service '/etc/init.d/edgeai-launcher.sh' 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 safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
    [    2.685970] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.758276] 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.820672] systemd[1]: Queued start job for default target Graphical Interface.
    [    2.862571] systemd[1]: Created slice Slice /system/getty.
    [    2.884696] systemd[1]: Created slice Slice /system/modprobe.
    [    2.908556] systemd[1]: Created slice Slice /system/serial-getty.
    [    2.932287] systemd[1]: Created slice User and Session Slice.
    [    2.955558] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    2.979461] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    3.003388] systemd[1]: Expecting device /dev/ttyS3...
    [    3.023409] systemd[1]: Reached target Path Units.
    [    3.043351] systemd[1]: Reached target Remote File Systems.
    [    3.063340] systemd[1]: Reached target Slice Units.
    [    3.083348] systemd[1]: Reached target Swaps.
    [    3.126592] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    3.147502] systemd[1]: Reached target RPC Port Mapper.
    [    3.172913] systemd[1]: Listening on Process Core Dump Socket.
    [    3.195583] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    3.219989] systemd[1]: Listening on Journal Audit Socket.
    [    3.243698] systemd[1]: Listening on Journal Socket (/dev/log).
    [    3.267704] systemd[1]: Listening on Journal Socket.
    [    3.283772] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.315043] systemd[1]: Listening on udev Control Socket.
    [    3.335681] systemd[1]: Listening on udev Kernel Socket.
    [    3.355657] systemd[1]: Listening on User Database Manager Socket.
    [    3.407537] systemd[1]: Mounting Huge Pages File System...
    [    3.425778] systemd[1]: Mounting POSIX Message Queue File System...
    [    3.451702] systemd[1]: Mounting Kernel Debug File System...
    [    3.471670] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.489927] systemd[1]: Mounting Temporary Directory /tmp...
    [    3.520982] systemd[1]: Starting Create List of Static Device Nodes...
    [    3.530338] systemd[1]: Starting Load Kernel Module configfs...
    [    3.567995] systemd[1]: Starting Load Kernel Module drm...
    [    3.587970] systemd[1]: Starting Load Kernel Module fuse...
    [    3.611176] systemd[1]: Starting Start psplash boot splash screen...
    [    3.651396] fuse: init (API version 7.39)
    [    3.687924] systemd[1]: Starting RPC Bind...
    [    3.703582] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    3.720530] systemd[1]: Starting Journal Service...
    [    3.759883] systemd[1]: Starting Load Kernel Modules...
    [    3.802177] systemd-journald[104]: Collecting audit messages is enabled.
    [    3.808684] systemd[1]: Starting Generate network units from Kernel command line...
    [    3.833546] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.867676] systemd[1]: Starting Coldplug All udev Devices...
    [    3.899621] systemd[1]: Started RPC Bind.
    [    3.916681] systemd[1]: Started Journal Service.
    [    3.920208] EXT4-fs (mmcblk0p2): re-mounted d88879a7-aaa7-46a6-ab32-21f4d3c680cd r/w. Quota mode: none.
    [    4.342587] systemd-journald[104]: Received client request to flush runtime journal.
    [    4.585014] audit: type=1334 audit(1709054766.452:2): prog-id=6 op=LOAD
    [    4.591699] audit: type=1334 audit(1709054766.460:3): prog-id=7 op=LOAD
    [    4.766847] audit: type=1334 audit(1709054766.632:4): prog-id=8 op=LOAD
    [    4.809671] audit: type=1334 audit(1709054766.676:5): prog-id=9 op=LOAD
    [    4.906538] audit: type=1334 audit(1709054766.772:6): prog-id=10 op=LOAD
    [    4.915353] audit: type=1334 audit(1709054766.772:7): prog-id=11 op=LOAD
    [    4.923351] audit: type=1334 audit(1709054766.772:8): prog-id=12 op=LOAD
    [    5.593879] DEBUG: clock granularity bit set
    [    5.594027] DEBUG: clock granularity bit set
    [    5.604834] DEBUG: clock granularity bit set
    [    5.621664] DEBUG: clock granularity bit set
    [    5.637586] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a6000000
    [    5.680419] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c
    [    5.706834] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
    [    5.736096] remoteproc remoteproc0: 64800000.dsp is available
    [    5.751379] remoteproc remoteproc0: attaching to 64800000.dsp
    [    5.774809] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    5.790773] remoteproc remoteproc0: rsc table is truncated
    [    5.800722] platform 41000000.r5f: configured R5F for IPC-only mode
    [    5.816295] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    5.827512] remoteproc remoteproc0: Failed to process resources: -22
    [    5.838108] k3-dsp-rproc 64800000.dsp: error -EINVAL: failed to add register device with remoteproc core
    [    5.851823] k3-dsp-rproc: probe of 64800000.dsp failed with error -22
    [    5.866469] remoteproc remoteproc0: releasing 64800000.dsp
    [    5.882964] mc: Linux media interface: v0.10
    [    5.890457] k3-dsp-rproc 65800000.dsp: assigned reserved memory node c71-dma-memory@a7000000
    [    5.899026] remoteproc remoteproc1: 41000000.r5f is available
    [    5.905853] audit: type=1334 audit(1740100038.600:9): prog-id=13 op=LOAD
    [    5.914837] remoteproc remoteproc1: attaching to 41000000.r5f
    [    5.928799] k3-dsp-rproc 65800000.dsp: configured DSP for IPC-only mode
    [    5.966240] cdns-dsi 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dsi@4800000/panel@0
    [    5.968133] remoteproc remoteproc0: 65800000.dsp is available
    [    5.993952] remoteproc remoteproc0: attaching to 65800000.dsp
    [    6.006876] remoteproc remoteproc0: Carveout already associated to resource table
    [    6.016178] remoteproc remoteproc0: Failed to process resources: -12
    [    6.026704] mipi-dsi 4800000.dsi.0: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    6.056395] videodev: Linux video capture interface: v2.00
    [    6.061428] k3-dsp-rproc 65800000.dsp: error -ENOMEM: failed to add register device with remoteproc core
    [    6.081062] k3-dsp-rproc: probe of 65800000.dsp failed with error -12
    [    6.082800] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    6.095479] remoteproc remoteproc0: releasing 65800000.dsp
    [    6.098691] rproc-virtio rproc-virtio.0.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [    6.135340] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    6.144015] rproc-virtio rproc-virtio.0.auto: registered virtio0 (type 7)
    [    6.150943] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.158858] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    6.169129] remoteproc remoteproc1: remote processor 41000000.r5f is now attached
    [    6.199974] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    6.213981] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.225309] remoteproc remoteproc0: 5c00000.r5f is available
    [    6.231293] remoteproc remoteproc0: attaching to 5c00000.r5f
    [    6.243154] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [    6.253288] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.263028] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    6.273746] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    6.275384] rproc-virtio rproc-virtio.1.auto: registered virtio1 (type 7)
    [    6.289186] remoteproc remoteproc0: remote processor 5c00000.r5f is now attached
    [    6.301660] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    6.307970] pvrsrvkm: loading out-of-tree module taints kernel.
    [    6.341194] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    6.353651] PVR_K:  166: Device: 4e20000000.gpu
    [    6.356170] remoteproc remoteproc2: 5d00000.r5f is available
    [    6.371776] PVR_K:  166: Read BVNC 36.53.104.796 from HW device registers
    [    6.373787] remoteproc remoteproc2: attaching to 5d00000.r5f
    [    6.385336] PVR_K:  166: RGX Device registered BVNC 36.53.104.796 with 1 core in the system
    [    6.388517] remoteproc remoteproc2: rsc table is truncated
    [    6.399891] [drm] Initialized pvr 24.1.6554834 20170530 for 4e20000000.gpu on minor 0
    [    6.402457] remoteproc remoteproc2: Failed to process resources: -22
    [    6.419893] k3_r5_rproc bus@100000:r5fss@5c00000: rproc_add failed, ret = -22
    [    6.427164] remoteproc remoteproc2: releasing 5d00000.r5f
    [    6.435415] platform 5c00000.r5f: R5F core deinitialized in IPC-only mode
    [    6.449700] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    6.458598] remoteproc remoteproc0: detached remote processor 5c00000.r5f
    [    6.473632] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    6.482104] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    6.492695] remoteproc remoteproc0: releasing 5c00000.r5f
    [    6.503504] k3_r5_rproc bus@100000:r5fss@5c00000: k3_r5_cluster_rproc_init failed, ret = -22
    [    6.515032] k3_r5_rproc: probe of bus@100000:r5fss@5c00000 failed with error -22
    [    6.532972] platform 5e00000.r5f: configured R5F for remoteproc mode
    [    6.541913] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
    [    6.545283] wilc1000_spi spi1.0: WILC SPI probe success
    [    6.558221] remoteproc remoteproc0: 5e00000.r5f is available
    [    6.592710] vdec 4210000.video-codec: Added wave5 driver with caps: 'ENCODE' 'DECODE'
    [    6.601751] vdec 4210000.video-codec: Product Code:      0x521c
    [    6.608761] vdec 4210000.video-codec: Firmware Revision: 320127
    [    6.618272] remoteproc remoteproc0: loading /lib/firmware/j721s2-main-r5f1_0-fw failed with error -22
    [    6.627752] remoteproc remoteproc0: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -22
    [    6.640194] remoteproc remoteproc0: powering up 5e00000.r5f
    [    6.648143] remoteproc remoteproc0: loading /lib/firmware/j721s2-main-r5f1_0-fw failed with error -22
    [    6.660968] remoteproc remoteproc0: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -22
    [    6.660983] remoteproc remoteproc0: request_firmware failed: -22
    [    6.782039] dbus-broker-lau[279]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [    6.828469] audit: type=1334 audit(1740100039.524:10): prog-id=14 op=LOAD
    [    6.849038] audit: type=1334 audit(1740100039.544:11): prog-id=15 op=LOAD
    [    6.860770] audit: type=1334 audit(1740100039.544:12): prog-id=16 op=LOAD
    [    6.949673] input: ILI210x Touchscreen as /devices/platform/bus@100000/2000000.i2c/i2c-1/1-0041/input/input0
    [    6.973990] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 1
    [    6.984845] audit: type=1334 audit(1740100039.680:13): prog-id=17 op=LOAD
    [    7.622652] Bluetooth: Core ver 2.22
    [    7.622740] NET: Registered PF_BLUETOOTH protocol family
    [    7.622744] Bluetooth: HCI device and connection manager initialized
    [    7.622755] Bluetooth: HCI socket layer initialized
    [    7.622761] Bluetooth: L2CAP socket layer initialized
    [    7.622772] Bluetooth: SCO socket layer initialized
    [    7.891369] Console: switching to colour frame buffer device 128x37
    [    7.936390] tidss 4a00000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [    8.321793] wilc1000_spi spi1.0 wlan0: INFO [dump_station]Dumping station information
    [    8.575356] k3_r5_rproc bus@100000:r5fss@5e00000: Timed out waiting for 5e00000.r5f core to power up!
    [   11.391296] wilc1000_spi spi1.0 wlan0: ERR [wilc_send_config_pkt:1831] Get Timed out
    [   11.399043] wilc1000_spi spi1.0 wlan0: Failed to get RSSI value
    [   11.425630] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [   11.435128] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [   11.448208] wilc1000_spi spi1.0 wlan0: INFO [wilc_mac_open]MAC OPEN[0000000004ed76da] wlan0
    [   11.456638] WILC POWER UP
    [   11.459264] wilc1000_spi spi1.0 wlan0: INFO [wilc_init_host_int]Host[0000000004ed76da][00000000ff36433b]
    [   11.468891] wilc1000_spi spi1.0 wlan0: INFO [wilc_mac_open]*** re-init ***
    [   11.475780] wilc1000_spi spi1.0 wlan0: INFO [wilc_wlan_init]Initializing WILC_Wlan
    [   11.507178] wilc1000_spi spi1.0 wlan0: INFO [init_chip]Bootrom sts = c
    [   11.514601] wilc1000_spi spi1.0 wlan0: INFO [wlan_initialize_threads]Initializing Threads ...
    [   11.523179] wilc1000_spi spi1.0 wlan0: INFO [wlan_initialize_threads]Creating kthread for transmission
    [   11.532600] wilc1000_spi spi1.0 wlan0: INFO [wlan_initialize_threads]Creating kthread for Debugging
    [   11.549113] wilc1000_spi spi1.0 wlan0: INFO [init_irq]IRQ request succeeded IRQ-NUM= 250
    [   11.557297] Detect chip WILC3000
    [   11.563330] loading firmware mchp/wilc3000_wifi_firmware.bin
    [   11.596567] Downloading Firmware ...
    [   11.706543] Download Succeeded
    [   11.711155] wilc1000_spi spi1.0 wlan0: INFO [wilc_start_firmware]Starting Firmware ...
    [   11.721846] wilc1000_spi spi1.0 wlan0: INFO [wilc_start_firmware]Waiting for FW to get ready ...
    [   11.825109] wilc1000_spi spi1.0 wlan0: INFO [wilc_start_firmware]Firmware successfully started
    [   12.639438] audit: type=1006 audit(1740100045.332:14): pid=845 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [   12.652371] audit: type=1300 audit(1740100045.332:14): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffe07e0108 a2=4 a3=1 items=0 ppid=1 pid=845 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   12.679509] audit: type=1327 audit(1740100045.332:14): proctitle="(systemd)"
    [   13.112040] audit: type=1006 audit(1740100045.804:15): pid=837 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [   13.124511] audit: type=1300 audit(1740100045.804:15): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=fffff3f91378 a2=4 a3=1 items=0 ppid=1 pid=837 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   13.151484] audit: type=1327 audit(1740100045.804:15): proctitle="(weston)"
    [   14.189444] PVR_K:  837: RGX Firmware image 'rgx.fw.36.53.104.796' loaded
    [   14.217836] PVR_K:  837: Shader binary image 'rgx.sh.36.53.104.796' loaded
    [   15.556535] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   17.016384] audit: type=1701 audit(1740100049.712:16): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=973 comm="edgeai-gui-app" exe="/usr/bin/edgeai-gui-app" sig=11 res=1
    [   18.047307] wilc1000_spi spi1.0 wlan0: Failed to configure firmware
    [   18.053903] wilc1000_spi spi1.0 wlan0: INFO [wlan_deinitialize_threads]Deinitializing Threads
    [   18.062425] wilc1000_spi spi1.0 wlan0: INFO [wlan_deinitialize_threads]Deinit debug Thread
    [   18.070706] Exit debug thread
    [   18.073788] wilc1000_spi spi1.0 wlan0: INFO [wlan_deinitialize_threads]Deinitializing Threads
    [   18.082383] wilc1000_spi spi1.0 wlan0: WLAN initialization FAILED
    [   18.088486] wilc1000_spi spi1.0 wlan0: ERR [wilc_mac_open:1016] Failed to initialize wilc
    [   18.129129] audit: type=1334 audit(1740100050.824:17): prog-id=18 op=LOAD
    [   18.136531] audit: type=1334 audit(1740100050.832:18): prog-id=19 op=LOAD
    [   18.143967] audit: type=1334 audit(1740100050.832:19): prog-id=20 op=LOAD
    [   18.491716] audit: type=1334 audit(1740100051.188:20): prog-id=20 op=UNLOAD
    [   18.498773] audit: type=1334 audit(1740100051.188:21): prog-id=19 op=UNLOAD
    [   18.506260] audit: type=1334 audit(1740100051.188:22): prog-id=18 op=UNLOAD
    [   20.989285] audit: type=1006 audit(1740100053.684:23): pid=1127 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [   21.001925] audit: type=1300 audit(1740100053.684:23): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffea4cf308 a2=1 a3=1 items=0 ppid=1 pid=1127 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   21.028567] audit: type=1327 audit(1740100053.684:23): proctitle="(systemd)"
    [   21.038268] audit: type=1334 audit(1740100053.732:24): prog-id=21 op=LOAD
    

    I didn't make any measurements on main_spi2 just because main_spi5 is a lot easier to access and moving the probes between main_spi2 and main_spi5 might cause some test leads to break off.

  • Some other info I forgot that might be useful.

    Here are the register values when spi-max-frequency is 50 MHz:

    • 0x0210012C = 0x00060000
    • 0x0211012C = 0x00060000
    • 0x0212012C = 0x00060000
    • 0x0213012C = 0x00060000
    • 0x0214012C = 0x00060000
    • 0x0215012C = 0x200613C8

    And at 25 MHz:

    • 0x0210012C = 0x00060000
    • 0x0211012C = 0x00060000
    • 0x0212012C = 0x00060000
    • 0x0213012C = 0x00060000
    • 0x0214012C = 0x00060000
    • 0x0215012C = 0x200613D0
  • Hi Amandio,

    Thank you for the experiments, logs, and the register dumps. What you are measuring on the scope seems to align with what is being programmed in the registers. That is, for 50MHz, a divider value of 2+1 is programmed, and 25MHz has a divider value of 4+1 - very strange.

    I did some experiments on my end and so far have not been able to reproduce the issue. There are some differences in setup, like using 10.1 SDK instead of 10.0 and AM67 instead of AM68, but not too much difference. If we see difference in below experiment, we can change SDK version and repeat the experiment

    2 things:

    1. Could you add an additional patch and share dmesg logs again:

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/0001_2D00_print_2D00_out_2D00_spi_2D00_related_2D00_settings.patch

    On my end, I tried setting spi-max-frequency to 50000000 and 48000000, and below is what I got for 50MHz:

    root@j722s-evm:/opt/edgeai-gst-apps# dmesg | grep DEBUG
    [    8.720694] DEBUG: max_speed_hz is 50000000, min_speed_hz is 1525
    [    8.745969] DEBUG: clock granularity bit set
    [    8.763414] DEBUG: ref_clk_hz is 50000000, div is 1, speed_hz is 50000000, clkd is 0, extclk is 0, and clkg is 0x20000000
    root@j722s-evm:/opt/edgeai-gst-apps#

    And for 48MHz:

    root@j722s-evm:/opt/edgeai-gst-apps# dmesg | grep DEBUG
    [    8.664938] DEBUG: max_speed_hz is 50000000, min_speed_hz is 1525
    [    8.710022] DEBUG: clock granularity bit set
    [    8.710036] DEBUG: ref_clk_hz is 50000000, div is 2, speed_hz is 25000000, clkd is 1, extclk is 0, and clkg is 0x20000000
    root@j722s-evm:/opt/edgeai-gst-apps# 

    So, as the above logs show, although there is a limitation with not being able to get 48MHz, the behavior of the driver should be that it tries to set clock at the highest possible clock rate without exceeding the max-spi-frequency. So you should be getting 25MHz instead of 16.6MHz when setting to 48MHz.

    2. For my second ask, could you share the devicetree file that sets up the SPI node?

    Regards,

    Takuma

  • Hi Takuma,

    I applied your patch, but since I have a few spi modules in use I added an additional printk to print the physical address of the spi module so we know which details of the dmesg log belongs to which spi module.

    Here is the relevant dmesg output when main_spi5 is set to 50MHz:

    [    6.135466] DEBUG: spi address: 0x2150100.
    [    6.145518] DEBUG: max_speed_hz is 125000000, min_speed_hz is 3814
    [    6.147018] DEBUG: clock granularity bit set
    [    6.178927] DEBUG: ref_clk_hz is 125000000, div is 3, speed_hz is 41666666, clkd is 2, extclk is 0, and clkg is 0x20000000

    And here is the complete dmesg output:

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.6.32+ (amandio@DESKTOP-UJC140B) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240620) #10 SMP PREEMPT Fri Feb  7 11:59:59 EST 2025
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Company Name Product Name
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002830000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000bc8000000, size 896 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000bc8000000..0x0000000bffffffff (917504 KiB) map reusable linux,cma
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    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] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a0000000
    [    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] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-memory@a0100000
    [    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] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a1000000
    [    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] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-memory@a1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a2000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-memory@a2100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3000000..0x00000000a30fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a3000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-memory@a3100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a40fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a4000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4100000..0x00000000a4ffffff (15360 KiB) nomap non-reusable r5f-memory@a4100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5000000..0x00000000a50fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a5000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5100000..0x00000000a5ffffff (15360 KiB) nomap non-reusable r5f-memory@a5100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6000000..0x00000000a60fffff (1024 KiB) nomap non-reusable c71-dma-memory@a6000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6100000..0x00000000a6ffffff (15360 KiB) nomap non-reusable c71-memory@a6100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7000000..0x00000000a70fffff (1024 KiB) nomap non-reusable c71-dma-memory@a7000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7100000..0x00000000a7ffffff (15360 KiB) nomap non-reusable c71-memory@a7100000
    [    0.000000] OF: reserved mem: 0x00000000a8000000..0x00000000a9bfffff (28672 KiB) nomap non-reusable ipc-memories@a8000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x0000000bffffffff]
    [    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-0x00000000a9bfffff]
    [    0.000000]   node   0: [mem 0x00000000a9c00000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x0000000bffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000bffffffff]
    [    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 s43112 r8192 d30616 u81920
    [    0.000000] pcpu-alloc: s43112 r8192 d30616 u81920 alloc=20*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS3,115200n8 earlycon=ns16550a,mmio32,0x02830000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=9dadd190-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 4128768
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 15267576K/16777216K available (12352K kernel code, 1442K rwdata, 4400K rodata, 2752K init, 506K bss, 592136K reserved, 917504K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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=2.
    [    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=2
    [    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] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    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] 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.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008417] Console: colour dummy device 80x25
    [    0.013000] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023692] pid_max: default: 32768 minimum: 301
    [    0.028459] LSM: initializing lsm=capability,integrity
    [    0.033805] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.041597] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.050771] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.058058] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.065931] rcu: Hierarchical SRCU implementation.
    [    0.070840] rcu: 	Max phase no-delay instances is 1000.
    [    0.076555] Platform MSI: msi-controller@1820000 domain created
    [    0.082789] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.092222] EFI services will not be available.
    [    0.097000] smp: Bringing up secondary CPUs ...
    [    0.110134] Detected PIPT I-cache on CPU1
    [    0.110186] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.110201] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.110236] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.110310] smp: Brought up 1 node, 2 CPUs
    [    0.139717] SMP: Total of 2 processors activated.
    [    0.144530] CPU features: detected: 32-bit EL0 Support
    [    0.149795] CPU features: detected: CRC32 instructions
    [    0.155085] CPU: All CPU(s) started at EL2
    [    0.159275] alternatives: applying system-wide alternatives
    [    0.165909] devtmpfs: initialized
    [    0.176785] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.186787] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.204360] pinctrl core: initialized pinctrl subsystem
    [    0.210028] DMI not present or invalid.
    [    0.214533] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.221264] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.228938] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.237299] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.245531] audit: initializing netlink subsys (disabled)
    [    0.251176] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
    [    0.251394] thermal_sys: Registered thermal governor 'step_wise'
    [    0.259117] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.265291] cpuidle: using governor menu
    [    0.276061] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.283043] ASID allocator initialised with 65536 entries
    [    0.296749] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.305089] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dsi@4800000/panel@0
    [    0.314351] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.322679] platform 4a00000.dss: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    0.332115] Modules: 27360 pages in range for non-PLT usage
    [    0.332120] Modules: 518880 pages in range for PLT usage
    [    0.338371] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.350766] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.357182] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.364130] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.370546] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.377494] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.383908] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.390856] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.398131] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
    [    0.407266] iommu: Default domain type: Translated
    [    0.412198] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.418671] SCSI subsystem initialized
    [    0.422610] libata version 3.00 loaded.
    [    0.422713] usbcore: registered new interface driver usbfs
    [    0.428350] usbcore: registered new interface driver hub
    [    0.433806] usbcore: registered new device driver usb
    [    0.439245] pps_core: LinuxPPS API ver. 1 registered
    [    0.444330] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.453686] PTP clock support registered
    [    0.457797] EDAC MC: Ver: 3.0.0
    [    0.461272] scmi_core: SCMI protocol bus registered
    [    0.466418] FPGA manager framework
    [    0.469939] Advanced Linux Sound Architecture Driver Initialized.
    [    0.476623] vgaarb: loaded
    [    0.479558] clocksource: Switched to clocksource arch_sys_counter
    [    0.485947] VFS: Disk quotas dquot_6.6.0
    [    0.489990] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.500341] NET: Registered PF_INET protocol family
    [    0.505686] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.518573] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    0.527500] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.535459] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.544156] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
    [    0.552780] TCP: Hash tables configured (established 131072 bind 65536)
    [    0.559690] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.566828] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.574510] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.580652] RPC: Registered named UNIX socket transport module.
    [    0.586729] RPC: Registered udp transport module.
    [    0.591542] RPC: Registered tcp transport module.
    [    0.596355] RPC: Registered tcp-with-tls transport module.
    [    0.601968] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.608565] NET: Registered PF_XDP protocol family
    [    0.613481] PCI: CLS 0 bytes, default 64
    [    0.618193] Initialise system trusted keyrings
    [    0.622892] workingset: timestamp_bits=46 max_order=22 bucket_order=0
    [    0.629679] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.635837] NFS: Registering the id_resolver key type
    [    0.641036] Key type id_resolver registered
    [    0.645316] Key type id_legacy registered
    [    0.649427] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.656291] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.677521] Key type asymmetric registered
    [    0.681713] Asymmetric key parser 'x509' registered
    [    0.686735] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.694405] io scheduler mq-deadline registered
    [    0.699050] io scheduler kyber registered
    [    0.703171] io scheduler bfq registered
    [    0.709006] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.714994] pinctrl-single 4301c038.pinctrl: 11 pins, size 44
    [    0.720978] pinctrl-single 4301c068.pinctrl: 72 pins, size 288
    [    0.727092] pinctrl-single 4301c190.pinctrl: 1 pins, size 4
    [    0.732939] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.739022] pinctrl-single 104200.pinctrl: 20 pins, size 80
    [    0.744793] pinctrl-single 104280.pinctrl: 8 pins, size 32
    [    0.753991] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.765825] loop: module loaded
    [    0.769705] megasas: 07.725.01.00-rc1
    [    0.775288] tun: Universal TUN/TAP device driver, 1.6
    [    0.781120] VFIO - User Level meta-driver version: 0.3
    [    0.787003] usbcore: registered new interface driver usb-storage
    [    0.793498] i2c_dev: i2c /dev entries driver
    [    0.798500] sdhci: Secure Digital Host Controller Interface driver
    [    0.804833] sdhci: Copyright(c) Pierre Ossman
    [    0.809404] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.815510] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.821824] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.828839] usbcore: registered new interface driver usbhid
    [    0.834551] usbhid: USB HID core driver
    [    0.839279] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.847920] optee: probing for conduit method.
    [    0.852490] optee: revision 4.2 (12d7c4ee)
    [    0.868990] optee: dynamic shared memory is enabled
    [    0.878650] random: crng init done
    [    0.882198] optee: initialized driver
    [    0.887258] Initializing XFRM netlink socket
    [    0.891667] NET: Registered PF_PACKET protocol family
    [    0.896883] Key type dns_resolver registered
    [    0.904823] registered taskstats version 1
    [    0.909097] Loading compiled-in X.509 certificates
    [    0.920599] ti-sci 44083000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    0.973318] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.979747] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.985607] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
    [    0.994189] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
    [    1.003564] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
    [    1.012248] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
    [    1.022713] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    1.029688] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    1.039111] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
    [    1.049018] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.055797] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.065200] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
    [    1.075401] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.082169] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.090373] 2810000.serial: ttyS1 at MMIO 0x2810000 (irq = 228, base_baud = 3000000) is a 8250
    [    1.099941] 2830000.serial: ttyS3 at MMIO 0x2830000 (irq = 229, base_baud = 3000000) is a 8250
    [    1.108821] printk: console [ttyS3] enabled
    [    1.117338] printk: bootconsole [ns16550a0] disabled
    [    1.128056] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.171563] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.181618] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.189895] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.202761] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.209972] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.216286] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.226788] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:200000000, add_val:4 pps:0
    [    1.235451] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [    1.242307] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [    1.249184] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [    1.256024] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [    1.266042] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.276459] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16)
    [    1.286777] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.331564] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.341592] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.349870] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.362731] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.369941] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.376203] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.391216] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.401102] mmc0: CQHCI version 5.10
    [    1.403235] clk: Disabling unused clocks
    [    1.415318] ALSA device list:
    [    1.418298]   No soundcards found.
    [    1.442141] mmc0: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    1.449736] Waiting for root device PARTUUID=9dadd190-02...
    [    1.485119] mmc0: new high speed SDHC card at address aaaa
    [    1.491016] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
    [    1.500127]  mmcblk0: p1 p2
    [    1.536509] EXT4-fs (mmcblk0p2): mounted filesystem d88879a7-aaa7-46a6-ab32-21f4d3c680cd r/w with ordered data mode. Quota mode: none.
    [    1.548629] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.565071] devtmpfs: mounted
    [    1.569077] Freeing unused kernel memory: 2752K
    [    1.573727] Run /sbin/init as init process
    [    1.577819]   with arguments:
    [    1.577823]     /sbin/init
    [    1.577826]   with environment:
    [    1.577829]     HOME=/
    [    1.577831]     TERM=linux
    [    2.135135] systemd[1]: System time before build time, advancing clock.
    [    2.228148] NET: Registered PF_INET6 protocol family
    [    2.233807] Segment Routing with IPv6
    [    2.237488] In-situ OAM (IOAM) with IPv6
    [    2.306917] systemd[1]: systemd 255.4^ 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 -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    2.338738] systemd[1]: Detected architecture arm64.
    [    2.369175] systemd[1]: Hostname set to <am68-sk>.
    [    2.495696] systemd-sysv-generator[86]: SysV service '/etc/init.d/edgeai-launcher.sh' 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 safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
    [    2.649321] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.722500] 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.785344] systemd[1]: Queued start job for default target Graphical Interface.
    [    2.822910] systemd[1]: Created slice Slice /system/getty.
    [    2.844953] systemd[1]: Created slice Slice /system/modprobe.
    [    2.868843] systemd[1]: Created slice Slice /system/serial-getty.
    [    2.892502] systemd[1]: Created slice User and Session Slice.
    [    2.915872] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    2.939813] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    2.963674] systemd[1]: Expecting device /dev/ttyS3...
    [    2.979684] systemd[1]: Reached target Path Units.
    [    2.995631] systemd[1]: Reached target Remote File Systems.
    [    3.015623] systemd[1]: Reached target Slice Units.
    [    3.031635] systemd[1]: Reached target Swaps.
    [    3.074853] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    3.099762] systemd[1]: Reached target RPC Port Mapper.
    [    3.125205] systemd[1]: Listening on Process Core Dump Socket.
    [    3.147858] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    3.172294] systemd[1]: Listening on Journal Audit Socket.
    [    3.195991] systemd[1]: Listening on Journal Socket (/dev/log).
    [    3.220008] systemd[1]: Listening on Journal Socket.
    [    3.240054] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.271495] systemd[1]: Listening on udev Control Socket.
    [    3.291934] systemd[1]: Listening on udev Kernel Socket.
    [    3.311938] systemd[1]: Listening on User Database Manager Socket.
    [    3.359825] systemd[1]: Mounting Huge Pages File System...
    [    3.382138] systemd[1]: Mounting POSIX Message Queue File System...
    [    3.419446] systemd[1]: Mounting Kernel Debug File System...
    [    3.435974] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.454237] systemd[1]: Mounting Temporary Directory /tmp...
    [    3.481107] systemd[1]: Starting Create List of Static Device Nodes...
    [    3.490949] systemd[1]: Starting Load Kernel Module configfs...
    [    3.534248] systemd[1]: Starting Load Kernel Module drm...
    [    3.560260] systemd[1]: Starting Load Kernel Module fuse...
    [    3.600239] systemd[1]: Starting Start psplash boot splash screen...
    [    3.639514] fuse: init (API version 7.39)
    [    3.656236] systemd[1]: Starting RPC Bind...
    [    3.671874] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    3.690827] systemd[1]: Starting Journal Service...
    [    3.748202] systemd[1]: Starting Load Kernel Modules...
    [    3.774650] systemd[1]: Starting Generate network units from Kernel command line...
    [    3.791473] systemd-journald[104]: Collecting audit messages is enabled.
    [    3.820931] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.872468] EXT4-fs (mmcblk0p2): re-mounted d88879a7-aaa7-46a6-ab32-21f4d3c680cd r/w. Quota mode: none.
    [    3.873628] systemd[1]: Starting Coldplug All udev Devices...
    [    3.904345] systemd[1]: Started RPC Bind.
    [    3.920048] systemd[1]: Started Journal Service.
    [    4.330941] systemd-journald[104]: Received client request to flush runtime journal.
    [    4.581348] audit: type=1334 audit(1709054766.444:2): prog-id=6 op=LOAD
    [    4.588421] audit: type=1334 audit(1709054766.452:3): prog-id=7 op=LOAD
    [    4.788421] audit: type=1334 audit(1709054766.652:4): prog-id=8 op=LOAD
    [    4.826443] audit: type=1334 audit(1709054766.688:5): prog-id=9 op=LOAD
    [    4.927415] audit: type=1334 audit(1709054766.788:6): prog-id=10 op=LOAD
    [    4.937034] audit: type=1334 audit(1709054766.796:7): prog-id=11 op=LOAD
    [    4.953067] audit: type=1334 audit(1709054766.800:8): prog-id=12 op=LOAD
    [    5.627266] DEBUG: spi address: 0x40300100.
    [    5.638849] DEBUG: max_speed_hz is 0, min_speed_hz is 0
    [    5.644805] DEBUG: clock granularity bit set
    [    5.667682] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c
    [    5.697936] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a6000000
    [    5.706781] DEBUG: ref_clk_hz is 0, div is 0, speed_hz is 0, clkd is 15, extclk is 268435455, and clkg is 0x20000000
    [    5.706797] spi spi0.0: setup: speed 0, sample leading edge, clk normal
    [    5.764734] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
    [    5.778671] remoteproc remoteproc0: 64800000.dsp is available
    [    5.785444] remoteproc remoteproc0: attaching to 64800000.dsp
    [    5.797616] k3-dsp-rproc 64800000.dsp: DSP initialized in IPC-only mode
    [    5.809077] DEBUG: spi address: 0x2100100.
    [    5.815597] remoteproc remoteproc0: remote processor 64800000.dsp is now attached
    [    5.841271] cdns-dsi 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dsi@4800000/panel@0
    [    5.853091] DEBUG: max_speed_hz is 125000000, min_speed_hz is 3814
    [    5.859131] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    5.866297] audit: type=1334 audit(1740117571.172:9): prog-id=13 op=LOAD
    [    5.877299] DEBUG: clock granularity bit set
    [    5.884481] DEBUG: ref_clk_hz is 125000000, div is 6, speed_hz is 20833333, clkd is 5, extclk is 0, and clkg is 0x20000000
    [    5.889098] platform 41000000.r5f: configured R5F for IPC-only mode
    [    5.906758] spi spi1.0: setup: speed 20833333, sample leading edge, clk normal
    [    5.907118] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    5.922532] remoteproc remoteproc1: 41000000.r5f is available
    [    5.928365] remoteproc remoteproc1: attaching to 41000000.r5f
    [    5.937329] mipi-dsi 4800000.dsi.0: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    5.954226] mc: Linux media interface: v0.10
    [    5.962178] DEBUG: clock granularity bit set
    [    5.962188] DEBUG: ref_clk_hz is 125000000, div is 6, speed_hz is 20833333, clkd is 5, extclk is 0, and clkg is 0x20000000
    [    5.969969] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    5.980407] spi spi1.1: setup: speed 20833333, sample leading edge, clk normal
    [    5.988457] k3-dsp-rproc 65800000.dsp: assigned reserved memory node c71-dma-memory@a7000000
    [    5.994597] rproc-virtio rproc-virtio.0.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [    5.998170] k3-dsp-rproc 65800000.dsp: configured DSP for IPC-only mode
    [    6.013903] remoteproc remoteproc2: 65800000.dsp is available
    [    6.025682] remoteproc remoteproc2: attaching to 65800000.dsp
    [    6.032492] k3-dsp-rproc 65800000.dsp: DSP initialized in IPC-only mode
    [    6.032500] remoteproc remoteproc2: remote processor 65800000.dsp is now attached
    [    6.053461] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    6.062902] DEBUG: spi address: 0x2120100.
    [    6.065825] rproc-virtio rproc-virtio.0.auto: registered virtio0 (type 7)
    [    6.073864] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.077882] DEBUG: max_speed_hz is 125000000, min_speed_hz is 3814
    [    6.081515] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    6.090513] DEBUG: clock granularity bit set
    [    6.096104] DEBUG: ref_clk_hz is 125000000, div is 3, speed_hz is 41666666, clkd is 2, extclk is 0, and clkg is 0x20000000
    [    6.101961] spi spi2.0: setup: speed 41666666, sample leading edge, clk normal
    [    6.114971] remoteproc remoteproc1: remote processor 41000000.r5f is now attached
    [    6.135466] DEBUG: spi address: 0x2150100.
    [    6.145518] DEBUG: max_speed_hz is 125000000, min_speed_hz is 3814
    [    6.145853] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    6.147018] DEBUG: clock granularity bit set
    [    6.152313] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.178927] DEBUG: ref_clk_hz is 125000000, div is 3, speed_hz is 41666666, clkd is 2, extclk is 0, and clkg is 0x20000000
    [    6.178944] spi spi3.0: setup: speed 41666666, sample leading edge, clk normal
    [    6.190636] remoteproc remoteproc3: 5c00000.r5f is available
    [    6.196711] remoteproc remoteproc3: attaching to 5c00000.r5f
    [    6.204737] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [    6.212676] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.223546] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    6.229152] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    6.239734] rproc-virtio rproc-virtio.1.auto: registered virtio1 (type 7)
    [    6.248648] remoteproc remoteproc3: remote processor 5c00000.r5f is now attached
    [    6.260448] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    6.271379] videodev: Linux video capture interface: v2.00
    [    6.282773] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    6.303956] remoteproc remoteproc4: 5d00000.r5f is available
    [    6.310985] remoteproc remoteproc4: attaching to 5d00000.r5f
    [    6.320061] platform 5d00000.r5f: R5F core initialized in IPC-only mode
    [    6.326838] remoteproc remoteproc4: remote processor 5d00000.r5f is now attached
    [    6.342325] platform 5e00000.r5f: configured R5F for remoteproc mode
    [    6.379063] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
    [    6.384290] pvrsrvkm: loading out-of-tree module taints kernel.
    [    6.402222] PVR_K:  183: Device: 4e20000000.gpu
    [    6.413085] PVR_K:  183: Read BVNC 36.53.104.796 from HW device registers
    [    6.423200] PVR_K:  183: RGX Device registered BVNC 36.53.104.796 with 1 core in the system
    [    6.435714] remoteproc remoteproc5: 5e00000.r5f is available
    [    6.455206] [drm] Initialized pvr 24.1.6554834 20170530 for 4e20000000.gpu on minor 1
    [    6.505933] remoteproc remoteproc5: loading /lib/firmware/j721s2-main-r5f1_0-fw failed with error -22
    [    6.517768] remoteproc remoteproc5: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -22
    [    6.529490] remoteproc remoteproc5: powering up 5e00000.r5f
    [    6.535131] remoteproc remoteproc5: loading /lib/firmware/j721s2-main-r5f1_0-fw failed with error -22
    [    6.544476] remoteproc remoteproc5: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -22
    [    6.554009] remoteproc remoteproc5: request_firmware failed: -22
    [    6.564321] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    6.589794] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    6.599896] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    6.661062] wilc1000_spi spi2.0: WILC SPI probe success
    [    6.704397] vdec 4210000.video-codec: Added wave5 driver with caps: 'ENCODE' 'DECODE'
    [    6.718300] vdec 4210000.video-codec: Product Code:      0x521c
    [    6.725780] vdec 4210000.video-codec: Firmware Revision: 320127
    [    6.866053] dbus-broker-lau[278]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [    6.979255] audit: type=1334 audit(1740117572.280:10): prog-id=14 op=LOAD
    [    6.996605] audit: type=1334 audit(1740117572.292:11): prog-id=15 op=LOAD
    [    7.004187] audit: type=1334 audit(1740117572.292:12): prog-id=16 op=LOAD
    [    7.074007] input: ILI210x Touchscreen as /devices/platform/bus@100000/2000000.i2c/i2c-1/1-0041/input/input0
    [    7.095800] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 0
    [    7.740556] Bluetooth: Core ver 2.22
    [    7.740634] NET: Registered PF_BLUETOOTH protocol family
    [    7.740637] Bluetooth: HCI device and connection manager initialized
    [    7.740649] Bluetooth: HCI socket layer initialized
    [    7.740655] Bluetooth: L2CAP socket layer initialized
    [    7.740665] Bluetooth: SCO socket layer initialized
    [    7.963633] Console: switching to colour frame buffer device 128x37
    [    8.013875] tidss 4a00000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [    8.106714] audit: type=1334 audit(1740117573.408:13): prog-id=17 op=LOAD
    [    8.443793] k3_r5_rproc bus@100000:r5fss@5e00000: Timed out waiting for 5e00000.r5f core to power up!
    [    8.476426] wilc1000_spi spi2.0 wlan0: INFO [dump_station]Dumping station information
    [   11.643580] wilc1000_spi spi2.0 wlan0: ERR [wilc_send_config_pkt:1831] Get Timed out
    [   11.651330] wilc1000_spi spi2.0 wlan0: Failed to get RSSI value
    [   11.678874] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [   11.688394] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [   11.700823] wilc1000_spi spi2.0 wlan0: INFO [wilc_mac_open]MAC OPEN[00000000740d835a] wlan0
    [   11.709209] WILC POWER UP
    [   11.711898] wilc1000_spi spi2.0 wlan0: INFO [wilc_init_host_int]Host[00000000740d835a][000000009700467e]
    [   11.721454] wilc1000_spi spi2.0 wlan0: INFO [wilc_mac_open]*** re-init ***
    [   11.728404] wilc1000_spi spi2.0 wlan0: INFO [wilc_wlan_init]Initializing WILC_Wlan
    [   11.766120] wilc1000_spi spi2.0 wlan0: INFO [init_chip]Bootrom sts = c
    [   11.776625] wilc1000_spi spi2.0 wlan0: INFO [wlan_initialize_threads]Initializing Threads ...
    [   11.785166] wilc1000_spi spi2.0 wlan0: INFO [wlan_initialize_threads]Creating kthread for transmission
    [   11.799578] wilc1000_spi spi2.0 wlan0: INFO [wlan_initialize_threads]Creating kthread for Debugging
    [   11.811143] wilc1000_spi spi2.0 wlan0: INFO [init_irq]IRQ request succeeded IRQ-NUM= 250
    [   11.819269] Detect chip WILC3000
    [   11.819273] loading firmware mchp/wilc3000_wifi_firmware.bin
    [   11.854709] Downloading Firmware ...
    [   11.968593] Download Succeeded
    [   11.971749] wilc1000_spi spi2.0 wlan0: INFO [wilc_start_firmware]Starting Firmware ...
    [   11.984565] wilc1000_spi spi2.0 wlan0: INFO [wilc_start_firmware]Waiting for FW to get ready ...
    [   12.087874] wilc1000_spi spi2.0 wlan0: INFO [wilc_start_firmware]Firmware successfully started
    [   12.925346] audit: type=1006 audit(1740117578.228:14): pid=849 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [   12.938027] audit: type=1300 audit(1740117578.228:14): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc0208c68 a2=4 a3=1 items=0 ppid=1 pid=849 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   12.964830] audit: type=1327 audit(1740117578.228:14): proctitle="(systemd)"
    [   13.426046] audit: type=1006 audit(1740117578.728:15): pid=840 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [   13.438534] audit: type=1300 audit(1740117578.728:15): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffe4ab5bd8 a2=4 a3=1 items=0 ppid=1 pid=840 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   13.465045] audit: type=1327 audit(1740117578.728:15): proctitle="(weston)"
    [   14.502912] PVR_K:  840: RGX Firmware image 'rgx.fw.36.53.104.796' loaded
    [   14.529016] PVR_K:  840: Shader binary image 'rgx.sh.36.53.104.796' loaded
    [   15.805231] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   17.230104] audit: type=1701 audit(1740117582.536:16): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=980 comm="edgeai-gui-app" exe="/usr/bin/edgeai-gui-app" sig=11 res=1
    [   18.299586] wilc1000_spi spi2.0 wlan0: Failed to configure firmware
    [   18.306175] wilc1000_spi spi2.0 wlan0: INFO [wlan_deinitialize_threads]Deinitializing Threads
    [   18.314708] wilc1000_spi spi2.0 wlan0: INFO [wlan_deinitialize_threads]Deinit debug Thread
    [   18.322978] Exit debug thread
    [   18.326044] wilc1000_spi spi2.0 wlan0: INFO [wlan_deinitialize_threads]Deinitializing Threads
    [   18.334698] wilc1000_spi spi2.0 wlan0: WLAN initialization FAILED
    [   18.340801] wilc1000_spi spi2.0 wlan0: ERR [wilc_mac_open:1016] Failed to initialize wilc
    [   18.395422] audit: type=1334 audit(1740117583.696:17): prog-id=18 op=LOAD
    [   18.402356] audit: type=1334 audit(1740117583.704:18): prog-id=19 op=LOAD
    [   18.409836] audit: type=1334 audit(1740117583.712:19): prog-id=20 op=LOAD
    [   18.794238] audit: type=1334 audit(1740117584.096:20): prog-id=20 op=UNLOAD
    [   18.802691] audit: type=1334 audit(1740117584.096:21): prog-id=19 op=UNLOAD
    [   18.810185] audit: type=1334 audit(1740117584.096:22): prog-id=18 op=UNLOAD
    [   23.143259] audit: type=1006 audit(1740117588.444:23): pid=1133 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [   23.155893] audit: type=1300 audit(1740117588.444:23): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=fffffcd9fbd8 a2=1 a3=1 items=0 ppid=1 pid=1133 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   23.182716] audit: type=1327 audit(1740117588.444:23): proctitle="(systemd)"
    [   23.190047] audit: type=1334 audit(1740117588.488:24): prog-id=21 op=LOAD
    

    When main_spi5 is set to exactly 48MHz here is the debug part of the dmesg output:

    [    6.055457] DEBUG: spi address: 0x2150100.
    [    6.076326] DEBUG: max_speed_hz is 125000000, min_speed_hz is 3814
    [    6.108907] DEBUG: clock granularity bit set
    [    6.108918] DEBUG: ref_clk_hz is 125000000, div is 3, speed_hz is 41666666, clkd is 2, extclk is 0, and clkg is 0x20000000

    And here is the complete dmesg output:

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.6.32+ (amandio@DESKTOP-UJC140B) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240620) #10 SMP PREEMPT Fri Feb  7 11:59:59 EST 2025
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Company Name Product Name
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002830000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000bc8000000, size 896 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000bc8000000..0x0000000bffffffff (917504 KiB) map reusable linux,cma
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    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] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a0000000
    [    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] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-memory@a0100000
    [    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] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a1000000
    [    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] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-memory@a1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a2000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-memory@a2100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3000000..0x00000000a30fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a3000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-memory@a3100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a40fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a4000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4100000..0x00000000a4ffffff (15360 KiB) nomap non-reusable r5f-memory@a4100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5000000..0x00000000a50fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a5000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5100000..0x00000000a5ffffff (15360 KiB) nomap non-reusable r5f-memory@a5100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6000000..0x00000000a60fffff (1024 KiB) nomap non-reusable c71-dma-memory@a6000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6100000..0x00000000a6ffffff (15360 KiB) nomap non-reusable c71-memory@a6100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7000000..0x00000000a70fffff (1024 KiB) nomap non-reusable c71-dma-memory@a7000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7100000..0x00000000a7ffffff (15360 KiB) nomap non-reusable c71-memory@a7100000
    [    0.000000] OF: reserved mem: 0x00000000a8000000..0x00000000a9bfffff (28672 KiB) nomap non-reusable ipc-memories@a8000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x0000000bffffffff]
    [    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-0x00000000a9bfffff]
    [    0.000000]   node   0: [mem 0x00000000a9c00000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x0000000bffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000bffffffff]
    [    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 s43112 r8192 d30616 u81920
    [    0.000000] pcpu-alloc: s43112 r8192 d30616 u81920 alloc=20*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS3,115200n8 earlycon=ns16550a,mmio32,0x02830000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=9dadd190-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 4128768
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 15267576K/16777216K available (12352K kernel code, 1442K rwdata, 4400K rodata, 2752K init, 506K bss, 592136K reserved, 917504K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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=2.
    [    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=2
    [    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] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    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] 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.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008416] Console: colour dummy device 80x25
    [    0.012999] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023690] pid_max: default: 32768 minimum: 301
    [    0.028463] LSM: initializing lsm=capability,integrity
    [    0.033803] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.041597] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.050794] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.058074] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.065949] rcu: Hierarchical SRCU implementation.
    [    0.070857] rcu: 	Max phase no-delay instances is 1000.
    [    0.076573] Platform MSI: msi-controller@1820000 domain created
    [    0.082809] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.092247] EFI services will not be available.
    [    0.097037] smp: Bringing up secondary CPUs ...
    [    0.110172] Detected PIPT I-cache on CPU1
    [    0.110227] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.110241] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.110276] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.110343] smp: Brought up 1 node, 2 CPUs
    [    0.139751] SMP: Total of 2 processors activated.
    [    0.144565] CPU features: detected: 32-bit EL0 Support
    [    0.149830] CPU features: detected: CRC32 instructions
    [    0.155120] CPU: All CPU(s) started at EL2
    [    0.159308] alternatives: applying system-wide alternatives
    [    0.165982] devtmpfs: initialized
    [    0.176908] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.186908] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.205126] pinctrl core: initialized pinctrl subsystem
    [    0.210774] DMI not present or invalid.
    [    0.215040] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.221901] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.229557] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.237913] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.246158] audit: initializing netlink subsys (disabled)
    [    0.251788] audit: type=2000 audit(0.192:1): state=initialized audit_enabled=0 res=1
    [    0.252018] thermal_sys: Registered thermal governor 'step_wise'
    [    0.259726] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.265899] cpuidle: using governor menu
    [    0.276682] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.283666] ASID allocator initialised with 65536 entries
    [    0.297304] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.305611] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dsi@4800000/panel@0
    [    0.314855] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.323170] platform 4a00000.dss: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    0.332589] Modules: 27360 pages in range for non-PLT usage
    [    0.332595] Modules: 518880 pages in range for PLT usage
    [    0.338810] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.351202] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.357615] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.364563] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.370978] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.377925] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.384338] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.391287] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.398583] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
    [    0.407704] iommu: Default domain type: Translated
    [    0.412641] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.419129] SCSI subsystem initialized
    [    0.423069] libata version 3.00 loaded.
    [    0.423156] usbcore: registered new interface driver usbfs
    [    0.428792] usbcore: registered new interface driver hub
    [    0.434245] usbcore: registered new device driver usb
    [    0.439669] pps_core: LinuxPPS API ver. 1 registered
    [    0.444751] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.454109] PTP clock support registered
    [    0.458223] EDAC MC: Ver: 3.0.0
    [    0.461699] scmi_core: SCMI protocol bus registered
    [    0.466870] FPGA manager framework
    [    0.470399] Advanced Linux Sound Architecture Driver Initialized.
    [    0.477085] vgaarb: loaded
    [    0.480027] clocksource: Switched to clocksource arch_sys_counter
    [    0.486424] VFS: Disk quotas dquot_6.6.0
    [    0.490464] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.500852] NET: Registered PF_INET protocol family
    [    0.506222] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.519107] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    0.528057] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.536009] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.544705] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
    [    0.553340] TCP: Hash tables configured (established 131072 bind 65536)
    [    0.560260] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.567396] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.575084] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.581250] RPC: Registered named UNIX socket transport module.
    [    0.587328] RPC: Registered udp transport module.
    [    0.592150] RPC: Registered tcp transport module.
    [    0.596963] RPC: Registered tcp-with-tls transport module.
    [    0.602575] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.609171] NET: Registered PF_XDP protocol family
    [    0.614086] PCI: CLS 0 bytes, default 64
    [    0.618792] Initialise system trusted keyrings
    [    0.623469] workingset: timestamp_bits=46 max_order=22 bucket_order=0
    [    0.630256] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.636408] NFS: Registering the id_resolver key type
    [    0.641601] Key type id_resolver registered
    [    0.645884] Key type id_legacy registered
    [    0.649996] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.656859] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.678094] Key type asymmetric registered
    [    0.682288] Asymmetric key parser 'x509' registered
    [    0.687324] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.694988] io scheduler mq-deadline registered
    [    0.699636] io scheduler kyber registered
    [    0.703757] io scheduler bfq registered
    [    0.709545] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.715537] pinctrl-single 4301c038.pinctrl: 11 pins, size 44
    [    0.721527] pinctrl-single 4301c068.pinctrl: 72 pins, size 288
    [    0.727646] pinctrl-single 4301c190.pinctrl: 1 pins, size 4
    [    0.733474] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.739558] pinctrl-single 104200.pinctrl: 20 pins, size 80
    [    0.745335] pinctrl-single 104280.pinctrl: 8 pins, size 32
    [    0.754480] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.766272] loop: module loaded
    [    0.770131] megasas: 07.725.01.00-rc1
    [    0.775705] tun: Universal TUN/TAP device driver, 1.6
    [    0.781486] VFIO - User Level meta-driver version: 0.3
    [    0.787346] usbcore: registered new interface driver usb-storage
    [    0.793839] i2c_dev: i2c /dev entries driver
    [    0.798856] sdhci: Secure Digital Host Controller Interface driver
    [    0.805190] sdhci: Copyright(c) Pierre Ossman
    [    0.809764] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.815871] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.822186] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.829201] usbcore: registered new interface driver usbhid
    [    0.834917] usbhid: USB HID core driver
    [    0.839670] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.848320] optee: probing for conduit method.
    [    0.852886] optee: revision 4.2 (12d7c4ee)
    [    0.869372] optee: dynamic shared memory is enabled
    [    0.879025] random: crng init done
    [    0.882569] optee: initialized driver
    [    0.887649] Initializing XFRM netlink socket
    [    0.892058] NET: Registered PF_PACKET protocol family
    [    0.897276] Key type dns_resolver registered
    [    0.905203] registered taskstats version 1
    [    0.909469] Loading compiled-in X.509 certificates
    [    0.920966] ti-sci 44083000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    0.973670] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.980127] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.985990] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
    [    0.994553] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
    [    1.003932] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
    [    1.012615] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
    [    1.023131] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    1.030109] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    1.039537] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
    [    1.049445] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.056224] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.065641] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
    [    1.075841] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.082612] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.090824] 2810000.serial: ttyS1 at MMIO 0x2810000 (irq = 228, base_baud = 3000000) is a 8250
    [    1.100421] 2830000.serial: ttyS3 at MMIO 0x2830000 (irq = 229, base_baud = 3000000) is a 8250
    [    1.109295] printk: console [ttyS3] enabled
    [    1.117815] printk: bootconsole [ns16550a0] disabled
    [    1.128538] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.172030] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.182088] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.190371] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.203236] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.210447] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.216763] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.227283] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:200000000, add_val:4 pps:0
    [    1.235953] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [    1.242818] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [    1.249706] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [    1.256535] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [    1.266536] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.276920] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16)
    [    1.287268] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.332030] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.342074] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.350354] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.363216] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.370427] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.376705] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.391701] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.401588] mmc0: CQHCI version 5.10
    [    1.403723] clk: Disabling unused clocks
    [    1.415660] ALSA device list:
    [    1.418637]   No soundcards found.
    [    1.442640] mmc0: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    1.450226] Waiting for root device PARTUUID=9dadd190-02...
    [    1.492365] mmc0: new high speed SDHC card at address aaaa
    [    1.498254] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
    [    1.507389]  mmcblk0: p1 p2
    [    1.538229] EXT4-fs (mmcblk0p2): mounted filesystem d88879a7-aaa7-46a6-ab32-21f4d3c680cd r/w with ordered data mode. Quota mode: none.
    [    1.550344] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.567112] devtmpfs: mounted
    [    1.571160] Freeing unused kernel memory: 2752K
    [    1.575812] Run /sbin/init as init process
    [    1.579905]   with arguments:
    [    1.579909]     /sbin/init
    [    1.579911]   with environment:
    [    1.579914]     HOME=/
    [    1.579916]     TERM=linux
    [    2.139011] systemd[1]: System time before build time, advancing clock.
    [    2.232996] NET: Registered PF_INET6 protocol family
    [    2.238613] Segment Routing with IPv6
    [    2.242299] In-situ OAM (IOAM) with IPv6
    [    2.311569] systemd[1]: systemd 255.4^ 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 -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    2.343353] systemd[1]: Detected architecture arm64.
    [    2.373645] systemd[1]: Hostname set to <am68-sk>.
    [    2.491079] systemd-sysv-generator[86]: SysV service '/etc/init.d/edgeai-launcher.sh' 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 safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
    [    2.677199] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.750853] 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.814012] systemd[1]: Queued start job for default target Graphical Interface.
    [    2.847475] systemd[1]: Created slice Slice /system/getty.
    [    2.869456] systemd[1]: Created slice Slice /system/modprobe.
    [    2.893336] systemd[1]: Created slice Slice /system/serial-getty.
    [    2.916999] systemd[1]: Created slice User and Session Slice.
    [    2.940315] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    2.964211] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    2.988123] systemd[1]: Expecting device /dev/ttyS3...
    [    3.004151] systemd[1]: Reached target Path Units.
    [    3.020100] systemd[1]: Reached target Remote File Systems.
    [    3.040091] systemd[1]: Reached target Slice Units.
    [    3.056101] systemd[1]: Reached target Swaps.
    [    3.099597] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    3.120253] systemd[1]: Reached target RPC Port Mapper.
    [    3.145928] systemd[1]: Listening on Process Core Dump Socket.
    [    3.168347] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    3.192789] systemd[1]: Listening on Journal Audit Socket.
    [    3.216484] systemd[1]: Listening on Journal Socket (/dev/log).
    [    3.240464] systemd[1]: Listening on Journal Socket.
    [    3.260531] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.291804] systemd[1]: Listening on udev Control Socket.
    [    3.312451] systemd[1]: Listening on udev Kernel Socket.
    [    3.332420] systemd[1]: Listening on User Database Manager Socket.
    [    3.380302] systemd[1]: Mounting Huge Pages File System...
    [    3.402624] systemd[1]: Mounting POSIX Message Queue File System...
    [    3.439987] systemd[1]: Mounting Kernel Debug File System...
    [    3.456447] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.474759] systemd[1]: Mounting Temporary Directory /tmp...
    [    3.501894] systemd[1]: Starting Create List of Static Device Nodes...
    [    3.511708] systemd[1]: Starting Load Kernel Module configfs...
    [    3.552816] systemd[1]: Starting Load Kernel Module drm...
    [    3.572484] systemd[1]: Starting Load Kernel Module fuse...
    [    3.587748] systemd[1]: Starting Start psplash boot splash screen...
    [    3.661557] fuse: init (API version 7.39)
    [    3.668760] systemd[1]: Starting RPC Bind...
    [    3.684362] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    3.701126] systemd[1]: Starting Journal Service...
    [    3.740902] systemd[1]: Starting Load Kernel Modules...
    [    3.765642] systemd[1]: Starting Generate network units from Kernel command line...
    [    3.789358] systemd-journald[105]: Collecting audit messages is enabled.
    [    3.813352] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.835158] systemd[1]: Starting Coldplug All udev Devices...
    [    3.872866] systemd[1]: Started RPC Bind.
    [    3.876382] EXT4-fs (mmcblk0p2): re-mounted d88879a7-aaa7-46a6-ab32-21f4d3c680cd r/w. Quota mode: none.
    [    3.905616] systemd[1]: Started Journal Service.
    [    4.324632] systemd-journald[105]: Received client request to flush runtime journal.
    [    4.569930] audit: type=1334 audit(1709054766.428:2): prog-id=6 op=LOAD
    [    4.576983] audit: type=1334 audit(1709054766.436:3): prog-id=7 op=LOAD
    [    4.804258] audit: type=1334 audit(1709054766.660:4): prog-id=8 op=LOAD
    [    4.838584] audit: type=1334 audit(1709054766.696:5): prog-id=9 op=LOAD
    [    4.979877] audit: type=1334 audit(1709054766.836:6): prog-id=10 op=LOAD
    [    5.000107] audit: type=1334 audit(1709054766.844:7): prog-id=11 op=LOAD
    [    5.013113] audit: type=1334 audit(1709054766.844:8): prog-id=12 op=LOAD
    [    5.575295] DEBUG: spi address: 0x40300100.
    [    5.583863] DEBUG: max_speed_hz is 0, min_speed_hz is 0
    [    5.584785] DEBUG: clock granularity bit set
    [    5.592091] DEBUG: ref_clk_hz is 0, div is 0, speed_hz is 0, clkd is 15, extclk is 268435455, and clkg is 0x20000000
    [    5.597478] spi spi0.0: setup: speed 0, sample leading edge, clk normal
    [    5.636728] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a6000000
    [    5.654499] DEBUG: spi address: 0x2100100.
    [    5.668276] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
    [    5.676338] remoteproc remoteproc0: 64800000.dsp is available
    [    5.683001] remoteproc remoteproc0: attaching to 64800000.dsp
    [    5.691114] DEBUG: max_speed_hz is 125000000, min_speed_hz is 3814
    [    5.694667] mc: Linux media interface: v0.10
    [    5.710380] audit: type=1334 audit(1740116817.340:9): prog-id=13 op=LOAD
    [    5.720813] k3-dsp-rproc 64800000.dsp: DSP initialized in IPC-only mode
    [    5.760661] cdns-dsi 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dsi@4800000/panel@0
    [    5.760855] DEBUG: clock granularity bit set
    [    5.772963] mipi-dsi 4800000.dsi.0: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    5.787659] remoteproc remoteproc0: remote processor 64800000.dsp is now attached
    [    5.798086] k3-dsp-rproc 65800000.dsp: assigned reserved memory node c71-dma-memory@a7000000
    [    5.812676] DEBUG: ref_clk_hz is 125000000, div is 6, speed_hz is 20833333, clkd is 5, extclk is 0, and clkg is 0x20000000
    [    5.812692] spi spi1.0: setup: speed 20833333, sample leading edge, clk normal
    [    5.819792] k3-dsp-rproc 65800000.dsp: configured DSP for IPC-only mode
    [    5.827625] DEBUG: clock granularity bit set
    [    5.834634] DEBUG: ref_clk_hz is 125000000, div is 6, speed_hz is 20833333, clkd is 5, extclk is 0, and clkg is 0x20000000
    [    5.839213] spi spi1.1: setup: speed 20833333, sample leading edge, clk normal
    [    5.857227] remoteproc remoteproc1: 65800000.dsp is available
    [    5.857661] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c
    [    5.863698] remoteproc remoteproc1: attaching to 65800000.dsp
    [    5.903444] k3-dsp-rproc 65800000.dsp: DSP initialized in IPC-only mode
    [    5.922552] DEBUG: spi address: 0x2120100.
    [    5.933454] DEBUG: max_speed_hz is 125000000, min_speed_hz is 3814
    [    5.933766] DEBUG: clock granularity bit set
    [    5.937978] remoteproc remoteproc1: remote processor 65800000.dsp is now attached
    [    5.965035] DEBUG: ref_clk_hz is 125000000, div is 3, speed_hz is 41666666, clkd is 2, extclk is 0, and clkg is 0x20000000
    [    5.965052] spi spi2.0: setup: speed 41666666, sample leading edge, clk normal
    [    6.006090] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    6.025322] videodev: Linux video capture interface: v2.00
    [    6.043141] platform 41000000.r5f: configured R5F for IPC-only mode
    [    6.055457] DEBUG: spi address: 0x2150100.
    [    6.076326] DEBUG: max_speed_hz is 125000000, min_speed_hz is 3814
    [    6.077252] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    6.108907] DEBUG: clock granularity bit set
    [    6.108918] DEBUG: ref_clk_hz is 125000000, div is 3, speed_hz is 41666666, clkd is 2, extclk is 0, and clkg is 0x20000000
    [    6.124222] spi spi3.0: setup: speed 41666666, sample leading edge, clk normal
    [    6.126819] remoteproc remoteproc2: 41000000.r5f is available
    [    6.153678] remoteproc remoteproc2: attaching to 41000000.r5f
    [    6.160537] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    6.168228] rproc-virtio rproc-virtio.0.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [    6.178437] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    6.184142] rproc-virtio rproc-virtio.0.auto: registered virtio0 (type 7)
    [    6.191099] remoteproc remoteproc2: remote processor 41000000.r5f is now attached
    [    6.193993] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.206209] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    6.227491] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    6.238480] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.251168] remoteproc remoteproc3: 5c00000.r5f is available
    [    6.262016] remoteproc remoteproc3: attaching to 5c00000.r5f
    [    6.276360] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [    6.294943] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.304603] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    6.307493] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    6.310404] rproc-virtio rproc-virtio.1.auto: registered virtio1 (type 7)
    [    6.324690] remoteproc remoteproc3: remote processor 5c00000.r5f is now attached
    [    6.333125] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    6.340280] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    6.349091] remoteproc remoteproc4: 5d00000.r5f is available
    [    6.355184] remoteproc remoteproc4: attaching to 5d00000.r5f
    [    6.361573] platform 5d00000.r5f: R5F core initialized in IPC-only mode
    [    6.368253] remoteproc remoteproc4: remote processor 5d00000.r5f is now attached
    [    6.379331] platform 5e00000.r5f: configured R5F for remoteproc mode
    [    6.386126] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
    [    6.394956] remoteproc remoteproc5: 5e00000.r5f is available
    [    6.455767] pvrsrvkm: loading out-of-tree module taints kernel.
    [    6.468471] PVR_K:  152: Device: 4e20000000.gpu
    [    6.478427] PVR_K:  152: Read BVNC 36.53.104.796 from HW device registers
    [    6.487063] PVR_K:  152: RGX Device registered BVNC 36.53.104.796 with 1 core in the system
    [    6.503736] [drm] Initialized pvr 24.1.6554834 20170530 for 4e20000000.gpu on minor 0
    [    6.516103] remoteproc remoteproc5: loading /lib/firmware/j721s2-main-r5f1_0-fw failed with error -22
    [    6.527675] remoteproc remoteproc5: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -22
    [    6.539987] remoteproc remoteproc5: powering up 5e00000.r5f
    [    6.545640] remoteproc remoteproc5: loading /lib/firmware/j721s2-main-r5f1_0-fw failed with error -22
    [    6.554890] remoteproc remoteproc5: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -22
    [    6.564390] remoteproc remoteproc5: request_firmware failed: -22
    [    6.615829] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    6.633318] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    6.640276] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    6.709251] vdec 4210000.video-codec: Added wave5 driver with caps: 'ENCODE' 'DECODE'
    [    6.717306] vdec 4210000.video-codec: Product Code:      0x521c
    [    6.717314] vdec 4210000.video-codec: Firmware Revision: 320127
    [    6.756316] wilc1000_spi spi2.0: WILC SPI probe success
    [    6.916835] dbus-broker-lau[273]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [    7.010319] audit: type=1334 audit(1740116818.640:10): prog-id=14 op=LOAD
    [    7.023870] audit: type=1334 audit(1740116818.652:11): prog-id=15 op=LOAD
    [    7.034505] audit: type=1334 audit(1740116818.652:12): prog-id=16 op=LOAD
    [    7.084489] input: ILI210x Touchscreen as /devices/platform/bus@100000/2000000.i2c/i2c-1/1-0041/input/input0
    [    7.102695] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 1
    [    7.775432] Bluetooth: Core ver 2.22
    [    7.775523] NET: Registered PF_BLUETOOTH protocol family
    [    7.775526] Bluetooth: HCI device and connection manager initialized
    [    7.775540] Bluetooth: HCI socket layer initialized
    [    7.775545] Bluetooth: L2CAP socket layer initialized
    [    7.775556] Bluetooth: SCO socket layer initialized
    [    7.988099] Console: switching to colour frame buffer device 128x37
    [    8.038056] tidss 4a00000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [    8.097107] audit: type=1334 audit(1740116819.728:13): prog-id=17 op=LOAD
    [    8.404526] k3_r5_rproc bus@100000:r5fss@5e00000: Timed out waiting for 5e00000.r5f core to power up!
    [    8.503606] wilc1000_spi spi2.0 wlan0: INFO [dump_station]Dumping station information
    [   11.604046] wilc1000_spi spi2.0 wlan0: ERR [wilc_send_config_pkt:1831] Get Timed out
    [   11.611795] wilc1000_spi spi2.0 wlan0: Failed to get RSSI value
    [   11.640723] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [   11.652708] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [   11.665421] wilc1000_spi spi2.0 wlan0: INFO [wilc_mac_open]MAC OPEN[00000000b949f919] wlan0
    [   11.673828] WILC POWER UP
    [   11.676493] wilc1000_spi spi2.0 wlan0: INFO [wilc_init_host_int]Host[00000000b949f919][000000004e9a9841]
    [   11.686069] wilc1000_spi spi2.0 wlan0: INFO [wilc_mac_open]*** re-init ***
    [   11.692952] wilc1000_spi spi2.0 wlan0: INFO [wilc_wlan_init]Initializing WILC_Wlan
    [   11.726316] wilc1000_spi spi2.0 wlan0: INFO [init_chip]Bootrom sts = c
    [   11.736207] wilc1000_spi spi2.0 wlan0: INFO [wlan_initialize_threads]Initializing Threads ...
    [   11.748671] wilc1000_spi spi2.0 wlan0: INFO [wlan_initialize_threads]Creating kthread for transmission
    [   11.752092] wilc1000_spi spi2.0 wlan0: INFO [wlan_initialize_threads]Creating kthread for Debugging
    [   11.784214] wilc1000_spi spi2.0 wlan0: INFO [init_irq]IRQ request succeeded IRQ-NUM= 250
    [   11.795217] Detect chip WILC3000
    [   11.799406] loading firmware mchp/wilc3000_wifi_firmware.bin
    [   11.851155] Downloading Firmware ...
    [   11.970504] Download Succeeded
    [   11.978780] wilc1000_spi spi2.0 wlan0: INFO [wilc_start_firmware]Starting Firmware ...
    [   11.988268] wilc1000_spi spi2.0 wlan0: INFO [wilc_start_firmware]Waiting for FW to get ready ...
    [   12.091450] wilc1000_spi spi2.0 wlan0: INFO [wilc_start_firmware]Firmware successfully started
    [   12.864988] audit: type=1006 audit(1740116824.496:14): pid=848 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [   12.878105] audit: type=1300 audit(1740116824.496:14): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=fffff8119bd8 a2=4 a3=1 items=0 ppid=1 pid=848 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   12.905060] audit: type=1327 audit(1740116824.496:14): proctitle="(systemd)"
    [   13.360059] audit: type=1006 audit(1740116824.988:15): pid=840 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [   13.372848] audit: type=1300 audit(1740116824.988:15): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=fffff03c29f8 a2=4 a3=1 items=0 ppid=1 pid=840 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   13.399657] audit: type=1327 audit(1740116824.988:15): proctitle="(weston)"
    [   14.436800] PVR_K:  840: RGX Firmware image 'rgx.fw.36.53.104.796' loaded
    [   14.461974] PVR_K:  840: Shader binary image 'rgx.sh.36.53.104.796' loaded
    [   15.765064] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   17.180761] audit: type=1701 audit(1740116828.812:16): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=976 comm="edgeai-gui-app" exe="/usr/bin/edgeai-gui-app" sig=11 res=1
    [   18.260041] wilc1000_spi spi2.0 wlan0: Failed to configure firmware
    [   18.266695] wilc1000_spi spi2.0 wlan0: INFO [wlan_deinitialize_threads]Deinitializing Threads
    [   18.275235] wilc1000_spi spi2.0 wlan0: INFO [wlan_deinitialize_threads]Deinit debug Thread
    [   18.283508] Exit debug thread
    [   18.286559] wilc1000_spi spi2.0 wlan0: INFO [wlan_deinitialize_threads]Deinitializing Threads
    [   18.295153] wilc1000_spi spi2.0 wlan0: WLAN initialization FAILED
    [   18.301314] wilc1000_spi spi2.0 wlan0: ERR [wilc_mac_open:1016] Failed to initialize wilc
    [   18.345374] audit: type=1334 audit(1740116829.976:17): prog-id=18 op=LOAD
    [   18.352843] audit: type=1334 audit(1740116829.984:18): prog-id=19 op=LOAD
    [   18.360572] audit: type=1334 audit(1740116829.984:19): prog-id=20 op=LOAD
    [   18.748317] audit: type=1334 audit(1740116830.380:20): prog-id=20 op=UNLOAD
    [   18.755480] audit: type=1334 audit(1740116830.380:21): prog-id=19 op=UNLOAD
    [   18.763250] audit: type=1334 audit(1740116830.380:22): prog-id=18 op=UNLOAD
    [  122.626121] audit: type=1006 audit(1740116934.256:23): pid=1135 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [  122.639283] audit: type=1300 audit(1740116934.256:23): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffc6bbce48 a2=1 a3=1 items=0 ppid=1 pid=1135 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [  122.665951] audit: type=1327 audit(1740116934.256:23): proctitle="(systemd)"
    [  122.673315] audit: type=1334 audit(1740116934.300:24): prog-id=21 op=LOAD
    [  122.680146] audit: type=1300 audit(1740116934.300:24): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffd3b05cd8 a2=90 a3=0 items=0 ppid=1 pid=1135 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [  122.706252] audit: type=1327 audit(1740116934.300:24): proctitle="(systemd)"
    [  122.713636] audit: type=1334 audit(1740116934.304:25): prog-id=21 op=UNLOAD
    [  122.721067] audit: type=1300 audit(1740116934.304:25): arch=c00000b7 syscall=57 success=yes exit=0 a0=8 a1=1 a2=0 a3=ffff86beec60 items=0 ppid=1 pid=1135 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [  122.746948] audit: type=1327 audit(1740116934.304:25): proctitle="(systemd)"
    [  122.754295] audit: type=1334 audit(1740116934.304:26): prog-id=22 op=LOAD
    

    I was about to do part 2 of your ask when I had a hunch about the SDK version. I found this thread:

    DRA821U: SPI not work because loading McSPI driver for OMAP failed - Processors forum - Processors - TI E2E support forums

    which lead me to these resources:

    TDA4VM: Kernel crash when spi is enabled - Processors forum - Processors - TI E2E support forums

    SPI Enablement & Validation on TDA4 Family

    arm64: dts: ti: k3-j7200: Fix clock ids for MCSPI instances - ti-linux-kernel/ti-linux-kernel - This repo contains a Linux kernel that has been integrated with outstanding TI open source patches based on the open source Linux kernel found at kernel.org. Contributions to this kernel need to be sent to the open source community for review.

    These all describe how the clock IDs in the "main" dtsi for the j7200 platform were corrected from 1 to 4. Since these platforms have a lot in common, I looked at the "main" dtsi for the j721s2 in the version 10.01.08 tag in the ti-linux repo. Sure enough, the clock IDs were corrected here to, but from 1 (DEV_MCSPI5_VBUSP_CLK) to 2 (DEV_MCSPI5_CLKSPIREF_CLK) according to this commit:

    arm64: dts: ti: k3-j721s2: Fix clock IDs for MCSPI instances - ti-linux-kernel/ti-linux-kernel - This repo contains a Linux kernel that has been integrated with outstanding TI open source patches based on the open source Linux kernel found at kernel.org. Contributions to this kernel need to be sent to the open source community for review.

    I suppose that makes sense since the TRM mentions SPICLKREF as the clock that goes to the divider and DEV_MCSPI5_CLKSPIREF_CLK seems to be a pretty close match to that name. What is even VBUSP_CLK and why would that be an option? In fact, why change the spi clock source in the first place if it could lead to issues like this?

    I updated my local copy of the clock id and I can observe the expected behavior. When spi-max-frequency is set to 50 MHz I measure just about 50 MHz. If If I set it to 48 MHz I measure just about 25 MHz.

    One other thing I'm noticing is that the mcspi seems to always be choosing clock granularity mode. I'm wondering if this is a bug? See this section in 

    omap2_mcspi_setup_transfer in spi-omap2-mcspi.c (which currently includes your debug printk statements):
    	if (speed_hz < (ref_clk_hz / OMAP2_MCSPI_MAX_DIVIDER)) {
    		clkd = omap2_mcspi_calc_divisor(speed_hz, ref_clk_hz);
    		speed_hz = ref_clk_hz >> clkd;
    		clkg = 0;
    		printk("DEBUG: omap2_mcspi_calc_divisor is used");
    	} else {
    		div = (ref_clk_hz + speed_hz - 1) / speed_hz;
    		speed_hz = ref_clk_hz / div;
    		clkd = (div - 1) & 0xf;
    		extclk = (div - 1) >> 4;
    		clkg = OMAP2_MCSPI_CHCONF_CLKG;
    		printk("DEBUG: clock granularity bit set");
    		printk("DEBUG: ref_clk_hz is %d, div is %d, speed_hz is %d, clkd is %d, extclk is %d, and clkg is 0x%x", ref_clk_hz, div, speed_hz, clkd, extclk, clkg);
    	}
    It's choosing clock granularity mode if the desired clock speed is greater than or equal to the ref clock divided by the max divisor. Isn't this backwards? Wouldn't you want clock granularity mode if your desired clock speed is less than the ref clock divided by the max divisor, because then the 4 bits alone in CLKD aren't enough to divide down to get close enough to your desired speed. So you need the extra bits in EXTCLK to get a larger divisor?
    I also have another question regarding spi, but I'll make a new post.
    As always, thank you for your time and support!
  • Hi Amandio,

    Good find on the McSPI clocking change in the devicetree! I thought the J721S2/AM68 would have been safe from this bug, but I was wrong.

    VBUSP_CLK should be the internal bus clock used for interconnecting the peripheral to the rest of the system. The devicetree clock bug was introduced due to assuming the clocking IDs from similar SoCs are the same, but in practice the reference clock is not configurable. I think our experiment is proof of this, because the buggy software reports running at 41.6MHz with a divider of 3, but actual clock measured was 16.6 since the real reference clock is 50MHz instead of 125MHz.

    As for granularity, you make a good point. Granularity mode gives more bits for the divisor. However, although non-granularity mode gives less bits, the clock division ratio is calculated at a power-of-2 (hence, less granular, but larger possible divider), so in theory non-granularity should give more range in clock. But, for current SoCs, the max division is 4096 for both granularity and non-granularity modes.

    Regards,

    Takuma

  • As for granularity, you make a good point. Granularity mode gives more bits for the divisor. However, although non-granularity mode gives less bits, the clock division ratio is calculated at a power-of-2 (hence, less granular, but larger possible divider), so in theory non-granularity should give more range in clock. But, for current SoCs, the max division is 4096 for both granularity and non-granularity modes.

    Understood. I guess I don't understand how the driver could ever choose non-granularity mode with the current code. You'd have to request a clock frequency that is smaller than the smallest clock frequency the module can generate. But then the divisor would always be OMAP2_MCSPI_MAX_DIVIDER anyway because we can't go any smaller than that. Plus, clock granularity mode can give us all the frequencies that non-granularity mode can give us so I'm not sure what's the point in choosing non-granularity mode in the first place.

    At any rate, I'm beginning to steer of course of the original subject. My issue is resolved now so thank you for your time and effort! It's very much appreciated!