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: 使用v4l2 API控制IMX219摄像头出现DQBUF阻塞问题

Part Number: SK-TDA4VM


sdk:  ti-processor-sdk-linux-j7-evm-08_06_01_02

摄像头模组:imx219

已参考如下文档设置imx219摄像头:进入/run/media/mmcblk0p1/uEnv.txt,作修改:name_overlays=k3-j721e-sk-rpi-cam-imx219.dtbo

https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-edgeai/TDA4VM/08_06_01/exports/docs/devices/TDA4VM/linux/getting_started.html#rpiv2-imx219-raw-sensor:~:text=found%20under%20/boot.-,2.1.4.%20RPiV2(IMX219)%20Raw%20sensor,-RPiV2%20camera%20module

问题描述:使用v4l2 API控制摄像头传输,设置format:V4L2_PIX_FMT_SRGGB8,width:640,height:480。出现错误:程序阻塞在DQBUF

问题1:对摄像头的配置是否完善?还需要配置什么?

问题2:对CSI需要配置吗?如果需要,要配置什么?如何检查配置是否成功?

问题3:对DQBUF问题可以使用哪些排查手段?

期待您的回复!

  • 请使用下面的命令。
    name_overlays=k3-j721e-edgeai-apps.dtbo k3-j721e-sk-rpi-cam-imx219.dtbo

    另外,请先看一下是否能检测到摄像头?
    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1184191/tda4vm-imx219-can-t-show-in-ls-dev

  • 可以检测到摄像头

    请问 k3-j721e-edgeai-apps.dtbo 的作用是什么?

  • 出现错误:程序阻塞在DQBUF

    能否把错误的log发一下?

    请问 k3-j721e-edgeai-apps.dtbo 的作用是什么?

    这是默认使能Edge AI配置,是否有使用name_overlays=k3-j721e-edgeai-apps.dtbo k3-j721e-sk-rpi-cam-imx219.dtbo来使能imx219?

  • 请使用下面的命令。
    name_overlays=k3-j721e-edgeai-apps.dtbo k3-j721e-sk-rpi-cam-imx219.dtbo

    使用如上命令配置后reboot出错,进不去开发板,卡住不动,以下是开机Log:

             Stopping Session c1 of user root.
    [  OK  ] Stopped target RPC Port Mapper.
    [  OK  ] Stopped target Timers.
    [  OK  ] Stopped Daily rotation of log files.
    [  OK  ] Stopped Daily Cleanup of Temporary Directories.
    [  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Stopping Reboot and dump vmcore via kexec...
             Stopping NFS status monitor for NFSv2/3 locking....
             Stopping Load/Save Random Seed...
    [  OK  ] Stopped target Login Prompts.
             Stopping Job spooling tools...
             Stopping Avahi mDNS/DNS-SD Stack...
             Stopping Periodic Command Scheduler...
    [  OK  ] Stopped DEMO.
             Stopping Getty on tty1...
    [  OK  ] Stopped set host name as per compatible name.
             Stopping irqbalance daemon...
             Stopping Telephony service...
    [  OK  ] Stopped Update pmic regist…safety feature on power rails.
             Stopping Serial Getty on ttyS2...
             Stopping Serial Getty on ttyS3...
             Stopping Simple Network Ma…ent Protocol (SNMP) Daemon....
    [  OK  ] Stopped startwlanap.
    [  OK  ] Stopped startwlansta.
             Stopping TEE Supplicant...
    [  OK  ] Stopped target System Time Synchronized.
    [  OK  ] Stopped target System Time Set.
             Stopping telnetd.service...
    [  OK  ] Stopped Job spooling tools.
    [  OK  ] Stopped Periodic Command Scheduler.
    [  OK  ] Stopped irqbalance daemon.
    [  OK  ] Stopped Telephony service.
    [  OK  ] Stopped TEE Supplicant.
    [  OK  ] Stopped Wait for Network to be Configured.
    [  OK  ] Stopped Avahi mDNS/DNS-SD Stack.
    [  OK  ] Stopped NFS status monitor for NFSv2/3 locking..
    [  OK  ] Stopped Simple Network Man…ement Protocol (SNMP) Daemon..
    [  OK  ] Stopped Getty on tty1.
    [  OK  ] Stopped Serial Getty on ttyS2.
    [  OK  ] Stopped Serial Getty on ttyS3.
    [  OK  ] Stopped Reboot and dump vmcore via kexec.
    [  OK  ] Stopped Load/Save Random Seed.
    [  OK  ] Stopped telnetd.service.
    [  OK  ] Stopped Session c1 of user root.
    [  OK  ] Removed slice system-getty.slice.
    [  OK  ] Removed slice system-serial\x2dgetty.slice.
    [  OK  ] Stopped target Host and Network Name Lookups.
             Stopping Login Service...
             Stopping User Manager for UID 0...
             Stopping weston.service...
    [  OK  ] Stopped User Manager for UID 0.
    [  OK  ] Stopped weston.service.
             Stopping rc.pvr.service...
             Stopping User Runtime Directory /run/user/0...
    [  OK  ] Stopped Update weston ini …ge based on the platform name.
    [  OK  ] Unmounted /run/user/0.
    [  OK  ] Stopped User Runtime Directory /run/user/0.
    [  OK  ] Removed slice User Slice of UID 0.
             Stopping D-Bus System Message Bus...
             Stopping Permit User Sessions...
    [  OK  ] Stopped D-Bus System Message Bus.
    [  OK  ] Stopped Login Service.
    [  OK  ] Stopped rc.pvr.service.
    [  OK  ] Stopped Permit User Sessions.
    [  OK  ] Stopped target Network.
    [  OK  ] Stopped target Remote File Systems.
             Stopping Network Name Resolution...
    [  OK  ] Stopped Network Name Resolution.
             Stopping Network Service...
    [  OK  ] Stopped Network Service.
    [  OK  ] Stopped target Network (Pre).
    [  OK  ] Stopped IPv6 Packet Filtering Framework.
    [  OK  ] Stopped IPv4 Packet Filtering Framework.
    [  OK  ] Stopped target Basic System.
    [  OK  ] Stopped target Paths.
    [  OK  ] Stopped Dispatch Password …ts to Console Directory Watch.
    [  OK  ] Stopped Forward Password R…uests to Wall Directory Watch.
    [  OK  ] Stopped target Slices.
    [  OK  ] Removed slice User and Session Slice.
    [  OK  ] Stopped target Sockets.
    [  OK  ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Closed D-Bus System Message Bus Socket.
    [  OK  ] Closed Docker Socket for the API.
    [  OK  ] Closed dropbear.socket.
    [  OK  ] Stopped target System Initialization.
             Stopping Hardware RNG Entropy Gatherer Daemon...
    [  OK  ] Stopped Apply Kernel Variables.
    [  OK  ] Stopped Load Kernel Modules.
             Stopping Network Time Synchronization...
             Stopping Update UTMP about System Boot/Shutdown...
    [  OK  ] Stopped Network Time Synchronization.
    [  OK  ] Stopped Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Stopped Update UTMP about System Boot/Shutdown.
    [  OK  ] Stopped Create Volatile Files and Directories.
    [  OK  ] Stopped target Local File Systems.
             Unmounting /media/ram...
             Unmounting /run/media/mmcblk0p1...
             Unmounting Temporary Directory (/tmp)...
             Unmounting /var/volatile...
    [  OK  ] Unmounted /media/ram.
    [  OK  ] Unmounted /run/media/mmcblk0p1.
    [  OK  ] Unmounted Temporary Directory (/tmp).
    [  OK  ] Unmounted /var/volatile.
    [  OK  ] Stopped target Swap.
    [  OK  ] Reached target Unmount All Filesystems.
    [  OK  ] Stopped File System Check on /dev/mmcblk0p1.
    [  OK  ] Removed slice system-systemd\x2dfsck.slice.
    [  OK  ] Stopped target Local File Systems (Pre).
    [  OK  ] Stopped Remount Root and Kernel File Systems.
    [  OK  ] Stopped Create Static Device Nodes in /dev.
    [  OK  ] Reached target Shutdown.
    [  OK  ] Reached target Final Step.
    [  OK  ] Started Reboot.
    [  OK  ] Reached target Reboot.
    [  109.758231] watchdog: watchdog0: nowayout prevents watchdog being stopped!
    [  109.765134] watchdog: watchdog0: nowayout prevents watchdog being stopped!
    [  109.772001] watchdog: watchdog0: watchdog did not stop!
    [  109.789607] systemd-shutdown[1]: Syncing filesystems and block devices.
    [  109.831068] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
    [  109.846293] systemd-journald[210]: Received SIGTERM from PID 1 (systemd-shutdow).
    [  109.864756] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
    [  109.875527] systemd-shutdown[1]: Hardware watchdog 'K3 RTI Watchdog', version 0
    [  109.884057] systemd-shutdown[1]: Unmounting file systems.
    [  109.890786] [1076]: Remounting '/' read-only in with options '(null)'.
    [  109.911602] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [  109.921051] systemd-shutdown[1]: All filesystems unmounted.
    [  109.926631] systemd-shutdown[1]: Deactivating swaps.
    [  109.931693] systemd-shutdown[1]: All swaps deactivated.
    [  109.936911] systemd-shutdown[1]: Detaching loop devices.
    [  109.943745] systemd-shutdown[1]: All loop devices detached.
    [  109.949322] systemd-shutdown[1]: Detaching DM devices.
    [  109.954591] systemd-shutdown[1]: All DM devices detached.
    [  109.959983] systemd-shutdown[1]: All filesystems, swaps, loop devices and DM devices detached.
    [  109.975347] systemd-shutdown[1]: Syncing filesystems and block devices.
    [  109.982062] systemd-shutdown[1]: Rebooting.
    [  109.992410] reboot: Restarting system
    
    U-Boot SPL 2021.01-g62a9e51344 (May 02 2023 - 15:41:24 +0000)
    Model: Texas Instruments J721E SK R5
    Board: J721EX-EAIK rev B
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    Trying to boot from MMC2
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
    NOTICE:  BL31: Built : 15:40:55, May  2 2023
    I/TC:
    I/TC: OP-TEE version: 3.20.0 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Tue May  2 15:41:00 UTC 2023 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    I/TC: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2021.01-g62a9e51344 (May 02 2023 - 15:41:16 +0000)
    Model: Texas Instruments J721E SK A72
    Board: J721EX-EAIK rev B
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    Trying to boot from MMC2
    
    
    U-Boot 2021.01-g62a9e51344 (May 02 2023 - 15:41:16 +0000)
    
    SoC:   J721E SR1.1 GP
    Model: Texas Instruments J721E SK A72
    Board: J721EX-EAIK rev B
    DRAM:  4 GiB
    Flash: 0 Bytes
    MMC:   sdhci@4fb0000: 1
    Loading Environment from FAT... *** Warning - bad CRC, using default environment
    
    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
    cdns,sierra serdes@5000000: sierra probed
    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'
    678 bytes read in 8 ms (82 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    19079680 bytes read in 794 ms (22.9 MiB/s)
    108803 bytes read in 17 ms (6.1 MiB/s)
    10914 bytes read in 12 ms (887.7 KiB/s)
    4204 bytes read in 10 ms (410.2 KiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008fee2000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.162-g76b3e88d56 (ht@ht-VirtualBox) (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 Jul 24 14:16:33 CST 2023
    [    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 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] Reserved memory: created CMA memory pool at 0x00000008a7000000, size 512 MiB
    [    0.000000] OF: reserved mem: initialized node linux-cma-buffers@8a7000000, 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.2
    [    0.000000] percpu: Embedded 22 pages/cpu s50392 r8192 d31528 u90112
    [    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] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),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=6f577ece-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 1696376K/4194304K available (11200K kernel code, 1160K rwdata, 4300K rodata, 1856K init, 433K bss, 1973640K 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] 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: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @8c7800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008c7030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008c7040000
    [    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.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008430] Console: colour dummy device 80x25
    [    0.012992] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023661] pid_max: default: 32768 minimum: 301
    [    0.028418] LSM: Security Framework initializing
    [    0.033173] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.040749] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.049556] rcu: Hierarchical SRCU implementation.
    [    0.054623] Platform MSI: msi-controller@1820000 domain created
    [    0.060871] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.070182] EFI services will not be available.
    [    0.074898] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [    0.088124] Detected PIPT I-cache on CPU1
    [    0.088147] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.088159] GICv3: CPU1: using allocated LPI pending table @0x00000008c7050000
    [    0.088192] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.088241] smp: Brought up 1 node, 2 CPUs
    [    0.117586] SMP: Total of 2 processors activated.
    [    0.122391] CPU features: detected: 32-bit EL0 Support
    [    0.127645] CPU features: detected: CRC32 instructions
    [    0.141582] CPU: All CPU(s) started at EL2
    [    0.145775] alternatives: patching kernel code
    [    0.150776] devtmpfs: initialized
    [    0.159843] KASLR disabled due to lack of seed
    [    0.164490] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.174454] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.187428] pinctrl core: initialized pinctrl subsystem
    [    0.193083] DMI not present or invalid.
    [    0.197318] NET: Registered protocol family 16
    [    0.202684] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.209983] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.217983] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.226290] thermal_sys: Registered thermal governor 'step_wise'
    [    0.226293] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.232863] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.246500] ASID allocator initialised with 65536 entries
    [    0.271519] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.278376] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.285222] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.292068] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.299533] cryptd: max_cpu_qlen set to 1000
    [    0.305577] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
    [    0.314397] vsys_3v3: supplied by vusb-main5v0
    [    0.319473] iommu: Default domain type: Translated
    [    0.324589] SCSI subsystem initialized
    [    0.328717] mc: Linux media interface: v0.10
    [    0.333089] videodev: Linux video capture interface: v2.00
    [    0.338717] pps_core: LinuxPPS API ver. 1 registered
    [    0.343789] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.353125] PTP clock support registered
    [    0.357143] EDAC MC: Ver: 3.0.0
    [    0.360941] FPGA manager framework
    [    0.364453] Advanced Linux Sound Architecture Driver Initialized.
    [    0.371049] clocksource: Switched to clocksource arch_sys_counter
    [    0.377387] VFS: Disk quotas dquot_6.6.0
    [    0.381419] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.390983] Carveout Heap: Exported 512 MiB at 0x00000000b8000000
    [    0.397267] NET: Registered protocol family 2
    [    0.401989] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.410593] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.419361] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.427562] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
    [    0.435351] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.442134] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.449026] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.456425] NET: Registered protocol family 1
    [    0.461142] RPC: Registered named UNIX socket transport module.
    [    0.467204] RPC: Registered udp transport module.
    [    0.472009] RPC: Registered tcp transport module.
    [    0.476811] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.483393] NET: Registered protocol family 44
    [    0.487941] PCI: CLS 0 bytes, default 64
    [    0.492306] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.502676] Initialise system trusted keyrings
    [    0.507297] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.515424] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.521654] NFS: Registering the id_resolver key type
    [    0.526829] Key type id_resolver registered
    [    0.531104] Key type id_legacy registered
    [    0.535226] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.542075] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.549710] 9p: Installing v9fs 9p2000 file system support
    [    0.574498] Key type asymmetric registered
    [    0.578685] Asymmetric key parser 'x509' registered
    [    0.583684] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.591242] io scheduler mq-deadline registered
    [    0.595867] io scheduler kyber registered
    [    0.601540] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.607719] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.616679] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.623106] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
    [    0.631096] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.637515] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
    [    0.645459] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.651878] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
    [    0.659808] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.666134] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
    [    0.674084] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.680409] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
    [    0.690077] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.698325] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    0.706507] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
    [    0.713612] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
    [    0.721998] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
    [    0.735540] brd: module loaded
    [    0.741909] loop: module loaded
    [    0.745700] megasas: 07.714.04.00-rc1
    [    0.751505] tun: Universal TUN/TAP device driver, 1.6
    [    0.756959] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.763368] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.769444] sky2: driver version 1.30
    [    0.773828] VFIO - User Level meta-driver version: 0.3
    [    0.779596] i2c /dev entries driver
    [    0.784063] sdhci: Secure Digital Host Controller Interface driver
    [    0.790384] sdhci: Copyright(c) Pierre Ossman
    [    0.795040] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.801425] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.807764] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.815132] optee: probing for conduit method.
    I/TC: Reserved shared memory is enabled
    I/TC: Dynamic shared memory is enabled
    I/TC: Normal World virtualization support is disabled
    I/TC: Asynchronous notifications are disabled
    [    0.819686] optee: revision 3.20 (8e74d476)
    [    0.836079] optee: dynamic shared memory is enabled
    [    0.845543] optee: initialized driver
    [    0.850625] NET: Registered protocol family 17
    [    0.855246] 9pnet: Installing 9P2000 support
    [    0.859643] Key type dns_resolver registered
    [    0.864105] Loading compiled-in X.509 certificates
    [    0.877907] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    [    0.933812] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.939903] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.945953] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.975217] i2c i2c-3: Added multiplexed i2c bus 4
    [    0.980195] i2c i2c-3: Added multiplexed i2c bus 5
    [    0.985093] pca954x 3-0071: registered 2 multiplexed busses for I2C switch pca9543
    [    0.992850] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.998936] omap_i2c 2010000.i2c: bus 6 rev0.12 at 100 kHz
    [    1.027529] i2c i2c-7: Added multiplexed i2c bus 8
    [    1.032820] i2c i2c-7: Added multiplexed i2c bus 9
    [    1.037719] pca954x 7-0070: registered 2 multiplexed busses for I2C switch pca9543
    [    1.045509] omap_i2c 2030000.i2c: bus 7 rev0.12 at 400 kHz
    [    1.051586] omap_i2c 2050000.i2c: bus 10 rev0.12 at 400 kHz
    [    1.058136] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    1.068130] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    1.076956] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created
    [    1.086853] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    1.109552] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
    [    1.117228] j721e-pcie 2900000.pcie:       IO 0x0010001000..0x0010010fff -> 0x0010001000
    [    1.125505] j721e-pcie 2900000.pcie:      MEM 0x0010011000..0x0017ffffff -> 0x0010011000
    [    1.133781] j721e-pcie 2900000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    1.142703] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    1.150391] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    1.158668] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    1.166945] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    1.176226] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    1.186105] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.192864] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.201888] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    1.212040] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.218799] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.226771] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 6000000) is a 8250
    [    1.236200] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.244945] printk: console [ttyS2] enabled
    [    1.244945] printk: console [ttyS2] enabled
    [    1.253382] printk: bootconsole [ns16550a0] disabled
    [    1.253382] printk: bootconsole [ns16550a0] disabled
    [    1.263852] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 31, base_baud = 3000000) is a 8250
    [    1.272788] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 32, base_baud = 3000000) is a 8250
    [    1.287938] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.331054] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.339520] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.347816] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    1.360617] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.367824] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.374103] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
    [    1.384299] davinci_mdio c000f00.mdio: Configuring MDIO in manual mode
    [    1.427052] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.434608] davinci_mdio c000f00.mdio: no live phy, scanning all
    [    1.452712] davinci_mdio c000f00.mdio: phy[0]: device c000f00.mdio:00, driver unknown
    [    1.460556] davinci_mdio c000f00.mdio: phy[1]: device c000f00.mdio:01, driver unknown
    [    1.468427] davinci_mdio c000f00.mdio: phy[2]: device c000f00.mdio:02, driver unknown
    [    1.476248] davinci_mdio c000f00.mdio: phy[3]: device c000f00.mdio:03, driver unknown
    [    1.484058] davinci_mdio c000f00.mdio: phy[4]: device c000f00.mdio:04, driver unknown
    [    1.491869] davinci_mdio c000f00.mdio: phy[5]: device c000f00.mdio:05, driver unknown
    [    1.499680] davinci_mdio c000f00.mdio: phy[6]: device c000f00.mdio:06, driver unknown
    [    1.507491] davinci_mdio c000f00.mdio: phy[7]: device c000f00.mdio:07, driver unknown
    [    1.515304] davinci_mdio c000f00.mdio: phy[8]: device c000f00.mdio:08, driver unknown
    [    1.523115] davinci_mdio c000f00.mdio: phy[9]: device c000f00.mdio:09, driver unknown
    [    1.530928] davinci_mdio c000f00.mdio: phy[10]: device c000f00.mdio:0a, driver unknown
    [    1.538826] davinci_mdio c000f00.mdio: phy[11]: device c000f00.mdio:0b, driver unknown
    [    1.546724] davinci_mdio c000f00.mdio: phy[12]: device c000f00.mdio:0c, driver unknown
    [    1.554622] davinci_mdio c000f00.mdio: phy[13]: device c000f00.mdio:0d, driver unknown
    [    1.562520] davinci_mdio c000f00.mdio: phy[14]: device c000f00.mdio:0e, driver unknown
    [    1.570420] davinci_mdio c000f00.mdio: phy[15]: device c000f00.mdio:0f, driver unknown
    [    1.578322] davinci_mdio c000f00.mdio: phy[16]: device c000f00.mdio:10, driver unknown
    [    1.586224] davinci_mdio c000f00.mdio: phy[17]: device c000f00.mdio:11, driver unknown
    [    1.594129] davinci_mdio c000f00.mdio: phy[18]: device c000f00.mdio:12, driver unknown
    [    1.602028] davinci_mdio c000f00.mdio: phy[19]: device c000f00.mdio:13, driver unknown
    [    1.609928] davinci_mdio c000f00.mdio: phy[20]: device c000f00.mdio:14, driver unknown
    [    1.617827] davinci_mdio c000f00.mdio: phy[21]: device c000f00.mdio:15, driver unknown
    [    1.625724] davinci_mdio c000f00.mdio: phy[22]: device c000f00.mdio:16, driver unknown
    [    1.633622] davinci_mdio c000f00.mdio: phy[23]: device c000f00.mdio:17, driver unknown
    [    1.641521] davinci_mdio c000f00.mdio: phy[24]: device c000f00.mdio:18, driver unknown
    [    1.649419] davinci_mdio c000f00.mdio: phy[25]: device c000f00.mdio:19, driver unknown
    [    1.657316] davinci_mdio c000f00.mdio: phy[26]: device c000f00.mdio:1a, driver unknown
    [    1.665213] davinci_mdio c000f00.mdio: phy[27]: device c000f00.mdio:1b, driver unknown
    [    1.673110] davinci_mdio c000f00.mdio: phy[28]: device c000f00.mdio:1c, driver unknown
    [    1.681007] davinci_mdio c000f00.mdio: phy[29]: device c000f00.mdio:1d, driver unknown
    [    1.688905] davinci_mdio c000f00.mdio: phy[30]: device c000f00.mdio:1e, driver unknown
    [    1.696802] davinci_mdio c000f00.mdio: phy[31]: device c000f00.mdio:1f, driver unknown
    [    1.704763] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA01901, cpsw version 0x6BA80101 Ports: 9 quirks:00000000
    [    1.717443] am65-cpsw-nuss c000000.ethernet: /bus@100000/ethernet@c000000/ethernet-ports/port@1 error retrieving port phy: -19
    [    1.730610] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    1.843382] gpio-388 (CSI_MUX_SEL_2): hogged as output/high
    [    1.851483] vdd_mmc1: supplied by vsys_3v3
    [    1.856318] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    1.863150] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    1.869973] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    1.876796] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    1.883601] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    1.893781] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
    [    1.901280] j721e-pcie 2900000.pcie:       IO 0x0010001000..0x0010010fff -> 0x0010001000
    [    1.909366] j721e-pcie 2900000.pcie:      MEM 0x0010011000..0x0017ffffff -> 0x0010011000
    [    1.917450] j721e-pcie 2900000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    2.928208] j721e-pcie 2900000.pcie: PCI host bridge to bus 0000:00
    [    2.934469] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    2.939944] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x10001000-0x10010fff])
    [    2.949402] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff]
    [    2.956282] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
    [    2.962276] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.971971] pci 0000:00:00.0: supports D1
    [    2.975969] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    2.983791] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.993666] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    3.000275] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    3.005453] pcieport 0000:00:00.0: PME: Signaling with IRQ 505
    [    3.011786] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    3.019272] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    3.027352] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    3.035432] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    4.046234] j721e-pcie 2910000.pcie: PCI host bridge to bus 0001:00
    [    4.052496] pci_bus 0001:00: root bus resource [bus 00-ff]
    [    4.057970] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
    [    4.067602] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    4.074480] pci 0001:00:00.0: [104c:b00d] type 01 class 0x060400
    [    4.080473] pci_bus 0001:00: 2-byte config write to 0001:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    4.090167] pci 0001:00:00.0: supports D1
    [    4.094165] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
    [    4.101925] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    4.111801] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
    [    4.118407] pci 0001:00:00.0: PCI bridge to [bus 01]
    [    4.123576] pcieport 0001:00:00.0: PME: Signaling with IRQ 507
    [    4.130298] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    4.140925] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
    [    4.156363] spi-nor spi11.0: s28hs512t (65536 Kbytes)
    [    4.161429] 8 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    4.168028] Creating 8 MTD partitions on "47040000.spi.0":
    [    4.173501] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    4.179495] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    4.185191] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    4.190960] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    4.196467] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    4.202157] 0x0000007c0000-0x000000800000 : "ospi.env.backup"
    [    4.208272] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    4.214057] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    4.224503] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    4.271059] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    4.279487] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    4.287782] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    4.300583] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    4.307791] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    4.314051] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
    [    4.324620] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    4.333400] mmc0: CQHCI version 5.10
    [    4.337624] debugfs: Directory 'pd:27' with parent 'pm_genpd' already present!
    [    4.344893] debugfs: Directory 'pd:26' with parent 'pm_genpd' already present!
    [    4.353237] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
    [    4.360551] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
    [    4.367859] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    4.375163] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
    [    4.394632] ALSA device list:
    [    4.397597]   No soundcards found.
    [    5.403035] mmc0: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    5.411481] Waiting for root device PARTUUID=6f577ece-02...
    [    5.467528] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
    [    5.474374] mmcblk0: mmc0:aaaa SL32G 29.7 GiB
    [    5.482934]  mmcblk0: p1 p2
    [    5.516455] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    5.524570] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    5.535807] devtmpfs: mounted
    [    5.539603] Freeing unused kernel memory: 1856K
    [    5.544219] Run /sbin/init as init process
    [    5.741368] systemd[1]: System time before build time, advancing clock.
    [    5.797048] NET: Registered protocol family 10
    [    5.801947] Segment Routing with IPv6
    [    5.837721] 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.859474] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2021.09!
    
    [    5.901519] systemd[1]: Set hostname to <tda4vm-sk>.
    [    6.075200] systemd[1]: /lib/systemd/system/irqbalanced.service:6: Unknown key name 'ConditionCPUs' in section 'Unit', ignoring.
    [    6.100541] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly.
    [    6.168570] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.176821] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    6.199127] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.206481] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    6.227122] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.234354] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    6.255259] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [    6.279180] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [    6.303162] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    6.319115] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    6.339106] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    6.355113] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    6.385001] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    6.407181] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    6.433010] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    6.455261] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    6.480722] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    6.489054] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    6.511368] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    6.527411] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    6.551310] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    6.571241] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    6.593354] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    6.609338] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    6.637282] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    6.660449] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [    6.677530] systemd[1]: Starting Create list of static device nodes for the current kernel...
             Starting Create list of st…odes for the current kernel...
    [    6.713674] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    6.738093] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    6.751291] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    6.763375] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    6.790901] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    6.809623] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    6.810139] cryptodev: loading out-of-tree module taints kernel.
             Starting Remount Root and Kernel File Systems cryptodev: driver 1.10 loaded.
    [0m...
    [    6.842924] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    6.850955] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [    6.869844] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    6.883495] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of sta… nodes for the current kernel.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star…progress communication helper.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [    7.114008] systemd-journald[211]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    7.219672] random: systemd: uninitialized urandom read (16 bytes read)
    [  OK  ] Reached target Local File Systems (Pre).
    [    7.243288] random: systemd: uninitialized urandom read (16 bytes read)
             Mounting /media/ram...
    [    7.255757] random: systemd-journal: uninitialized urandom read (16 bytes read)
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting udev Wait for Complete Device Initialization...
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [    7.628674] random: crng init done
    [    7.633321] random: 66 urandom warning(s) missed due to ratelimiting
    [  OK  ] Started Load/Save Random Seed.
    [    7.669120] CAN device driver interface
    [    7.688518] imx219 8-0010: supply VANA not found, using dummy regulator
    [    7.697089] imx219 8-0010: supply VDIG not found, using dummy regulator
    [    7.717988] imx219 8-0010: supply VDDL not found, using dummy regulator
    [    7.747670] imx219 9-0010: supply VANA not found, using dummy regulator
    [    7.757463] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node vision-apps-c66-dma-memory@a9000000
    [    7.767336] imx219 9-0010: supply VDIG not found, using dummy regulator
    [    7.777396] imx219 9-0010: supply VDDL not found, using dummy regulator
    [    7.784883] k3-dsp-rproc 4d80800000.dsp: configured DSP for remoteproc mode
    [    7.792066] k3-dsp-rproc 4d80800000.dsp: local reset is deasserted for device
    [    7.816174] remoteproc remoteproc0: 4d80800000.dsp is available
    [    7.823424] imx219 9-0010: failed to read chip id 219
    [    7.829300] k3-dsp-rproc 4d81800000.dsp: assigned reserved memory node vision-apps-c66-dma-memory@a8000000
    [    7.829460] imx219: probe of 9-0010 failed with error -5
    [    7.846011] pvrsrvkm 4e20000000.gpu: More than one power domain for this GPU, gpu driver manages power domains
    [    7.862117] k3-dsp-rproc 4d81800000.dsp: configured DSP for remoteproc mode
    [    7.871090] PVR_K:  237: Read BVNC 22.104.208.318 from HW device registers
    [    7.881199] k3-dsp-rproc 4d81800000.dsp: local reset is deasserted for device
    [    7.881726] PVR_K:  237: RGX Device registered with BVNC 22.104.208.318
    [    7.898958] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 1
    [    7.899195] [drm] Initialized pvr 1.15.6133109 20170530 for 4e20000000.gpu on minor 0
    [    7.909890] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
    [    7.921381] remoteproc remoteproc1: 4d81800000.dsp is available
    [    7.932754] img_enc 4200000.video-encoder: vxe_enc_probe: using heap 1 for internal alloc
    [    7.947590] remoteproc remoteproc0: powering up 4d80800000.dsp
    [    7.953503] remoteproc remoteproc0: Booting fw image j7-c66_0-fw, size 144652
    [    7.965932] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
    [    7.972492] remoteproc remoteproc0: bad phdr da 0xa6100000 mem 0x8c
    [    7.973205] k3-dsp-rproc 64800000.dsp: assigned reserved memory node vision-apps-c71-dma-memory@b2000000
    [    7.980223] remoteproc remoteproc0: Failed to load program segments: -22
    [    7.995481] img_enc 4200000.video-encoder: encoder registered as /dev/video0
    [    7.995586] remoteproc remoteproc1: powering up 4d81800000.dsp
    [    8.012140] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    8.014579] remoteproc remoteproc1: Booting fw image j7-c66_1-fw, size 144652
    [    8.031857] img_dec 4300000.video-decoder: decoder registered as /dev/video1
    [    8.039558] remoteproc remoteproc1: bad phdr da 0xa7100000 mem 0x8c
    [    8.046118] remoteproc remoteproc1: Failed to load program segments: -22
    [    8.053027] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode
    [    8.063124] remoteproc remoteproc2: 64800000.dsp is available
    [    8.069154] platform 41000000.r5f: configured R5F for IPC-only mode
    [    8.082398] platform 41000000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a0000000
    [    8.100222] remoteproc remoteproc3: 41000000.r5f is available
    [    8.115985] remoteproc remoteproc3: attaching to 41000000.r5f
    [    8.132163] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    8.141054]  remoteproc3#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a0000000
    [    8.153136] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    8.158672]  remoteproc3#vdev0buffer: registered virtio0 (type 7)
    [    8.165500] remoteproc remoteproc3: remote processor 41000000.r5f is now attached
    [    8.166393] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    8.184404] platform 5c00000.r5f: configured R5F for remoteproc mode
    [    8.191104] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    8.226491] platform 5c00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    8.297978] remoteproc remoteproc4: 5c00000.r5f is available
    [    8.331358] platform 5d00000.r5f: configured R5F for remoteproc mode
    [    8.344124] platform 5d00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
    [    8.356103] remoteproc remoteproc4: powering up 5c00000.r5f
    [    8.361716] remoteproc remoteproc4: Booting fw image pdk-ipc/ipc_echo_test_mcu2_0_release_strip.xer5f, size 98828
    [    8.373942] remoteproc remoteproc2: powering up 64800000.dsp
    [    8.376885] remoteproc remoteproc5: 5d00000.r5f is available
    [    8.383073] remoteproc remoteproc2: Booting fw image j7-c71_0-fw, size 10488888
    [    8.386457]  remoteproc4#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    8.392597] remoteproc remoteproc2: unsupported resource 65538
    [    8.410750] remoteproc remoteproc2: bad phdr da 0xa8100000 mem 0x98
    [    8.413432] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    8.417037] remoteproc remoteproc2: Failed to load program segments: -22
    [    8.424281]  remoteproc4#vdev0buffer: registered virtio1 (type 7)
    [    8.439514] remoteproc remoteproc4: remote processor 5c00000.r5f is now up
    [    8.446823] platform 5e00000.r5f: configured R5F for remoteproc mode
    [    8.450142] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [    8.467602] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [    8.474925] remoteproc remoteproc5: powering up 5d00000.r5f
    [    8.475074] platform 5e00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a6000000
    [    8.481849] remoteproc remoteproc5: Booting fw image j7-main-r5f0_1-fw, size 98828
    [    8.501179] remoteproc remoteproc5: bad phdr da 0xa3100000 mem 0x8c
    [    8.507757] remoteproc remoteproc5: Failed to load program segments: -22
    [    8.567007] remoteproc remoteproc6: 5e00000.r5f is available
    [    8.582560] platform 5f00000.r5f: configured R5F for remoteproc mode
    [    8.583348] remoteproc remoteproc6: powering up 5e00000.r5f
    [    8.599216] remoteproc remoteproc6: Booting fw image j7-main-r5f1_0-fw, size 98828
    [    8.607881] platform 5f00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a7000000
    [    8.617277] remoteproc remoteproc6: bad phdr da 0xa4100000 mem 0x8c
    [    8.623567] remoteproc remoteproc6: Failed to load program segments: -22
    [    8.643799] remoteproc remoteproc7: 5f00000.r5f is available
    [    8.655628] m_can_platform 40528000.can: m_can device registered (irq=20, version=32)
    [    8.668765] m_can_platform 2701000.can: m_can device registered (irq=46, version=32)
    [    8.674083] remoteproc remoteproc7: powering up 5f00000.r5f
    [    8.682182] remoteproc remoteproc7: Booting fw image j7-main-r5f1_1-fw, size 98828
    [    8.692701] m_can_platform 2751
    

    使用name_overlays=k3-j721e-sk-rpi-cam-imx219.dtbo则能正常进入开发板。

    出现错误:程序阻塞在DQBUF

    能否把错误的log发一下?

    经打印,在使用VIDIOC_DQBUF时阻塞,log如下:

    root@tda4vm-sk:/home# gcc camera.c
    root@tda4vm-sk:/home# ./a.out
    Open /dev/video2 succeed - 3
    
    Open /dev/v4l-subdev2 succeed
    
    ------- VIDIOC_QUERYCAP ----
      driver: j721e-csi2rx
      card: j721e-csi2rx
      bus_info: platform:4500000.ticsi2rx
      version: 5.10.162
      capabilities: A5200001
            Video Capture
            Read / Write
            Streaming
    
    VIDIOC_S_FMT succeed!
    width 640, height 480, size 307200, bytesperline 640, format RGGB
    
    VIDIOC_REQBUFS succeed!
    
    Memory map succeed!
    
    VIDIOC_QBUF succeed!
    
    VIDIOC_STREAMON succeed!

  • 抱歉回复晚了,请看下面e2e工程师的回复。
    Do you experience any issues when using IMX219 in the out-of-box Edge AI gallery GUI or when running a python/c++ based demos with the IMX219 yaml file? Your configuration for IMX219 looks correct. Just make sure that you do not delete k3-j721e-edgeai-apps.dtbo in the name_overlays line in the uEnv.txt file.