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.

SK-TDA4VM: Set up IMX390 RCM camera to stream via fusion board

Part Number: SK-TDA4VM

Hello,

I have an Edge-AI starter kit attached to a TI ADAS Sensor Fusion Board (rev 3) connected to an IMX390 RCM camera.  I am trying to get it to stream by following the instructions here: https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-sk-tda4vm/08_02_00/exports/docs/getting_started.html

However, I noticed that the deserializers on the fusion board are located at addresses 0x36 and 0x3d, whereas the device tree file that I'm loading (`k3-j721e-sk-fpdlink-fusion.dtbo`) has the deserializers located at 0x30 and 0x38.  Have I done something wrong - or do I need to recompile these device tree files?

  • So I've recompiled the device tree such that it points to the correct addresses (see patch below):

    index b4cb9c59a1f6..189a3646ac16 100644
    --- a/arch/arm64/boot/dts/ti/k3-j721e-sk-fpdlink-fusion.dts
    +++ b/arch/arm64/boot/dts/ti/k3-j721e-sk-fpdlink-fusion.dts
    @@ -35,11 +35,11 @@ cam0_i2c: i2c@0 {
                            #size-cells = <0>;
                            reg = <0>;
     
    -                       deser@38 {
    +                       deser@36 {
                                    compatible = "ti,ds90ub960-q1";
     
                                    reg-names = "main", "ser0", "ser1", "ser2", "ser3";
    -                               reg       = <0x38>, <0x44>, <0x45>, <0x46>, <0x47>;
    +                               reg       = <0x36>, <0x44>, <0x45>, <0x46>, <0x47>;
     
                                    clocks = <&clk_fusion_25M_fixed>;
     
    @@ -68,11 +68,11 @@ ds90ub960_0_atr: i2c-atr {
                                    };
                            };
     
    -                       deser@30 {
    +                       deser@3d {
                                    compatible = "ti,ds90ub960-q1";
     
                                    reg-names = "main", "ser0", "ser1", "ser2", "ser3";
    -                               reg       = <0x30>, <0x54>, <0x55>, <0x56>, <0x57>;
    +                               reg       = <0x3d>, <0x54>, <0x55>, <0x56>, <0x57>;
     
                                    clocks = <&clk_fusion_25M_fixed>;
     
    

    however I am unable to get the camera to stream.  I tried running `v4l2-ctl -d18 --stream-mmap` and the command will hang indefinitely.

    Any advice would be helpful - thank you!

  • Hi Stuart,

    Could you please share the kernel logs for the same in order to get more clarity on the issue?

    Also could you please share the output of the below command ?
    mediactl -p


    Could you also confirm that you are setting the routes correctly before doing 'v4l2-ctl -d18 --stream-mmap' ?

    Regards,
    Nikhil

  • Hi Nikhil - thank you for your reply.

    Here are the kernel logs:

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.100-g7a7a3af903 (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Mon Apr 18 21:26:24 UTC 2022
    [    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 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 0x00000000aa000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@aa000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa100000, size 79 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-memory@aa100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b2000000, size 96 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@b2000000, 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 560 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 0x00000000fb000000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-queues@fb000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000fb800000, size 24 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-buffers@fb800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 256 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-0x00000000aeffffff]
    [    0.000000]   node   0: [mem 0x00000000af000000-0x00000000afffffff]
    [    0.000000]   node   0: [mem 0x00000000b0000000-0x00000000b7ffffff]
    [    0.000000]   node   0: [mem 0x00000000b8000000-0x00000000d7ffffff]
    [    0.000000]   node   0: [mem 0x00000000d8000000-0x00000000fcffffff]
    [    0.000000]   node   0: [mem 0x00000000fd000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x000000088fffffff]
    [    0.000000]   node   0: [mem 0x0000000890000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] On node 0 totalpages: 65536
    [    0.000000]   DMA zone: 32 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 32768 pages, LIFO batch:3
    [    0.000000]   Normal zone: 32 pages used for memmap
    [    0.000000]   Normal zone: 32768 pages, LIFO batch:3
    [    0.000000] cma: Failed to reserve 512 MiB
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.2
    [    0.000000] percpu: Embedded 2 pages/cpu s49880 r8192 d73000 u131072
    [    0.000000] pcpu-alloc: s49880 r8192 d73000 u131072 alloc=2*65536
    [    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: EL2 vector hardening
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65472
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),1m(ospi.sysfw),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs) root=PARTUUID=3482acd4-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x000000009a800000-0x000000009e800000] (64MB)
    [    0.000000] Memory: 2302784K/4194304K available (10880K kernel code, 1288K rwdata, 4352K rodata, 1856K init, 755K bss, 1891520K reserved, 0K 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] 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] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    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: allocated 1048576 Devices @8a0800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008a00b0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008a00c0000
    [    0.000000] random: get_random_bytes called from start_kernel+0x31c/0x4c4 with crng_init=0
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008381] Console: colour dummy device 80x25
    [    0.012941] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023612] pid_max: default: 32768 minimum: 301
    [    0.028358] LSM: Security Framework initializing
    [    0.033105] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.040674] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.049680] rcu: Hierarchical SRCU implementation.
    [    0.054752] Platform MSI: msi-controller@1820000 domain created
    [    0.061027] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.070332] EFI services will not be available.
    [    0.075100] smp: Bringing up secondary CPUs ...
    [    0.080368] Detected PIPT I-cache on CPU1
    [    0.080393] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.080404] GICv3: CPU1: using allocated LPI pending table @0x00000008a00d0000
    [    0.080438] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.080493] smp: Brought up 1 node, 2 CPUs
    [    0.109839] SMP: Total of 2 processors activated.
    [    0.114644] CPU features: detected: 32-bit EL0 Support
    [    0.119899] CPU features: detected: CRC32 instructions
    [    0.133720] CPU: All CPU(s) started at EL2
    [    0.137916] alternatives: patching kernel code
    [    0.142944] devtmpfs: initialized
    [    0.152061] KASLR disabled due to lack of seed
    [    0.156728] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.166690] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
    [    0.173838] pinctrl core: initialized pinctrl subsystem
    [    0.179403] DMI not present or invalid.
    [    0.183630] NET: Registered protocol family 16
    [    0.188425] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.195762] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.203729] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.212017] thermal_sys: Registered thermal governor 'step_wise'
    [    0.212020] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.218456] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.232088] ASID allocator initialised with 65536 entries
    [    0.254612] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [    0.261465] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.268226] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.275944] cryptd: max_cpu_qlen set to 1000
    [    0.281880] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
    [    0.290679] vsys_3v3: supplied by vusb-main5v0
    [    0.295690] iommu: Default domain type: Translated 
    [    0.300818] SCSI subsystem initialized
    [    0.304911] mc: Linux media interface: v0.10
    [    0.309281] videodev: Linux video capture interface: v2.00
    [    0.314909] pps_core: LinuxPPS API ver. 1 registered
    [    0.319981] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.329318] PTP clock support registered
    [    0.333336] EDAC MC: Ver: 3.0.0
    [    0.337108] FPGA manager framework
    [    0.340619] Advanced Linux Sound Architecture Driver Initialized.
    [    0.347226] clocksource: Switched to clocksource arch_sys_counter
    [    0.353670] VFS: Disk quotas dquot_6.6.0
    [    0.357717] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.367503] Carveout Heap: Exported 512 MiB at 0x00000000b8000000
    [    0.373800] NET: Registered protocol family 2
    [    0.378402] IP idents hash table entries: 65536 (order: 3, 524288 bytes, linear)
    [    0.387033] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [    0.395802] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
    [    0.404000] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
    [    0.411804] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.418553] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.425443] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.432830] NET: Registered protocol family 1
    [    0.437542] RPC: Registered named UNIX socket transport module.
    [    0.443598] RPC: Registered udp transport module.
    [    0.448412] RPC: Registered tcp transport module.
    [    0.453216] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.459799] PCI: CLS 0 bytes, default 64
    [    0.464149] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.474471] Initialise system trusted keyrings
    [    0.479100] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.487487] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.493695] NFS: Registering the id_resolver key type
    [    0.498915] Key type id_resolver registered
    [    0.503186] Key type id_legacy registered
    [    0.507306] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.514153] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.521798] 9p: Installing v9fs 9p2000 file system support
    [    0.547022] Key type asymmetric registered
    [    0.551208] Asymmetric key parser 'x509' registered
    [    0.556207] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.563765] io scheduler mq-deadline registered
    [    0.568391] io scheduler kyber registered
    [    0.573632] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.579791] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.588338] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.594610] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.602374] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.610498] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    0.619863] arm-smmu-v3 36600000.iommu: allocated 524288 entries for cmdq
    [    0.629541] arm-smmu-v3 36600000.iommu: allocated 524288 entries for evtq
    [    0.637456] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
    [    0.650620] brd: module loaded
    [    0.656748] loop: module loaded
    [    0.660301] sysfs: cannot create duplicate filename '/devices/platform/dma_buf_phys'
    [    0.668227] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.10.100-g7a7a3af903 #1
    [    0.675515] Hardware name: Texas Instruments J721E SK (DT)
    [    0.681115] Call trace:
    [    0.683619]  dump_backtrace+0x0/0x1a0
    [    0.687355]  show_stack+0x18/0x68
    [    0.690738]  dump_stack+0xd0/0x12c
    [    0.694208]  sysfs_warn_dup+0x60/0x80
    [    0.697942]  sysfs_create_dir_ns+0xe0/0xf8
    [    0.702124]  kobject_add_internal+0x98/0x288
    [    0.706480]  kobject_add+0x94/0x100
    [    0.710041]  device_add+0xe0/0x740
    [    0.713509]  platform_device_add+0x100/0x238
    [    0.717866]  platform_device_register_full+0xcc/0x150
    [    0.723027]  dma_buf_phys_init+0x6c/0x9c
    [    0.727029]  do_one_initcall+0x54/0x1b8
    [    0.730945]  kernel_init_freeable+0x220/0x2a0
    [    0.735392]  kernel_init+0x14/0x114
    [    0.738948]  ret_from_fork+0x10/0x34
    [    0.742614] kobject_add_internal failed for dma_buf_phys with -EEXIST, don't try to register things with the same name in the same directory.
    [    0.755786] megasas: 07.714.04.00-rc1
    [    0.761189] tun: Universal TUN/TAP device driver, 1.6
    [    0.766619] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.773025] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.779096] sky2: driver version 1.30
    [    0.783352] VFIO - User Level meta-driver version: 0.3
    [    0.789011] i2c /dev entries driver
    [    0.793236] sdhci: Secure Digital Host Controller Interface driver
    [    0.799568] sdhci: Copyright(c) Pierre Ossman
    [    0.804191] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.810487] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.816787] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.823894] optee: probing for conduit method.
    [    0.828451] optee: revision 3.12 (3d47a131)
    [    0.828701] optee: initialized driver
    [    0.838002] NET: Registered protocol family 17
    [    0.842628] 9pnet: Installing 9P2000 support
    [    0.847015] Key type dns_resolver registered
    [    0.851498] Loading compiled-in X.509 certificates
    [    0.860700] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.867032] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.875179] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    [    0.905344] random: fast init done
    [    0.930179] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.936295] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.942358] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.971385] i2c i2c-3: Added multiplexed i2c bus 4
    [    0.976362] i2c i2c-3: Added multiplexed i2c bus 5
    [    0.981260] pca954x 3-0071: registered 2 multiplexed busses for I2C switch pca9543
    [    0.989018] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.995101] omap_i2c 2010000.i2c: bus 6 rev0.12 at 100 kHz
    [    1.024091] i2c i2c-7: Added multiplexed i2c bus 8
    [    1.029072] i2c i2c-7: Added multiplexed i2c bus 9
    [    1.033971] pca954x 7-0070: registered 2 multiplexed busses for I2C switch pca9543
    [    1.041729] omap_i2c 2030000.i2c: bus 7 rev0.12 at 400 kHz
    [    1.048130] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    1.058108] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    1.066917] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created
    [    1.076757] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    1.099606] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
    [    1.107277] j721e-pcie 2900000.pcie:       IO 0x0010001000..0x0010010fff -> 0x0010001000
    [    1.115553] j721e-pcie 2900000.pcie:      MEM 0x0010011000..0x0017ffffff -> 0x0010011000
    [    1.123829] j721e-pcie 2900000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    1.132726] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    1.140413] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    1.148693] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    1.156970] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    1.166167] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    1.176048] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.182808] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.191832] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    1.201974] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.208739] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.216704] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 6000000) is a 8250
    [    1.226126] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 27, base_baud = 3000000) is a 8250
    [    1.234873] printk: console [ttyS2] enabled
    [    1.243311] printk: bootconsole [ns16550a0] disabled
    [    1.253791] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 28, base_baud = 3000000) is a 8250
    [    1.262742] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 29, base_baud = 3000000) is a 8250
    [    1.311232] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.320224] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.328523] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    1.342517] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    1.350967] k3-j72xx-soc-thermal 42040000.wkup_vtm0: work around NOT needed!!
    [    1.464264] vdd_mmc1: supplied by vsys_3v3
    [    1.469117] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    1.475994] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    1.482833] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    1.489655] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    1.496461] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    1.506651] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
    [    1.514157] j721e-pcie 2900000.pcie:       IO 0x0010001000..0x0010010fff -> 0x0010001000
    [    1.522238] j721e-pcie 2900000.pcie:      MEM 0x0010011000..0x0017ffffff -> 0x0010011000
    [    1.530316] j721e-pcie 2900000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    2.541022] j721e-pcie 2900000.pcie: PCI host bridge to bus 0000:00
    [    2.547286] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    2.552759] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x10001000-0x10010fff])
    [    2.562217] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff]
    [    2.569099] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
    [    2.575093] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.584725] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.594378] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xe8 may corrupt adjacent RW1C bits
    [    2.604099] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.613829] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x92 may corrupt adjacent RW1C bits
    [    2.623551] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xb2 may corrupt adjacent RW1C bits
    [    2.633296] pci 0000:00:00.0: supports D1
    [    2.637294] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    2.643026] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x84 may corrupt adjacent RW1C bits
    [    2.654848] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.662842] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.672568] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.682289] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.693760] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    2.700368] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.705543] pcieport 0000:00:00.0: PME: Signaling with IRQ 492
    [    2.711873] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    2.719361] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    2.727439] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    2.735521] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    3.746225] j721e-pcie 2910000.pcie: PCI host bridge to bus 0001:00
    [    3.752484] pci_bus 0001:00: root bus resource [bus 00-ff]
    [    3.757957] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
    [    3.767588] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    3.774464] pci 0001:00:00.0: [104c:b00d] type 01 class 0x060400
    [    3.780522] pci 0001:00:00.0: supports D1
    [    3.784519] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
    [    3.792135] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    3.801859] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
    [    3.808465] pci 0001:00:00.0: PCI bridge to [bus 01]
    [    3.813616] pcieport 0001:00:00.0: PME: Signaling with IRQ 494
    [    3.820262] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    3.830756] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
    [    3.846108] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    3.851092] 8 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    3.857693] Creating 8 MTD partitions on "47040000.spi.0":
    [    3.863168] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    3.869170] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    3.874912] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    3.880682] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    3.886222] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    3.891936] 0x0000007c0000-0x000000800000 : "ospi.env.backup"
    [    3.898065] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    3.903875] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    3.951233] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    3.960082] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    3.968373] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    3.982018] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    3.988999] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    3.996210] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    4.002542] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
    [    4.013161] mmc0: CQHCI version 5.10
    [    4.015939] debugfs: Directory 'pd:27' with parent 'pm_genpd' already present!
    [    4.024027] debugfs: Directory 'pd:26' with parent 'pm_genpd' already present!
    [    4.032215] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
    [    4.039554] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
    [    4.046868] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    4.054186] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
    [    4.072720] ALSA device list:
    [    4.075692]   No soundcards found.
    [    5.085866] mmc0: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    5.093645] Waiting for root device PARTUUID=3482acd4-02...
    [    5.148797] mmc0: new ultra high speed DDR50 SDHC card at address 0001
    [    5.155657] mmcblk0: mmc0:0001 EB1QT 29.8 GiB 
    [    5.162564]  mmcblk0: p1 p2
    [    5.195860] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    5.203983] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    5.213677] devtmpfs: mounted
    [    5.217048] Freeing unused kernel memory: 1856K
    [    5.221603] Run /sbin/init as init process
    [    5.225688]   with arguments:
    [    5.225690]     /sbin/init
    [    5.225692]   with environment:
    [    5.225694]     HOME=/
    [    5.225696]     TERM=linux
    [    5.381793] systemd[1]: System time before build time, advancing clock.
    [    5.436528] NET: Registered protocol family 10
    [    5.441477] Segment Routing with IPv6
    [    5.463645] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    5.485403] systemd[1]: Detected architecture arm64.
    [    5.535972] systemd[1]: Set hostname to <tda4vm-sk>.
    [    5.733255] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock \xe2\x86\x92 /run/docker.sock; please update the unit file accordingly.
    [    5.801507] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.808245] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    5.820583] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    5.830461] systemd[1]: Created slice system-getty.slice.
    [    5.851299] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.858599] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    5.879301] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.886471] systemd[1]: Created slice User and Session Slice.
    [    5.907419] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    5.931338] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    5.955340] systemd[1]: Reached target Paths.
    [    5.971285] systemd[1]: Reached target Remote File Systems.
    [    5.991269] systemd[1]: Reached target Slices.
    [    6.007280] systemd[1]: Reached target Swap.
    [    6.031665] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    6.055314] systemd[1]: Reached target RPC Port Mapper.
    [    6.077423] systemd[1]: Listening on Process Core Dump Socket.
    [    6.099411] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    6.135466] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    6.143814] systemd[1]: Listening on Journal Socket (/dev/log).
    [    6.167514] systemd[1]: Listening on Journal Socket.
    [    6.187042] systemd[1]: Listening on Network Service Netlink Socket.
    [    6.207485] systemd[1]: Listening on udev Control Socket.
    [    6.227397] systemd[1]: Listening on udev Kernel Socket.
    [    6.250397] systemd[1]: Mounting Huge Pages File System...
    [    6.270411] systemd[1]: Mounting POSIX Message Queue File System...
    [    6.293632] systemd[1]: Mounting Kernel Debug File System...
    [    6.314194] systemd[1]: Mounting Temporary Directory (/tmp)...
    [    6.334221] systemd[1]: Starting Create list of static device nodes for the current kernel...
    [    6.366839] systemd[1]: Starting Start psplash boot splash screen...
    [    6.390592] systemd[1]: Starting RPC Bind...
    [    6.403452] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    6.415840] systemd[1]: Starting Journal Service...
    [    6.443113] systemd[1]: Starting Load Kernel Modules...
    [    6.458594] cryptodev: loading out-of-tree module taints kernel.
    [    6.465750] cryptodev: driver 1.10 loaded.
    [    6.467166] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    6.483425] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    6.501853] systemd[1]: Starting udev Coldplug all Devices...
    [    6.525908] systemd[1]: Started RPC Bind.
    [    6.539643] systemd[1]: Started Journal Service.
    [    6.766339] systemd-journald[164]: Received client request to flush runtime journal.
    [    7.260162] CAN device driver interface
    [    7.401837] ds90ub960 8-0036: Successfully probed (rev/mask 40)
    [    7.415453] img_enc 4200000.video-encoder: vxe_enc_probe: using heap 1 for internal alloc
    [    7.463257] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node vision-apps-c66-dma-memory@a9000000
    [    7.491090] img_dec 4300000.video-decoder: decoder registered as /dev/video0
    [    7.542332] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 0
    [    7.549558] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
    [    7.560456] PVR_K:  196: Read BVNC 22.104.208.318 from HW device registers
    [    7.568751] k3-dsp-rproc 4d80800000.dsp: configured DSP for IPC-only mode
    [    7.626181] img_enc 4200000.video-encoder: encoder registered as /dev/video1
    [    7.633623] PVR_K:  196: RGX Device registered with BVNC 22.104.208.318
    [    7.643211] remoteproc remoteproc0: 4d80800000.dsp is available
    [    7.650101] ds90ub960 8-003d: Successfully probed (rev/mask 40)
    [    7.659537] [drm] Initialized pvr 1.13.5776728 20170530 for 4e20000000.gpu on minor 1
    [    7.670856] remoteproc remoteproc0: attaching to 4d80800000.dsp
    [    7.710926] k3-dsp-rproc 4d80800000.dsp: DSP initialized in IPC-only mode
    [    7.717812]  remoteproc0#vdev0buffer: assigned reserved memory node vision-apps-c66-dma-memory@a9000000
    [    7.728083] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    7.731655] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xd
    [    7.735955]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [    7.747477] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    7.747756] remoteproc remoteproc0: remote processor 4d80800000.dsp is now attached
    [    7.771415] k3-dsp-rproc 4d81800000.dsp: assigned reserved memory node vision-apps-c66-dma-memory@a8000000
    [    7.785333] k3-dsp-rproc 4d81800000.dsp: configured DSP for IPC-only mode
    [    7.792627] platform 41000000.r5f: configured R5F for IPC-only mode
    [    7.804273] platform 41000000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a0000000
    [    7.813687] remoteproc remoteproc2: 4d81800000.dsp is available
    [    7.820169] remoteproc remoteproc1: 41000000.r5f is available
    [    7.830156] remoteproc remoteproc2: attaching to 4d81800000.dsp
    [    7.840547] remoteproc remoteproc1: attaching to 41000000.r5f
    [    7.887780] k3-dsp-rproc 4d81800000.dsp: DSP initialized in IPC-only mode
    [    7.914110] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    7.932769]  remoteproc2#vdev0buffer: assigned reserved memory node vision-apps-c66-dma-memory@a8000000
    [    7.943675]  remoteproc1#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a0000000
    [    7.956054] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    7.959684] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    7.966078] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    7.975087] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xd
    [    7.976164]  remoteproc2#vdev0buffer: registered virtio1 (type 7)
    [    7.991423] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xe
    [    7.994322]  remoteproc1#vdev0buffer: registered virtio2 (type 7)
    [    8.027311] remoteproc remoteproc2: remote processor 4d81800000.dsp is now attached
    [    8.043254] remoteproc remoteproc1: remote processor 41000000.r5f is now attached
    [    8.057075] k3-dsp-rproc 64800000.dsp: assigned reserved memory node vision-apps-c71-dma-memory@aa000000
    [    8.072309] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    8.080188] platform 5c00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    8.096687] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
    [    8.199532] remoteproc remoteproc3: 64800000.dsp is available
    [    8.226580] remoteproc remoteproc4: 5c00000.r5f is available
    [    8.257748] remoteproc remoteproc3: attaching to 64800000.dsp
    [    8.277673] remoteproc remoteproc4: attaching to 5c00000.r5f
    [    8.298077] remoteproc remoteproc3: unsupported resource 65538
    [    8.309618] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [    8.367341] k3-dsp-rproc 64800000.dsp: DSP initialized in IPC-only mode
    [    8.382095]  remoteproc4#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    8.414154]  remoteproc3#vdev0buffer: assigned reserved memory node vision-apps-c71-dma-memory@aa000000
    [    8.459776] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    8.474572] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xd
    [    8.509587] virtio_rpmsg_bus virtio4: rpmsg host is online
    [    8.511482] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0xd
    [    8.538734]  remoteproc4#vdev0buffer: registered virtio3 (type 7)
    [    8.580139]  remoteproc3#vdev0buffer: registered virtio4 (type 7)
    [    8.596046] remoteproc remoteproc4: remote processor 5c00000.r5f is now attached
    [    8.655505] remoteproc remoteproc3: remote processor 64800000.dsp is now attached
    [    8.680274] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    8.735182] platform 5d00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
    [    8.773729] remoteproc remoteproc5: 5d00000.r5f is available
    [    8.803919] remoteproc remoteproc5: attaching to 5d00000.r5f
    [    8.831099] platform 5d00000.r5f: R5F core initialized in IPC-only mode
    [    8.853884]  remoteproc5#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
    [    8.887586] virtio_rpmsg_bus virtio5: rpmsg host is online
    [    8.902239] virtio_rpmsg_bus virtio5: creating channel rpmsg_chrdev addr 0xd
    [    8.905727]  remoteproc5#vdev0buffer: registered virtio5 (type 7)
    [    8.910191] virtio_rpmsg_bus virtio5: creating channel rpmsg_chrdev addr 0x15
    [    8.930088] virtio_rpmsg_bus virtio5: creating channel ti.ipc4.ping-pong addr 0xe
    [    8.942185] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0x15
    [    8.945985] remoteproc remoteproc5: remote processor 5d00000.r5f is now attached
    [    8.953993] virtio_rpmsg_bus virtio4: creating channel ti.ipc4.ping-pong addr 0xe
    [    8.969457] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x15
    [    8.976765] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xe
    [    8.991586] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [    8.998864] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xe
    [    9.006426] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0x15
    [    9.015355] virtio_rpmsg_bus virtio3: creating channel ti.ipc4.ping-pong addr 0xe
    [    9.028780] platform 5e00000.r5f: configured R5F for remoteproc mode
    [    9.039326] platform 5e00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a6000000
    [    9.050583] remoteproc remoteproc6: 5e00000.r5f is available
    [    9.056357] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_0-fw failed with error -2
    [    9.065403] remoteproc remoteproc6: powering up 5e00000.r5f
    [    9.071028] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_0-fw failed with error -2
    [    9.080084] remoteproc remoteproc6: request_firmware failed: -2
    [    9.121309] platform 5f00000.r5f: configured R5F for remoteproc mode
    [    9.128062] m_can_platform 2791000.can: m_can device registered (irq=46, version=32)
    [    9.141157] m_can_platform 40528000.can: m_can device registered (irq=20, version=32)
    [    9.157289] m_can_platform 2751000.can: m_can device registered (irq=44, version=32)
    [    9.183383] platform 5f00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a7000000
    [    9.194966] m_can_platform 2701000.can: m_can device registered (irq=42, version=32)
    [    9.287478] remoteproc remoteproc7: 5f00000.r5f is available
    [    9.355244] random: crng init done
    [    9.358641] random: 7 urandom warning(s) missed due to ratelimiting
    [    9.365628] remoteproc remoteproc7: Direct firmware load for j7-main-r5f1_1-fw failed with error -2
    [    9.377123] remoteproc remoteproc7: powering up 5f00000.r5f
    [    9.382790] remoteproc remoteproc7: Direct firmware load for j7-main-r5f1_1-fw failed with error -2
    [    9.393655] remoteproc remoteproc7: request_firmware failed: -2
    [    9.904335] usbcore: registered new interface driver usbfs
    [    9.932307] remoteproc remoteproc8: b034000.pru is available
    [    9.942451] usbcore: registered new interface driver hub
    [    9.943441] cdns-csi2rx 4504000.csi-bridge: Probed CSI2RX with 4/4 lanes, 4 streams, external D-PHY
    [    9.982470] remoteproc remoteproc9: b004000.rtu is available
    [   10.001660] remoteproc remoteproc10: b00a000.txpru is available
    [   10.008197] usbcore: registered new device driver usb
    [   10.010979] cdns-csi2rx 4514000.csi-bridge: Probed CSI2RX with 4/4 lanes, 4 streams, external D-PHY
    [   10.025062] remoteproc remoteproc11: b038000.pru is available
    [   10.031454] remoteproc remoteproc12: b006000.rtu is available
    [   10.047740] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c
    [   10.070410] remoteproc remoteproc13: b00c000.txpru is available
    [   10.083589] ds90ub953 8-0044: Found rev 1, mask 0
    [   10.113266] imx390 10-001a: inck rate: 27000000 Hz
    [   10.160883] imx390 10-001a: imx390 probed
    [   10.191333] remoteproc remoteproc14: b134000.pru is available
    [   10.200194] remoteproc remoteproc15: b104000.rtu is available
    [   10.206922] ds90ub960 8-003d: RX0 STS2 error: 0xc
    [   10.211688] ds90ub960 8-003d: RX0 CSI error: 0x2
    [   10.221860] remoteproc remoteproc16: b10a000.txpru is available
    [   10.229346] remoteproc remoteproc17: b138000.pru is available
    [   10.237058] remoteproc remoteproc18: b106000.rtu is available
    [   10.247449] remoteproc remoteproc19: b10c000.txpru is available
    [   10.266444] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   10.907017] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [   10.912969] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [   10.921149] xhci-hcd xhci-hcd.0.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000010010
    [   10.930574] xhci-hcd xhci-hcd.0.auto: irq 648, io mem 0x06410000
    [   10.936788] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [   10.945049] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   10.952260] usb usb1: Product: xHCI Host Controller
    [   10.957131] usb usb1: Manufacturer: Linux 5.10.100-g7a7a3af903 xhci-hcd
    [   10.963733] usb usb1: SerialNumber: xhci-hcd.0.auto
    [   10.968884] hub 1-0:1.0: USB hub found
    [   10.972671] hub 1-0:1.0: 1 port detected
    [   10.976798] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [   10.982289] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [   10.989947] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
    [   10.996496] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   11.004634] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
    [   11.012886] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   11.020098] usb usb2: Product: xHCI Host Controller
    [   11.024966] usb usb2: Manufacturer: Linux 5.10.100-g7a7a3af903 xhci-hcd
    [   11.031571] usb usb2: SerialNumber: xhci-hcd.0.auto
    [   11.036677] hub 2-0:1.0: USB hub found
    [   11.040443] hub 2-0:1.0: 1 port detected
    [   11.235247] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   11.395569] usb 1-1: New USB device found, idVendor=0451, idProduct=8142, bcdDevice= 1.00
    [   11.411928] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [   11.426369] usb 1-1: SerialNumber: FB090071A4CD
    [   11.447303] hub 1-1:1.0: USB hub found
    [   11.457657] hub 1-1:1.0: 4 ports detected
    [   11.523710] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
    [   11.563506] usb 2-1: New USB device found, idVendor=0451, idProduct=8140, bcdDevice= 1.00
    [   11.571743] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [   11.584192] hub 2-1:1.0: USB hub found
    [   11.591260] hub 2-1:1.0: 4 ports detected
    [   11.714045] Bluetooth: Core ver 2.22
    [   11.720742] NET: Registered protocol family 31
    [   11.735964] Bluetooth: HCI device and connection manager initialized
    [   11.742508] TI DP83867 46000f00.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=46000f00.mdio:00, irq=POLL)
    [   11.759438] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down
    [   11.775432] Bluetooth: HCI socket layer initialized
    [   11.783509] Bluetooth: L2CAP socket layer initialized
    [   11.791787] Bluetooth: SCO socket layer initialized
    [   15.326138] PVR_K:  1094: RGX Firmware image 'rgx.fw.22.104.208.318' loaded
    [  132.536463] Initializing XFRM netlink socket
    [  136.291635] process 'docker/tmp/qemu-check288207340/check' started with executable stack
    

    Here is the output of `media-ctl -p`

    Media controller API version 5.10.100
    
    Media device information
    ------------------------
    driver          j721e-csi2rx
    model           TI-CSI2RX
    serial          
    bus info        platform:4500000.ticsi2rx
    hw revision     0x1
    driver version  5.10.100
    
    Device topology
    - entity 1: 4500000.ticsi2rx (17 pads, 17 links, 1 route)
                type V4L2 subdev subtype Unknown flags 0
                device node name /dev/v4l-subdev3
    	routes:
    		0/0 -> 1/0 [ACTIVE]
    	pad0: Sink
    		<- "cdns_csi2rx.4504000.csi-bridge":1 [ENABLED,IMMUTABLE]
    	pad1: Source
    		-> "4500000.ticsi2rx context 0":0 [ENABLED,IMMUTABLE]
    	pad2: Source
    		-> "4500000.ticsi2rx context 1":0 [ENABLED,IMMUTABLE]
    	pad3: Source
    		-> "4500000.ticsi2rx context 2":0 [ENABLED,IMMUTABLE]
    	pad4: Source
    		-> "4500000.ticsi2rx context 3":0 [ENABLED,IMMUTABLE]
    	pad5: Source
    		-> "4500000.ticsi2rx context 4":0 [ENABLED,IMMUTABLE]
    	pad6: Source
    		-> "4500000.ticsi2rx context 5":0 [ENABLED,IMMUTABLE]
    	pad7: Source
    		-> "4500000.ticsi2rx context 6":0 [ENABLED,IMMUTABLE]
    	pad8: Source
    		-> "4500000.ticsi2rx context 7":0 [ENABLED,IMMUTABLE]
    	pad9: Source
    		-> "4500000.ticsi2rx context 8":0 [ENABLED,IMMUTABLE]
    	pad10: Source
    		-> "4500000.ticsi2rx context 9":0 [ENABLED,IMMUTABLE]
    	pad11: Source
    		-> "4500000.ticsi2rx context 10":0 [ENABLED,IMMUTABLE]
    	pad12: Source
    		-> "4500000.ticsi2rx context 11":0 [ENABLED,IMMUTABLE]
    	pad13: Source
    		-> "4500000.ticsi2rx context 12":0 [ENABLED,IMMUTABLE]
    	pad14: Source
    		-> "4500000.ticsi2rx context 13":0 [ENABLED,IMMUTABLE]
    	pad15: Source
    		-> "4500000.ticsi2rx context 14":0 [ENABLED,IMMUTABLE]
    	pad16: Source
    		-> "4500000.ticsi2rx context 15":0 [ENABLED,IMMUTABLE]
    
    - entity 19: cdns_csi2rx.4504000.csi-bridge (5 pads, 2 links, 0 route)
                 type V4L2 subdev subtype Unknown flags 0
                 device node name /dev/v4l-subdev4
    	pad0: Sink
    		<- "ds90ub960 8-003d":4 [ENABLED,IMMUTABLE]
    	pad1: Source
    		-> "4500000.ticsi2rx":0 [ENABLED,IMMUTABLE]
    	pad2: Source
    	pad3: Source
    	pad4: Source
    
    - entity 25: ds90ub960 8-003d (6 pads, 2 links, 1 route)
                 type V4L2 subdev subtype Unknown flags 0
                 device node name /dev/v4l-subdev5
    	routes:
    		0/0 -> 4/0 [ACTIVE]
    	pad0: Sink
    		[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
    		<- "ds90ub953 8-0044":1 [ENABLED,IMMUTABLE]
    	pad1: Sink
    	pad2: Sink
    	pad3: Sink
    	pad4: Source
    		[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
    		-> "cdns_csi2rx.4504000.csi-bridge":0 [ENABLED,IMMUTABLE]
    	pad5: Source
    
    - entity 34: ds90ub953 8-0044 (2 pads, 2 links, 1 route)
                 type V4L2 subdev subtype Unknown flags 0
                 device node name /dev/v4l-subdev6
    	routes:
    		0/0 -> 1/0 [ACTIVE]
    	pad0: Sink
    		[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
    		<- "imx390 10-001a":0 [ENABLED,IMMUTABLE]
    	pad1: Source
    		[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
    		-> "ds90ub960 8-003d":0 [ENABLED,IMMUTABLE]
    
    - entity 39: imx390 10-001a (1 pad, 1 link, 2 routes)
                 type V4L2 subdev subtype Sensor flags 0
                 device node name /dev/v4l-subdev7
    	routes:
    		0/0 -> 0/0 [ACTIVE, IMMUTABLE, SOURCE]
    		0/0 -> 0/1 [INACTIVE, IMMUTABLE, SOURCE]
    	pad0: Source
    		[stream:0 fmt:SRGGB12_1X12/1936x1100@1/30 field:none colorspace:smpte170m]
    		-> "ds90ub953 8-0044":0 [ENABLED,IMMUTABLE]
    
    - entity 45: 4500000.ticsi2rx context 0 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video18
    	pad0: Sink
    		<- "4500000.ticsi2rx":1 [ENABLED,IMMUTABLE]
    
    - entity 51: 4500000.ticsi2rx context 1 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video19
    	pad0: Sink
    		<- "4500000.ticsi2rx":2 [ENABLED,IMMUTABLE]
    
    - entity 57: 4500000.ticsi2rx context 2 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video20
    	pad0: Sink
    		<- "4500000.ticsi2rx":3 [ENABLED,IMMUTABLE]
    
    - entity 63: 4500000.ticsi2rx context 3 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video21
    	pad0: Sink
    		<- "4500000.ticsi2rx":4 [ENABLED,IMMUTABLE]
    
    - entity 69: 4500000.ticsi2rx context 4 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video22
    	pad0: Sink
    		<- "4500000.ticsi2rx":5 [ENABLED,IMMUTABLE]
    
    - entity 75: 4500000.ticsi2rx context 5 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video23
    	pad0: Sink
    		<- "4500000.ticsi2rx":6 [ENABLED,IMMUTABLE]
    
    - entity 81: 4500000.ticsi2rx context 6 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video24
    	pad0: Sink
    		<- "4500000.ticsi2rx":7 [ENABLED,IMMUTABLE]
    
    - entity 87: 4500000.ticsi2rx context 7 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video25
    	pad0: Sink
    		<- "4500000.ticsi2rx":8 [ENABLED,IMMUTABLE]
    
    - entity 93: 4500000.ticsi2rx context 8 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video26
    	pad0: Sink
    		<- "4500000.ticsi2rx":9 [ENABLED,IMMUTABLE]
    
    - entity 99: 4500000.ticsi2rx context 9 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video27
    	pad0: Sink
    		<- "4500000.ticsi2rx":10 [ENABLED,IMMUTABLE]
    
    - entity 105: 4500000.ticsi2rx context 10 (1 pad, 1 link, 0 route)
                  type Node subtype V4L flags 0
                  device node name /dev/video28
    	pad0: Sink
    		<- "4500000.ticsi2rx":11 [ENABLED,IMMUTABLE]
    
    - entity 111: 4500000.ticsi2rx context 11 (1 pad, 1 link, 0 route)
                  type Node subtype V4L flags 0
                  device node name /dev/video29
    	pad0: Sink
    		<- "4500000.ticsi2rx":12 [ENABLED,IMMUTABLE]
    
    - entity 117: 4500000.ticsi2rx context 12 (1 pad, 1 link, 0 route)
                  type Node subtype V4L flags 0
                  device node name /dev/video30
    	pad0: Sink
    		<- "4500000.ticsi2rx":13 [ENABLED,IMMUTABLE]
    
    - entity 123: 4500000.ticsi2rx context 13 (1 pad, 1 link, 0 route)
                  type Node subtype V4L flags 0
                  device node name /dev/video31
    	pad0: Sink
    		<- "4500000.ticsi2rx":14 [ENABLED,IMMUTABLE]
    
    - entity 129: 4500000.ticsi2rx context 14 (1 pad, 1 link, 0 route)
                  type Node subtype V4L flags 0
                  device node name /dev/video32
    	pad0: Sink
    		<- "4500000.ticsi2rx":15 [ENABLED,IMMUTABLE]
    
    - entity 135: 4500000.ticsi2rx context 15 (1 pad, 1 link, 0 route)
                  type Node subtype V4L flags 0
                  device node name /dev/video33
    	pad0: Sink
    		<- "4500000.ticsi2rx":16 [ENABLED,IMMUTABLE]
    
    

    What do you mean by "setting the routes"?  I have attached the camera such that it is detected by the /opt/edge_ai/init_script.sh:

    IMX390 Camera 0 detected
        device = /dev/video18
        name = imx390 10-001a
        format = [fmt:SRGGB12_1X12/1936x1100 field: none]
        subdev_id = /dev/v4l-subdev7
        isp_required = yes
        ldc_required = yes
    

  • Hi Stuart,

    From the call we saw that the camera streams when we run yavta command before the v4l2 command.

    We did a quick debugging here.

    Could you try the below v4l2 command and check if the camera streams?

    v4l2-ctl -d2 --set-fmt-video=width=1936,height=1100,pixelformat=RG12  --stream-mmap

    Basically we specified the width, height and pixelformat in the command.

    Note : No need to run "yavta" before the above command

    Regards,
    Nikhil

  • Hi Nikhil - I tried this command on a fresh boot and it worked:

    Snippet below:

    root@tda4vm-sk:/opt/edge_ai_apps# v4l2-ctl -d18 --set-fmt-video=width=1936,height=1100,pixelformat=RG12  --stream-mmap
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.03 fps
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.03 fps
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.03 fps
    

  • Hi Stuart,

    Thats great!! Does this resolve the issue mentioned in this ticket?

    Regards,

    Nikhil

  • Hi Nikhil - yes this technically fixes my issue.

    We still request that TI provides us with patches for the device tree and the V4L2 driver to fix this issue - but those workarounds are functional.

    One other item to note for anyone looking at this topic: when editing the device tree I had to also modify the Makefiles at the root of the ti-linux-sdk in order to build and install the new .dtbo.

  • Hi Stuart,

    Taking over this thread, but currently there is no plan for TI to provide a change to the V4L2 driver.

    In terms of out-of-box demo, the scripts/setup_cameras.sh which is ran automatically at boot, and running the demo using the demo configuration file provided in /opt/edge_ai_apps/configs/imx390_cam_example.yaml will set the necessary format information. When using v4l2-ctl directly, we understand that it may not be apparent to manually set format, so I will create a FAQ to address this.

    On the other hand, we are currently root causing why the device tree addresses were changed. My theory is that the I2C address for the fusion board changes depending on whether the SK board is powered on first, or fusion board is powered on first. During development, we probably powered on SK board first, which may cause different behaviors for the fusion board since the I2C address of the fusion board depends on the voltage level supplied to one of it's pins and the fusion board is not fully powered. A fix in SDK will probably not make it in the next release, as it is very soon, but I will provide a patch and pre-compiled dtbo file through an FAQ.

    My current plan is to have the FAQ created by end of next week.

    Regards,

    Takuma

  • Hello Takuma

    From my digging around it looked like the I2C addresses changed with a newer revision of the fusion board.  The addresses configured may have worked for a different rev of fusion board.

    Thanks!
    Stuart

  • For others that may come across this thread, the FAQ has been created here for enabling IMX390+Fusion board+SK-TDA4VM: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1131299/faq-sk-tda4vm-how-do-i-enable-and-debug-imx390-fusion-board-not-working-with-edge-ai-sdk

    Regards,

    Takuma