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.

TDA4VM: CAN device can not be found in SK-TDA4VM ver09.02.00.05

Part Number: TDA4VM

hardware: SK-TDA4VM

software: Version: 09.02.00.05

step1:  Flash the sd card with the newest Version: 09.02.00.05

step2:  Bring up the SK-TDA4VM board

step3:   excute ' ifconfig  -a' command in console

result: No CAN device appeared.

But I have tested the same steps with the software ver08.06.01.03 and earlier, with those early version CAN device can be displayed by ' ifconfig  -a' command.

 

  • Hello,

    May be CAN instances are disabled? Have you checked the status of CAN instance in dts file ?

    Regards

    Tarun Mukesh

  • Hi,

       First, I changed the dts file k3-j721e-main.dtsi,  and built out a new  k3-j721e-sk.dtb.

      Second, I replaced the /root/boot/dtb/ti/k3-j721e-sk.dtb file on the board with the new one I just built out.   

      Finally, power on the SK-TDA4VM board,  and the board can not power up.

      Please check if my method to change dtb is wrong?  Even if I change the dts a little anywhere, the board can not bring up.

    The following is some uart log:

    U-Boot SPL 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from nowhere... OK
    Starting ATF on ARM64 core...

    NOTICE: BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE: BL31: Built : 16:09:05, Feb 9 2024
    I/TC:

  • Hi, 

      The following log from " Running uenvcmd ... ", is different from the log of board that can nromally bring up. 

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------

    U-Boot 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)

     

    SoC:   J721E SR1.1 GP

    Model: Texas Instruments J721E SK A72

    Board: J721EX-EAIK rev B

    DRAM:  2 GiB (effective 4 GiB)

    Core:  121 devices, 34 uclasses, devicetree: separate

    Flash: 0 Bytes

    MMC:   mmc@4fb0000: 1

    Loading Environment from nowhere... OK

    In:    serial@2800000

    Out:   serial@2800000

    Err:   serial@2800000

    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000

    Net:   eth0: ethernet@46000000port@1

    Hit any key to stop autoboot:  0

    switch to partitions #0, OK

    mmc1 is current device

    SD/MMC found on device 1

    Failed to load 'boot.scr'

    1432 bytes read in 25 ms (55.7 KiB/s)

    Loaded env from uEnv.txt

    Importing environment from mmc1 ...

    Running uenvcmd ...

    1 bytes read in 24 ms (0 Bytes/s)

    Already setup.

    k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work

    Failed to load '/lib/firmware/j7-mcu-r5f0_1-fw'

  • Hello,

       First, I changed the dts file k3-j721e-main.dtsi,

    As you changed this dtsi file for enabling CAN, then give "make linux-dtbs" .This will build the changed dts files and dependencies .You need to copy all the files built after giving the above mentioned command into the SD card dtb folder.

    Regards

    Tarun Mukesh 

  • Hi Tarun,

    I am facing same issue. I have modified the ti-processor-sdk-linux-edgeai-j721e-evm-09_02_00_05/board-support/ti-linux-kernel-6.1.80+gitAUTOINC+2e423244f8-ti/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi file for all the 13 CAN channels.

    main_mcan0: can@2701000 {
    		compatible = "bosch,m_can";
    		reg = <0x00 0x02701000 0x00 0x200>,
    		      <0x00 0x02708000 0x00 0x8000>;
    		reg-names = "m_can", "message_ram";
    		power-domains = <&k3_pds 156 TI_SCI_PD_EXCLUSIVE>;
    		clocks = <&k3_clks 156 0>, <&k3_clks 156 1>;
    		clock-names = "hclk", "cclk";
    		interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
    			     <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
    		interrupt-names = "int0", "int1";
    		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
    		status = "enable";
    	};
    
    .....


    After running "make linux-dtbs". I have copied all the dtb to /boot/dtb/ti/ in TDA4.

    But still CAN channels are not visible.

    ifconfig -a
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet6 fe80::2676:25ff:fe9a:d11d  prefixlen 64  scopeid 0x20<link>
            ether 24:76:25:9a:d1:1d  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 21  bytes 3366 (3.2 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 92  bytes 7648 (7.4 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 92  bytes 7648 (7.4 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  • Hello,

    Assigned this to SK board expert.

    Regards

    Tarun Mukesh

  • Hi Tarun,

    Can you please provide a solution little urgent as it is delaying the other process.

    Regards,
    Abdul Rehman

  • Hi Abdul,

    Try applying the patches in this E2E: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1334615/processor-sdk-j721e-can-driver-support-needed-for-a72-linux-of-processor-sdk-linux-sk-tda4vm/5119410?tisearch=e2e-sitesearch&keymatch=j721e%20can#5119410

    9.1 and 9.2 SDK are both based off of Linux kernel 6.1 version, so the patch should still apply.

    Let me know if you still see issues after applying this patch, and also send complete "dmesg" log after patch is applied.

    Regards,

    Takuma

  • Hi Takuma,

    Thank you for the prompt reply. The patch worked but I still have to test CANFD communication.



    I have another question. How can I change names to CAN0, CAN1, CAN3, CAN4 as it was before.

    Please find dmesg.txt

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.1.80-ti-g2e423244f8c0 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Wed Mar 20 14:43:33 UTC 2024
    [    0.000000] Machine model: Texas Instruments J721E SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000008e0000000, size 512 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-dma-memory@a9000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-memory@a9100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac000000, size 96 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@ac000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@b2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b2100000, size 95 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-memory@b2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000d8000000, size 192 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-lo@d8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000e4000000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-queues@e4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000e4800000, size 24 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-buffers@e4800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 624 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-hi@880000000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000b7ffffff]
    [    0.000000]   node   0: [mem 0x00000000b8000000-0x00000000d7ffffff]
    [    0.000000]   node   0: [mem 0x00000000d8000000-0x00000000e5ffffff]
    [    0.000000]   node   0: [mem 0x00000000e6000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008a6ffffff]
    [    0.000000]   node   0: [mem 0x00000008a7000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    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 s41064 r8192 d32664 u81920
    [    0.000000] pcpu-alloc: s41064 r8192 d32664 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] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 systemd.hostname=tda4vm-sk root=PARTUUID=a8f772c7-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 1695740K/4194304K available (11712K kernel code, 1258K rwdata, 3812K rodata, 1984K init, 438K bss, 1974276K reserved, 524288K 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 @8a7800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008a7030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008a7040000
    [    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.008413] Console: colour dummy device 80x25
    [    0.012985] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023656] pid_max: default: 32768 minimum: 301
    [    0.028392] LSM: Security Framework initializing
    [    0.033176] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.040751] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.049615] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.057016] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.063278] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.070664] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.076974] rcu: Hierarchical SRCU implementation.
    [    0.081872] rcu: 	Max phase no-delay instances is 1000.
    [    0.087376] Platform MSI: msi-controller@1820000 domain created
    [    0.093669] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.103091] EFI services will not be available.
    [    0.107844] smp: Bringing up secondary CPUs ...
    [    0.121071] Detected PIPT I-cache on CPU1
    [    0.121137] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.121149] GICv3: CPU1: using allocated LPI pending table @0x00000008a7050000
    [    0.121183] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.121240] smp: Brought up 1 node, 2 CPUs
    [    0.150589] SMP: Total of 2 processors activated.
    [    0.155393] CPU features: detected: 32-bit EL0 Support
    [    0.160647] CPU features: detected: CRC32 instructions
    [    0.165922] CPU: All CPU(s) started at EL2
    [    0.170103] alternatives: applying system-wide alternatives
    [    0.176738] devtmpfs: initialized
    [    0.186822] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.196812] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.212187] pinctrl core: initialized pinctrl subsystem
    [    0.217902] DMI not present or invalid.
    [    0.222170] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.228860] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.236187] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.244190] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.252324] audit: initializing netlink subsys (disabled)
    [    0.257951] audit: type=2000 audit(0.168:1): state=initialized audit_enabled=0 res=1
    [    0.258183] thermal_sys: Registered thermal governor 'step_wise'
    [    0.265874] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.272085] cpuidle: using governor menu
    [    0.282846] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.289814] ASID allocator initialised with 65536 entries
    [    0.305185] KASLR disabled due to lack of seed
    [    0.312612] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.319555] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.325958] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.332891] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.339292] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.346225] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.352626] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.359559] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.366702] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
    [    0.375898] iommu: Default domain type: Translated 
    [    0.380885] iommu: DMA domain TLB invalidation policy: strict mode 
    [    0.387409] SCSI subsystem initialized
    [    0.391310] libata version 3.00 loaded.
    [    0.391395] usbcore: registered new interface driver usbfs
    [    0.397013] usbcore: registered new interface driver hub
    [    0.402448] usbcore: registered new device driver usb
    [    0.407833] pps_core: LinuxPPS API ver. 1 registered
    [    0.412906] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.422242] PTP clock support registered
    [    0.426320] EDAC MC: Ver: 3.0.0
    [    0.430027] FPGA manager framework
    [    0.433537] Advanced Linux Sound Architecture Driver Initialized.
    [    0.440188] clocksource: Switched to clocksource arch_sys_counter
    [    0.446531] VFS: Disk quotas dquot_6.6.0
    [    0.450563] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.460566] Carveout Heap: Exported 512 MiB at 0x00000000b8000000
    [    0.466870] NET: Registered PF_INET protocol family
    [    0.472051] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.481106] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.489877] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.497802] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.506010] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.514732] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.521538] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.528460] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.535937] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.542042] RPC: Registered named UNIX socket transport module.
    [    0.548103] RPC: Registered udp transport module.
    [    0.552907] RPC: Registered tcp transport module.
    [    0.557710] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.564303] NET: Registered PF_XDP protocol family
    [    0.569207] PCI: CLS 0 bytes, default 64
    [    0.573614] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.582769] Initialise system trusted keyrings
    [    0.587435] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.596017] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.602287] NFS: Registering the id_resolver key type
    [    0.607465] Key type id_resolver registered
    [    0.611736] Key type id_legacy registered
    [    0.615856] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.622705] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.650159] Key type asymmetric registered
    [    0.654344] Asymmetric key parser 'x509' registered
    [    0.659350] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.666987] io scheduler mq-deadline registered
    [    0.671618] io scheduler kyber registered
    [    0.678007] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.684374] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.694207] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.702526] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    0.710796] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
    [    0.717959] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
    [    0.726032] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
    [    0.737115] loop: module loaded
    [    0.741071] megasas: 07.719.03.00-rc1
    [    0.746341] tun: Universal TUN/TAP device driver, 1.6
    [    0.751922] VFIO - User Level meta-driver version: 0.3
    [    0.757567] usbcore: registered new interface driver usb-storage
    [    0.764035] i2c_dev: i2c /dev entries driver
    [    0.768954] sdhci: Secure Digital Host Controller Interface driver
    [    0.775273] sdhci: Copyright(c) Pierre Ossman
    [    0.779856] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.785981] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.792213] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.798948] usbcore: registered new interface driver usbhid
    [    0.804642] usbhid: USB HID core driver
    [    0.809054] optee: probing for conduit method.
    [    0.813615] optee: revision 4.1 (012cdca4)
    [    0.830031] optee: dynamic shared memory is enabled
    [    0.839420] optee: initialized driver
    [    0.844447] Initializing XFRM netlink socket
    [    0.848834] NET: Registered PF_PACKET protocol family
    [    0.854038] Key type dns_resolver registered
    [    0.858585] registered taskstats version 1
    [    0.862782] Loading compiled-in X.509 certificates
    [    0.873624] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    [    0.933353] omap_i2c 42120000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.960374] i2c i2c-1: Added multiplexed i2c bus 2
    [    0.965360] i2c i2c-1: Added multiplexed i2c bus 3
    [    0.970259] pca954x 1-0071: registered 2 multiplexed busses for I2C switch pca9543
    [    0.978016] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.984068] omap_i2c 2010000.i2c: bus 4 rev0.12 at 100 kHz
    [    1.012349] i2c i2c-5: Added multiplexed i2c bus 6
    [    1.017330] i2c i2c-5: Added multiplexed i2c bus 7
    [    1.022228] pca954x 5-0070: registered 2 multiplexed busses for I2C switch pca9543
    [    1.029986] omap_i2c 2030000.i2c: bus 5 rev0.12 at 400 kHz
    [    1.035976] omap_i2c 2050000.i2c: bus 8 rev0.12 at 400 kHz
    [    1.041783] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created
    [    1.050334] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
    [    1.059671] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created
    [    1.068283] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    1.085128] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    1.095021] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.101780] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.110919] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    1.121080] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.127839] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.135788] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 193, base_baud = 6000000) is a 8250
    [    1.145248] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 194, base_baud = 3000000) is a 8250
    [    1.154097] printk: console [ttyS2] enabled
    [    1.162540] printk: bootconsole [ns16550a0] disabled
    [    1.172952] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 195, base_baud = 3000000) is a 8250
    [    1.182929] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.228195] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.236867] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.245140] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    1.257948] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.265155] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.271438] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
    [    1.281768] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    1.295841] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    1.302685] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    1.309482] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    1.316292] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    1.323064] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    1.337245] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.347924] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
    [    1.362414] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.367458] 8 fixed-partitions partitions found on MTD device 47040000.spi.0
    [    1.374494] Creating 8 MTD partitions on "47040000.spi.0":
    [    1.379979] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.386094] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.391873] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.397713] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    1.403306] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    1.409091] 0x0000007c0000-0x000000800000 : "ospi.env.backup"
    [    1.415319] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.421179] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.431714] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.476195] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.484856] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.493128] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    1.505937] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.513144] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.519393] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
    [    1.529822] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.538385] mmc1: CQHCI version 5.10
    [    1.553614] ALSA device list:
    [    1.556589]   No soundcards found.
    [    1.580740] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    1.588331] Waiting for root device PARTUUID=a8f772c7-02...
    [    1.642663] mmc1: new ultra high speed DDR50 SDHC card at address aaaa
    [    1.649617] mmcblk1: mmc1:aaaa SC32G 29.7 GiB 
    [    1.658589]  mmcblk1: p1 p2
    [    1.691756] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    1.700315] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.709859] devtmpfs: mounted
    [    1.713884] Freeing unused kernel memory: 1984K
    [    1.718514] Run /sbin/init as init process
    [    1.722605]   with arguments:
    [    1.722607]     /sbin/init
    [    1.722608]   with environment:
    [    1.722610]     HOME=/
    [    1.722611]     TERM=linux
    [    1.939726] systemd[1]: System time before build time, advancing clock.
    [    1.989541] NET: Registered PF_INET6 protocol family
    [    1.995099] Segment Routing with IPv6
    [    1.998781] In-situ OAM (IOAM) with IPv6
    [    2.027661] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    2.059102] systemd[1]: Detected architecture arm64.
    [    2.116335] systemd[1]: Hostname set to <tda4vm-sk>.
    [    2.207426] systemd-sysv-generator[142]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.232374] systemd-sysv-generator[142]: 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 more safe and robust.
    [    2.367581] systemd[1]: /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.411066] 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.462345] systemd[1]: Queued start job for default target Graphical Interface.
    [    2.501653] systemd[1]: Created slice Slice /system/getty.
    [    2.525629] systemd[1]: Created slice Slice /system/modprobe.
    [    2.549554] systemd[1]: Created slice Slice /system/serial-getty.
    [    2.573262] systemd[1]: Created slice User and Session Slice.
    [    2.596414] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    2.620334] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    2.644385] systemd[1]: Reached target Path Units.
    [    2.660247] systemd[1]: Reached target Remote File Systems.
    [    2.680246] systemd[1]: Reached target Slice Units.
    [    2.696254] systemd[1]: Reached target Swaps.
    [    2.746983] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    2.768332] systemd[1]: Reached target RPC Port Mapper.
    [    2.793080] systemd[1]: Listening on Process Core Dump Socket.
    [    2.816426] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    2.840578] systemd[1]: Listening on Journal Audit Socket.
    [    2.860492] systemd[1]: Listening on Journal Socket (/dev/log).
    [    2.880506] systemd[1]: Listening on Journal Socket.
    [    2.896578] systemd[1]: Listening on Network Service Netlink Socket.
    [    2.920566] systemd[1]: Listening on udev Control Socket.
    [    2.940438] systemd[1]: Listening on udev Kernel Socket.
    [    2.960466] systemd[1]: Listening on User Database Manager Socket.
    [    3.000498] systemd[1]: Mounting Huge Pages File System...
    [    3.018955] systemd[1]: Mounting POSIX Message Queue File System...
    [    3.042913] systemd[1]: Mounting Kernel Debug File System...
    [    3.060467] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.078320] systemd[1]: Mounting Temporary Directory /tmp...
    [    3.099645] systemd[1]: Starting Create List of Static Device Nodes...
    [    3.122765] systemd[1]: Starting Load Kernel Module configfs...
    [    3.142838] systemd[1]: Starting Load Kernel Module drm...
    [    3.163112] systemd[1]: Starting Load Kernel Module fuse...
    [    3.176543] fuse: init (API version 7.37)
    [    3.212721] systemd[1]: Starting Start psplash boot splash screen...
    [    3.239962] systemd[1]: Starting RPC Bind...
    [    3.256467] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    3.273097] systemd[1]: Starting Journal Service...
    [    3.288885] systemd[1]: Starting Load Kernel Modules...
    [    3.307816] systemd[1]: Starting Generate network units from Kernel command line...
    [    3.322556] cryptodev: loading out-of-tree module taints kernel.
    [    3.329990] cryptodev: driver 1.12 loaded.
    [    3.356740] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.374799] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [    3.384250] systemd[1]: Starting Coldplug All udev Devices...
    [    3.413298] systemd[1]: Started RPC Bind.
    [    3.436776] systemd[1]: Started Journal Service.
    [    3.772328] systemd-journald[158]: Received client request to flush runtime journal.
    [    3.962718] audit: type=1334 audit(1651167747.020:2): prog-id=5 op=LOAD
    [    3.969693] audit: type=1334 audit(1651167747.028:3): prog-id=6 op=LOAD
    [    4.449363] random: crng init done
    [    4.473294] j721e-pcie-host 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
    [    4.485633] j721e-pcie-host 2900000.pcie:       IO 0x0010001000..0x0010010fff -> 0x0010001000
    [    4.495070] j721e-pcie-host 2900000.pcie:      MEM 0x0010011000..0x0017ffffff -> 0x0010011000
    [    4.504329] j721e-pcie-host 2900000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    4.522968] CAN device driver interface
    [    4.536010] mc: Linux media interface: v0.10
    [    4.611792] PVR_K:  191: Device: 4e20000000.gpu
    [    4.616772] PVR_K:  191: Read BVNC 22.104.208.318 from HW device registers
    [    4.633632] PVR_K:  191: RGX Device registered with BVNC 22.104.208.318
    [    4.641051] videodev: Linux video capture interface: v2.00
    [    4.656889] [drm] Initialized pvr 23.3.6512818 20170530 for 4e20000000.gpu on minor 0
    [    4.690735] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node vision-apps-c66-dma-memory@a9000000
    [    4.730134] k3-dsp-rproc 4d80800000.dsp: configured DSP for IPC-only mode
    [    4.740044] cdns-mhdp8546 a000000.dp-bridge: invalid resource
    [    4.760007] cdns-mhdp8546 a000000.dp-bridge: Failed to get SAPB memory resource, HDCP not supported
    [    4.794423] remoteproc remoteproc0: 4d80800000.dsp is available
    [    4.846621] remoteproc remoteproc0: attaching to 4d80800000.dsp
    [    4.855455] img_enc 4200000.video-encoder: vxe_enc_probe: using heap 1 for internal alloc
    [    4.883605] k3-dsp-rproc 4d80800000.dsp: DSP initialized in IPC-only mode
    [    4.891665] rproc-virtio rproc-virtio.0.auto: assigned reserved memory node vision-apps-c66-dma-memory@a9000000
    [    4.913285] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    4.919037] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xd
    [    4.920520] rproc-virtio rproc-virtio.0.auto: registered virtio0 (type 7)
    [    4.933814] remoteproc remoteproc0: remote processor 4d80800000.dsp is now attached
    [    4.946171] k3-dsp-rproc 4d80800000.dsp: register pm nitifiers in remoteproc mode
    [    4.955903] k3-dsp-rproc 4d81800000.dsp: assigned reserved memory node vision-apps-c66-dma-memory@a8000000
    [    4.974687] img_dec 4300000.video-decoder: decoder registered as /dev/video0
    [    4.990964] img_enc 4200000.video-encoder: encoder registered as /dev/video1
    [    5.135061] k3-dsp-rproc 4d81800000.dsp: configured DSP for IPC-only mode
    [    5.169906] audit: type=1334 audit(1651199328.728:4): prog-id=7 op=LOAD
    [    5.180640] audit: type=1334 audit(1651199328.736:5): prog-id=8 op=LOAD
    [    5.197577] remoteproc remoteproc1: 4d81800000.dsp is available
    [    5.203702] remoteproc remoteproc1: attaching to 4d81800000.dsp
    [    5.210643] k3-dsp-rproc 4d81800000.dsp: DSP initialized in IPC-only mode
    [    5.221610] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node vision-apps-c66-dma-memory@a8000000
    [    5.232394] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    5.235720] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    5.239721] rproc-virtio rproc-virtio.1.auto: registered virtio1 (type 7)
    [    5.251941] remoteproc remoteproc1: remote processor 4d81800000.dsp is now attached
    [    5.260367] k3-dsp-rproc 4d81800000.dsp: register pm nitifiers in remoteproc mode
    [    5.297291] k3-dsp-rproc 64800000.dsp: assigned reserved memory node vision-apps-c71-dma-memory@b2000000
    [    5.366478] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
    [    5.381081] remoteproc remoteproc2: 64800000.dsp is available
    [    5.389530] remoteproc remoteproc2: attaching to 64800000.dsp
    [    5.441953] remoteproc remoteproc2: unsupported resource 65538
    [    5.450815] k3-dsp-rproc 64800000.dsp: DSP initialized in IPC-only mode
    [    5.459000] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node vision-apps-c71-dma-memory@b2000000
    [    5.471513] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    5.477167] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xd
    [    5.485545] rproc-virtio rproc-virtio.2.auto: registered virtio2 (type 7)
    [    5.494087] remoteproc remoteproc2: remote processor 64800000.dsp is now attached
    [    5.509702] k3-dsp-rproc 64800000.dsp: register pm nitifiers in remoteproc mode
    [    5.569337] j721e-pcie-host 2900000.pcie: PCI host bridge to bus 0000:00
    [    5.616283] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    5.623259] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x10001000-0x10010fff])
    [    5.633323] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff]
    [    5.640791] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
    [    5.647310] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    5.649910] Bluetooth: Core ver 2.22
    [    5.657616] pci 0000:00:00.0: supports D1
    [    5.670069] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    5.671556] NET: Registered PF_BLUETOOTH protocol family
    [    5.682216] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    5.696929] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    5.704206] Bluetooth: HCI device and connection manager initialized
    [    5.715246] Bluetooth: HCI socket layer initialized
    [    5.722162] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    5.727331] Bluetooth: L2CAP socket layer initialized
    [    5.732493] Bluetooth: SCO socket layer initialized
    [    5.779067] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    5.781601] m_can_platform 40528000.can: m_can device registered (irq=627, version=32)
    [    5.799890] platform 41000000.r5f: configured R5F for IPC-only mode
    [    5.807197] m_can_platform 2701000.can: m_can device registered (irq=628, version=32)
    [    5.807834] platform 41000000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a0000000
    [    5.821420] m_can_platform 2751000.can: m_can device registered (irq=629, version=32)
    [    5.825015] remoteproc remoteproc3: 41000000.r5f is available
    [    5.837999] remoteproc remoteproc3: attaching to 41000000.r5f
    [    5.839827] m_can_platform 2791000.can: m_can device registered (irq=630, version=32)
    [    5.844091] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    5.858635] rproc-virtio rproc-virtio.3.auto: assigned reserved memory node vision-apps-r5f-dma-memory@a0000000
    [    5.872863] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    5.889048] virtio_rpmsg_bus virtio3: creating channel ti.ipc4.ping-pong addr 0xd
    [    5.890918] pcieport 0000:00:00.0: PME: Signaling with IRQ 632
    [    5.899637] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xe
    [    5.908927] rproc-virtio rproc-virtio.3.auto: registered virtio3 (type 7)
    [    5.916596] remoteproc remoteproc3: remote processor 41000000.r5f is now attached
    [    5.916631] pcieport 0000:00:00.0: AER: enabled with IRQ 632
    [    5.930567] j721e-pcie-host 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    5.943378] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 1
    [    5.944387] j721e-pcie-host 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    5.952361] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
    [    5.959143] j721e-pcie-host 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    5.973971] j721e-pcie-host 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    5.982983] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
    [    5.989411] platform 41400000.r5f: configured R5F for remoteproc mode
    [    5.991578] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
    [    6.004866] platform 41400000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a1000000
    [    6.064797] remoteproc remoteproc4: 41400000.r5f is available
    [    6.073968] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    6.084367] remoteproc remoteproc4: loading /lib/firmware/j7-mcu-r5f0_1-fw failed with error -22
    [    6.096750] remoteproc remoteproc4: Direct firmware load for j7-mcu-r5f0_1-fw failed with error -22
    [    6.112489] remoteproc remoteproc4: powering up 41400000.r5f
    [    6.121125] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    6.128672] remoteproc remoteproc4: loading /lib/firmware/j7-mcu-r5f0_1-fw failed with error -22
    [    6.129449] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    6.144233] remoteproc remoteproc4: Direct firmware load for j7-mcu-r5f0_1-fw failed with error -22
    [    6.168472] remoteproc remoteproc4: request_firmware failed: -22
    [    6.382835] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    6.399104] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [    6.945284] remoteproc remoteproc5: b034000.pru is available
    [    6.951490] remoteproc remoteproc6: b004000.rtu is available
    [    6.959453] remoteproc remoteproc7: b00a000.txpru is available
    [    6.966318] remoteproc remoteproc8: b038000.pru is available
    [    6.973072] remoteproc remoteproc9: b006000.rtu is available
    [    6.979842] remoteproc remoteproc10: b00c000.txpru is available
    [    6.986843] remoteproc remoteproc11: b134000.pru is available
    [    6.993471] j721e-pcie-host 2910000.pcie: PCI host bridge to bus 0001:00
    [    6.998697] remoteproc remoteproc12: b104000.rtu is available
    [    7.000254] pci_bus 0001:00: root bus resource [bus 00-ff]
    [    7.006461] remoteproc remoteproc13: b10a000.txpru is available
    [    7.012893] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
    [    7.019335] remoteproc remoteproc14: b138000.pru is available
    [    7.027842] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    7.038244] remoteproc remoteproc15: b106000.rtu is available
    [    7.040727] pci 0001:00:00.0: [104c:b00d] type 01 class 0x060400
    [    7.051816] pci_bus 0001:00: 2-byte config write to 0001:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    7.052650] remoteproc remoteproc16: b10c000.txpru is available
    [    7.062390] pci 0001:00:00.0: supports D1
    [    7.071466] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
    [    7.079700] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    7.088756] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
    [    7.096294] pci 0001:00:00.0: PCI bridge to [bus 01]
    [    7.102599] pcieport 0001:00:00.0: PME: Signaling with IRQ 659
    [    7.117815] pcieport 0001:00:00.0: AER: enabled with IRQ 659
    [    7.135408] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c
    [    7.227970] audit: type=1334 audit(1651199330.784:6): prog-id=9 op=LOAD
    [    7.239125] audit: type=1334 audit(1651199330.796:7): prog-id=10 op=LOAD
    [    7.250361] m_can_platform 40528000.can mcu_mcan0: renamed from can0
    [    7.385073] m_can_platform 2791000.can main_mcan9: renamed from can3
    [    7.397705] cdns-csi2rx: probe of 4504000.csi-bridge failed with error -22
    [    7.432901] m_can_platform 2701000.can main_mcan0: renamed from can1
    [    7.464057] m_can_platform 2751000.can main_mcan5: renamed from can2
    [    7.585033] cdns-csi2rx: probe of 4514000.csi-bridge failed with error -22
    [    7.633177] audit: type=1006 audit(1651199331.192:8): pid=579 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [    7.645887] audit: type=1300 audit(1651199331.192:8): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc8a6bcf8 a2=4 a3=ffff8b470020 items=0 ppid=1 pid=579 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="/lib/systemd/systemd" key=(null)
    [    7.672645] audit: type=1327 audit(1651199331.192:8): proctitle="(systemd)"
    [    7.794232] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
    [    7.799853] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 1
    [    7.807922] xhci-hcd xhci-hcd.4.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000018010
    [    7.817531] xhci-hcd xhci-hcd.4.auto: irq 661, io mem 0x06410000
    [    7.824286] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
    [    7.829795] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 2
    [    7.837461] xhci-hcd xhci-hcd.4.auto: Host supports USB 3.0 SuperSpeed
    [    7.844537] hub 1-0:1.0: USB hub found
    [    7.848375] hub 1-0:1.0: 1 port detected
    [    7.853524] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    7.862211] hub 2-0:1.0: USB hub found
    [    7.866024] hub 2-0:1.0: 1 port detected
    [    8.096412] k3_r5_rproc bus@100000:bus@28380000:r5fss@41000000: Timed out waiting for 41400000.r5f core to power up!
    [    8.112244] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [    8.117688] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    8.125285] platform 5c00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    8.135775] remoteproc remoteproc17: 5c00000.r5f is available
    [    8.142171] remoteproc remoteproc17: attaching to 5c00000.r5f
    [    8.149077] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [    8.155792] rproc-virtio rproc-virtio.5.auto: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    8.167524] virtio_rpmsg_bus virtio4: rpmsg host is online
    [    8.173128] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0xd
    [    8.174259] rproc-virtio rproc-virtio.5.auto: registered virtio4 (type 7)
    [    8.187606] remoteproc remoteproc17: remote processor 5c00000.r5f is now attached
    [    8.195741] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    8.203434] platform 5d00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
    [    8.217890] remoteproc remoteproc18: 5d00000.r5f is available
    [    8.224155] remoteproc remoteproc18: attaching to 5d00000.r5f
    [    8.230582] platform 5d00000.r5f: R5F core initialized in IPC-only mode
    [    8.238914] audit: type=1006 audit(1651199331.792:9): pid=509 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [    8.242358] rproc-virtio rproc-virtio.6.auto: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
    [    8.255403] audit: type=1300 audit(1651199331.792:9): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc8a6bcf8 a2=4 a3=ffff8b470020 items=0 ppid=1 pid=509 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="/lib/systemd/systemd" key=(null)
    [    8.268424] virtio_rpmsg_bus virtio5: rpmsg host is online
    [    8.291470] audit: type=1327 audit(1651199331.792:9): proctitle="(weston)"
    [    8.296872] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0x15
    [    8.304978] rproc-virtio rproc-virtio.6.auto: registered virtio5 (type 7)
    [    8.311895] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xe
    [    8.319045] remoteproc remoteproc18: remote processor 5d00000.r5f is now attached
    [    8.325300] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0x15
    [    8.340128] virtio_rpmsg_bus virtio4: creating channel ti.ipc4.ping-pong addr 0xe
    [    8.347971] virtio_rpmsg_bus virtio5: creating channel rpmsg_chrdev addr 0xd
    [    8.355420] hub 1-1:1.0: USB hub found
    [    8.355488] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x15
    [    8.366376] hub 1-1:1.0: 4 ports detected
    [    8.367067] virtio_rpmsg_bus virtio5: creating channel rpmsg_chrdev addr 0x15
    [    8.377940] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xe
    [    8.380037] platform 5e00000.r5f: configured R5F for remoteproc mode
    [    8.385675] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [    8.399118] virtio_rpmsg_bus virtio5: creating channel ti.ipc4.ping-pong addr 0xe
    [    8.407032] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xe
    [    8.411321] platform 5e00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a6000000
    [    8.424312] remoteproc remoteproc19: 5e00000.r5f is available
    [    8.430294] remoteproc remoteproc19: loading /lib/firmware/j7-main-r5f1_0-fw failed with error -22
    [    8.439275] remoteproc remoteproc19: Direct firmware load for j7-main-r5f1_0-fw failed with error -22
    [    8.449915] remoteproc remoteproc19: powering up 5e00000.r5f
    [    8.456769] remoteproc remoteproc19: loading /lib/firmware/j7-main-r5f1_0-fw failed with error -22
    [    8.465787] remoteproc remoteproc19: Direct firmware load for j7-main-r5f1_0-fw failed with error -22
    [    8.475055] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
    [    8.481630] remoteproc remoteproc19: request_firmware failed: -22
    [    8.501127] hub 2-1:1.0: USB hub found
    [    8.504945] hub 2-1:1.0: 4 ports detected
    [    9.199010] PVR_K:  509: RGX Firmware image 'rgx.fw.22.104.208.318' loaded
    [    9.219982] PVR_K:  509: Shader binary image 'rgx.sh.22.104.208.318' loaded
    [    9.497806] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   10.432206] k3_r5_rproc bus@100000:r5fss@5e00000: Timed out waiting for 5e00000.r5f core to power up!
    [   10.497073] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   10.506335] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   11.285549] audit: type=1701 audit(1651199334.844:10): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=761 comm="edgeai-gui-app" exe="/usr/bin/edgeai-gui-app" sig=6 res=1
    [   11.308040] audit: type=1334 audit(1651199334.864:11): prog-id=11 op=LOAD
    [   54.811420] kauditd_printk_skb: 3 callbacks suppressed
    [   54.811427] audit: type=1006 audit(1651199378.368:15): pid=1348 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [   54.829880] audit: type=1300 audit(1651199378.368:15): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffc8a6bcf8 a2=1 a3=0 items=0 ppid=1 pid=1348 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="/lib/systemd/systemd" key=(null)
    [   54.855592] audit: type=1327 audit(1651199378.368:15): proctitle="(systemd)"
    [   54.862910] audit: type=1334 audit(1651199378.380:16): prog-id=13 op=LOAD
    [   54.870051] audit: type=1300 audit(1651199378.380:16): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffe0dc0f80 a2=78 a3=0 items=0 ppid=1 pid=1348 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="/lib/systemd/systemd" key=(null)
    [   54.895783] audit: type=1327 audit(1651199378.380:16): proctitle="(systemd)"
    [   54.903030] audit: type=1334 audit(1651199378.388:17): prog-id=13 op=UNLOAD
    [   54.910132] audit: type=1334 audit(1651199378.388:18): prog-id=14 op=LOAD
    [   54.917137] audit: type=1300 audit(1651199378.388:18): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffe0dc1020 a2=78 a3=0 items=0 ppid=1 pid=1348 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="/lib/systemd/systemd" key=(null)
    [   54.942675] audit: type=1327 audit(1651199378.388:18): proctitle="(systemd)"
    

  • Hi Takuma,

    mcu_mcan0 is not working and there is no rx, tx communication on this channel. Can you please provide the solution?

  • Hi Abdul,

    Please initialize all 4 CAN devices and try sending on all 4. It could be an issue with enumeration.

    Regards,

    Takuma

  • Hi Takuma,

    I have initialized all the 4 CAN channels and receive from all of them. main CAN channels are working fine. However, mcu_mcan0 is not receiving and I can see bus error from the sender side
    Debug port:

    root@tda4vm-sk:/opt/edgeai-gst-apps# [  133.179469] IPv6: ADDRCONF(NETDEV_CHANGE): mcu_mcan0: link becomes ready
    [  143.915629] IPv6: ADDRCONF(NETDEV_CHANGE): main_mcan0: link becomes ready
    [  150.636383] IPv6: ADDRCONF(NETDEV_CHANGE): main_mcan5: link becomes ready
    [  162.475369] IPv6: ADDRCONF(NETDEV_CHANGE): main_mcan9: link becomes ready
    [  371.431659] can: controller area network core
    [  371.436093] NET: Registered PF_CAN protocol family
    [  371.447894] can: raw protocol
    

    Terminal:

    root@tda4vm-sk:/opt/edgeai-gst-apps# ip link set mcu_mcan0 up type can bitrate 500000
    root@tda4vm-sk:/opt/edgeai-gst-apps# ip link set main_mcan0 up type can bitrate 500000
    root@tda4vm-sk:/opt/edgeai-gst-apps# ip link set main_mcan5 up type can bitrate 500000
    root@tda4vm-sk:/opt/edgeai-gst-apps# ip link set main_mcan9 up type can bitrate 500000
    root@tda4vm-sk:/opt/edgeai-gst-apps# candump mcu_mcan0

    Nothing is printed on mcu_mcan0. However I can see output for the other CAN channels.

  • Hi Abdul,

    Understood. I will look into it, and thanks for trying out the patch. I suspect something might have changed in device tree for the mcu/wakeup domain.

    In the meantime, for your usecase, are you able to continue with your development using main_mcans? Or is mcu_mcan a necessity?

    Regards,

    Takuma

  • Hi Takuma,

    I need mcu_mcan aswell. Can you please speedup the process?

    Regards,
    Abdul Rehman

  • Hi Abdul,

    It looks like mcu_mcan is working in 6.6 kernel used for our next SDK release. Patches are here: https://lore.kernel.org/all/20240430131512.1327283-1-b-padhi@ti.com/.

    However, porting this back to 6.1 kernel is proving to be slightly difficult - mainly issues with mcu_mcan. Will need some more time to root cause. 

    Regards,

    Takuma

  • Hi Takuma,

    When are you planning to release the new sdk version? Shall I apply this patch to 9.02?

    Best Regards,
    Abdul Rehman

  • Hi Abdul,

    New SDK should come out around end of July. SDK 9.2, which uses 6.1 Linux kernel seems to have issues with mcu_mcan as you and I have both found.

    However, I have pulled the latest Linux kernel from here and can verify that this behavior is fixed: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/?h=ti-linux-6.6.y-cicd. Determining which extra commit fixed mcu_mcan is a bit hard, since I cannot find any particular commits with a message that looks to be related specifically to mcu_mcan. But, you could also pull in the latest from ti-linux-kernel repo if end of July cannot be waited on.

    Regards,

    Takuma