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.

TDA4AL-Q1: app_multi_cam demo can't work with SBL(Secondary bootloader) boot

Part Number: TDA4AL-Q1
Other Parts Discussed in Thread: TDA4VM

I change the bootloader from SPL to SBL,   vision_apps/basic_demo/app_multi_cam demo can't work with SBL.   app_multi_cam is working with SPL.    Please check where is incorrect. Thanks

Error log output as below:

## command:   source ./vision_apps_init.sh

[MCU2_0] 1.041321 s: ### CPU Frequency = 1000000000 Hz
[MCU2_0] 1.041351 s: CPU is running FreeRTOS
[MCU2_0] 1.041372 s: APP: Init ... !!!
[MCU2_0] 1.041392 s: SCICLIENT: Init ... !!!
[MCU2_0] 1.041512 s: SCICLIENT: DMSC FW version [8.6.3--v08.06.03 (Chill Capybar]
[MCU2_0] 1.041545 s: SCICLIENT: DMSC FW revision 0x8
[MCU2_0] 1.041572 s: SCICLIENT: DMSC FW ABI revision 3.1
[MCU2_0] 1.041603 s: SCICLIENT: Init ... Done !!!
[MCU2_0] 1.041625 s: UDMA: Init ... !!!
[MCU2_0] 1.042398 s: UDMA: Init ... Done !!!
[MCU2_0] 1.042432 s: UDMA: Init ... !!!
[MCU2_0] 1.042884 s: UDMA: Init for CSITX/CSIRX ... Done !!!
[MCU2_0] 1.042931 s: MEM: Init ... !!!
[MCU2_0] 1.042967 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d9000000 of size 16777216 bytes !!!
[MCU2_0] 1.043022 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 60000000 of size 524288 bytes !!!
[MCU2_0] 1.043073 s: MEM: Init ... Done !!!
[MCU2_0] 1.043093 s: IPC: Init ... !!!
[MCU2_0] 1.043134 s: IPC: 6 CPUs participating in IPC !!!
[MCU2_0] 1.043170 s: IPC: Waiting for HLOS to be ready ... !!!
[MCU2_0] 22.603814 s: IPC: HLOS is ready !!!
[MCU2_0] 22.615184 s: IPC: Init ... Done !!!
[MCU2_0] 22.615227 s: APP: Syncing with 5 CPUs ... !!!
[MCU2_1] 1.068966 s: CIO: Init ... Done !!!

## command: ./run_app_multi_cam.sh

APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=4) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
file_deref_link: readlink failed for /sys/bus/platform/devices/41000000.r5f
_rpmsg_char_find_rproc: 41000000.r5f device is mostly yet to be created!
IPC: ERROR: Unable to create TX channels for CPU [mcu1_0] !!!
IPC: Init ... Done !!!
APP: ERROR: IPC init failed !!!
REMOTE_SERVICE: Init ... !!!
file_deref_link: readlink failed for /sys/bus/platform/devices/41000000.r5f
_rpmsg_char_find_rproc: 41000000.r5f device is mostly yet to be created!
_rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio2.rpmsg_chrdev.-1.21
_rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio3.rpmsg_chrdev.-1.21
_rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio0.rpmsg_chrdev.-1.21
_rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio1.rpmsg_chrdev.-1.21
REMOTE_SERVICE: Init ... Done !!!
0.000000 s: GTC Frequency = 0 MHz
APP: Init ... Done !!!
0.000000 s: VX_ZONE_INIT:Enabled
0.000000 s: VX_ZONE_ERROR:Enabled
0.000000 s: VX_ZONE_WARNING:Enabled
0.000000 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
0.000000 s: VX_ZONE_INIT:[tivxHostInitLocal:93] Initialization Done for HOST !!!
0.000000 s: ISS: Enumerating sensors ... !!!
REMOTE_SERVICE: TX: FAILED: mpu1_0 -> mcu2_0 (port 21) cmd = 0x00000000, prm_size = 384 bytes
0.000000 s: ISS: ERROR: Enumerating sensors failed !!!
appCreateImageSensor returned -1
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: ISS: De-initializing sensor [IMX390-UB953_D3] ... !!!
REMOTE_SERVICE: TX: FAILED: mpu1_0 -> mcu2_0 (port 21) cmd = 0x00000006, prm_size = 384 bytes
0.000000 s: ISS: De-initializing sensor [IMX390-UB953_D3] failed !!!
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
0.000000 s: VX_ZONE_ERROR:[vxReleaseContext:1107] context is invalid
0.000000 s: VX_ZONE_INIT:[tivxHostDeInitLocal:107] De-Initialization Done for HOST !!!
0.000000 s: VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
./run_app_multi_cam.sh: line 1: 948 Segmentation fault (core dumped) /opt/vision_apps/vx_app_multi_cam.out --cfg /opt/vision_apps/app_multi_cam.cfg

## SBL Boot log

SBL Revision: 01.00.10.01 (Jul 7 2023 - 19:18:02)
TIFS ver: 8.6.3--v08.06.03 (Chill Capybar
Starting Sciserver..... PASSED

MCU R5F App started at 0 usecs
Loading BootImage

BootApp_MMCBootImageLate: fp 0x 0x41c12300, fileName is 0:/lateapp1

Called SBL_MulticoreImageParse, status = 0
BootImage completed, status = 0
SBL_SlaveCoreBoot completed for Core ID#10, Entry point is 0x0
SBL_SlaveCoreBoot completed for Core ID#11, Entry point is 0x0
Loading BootImage

BootApp_MMCBootImageLate: fp 0x 0x41c12300, fileName is 0:/lateapp2

Called SBL_MulticoreImageParse, status = 0
BootImage completed, status = 0
SBL_SlaveCoreBoot completed for Core ID#18, Entry point is 0xb0200000
SBL_SlaveCoreBoot completed for Core ID#19, Entry point is 0xb6200000
Loading BootImage

BootApp_MMCBootImageLate: fp 0x 0x41c12300, fileName is 0:/atf_optee.appimage

Called SBL_MulticoreImageParse, status = 0

BootApp_MMCBootImageLate: fp 0x 0x41c12300, fileName is 0:/tikernelimage_linux.appimage

Called SBL_MulticoreImageParse, status = 0

BootApp_MMCBootImageLate: fp 0x 0x41c12300, fileName is 0:/tidtb_linux.appimage

Called SBL_MulticoreImageParse, status = 0
BootImage completed, status = 0
SBL_SlaveCoreBoot completed for Core ID#0, Entry point is 0x70000000

  • We find the REMOTE_SERVICE has some error log associating IPC fail.  Do you know why reason raise this error ?

    REMOTE_SERVICE: Init ... !!!
    file_deref_link: readlink failed for /sys/bus/platform/devices/41000000.r5f
    _rpmsg_char_find_rproc: 41000000.r5f device is mostly yet to be created!
    _rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio2.rpmsg_chrdev.-1.21
    _rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio3.rpmsg_chrdev.-1.21
    _rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio0.rpmsg_chrdev.-1.21
    _rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio1.rpmsg_chrdev.-1.21
    REMOTE_SERVICE: Init ... Done !!!

  • Hi,

    May I get the full Linux boot logs along with the remote core logs (source ./vision_apps_init.sh) ?

    From the application logs, it seems that the IPC is failing and the MCU2_0 is not fully up

    Are you following the combined_app way in SBL?

    Regards,

    Nikhil

  • Sure.  I don't understand what is the combined_app way in SBL.  Do you have some document to refer ? thanks.

    SBL BOOT LOG

    SBL Revision: 01.00.10.01 (Jul 14 2023 - 14:19:09)
    TIFS  ver: 8.6.3--v08.06.03 (Chill Capybar
    Starting Sciserver..... PASSED
    
    MCU R5F App started at 0 usecs
    Loading BootImage
    
     BootApp_MMCBootImageLate: fp 0x 0x41c12300, fileName is 0:/lateapp1                                                   
                                                                                                                           
     Called SBL_MulticoreImageParse, status = 0                                                                            
    BootImage completed, status = 0                                                                                        
    SBL_SlaveCoreBoot completed for Core ID#10, Entry point is 0x0                                                         
    SBL_SlaveCoreBoot completed for Core ID#11, Entry point is 0x0
    Loading BootImage
    
     BootApp_MMCBootImageLate: fp 0x 0x41c12300, fileName is 0:/lateapp2
    
     Called SBL_MulticoreImageParse, status = 0
    BootImage completed, status = 0
    SBL_SlaveCoreBoot completed for Core ID#18, Entry point is 0xb0200000
    SBL_SlaveCoreBoot completed for Core ID#19, Entry point is 0xb6200000
    Loading BootImage
    
     BootApp_MMCBootImageLate: fp 0x 0x41c12300, fileName is 0:/atf_optee.appimage
    
     Called SBL_MulticoreImageParse, status = 0
    
     BootApp_MMCBootImageLate: fp 0x 0x41c12300, fileName is 0:/tikernelimage_linux.appimage
    
     Called SBL_MulticoreImageParse, status = 0
    
     BootApp_MMCBootImageLate: fp 0x 0x41c12300, fileName is 0:/tidtb_linux.appimage
    
     Called SBL_MulticoreImageParse, status = 0
    BootImage completed, status = 0
    SBL_SlaveCoreBoot completed for Core ID#0, Entry point is 0x70000000
    Boot App: Started at 29 usec
    Boot App: Total Num booted cores = 5
    Boot App: Booted Core ID #10 at 589786 usecs
    Boot App: Booted Core ID #11 at 591096 usecs
    Boot App: Booted Core ID #18 at 777387 usecs
    Boot App: Booted Core ID #19 at 778582 usecs
    Boot App: Booted Core ID #0 at 3773156 usecs
    
    MCU Boot Task started at 29 usecs and finished at 3801482 usecs
    

    LINUX BOOT LOG

    NOTICE:  BL31: Built : 10:56:05, May 29 2023
    ERROR:   GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
    I/TC: 
    I/TC: OP-TEE version: 97dc684 (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #1 Mon May 29 02:56:44 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
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.162-g76b3e88d56 (aicview@aicview-pc) (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 Toolchai3
    [    0.000000] Machine model: Texas Instruments J721S2 EVM
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
    [    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 32 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-rtos-ipc-memory-region@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa000000, size 96 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@aa000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@b0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b0100000, size 95 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_0-memory@b0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_1-dma-memory@b6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b6100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_1-memory@b6100000, 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 64 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 0x0000000880000000, size 704 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 0x00000008ac000000, size 896 MiB
    [    0.000000] OF: reserved mem: initialized node linux-cma-buffers@8ac000000, 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-0x00000000dbffffff]
    [    0.000000]   node   0: [mem 0x00000000dc000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008abffffff]
    [    0.000000]   node   0: [mem 0x00000008ac000000-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: kernel page table isolation forced ON by KASLR
    [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
    [    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,0x2800000 root=/dev/mmcblk1p2 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: 1383904K/4194304K available (11712K kernel code, 1192K rwdata, 4468K rodata, 1984K init, 456K bss, 1892896K reserved, 917504K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] 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 @8e4800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008e4030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008e4040000
    [    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.008403] Console: colour dummy device 80x25
    [    0.012971] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023643] pid_max: default: 32768 minimum: 301
    [    0.028403] LSM: Security Framework initializing
    [    0.033166] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.040753] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.049733] rcu: Hierarchical SRCU implementation.
    [    0.054832] Platform MSI: msi-controller@1820000 domain created
    [    0.061073] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.070388] EFI services will not be available.
    [    0.075137] smp: Bringing up secondary CPUs ...
    ERROR:   GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [    0.094073] Detected PIPT I-cache on CPU1
    [    0.094099] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.094112] GICv3: CPU1: using allocated LPI pending table @0x00000008e4050000
    [    0.094155] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.094216] smp: Brought up 1 node, 2 CPUs
    [    0.123566] SMP: Total of 2 processors activated.
    [    0.128372] CPU features: detected: 32-bit EL0 Support
    [    0.133629] CPU features: detected: CRC32 instructions
    [    0.148822] CPU: All CPU(s) started at EL2
    [    0.153030] alternatives: patching kernel code
    [    0.158185] devtmpfs: initialized
    [    0.166468] KASLR disabled due to lack of seed
    [    0.171143] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.181112] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.203186] pinctrl core: initialized pinctrl subsystem
    [    0.208923] DMI not present or invalid.
    [    0.213214] NET: Registered protocol family 16
    [    0.218724] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.226045] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.234057] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.242202] ramoops: using module parameters
    [    0.246633] ramoops ramoops: no room for dmesg mem region (0xffffffffffffe000@0xdd000000) in (0x40000@0xdd000000)
    [    0.257134] ramoops: probe of ramoops failed with error -12
    [    0.263040] thermal_sys: Registered thermal governor 'step_wise'
    [    0.263043] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.269710] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.283365] ASID allocator initialised with 32768 entries
    [    0.289621] printk: console [ramoops-1] enabled
    [    0.294258] pstore: Registered ramoops as persistent store backend
    [    0.300574] ramoops: using 0x40000@0xdd000000, ecc: 0
    [    0.322466] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.329331] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.336185] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.343034] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.350613] cryptd: max_cpu_qlen set to 1000
    [    0.356986] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
    [    0.366131] vsys_3v3: supplied by evm_12v0
    [    0.370558] vsys_5v0: supplied by evm_12v0
    [    0.375438] iommu: Default domain type: Translated 
    [    0.380604] SCSI subsystem initialized
    [    0.384534] usbcore: registered new interface driver usbfs
    [    0.390157] usbcore: registered new interface driver hub
    [    0.395597] usbcore: registered new device driver usb
    [    0.401034] mc: Linux media interface: v0.10
    [    0.405413] videodev: Linux video capture interface: v2.00
    [    0.411046] pps_core: LinuxPPS API ver. 1 registered
    [    0.416119] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.425458] PTP clock support registered
    [    0.429483] EDAC MC: Ver: 3.0.0
    [    0.433370] FPGA manager framework
    [    0.436899] Advanced Linux Sound Architecture Driver Initialized.
    [    0.443575] clocksource: Switched to clocksource arch_sys_counter
    [    0.449908] VFS: Disk quotas dquot_6.6.0
    [    0.453965] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.463859] Carveout Heap: Exported 512 MiB at 0x00000000b8000000
    [    0.470163] NET: Registered protocol family 2
    [    0.474958] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.483638] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.492416] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.500623] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
    [    0.508422] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.515283] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.522182] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.529599] NET: Registered protocol family 1
    [    0.534383] RPC: Registered named UNIX socket transport module.
    [    0.540448] RPC: Registered udp transport module.
    [    0.545267] RPC: Registered tcp transport module.
    [    0.550073] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.556657] NET: Registered protocol family 44
    [    0.561207] PCI: CLS 0 bytes, default 64
    [    0.565633] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.576519] Initialise system trusted keyrings
    [    0.581176] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.589433] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.595733] NFS: Registering the id_resolver key type
    [    0.600916] Key type id_resolver registered
    [    0.605188] Key type id_legacy registered
    [    0.609317] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.616168] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.623830] 9p: Installing v9fs 9p2000 file system support
    [    0.648445] Key type asymmetric registered
    [    0.652635] Asymmetric key parser 'x509' registered
    [    0.657638] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.665199] io scheduler mq-deadline registered
    [    0.669825] io scheduler kyber registered
    [    0.675472] pinctrl-single 4301c000.pinctrl: 101 pins, size 404
    [    0.681707] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.692602] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.705900] brd: module loaded
    [    0.713164] loop: module loaded
    [    0.717170] megasas: 07.714.04.00-rc1
    [    0.723015] tun: Universal TUN/TAP device driver, 1.6
    [    0.728545] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.734954] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.741033] sky2: driver version 1.30
    [    0.745480] VFIO - User Level meta-driver version: 0.3
    [    0.751428] i2c /dev entries driver
    [    0.755951] sdhci: Secure Digital Host Controller Interface driver
    [    0.762272] sdhci: Copyright(c) Pierre Ossman
    [    0.767049] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.773479] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.779853] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.786790] ashmem: initialized
    [    0.790919] 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.795491] optee: revision 3.20 (97dc6845)
    [    0.811900] optee: dynamic shared memory is enabled
    [    0.821382] optee: initialized driver
    [    0.826654] NET: Registered protocol family 17
    [    0.831299] 9pnet: Installing 9P2000 support
    [    0.835708] Key type dns_resolver registered
    [    0.840169] Loading compiled-in X.509 certificates
    [    0.846292] pstore: Invalid compression size for deflate: 0
    [    0.858772] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    [    0.895502] omap_i2c 42120000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.901724] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.907866] omap_i2c 40b10000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.914259] pca953x 3-0021: supply vcc not found, using dummy regulator
    [    0.921103] pca953x 3-0021: using no AI
    [    0.947620] pca953x 3-0021: failed writing register
    [    0.952671] pca953x: probe of 3-0021 failed with error -121
    [    0.958640] pca953x 3-0020: supply vcc not found, using dummy regulator
    [    0.965455] pca953x 3-0020: using no AI
    [    0.969454] pca953x 3-0020: failed writing register
    [    0.974492] pca953x: probe of 3-0020 failed with error -121
    [    0.980403] pca953x 3-0022: supply vcc not found, using dummy regulator
    [    0.987209] pca953x 3-0022: using AI
    [    0.990917] pca953x 3-0022: failed writing register
    [    0.995947] pca953x: probe of 3-0022 failed with error -121
    [    1.001692] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.008193] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
    [    1.016772] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
    [    1.026142] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
    [    1.034799] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
    [    1.044620] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    1.052301] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    1.060581] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    1.068866] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    1.077961] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    1.084719] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    1.093998] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
    [    1.103883] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.110644] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.119644] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
    [    1.129796] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.136555] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.144250] omap8250 40a00000.serial: failed to get alias
    [    1.150417] printk: console [ttyS2] disabled
    [    1.154823] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 25, base_baud = 3000000) is a 8250
    [    1.163577] printk: console [ttyS2] enabled
    [    1.163577] printk: console [ttyS2] enabled
    [    1.172013] printk: bootconsole [ns16550a0] disabled
    [    1.172013] printk: bootconsole [ns16550a0] disabled
    [    1.185961] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.231578] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.239224] davinci_mdio 46000f00.mdio: no live phy, scanning all
    [    1.260214] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver unknown
    [    1.268221] davinci_mdio 46000f00.mdio: phy[1]: device 46000f00.mdio:01, driver unknown
    [    1.276255] davinci_mdio 46000f00.mdio: phy[2]: device 46000f00.mdio:02, driver unknown
    [    1.284241] davinci_mdio 46000f00.mdio: phy[3]: device 46000f00.mdio:03, driver unknown
    [    1.292229] davinci_mdio 46000f00.mdio: phy[4]: device 46000f00.mdio:04, driver unknown
    [    1.300215] davinci_mdio 46000f00.mdio: phy[5]: device 46000f00.mdio:05, driver unknown
    [    1.308200] davinci_mdio 46000f00.mdio: phy[6]: device 46000f00.mdio:06, driver unknown
    [    1.316186] davinci_mdio 46000f00.mdio: phy[7]: device 46000f00.mdio:07, driver unknown
    [    1.324171] davinci_mdio 46000f00.mdio: phy[8]: device 46000f00.mdio:08, driver unknown
    [    1.332157] davinci_mdio 46000f00.mdio: phy[9]: device 46000f00.mdio:09, driver unknown
    [    1.340143] davinci_mdio 46000f00.mdio: phy[10]: device 46000f00.mdio:0a, driver unknown
    [    1.348216] davinci_mdio 46000f00.mdio: phy[11]: device 46000f00.mdio:0b, driver unknown
    [    1.356289] davinci_mdio 46000f00.mdio: phy[12]: device 46000f00.mdio:0c, driver unknown
    [    1.364362] davinci_mdio 46000f00.mdio: phy[13]: device 46000f00.mdio:0d, driver unknown
    [    1.372439] davinci_mdio 46000f00.mdio: phy[14]: device 46000f00.mdio:0e, driver unknown
    [    1.380516] davinci_mdio 46000f00.mdio: phy[15]: device 46000f00.mdio:0f, driver unknown
    [    1.388609] davinci_mdio 46000f00.mdio: phy[16]: device 46000f00.mdio:10, driver unknown
    [    1.396683] davinci_mdio 46000f00.mdio: phy[17]: device 46000f00.mdio:11, driver unknown
    [    1.404756] davinci_mdio 46000f00.mdio: phy[18]: device 46000f00.mdio:12, driver unknown
    [    1.412827] davinci_mdio 46000f00.mdio: phy[19]: device 46000f00.mdio:13, driver unknown
    [    1.420901] davinci_mdio 46000f00.mdio: phy[20]: device 46000f00.mdio:14, driver unknown
    [    1.428973] davinci_mdio 46000f00.mdio: phy[21]: device 46000f00.mdio:15, driver unknown
    [    1.437046] davinci_mdio 46000f00.mdio: phy[22]: device 46000f00.mdio:16, driver unknown
    [    1.445118] davinci_mdio 46000f00.mdio: phy[23]: device 46000f00.mdio:17, driver unknown
    [    1.453193] davinci_mdio 46000f00.mdio: phy[24]: device 46000f00.mdio:18, driver unknown
    [    1.461266] davinci_mdio 46000f00.mdio: phy[25]: device 46000f00.mdio:19, driver unknown
    [    1.469337] davinci_mdio 46000f00.mdio: phy[26]: device 46000f00.mdio:1a, driver unknown
    [    1.477409] davinci_mdio 46000f00.mdio: phy[27]: device 46000f00.mdio:1b, driver unknown
    [    1.485484] davinci_mdio 46000f00.mdio: phy[28]: device 46000f00.mdio:1c, driver unknown
    [    1.493560] davinci_mdio 46000f00.mdio: phy[29]: device 46000f00.mdio:1d, driver unknown
    [    1.501637] davinci_mdio 46000f00.mdio: phy[30]: device 46000f00.mdio:1e, driver unknown
    [    1.509709] davinci_mdio 46000f00.mdio: phy[31]: device 46000f00.mdio:1f, driver unknown
    [    1.517867] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.530814] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.538026] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.544384] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.555530] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:200000000, add_val:4 pps:0
    [    1.665473] mmc0: CQHCI version 5.10
    [    1.671850] vdd_mmc1: supplied by vsys_3v3
    [    1.676999] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [    1.683888] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [    1.690715] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [    1.697536] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [    1.704317] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    1.706205] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.711804] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    1.727421] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    1.735571] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    1.744699] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.755184] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16)
    [    1.766335] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.811584] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.819234] davinci_mdio 46000f00.mdio: no live phy, scanning all
    [    1.840267] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver unknown
    [    1.848297] davinci_mdio 46000f00.mdio: phy[1]: device 46000f00.mdio:01, driver unknown
    [    1.856366] davinci_mdio 46000f00.mdio: phy[2]: device 46000f00.mdio:02, driver unknown
    [    1.864391] davinci_mdio 46000f00.mdio: phy[3]: device 46000f00.mdio:03, driver unknown
    [    1.872390] davinci_mdio 46000f00.mdio: phy[4]: device 46000f00.mdio:04, driver unknown
    [    1.880385] davinci_mdio 46000f00.mdio: phy[5]: device 46000f00.mdio:05, driver unknown
    [    1.888374] davinci_mdio 46000f00.mdio: phy[6]: device 46000f00.mdio:06, driver unknown
    [    1.896387] davinci_mdio 46000f00.mdio: phy[7]: device 46000f00.mdio:07, driver unknown
    [    1.904388] davinci_mdio 46000f00.mdio: phy[8]: device 46000f00.mdio:08, driver unknown
    [    1.912382] davinci_mdio 46000f00.mdio: phy[9]: device 46000f00.mdio:09, driver unknown
    [    1.920375] davinci_mdio 46000f00.mdio: phy[10]: device 46000f00.mdio:0a, driver unknown
    [    1.928455] davinci_mdio 46000f00.mdio: phy[11]: device 46000f00.mdio:0b, driver unknown
    [    1.936537] davinci_mdio 46000f00.mdio: phy[12]: device 46000f00.mdio:0c, driver unknown
    [    1.944616] davinci_mdio 46000f00.mdio: phy[13]: device 46000f00.mdio:0d, driver unknown
    [    1.952708] davinci_mdio 46000f00.mdio: phy[14]: device 46000f00.mdio:0e, driver unknown
    [    1.960800] davinci_mdio 46000f00.mdio: phy[15]: device 46000f00.mdio:0f, driver unknown
    [    1.968884] davinci_mdio 46000f00.mdio: phy[16]: device 46000f00.mdio:10, driver unknown
    [    1.976984] davinci_mdio 46000f00.mdio: phy[17]: device 46000f00.mdio:11, driver unknown
    [    1.985064] davinci_mdio 46000f00.mdio: phy[18]: device 46000f00.mdio:12, driver unknown
    [    1.993143] davinci_mdio 46000f00.mdio: phy[19]: device 46000f00.mdio:13, driver unknown
    [    2.001226] davinci_mdio 46000f00.mdio: phy[20]: device 46000f00.mdio:14, driver unknown
    [    2.009305] davinci_mdio 46000f00.mdio: phy[21]: device 46000f00.mdio:15, driver unknown
    [    2.017384] davinci_mdio 46000f00.mdio: phy[22]: device 46000f00.mdio:16, driver unknown
    [    2.025460] davinci_mdio 46000f00.mdio: phy[23]: device 46000f00.mdio:17, driver unknown
    [    2.033532] davinci_mdio 46000f00.mdio: phy[24]: device 46000f00.mdio:18, driver unknown
    [    2.041605] davinci_mdio 46000f00.mdio: phy[25]: device 46000f00.mdio:19, driver unknown
    [    2.049678] davinci_mdio 46000f00.mdio: phy[26]: device 46000f00.mdio:1a, driver unknown
    [    2.057752] davinci_mdio 46000f00.mdio: phy[27]: device 46000f00.mdio:1b, driver unknown
    [    2.065827] davinci_mdio 46000f00.mdio: phy[28]: device 46000f00.mdio:1c, driver unknown
    [    2.073900] davinci_mdio 46000f00.mdio: phy[29]: device 46000f00.mdio:1d, driver unknown
    [    2.081980] davinci_mdio 46000f00.mdio: phy[30]: device 46000f00.mdio:1e, driver unknown
    [    2.090055] davinci_mdio 46000f00.mdio: phy[31]: device 46000f00.mdio:1f, driver unknown
    [    2.098223] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    2.111172] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    2.118388] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    2.124515] mmc0: Command Queue Engine enabled
    [    2.128971] mmc0: new DDR MMC card at address 0001
    [    2.133913] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    2.134111] mmcblk0: mmc0:0001 AGUF4R 14.6 GiB 
    [    2.147489] mmcblk0boot0: mmc0:0001 AGUF4R partition 1 31.9 MiB
    [    2.153492] mmcblk0boot1: mmc0:0001 AGUF4R partition 2 31.9 MiB
    [    2.159490] mmcblk0rpmb: mmc0:0001 AGUF4R partition 3 4.00 MiB, chardev (236:0)
    [    2.168265] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    2.177005] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    2.177125] mmc1: CQHCI version 5.10
    [    2.184516] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    2.196165] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    2.204250] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    2.213710] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    2.221208] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    2.229290] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    2.231584] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    2.237374] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    2.254072] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    2.261559] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    2.269639] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    2.277719] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    2.286249] debugfs: Directory 'pd:39' with parent 'pm_genpd' already present!
    [    2.293569] debugfs: Directory 'pd:38' with parent 'pm_genpd' already present!
    [    2.297084] mmc1: new ultra high speed DDR50 SDXC card at address aaaa
    [    2.301303] debugfs: Directory 'pd:276' with parent 'pm_genpd' already present!
    [    2.307952] mmcblk1: mmc1:aaaa SD64G 59.5 GiB 
    [    2.315210] debugfs: Directory 'pd:154' with parent 'pm_genpd' already present!
    [    2.328016]  mmcblk1: p1 p2
    [    2.333116] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    2.340637] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    2.348728] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    2.356824] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    2.366976] ALSA device list:
    [    2.369942]   No soundcards found.
    [    2.925223] EXT4-fs (mmcblk1p2): recovery complete
    [    2.930833] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.938968] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    2.945146] devtmpfs: mounted
    [    2.949210] Freeing unused kernel memory: 1984K
    [    2.953824] Run /sbin/init as init process
    [    3.110014] systemd[1]: System time before build time, advancing clock.
    [    3.165974] NET: Registered protocol family 10
    [    3.171056] Segment Routing with IPv6
    [    3.202475] 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 -I)
    [    3.224305] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2021.09!
    
    [    3.256338] systemd[1]: Set hostname to <j721s2-evm>.
    [    3.423632] systemd[1]: /lib/systemd/system/irqbalanced.service:6: Unknown key name 'ConditionCPUs' in section 'Unit', ignoring.
    [    3.445910] 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 f .
    [    3.513658] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.522280] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    3.543756] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.551301] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    3.571679] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.579039] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    3.599845] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [    3.623745] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [    3.647719] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    3.663660] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    3.683644] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    3.699647] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    3.729052] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    3.751774] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    3.774201] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    3.795851] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    3.821761] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    3.830212] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    3.852012] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.868017] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    3.891903] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    3.911809] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.934491] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    3.954507] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.978487] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    3.998403] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [    4.018775] systemd[1]: Starting Create list of static device nodes for the current kernel...
             Starting Create list of st…odes for the current kernel...
    [    4.052454] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    4.078713] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    4.091840] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    4.104852] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    4.123933] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    4.142557] cryptodev: loading out-of-tree module taints kernel.
    [    4.151898] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    4.171131] systemd[1]: Starting udev Coldplug all Devices...
    [    4.177211] cryptodev: driver 1.10 loaded.
             Starting udev Coldplug all Devices...[    4.185487] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    
    [    4.207306] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    4.224242] 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...
    [    4.446216] systemd-journald[232]: 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.
    [    4.564379] random: systemd: uninitialized urandom read (16 bytes read)
    [  OK  ] Reached target Local File Systems (Pre).
    [    4.587987] random: systemd: uninitialized urandom read (16 bytes read)
             Mounting /media/ram...[    4.598601] 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.
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Stopped Network Time Synchronization.
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Stopped Network Time Synchronization.
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Started Update UTMP about System Bo[    5.014522] random: crng init done
    ot/Shutdown.
    [    5.015739] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    5.018845] random: 67 urandom warning(s) missed due to ratelimiting
    [  OK  ] Stopped Network Time Synchronizatio[    5.039161] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    n.
    [    5.056425] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    5.056499] CAN device driver interface
    [    5.072946] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Started Load/Save Random Seed.
    [    5.117062] alloc_contig_range: [8ac100, 8ac400) PFNs busy
    [  OK  ] Stopped Network Time Synchronization.
    [    5.132347] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [FAILED] Failed to start Network Time Sync[    5.146613] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    hronization.
    [    5.163114] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    See 'systemctl status systemd-timesyncd.service' for details.[    5.171973] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    
    [    5.188742] k3-dsp-rproc 64800000.dsp: assigned reserved memory node vision-apps-c71-dma-memory@b0000000
    [  OK  ] Stopped Network Time Synchronization.
    [    5.206979] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    5.215051] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [FAILED] Failed to start Network Time Sync[    5.225673] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    hronization.
    [    5.239232] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    See 'systemctl status systemd-timesyncd.service' for details.[    5.250597] alloc_contig_range: [8ac200, 8ac500) PFNs busy
    
    [    5.261997] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
    [    5.269268] cdns-mhdp8546 a000000.dp-bridge: no PHY configured
    [    5.275281] remoteproc remoteproc0: 64800000.dsp is available
    [    5.302335] alloc_contig_range: [8ac300, 8ac600) PFNs busy
    [    5.303819] remoteproc remoteproc0: attaching to 64800000.dsp
    [    5.313967] PVR_K:  260: Read BVNC 36.53.104.796 from HW device registers
    [    5.315315] remoteproc remoteproc0: unsupported resource 65538
    [    5.333036] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    5.340590] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    5.342409] PVR_K:  260: RGX Device registered BVNC 36.53.104.796 with 1 core in the system
    [    5.351340] k3-dsp-rproc 64800000.dsp: DSP initialized in IPC-only mode
    [    5.363746] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    5.372176] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    5.381370] cdns-mhdp8546 a000000.dp-bridge: no PHY configured
    [    5.399664] k3_r5_rproc bus@100000:bus@28380000:r5fss@41000000: MCU cluster requires both R5F cores to be enabled but num_cores is set to = 1
    [    5.406234]  remoteproc0#vdev0buffer: assigned reserved memory node vision-apps-c71-dma-memory@b0000000
    [    5.427201] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    5.429487] [drm] Initialized pvr 1.15.6133109 20170530 for 4e20000000.gpu on minor 0
    [    5.435886] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    5.451083] platform 5c00000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    5.462960] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    5.467162] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    5.471234] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    5.478889]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [    5.485559] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xd
    [    5.491789] remoteproc remoteproc0: remote processor 64800000.dsp is now attached
    [    5.498158] cdns-mhdp8546 a000000.dp-bridge: no PHY configured
    [    5.528787] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    5.536457] k3-dsp-rproc 65800000.dsp: assigned reserved memory node vision-apps-c71_1-dma-memory@b6000000
    [    5.546181] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    5.554373] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    5.566413] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    5.581915] cdns-mhdp8546 a000000.dp-bridge: no PHY configured
    [    5.593073] k3-dsp-rproc 65800000.dsp: configured DSP for IPC-only mode
    [    5.601121] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    5.607857] platform 5c00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    5.610417] remoteproc remoteproc2: 65800000.dsp is available
    [    5.618197] remoteproc remoteproc1: 5c00000.r5f is available
    [    5.630147] remoteproc remoteproc1: attaching to 5c00000.r5f
    [    5.637661] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [    5.644350]  remoteproc1#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    5.655771] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    5.662329]  remoteproc1#vdev0buffer: registered virtio1 (type 7)
    [    5.668588] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    5.668856] m_can_platform 40568000.can: m_can device registered (irq=21, version=32)
    [    5.676442] remoteproc remoteproc1: remote processor 5c00000.r5f is now attached
    [    5.691272] platform 5d00000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    5.703479] remoteproc remoteproc2: attaching to 65800000.dsp
    [    5.709723] remoteproc remoteproc2: unsupported resource 65538
    [    5.715727] k3-dsp-rproc 65800000.dsp: DSP initialized in IPC-only mode
    [    5.722436]  remoteproc2#vdev0buffer: assigned reserved memory node vision-apps-c71_1-dma-memory@b6000000
    [    5.722671] m_can_platform 2701000.can: m_can device registered (irq=33, version=32)
    [    5.732353] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    5.745345] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xd
    [    5.754832]  remoteproc2#vdev0buffer: registered virtio2 (type 7)
    [    5.761370] m_can_platform 2711000.can: m_can device registered (irq=35, version=32)
    [    5.783124] remoteproc remoteproc2: remote processor 65800000.dsp is now attached
    [    5.783726] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    5.797193] m_can_platform 2721000.can: m_can device registered (irq=37, version=32)
    [    5.810509] m_can_platform 27d1000.can: m_can device registered (irq=39, version=32)
    [    5.826793] m_can_platform 2681000.can: m_can device registered (irq=41, version=32)
    [    5.830512] platform 5d00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
    [    5.846475] m_can_platform 2691000.can: m_can device registered (irq=43, version=32)
    [    5.862405] m_can_platform 26a1000.can: m_can device registered (irq=45, version=32)
    [    5.875107] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    5.882724] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    5.891849] remoteproc remoteproc3: 5d00000.r5f is available
    [    5.897590] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    5.899705] remoteproc remoteproc3: attaching to 5d00000.r5f
    [    5.905791] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    5.920635] cdns-mhdp8546 a000000.dp-bridge: no PHY configured
    [    5.929261] m_can_platform 40528000.can: m_can device registered (irq=19, version=32)
    [    5.940809] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    5.948371] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    5.956529] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    5.966090] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    5.976446] cdns-mhdp8546 a000000.dp-bridge: no PHY configured
    [    6.025335] platform 5d00000.r5f: R5F core initialized in IPC-only mode
    [    6.032768]  remoteproc3#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
    [    6.148749] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    6.159730] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xd
    [    6.253106] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    6.261571]  remoteproc3#vdev0buffer: registered virtio3 (type 7)
    [    6.267731] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    6.279280] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    6.294440] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    6.307495] cdns-mhdp8546 a000000.dp-bridge: no PHY configured
    [    6.315011] remoteproc remoteproc3: remote processor 5d00000.r5f is now attached
    [    6.352048] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    6.362216] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    6.374902] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    6.375357] platform 5e00000.r5f: configured R5F for remoteproc mode
    [    6.386179] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    6.400880] cdns-mhdp8546 a000000.dp-bridge: no PHY configured
    [    6.438863] platform 5e00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a6000000
    [    6.538905] remoteproc remoteproc4: 5e00000.r5f is available
    [    6.583443] remoteproc remoteproc4: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -2
    [    6.595723] platform 5f00000.r5f: configured R5F for remoteproc mode
    [    6.602236] remoteproc remoteproc4: powering up 5e00000.r5f
    [    6.607942] remoteproc remoteproc4: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -2
    [    6.620818] remoteproc remoteproc4: request_firmware failed: -2
    [    6.642080] platform 5f00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a7000000
    [    6.660629] remoteproc remoteproc5: 5f00000.r5f is available
    [    6.672823] remoteproc remoteproc5: Direct firmware load for j721s2-main-r5f1_1-fw failed with error -2
    [    6.687032] remoteproc remoteproc5: powering up 5f00000.r5f
    [    6.692745] remoteproc remoteproc5: Direct firmware load for j721s2-main-r5f1_1-fw failed with error -2
    [    6.705544] remoteproc remoteproc5: request_firmware failed: -2
    [    6.715867] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    6.723668] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    6.734817] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    6.744727] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    6.759753] cdns-mhdp8546 a000000.dp-bridge: no PHY configured
    [    6.932017] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    6.943404] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    6.954146] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    6.967811] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    6.980092] cdns-mhdp8546 a000000.dp-bridge: no PHY configured
    [    6.990246] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    6.999065] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    7.008485] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    7.017228] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    7.033775] cdns-mhdp8546 a000000.dp-bridge: no PHY configured
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
    [  OK  ] Found device /dev/mmcblk1p1.
    [  OK  ] Started udev Wait for Complete Device Initialization.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API.
    [  OK  ] Listening on dropbear.socket.
             Starting Reboot and dump vmcore via kexec...
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Print notice about GPLv3 packages...
             Starting set host name as per compatible name...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting Telephony service...
             Starting rc.pvr.service...
    [FAILED] Failed to start Login Service.
    See 'systemctl status systemd-logind.service' for details.
    [  OK  ] Started TEE Supplicant.
             Starting Update weston ini… based on the platform name...
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [  OK  ] Reached target Network (Pre).
    [  OK  ] Stopped Login Service.
    [FAILED] Failed to start Login Service.
    See 'systemctl status systemd-logind.service' for details.
             Starting Network Service...
    [  OK  ] Stopped Login Service.
    [FAILED] Failed to start Login Service.
    See 'systemctl status systemd-logind.service' for details.
    [  OK  ] Stopped Login Service.
    [FAILED] Failed to start Login Service.
    See 'systemctl status systemd-logind.service' for details.
    [  OK  ] Stopped Login Service.
    [FAILED] Failed to start Login Service.
    See 'systemctl status systemd-logind.service' for details.
    [  OK  ] Stopped Login Service.
    [FAILED] Failed to start Login Service.
    See 'systemctl status systemd-logind.service' for details.
    [  OK  ] Started File System Check on /dev/mmcblk1p1.
    [  OK  ] Started set host name as per compatible name.
    [  OK  ] Started Update weston ini …ge based on the platform name.
             Mounting /run/media/mmcblk1p1...
    [  OK  ] Started Telephony service.
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for[    8.188307] Bluetooth: Core ver 2.22
     details.
    [  OK  ] Reached target Network    8.195737] NET: Registered protocol family 31
    0m.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-S[    8.211484] Bluetooth: HCI device and connection manager initialized
    D Stack...
             Starting Enable and configure wl18xx bluetooth[    8.226087] Bluetooth: HCI socket layer initialized
     stack...
    [  OK  ] Started NFS status monitor for NFSv[    8.239786] Bluetooth: L2CAP socket layer initialized
    2/3 locking..
             Starting Simple Network Ma�[    8.245349] Bluetooth: SCO socket layer initialized
    ��ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Mounted /run/media/mmcblk1p1.
    [    8.278600] am65-cpsw-nuss 46000000.ethernet eth0: configuring for fixed/rgmii-id link mode
    [  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target[    8.407075] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
     Login Prompts.
             Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            coreutils-stdbuf
            coreutils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gstreamer1.0-libav-dev
            gstreamer1.0-libav
            gzip
            less
            libasm1
            libbfd
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp-dev
            libgmp10
            libgmpxx4
            libidn2-0
            libidn2-dev
            libmpc3
            libmpfr6
            libreadline-dev
            libreadline8
            libunistring-dev
            libunistring2
            m4-dev
            m4
            make
            nettle-dev
            nettle
            parted
            python3-rfc3987
            python3-strict-rfc3339
            tar
            which
            zeromq
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started weston.service.
             Starting DEMO...
             Starting telnetd.service...
    [  OK  ] Started DEMO.
    [  OK  ] Started telnetd.service.
             Starting adbd.service...
    [   13.932636] file system registered
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project j721s2-evm ttyS2
    
    Arago 2021.09 j721s2-evm ttyS2
    
    j721s2-evm login: [   15.056162] read descriptors
    [   15.059058] read strings
    

    REMOTE CORE LOG

    root@j721s2-evm:/opt/vision_apps# source ./vision_apps_init.sh 
    root@j721s2-evm:/opt/vision_apps# [MCU2_0]      1.066600 s: CIO: Init ... Done !!!
    [MCU2_0]      1.066654 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_0]      1.066687 s: CPU is running FreeRTOS
    [MCU2_0]      1.066709 s: APP: Init ... !!!
    [MCU2_0]      1.066728 s: SCICLIENT: Init ... !!!
    [MCU2_0]      1.066847 s: SCICLIENT: DMSC FW version [8.6.3--v08.06.03 (Chill Capybar]
    [MCU2_0]      1.066879 s: SCICLIENT: DMSC FW revision 0x8  
    [MCU2_0]      1.066906 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_0]      1.066937 s: SCICLIENT: Init ... Done !!!
    [MCU2_0]      1.066960 s: UDMA: Init ... !!!
    [MCU2_0]      1.067734 s: UDMA: Init ... Done !!!
    [MCU2_0]      1.067767 s: UDMA: Init ... !!!
    [MCU2_0]      1.068213 s: UDMA: Init for CSITX/CSIRX ... Done !!!
    [MCU2_0]      1.068260 s: MEM: Init ... !!!
    [MCU2_0]      1.068294 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d9000000 of size 16777216 bytes !!!
    [MCU2_0]      1.068352 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 60000000 of size 524288 bytes !!!
    [MCU2_0]      1.068402 s: MEM: Init ... Done !!!
    [MCU2_0]      1.068422 s: IPC: Init ... !!!
    [MCU2_0]      1.068466 s: IPC: 6 CPUs participating in IPC !!!
    [MCU2_0]      1.068500 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_0]     23.174931 s: IPC: HLOS is ready !!!
    [MCU2_0]     23.186368 s: IPC: Init ... Done !!!
    [MCU2_0]     23.186409 s: APP: Syncing with 5 CPUs ... !!!
    [MCU2_1]      1.094301 s: CIO: Init ... Done !!!
    [MCU2_1]      1.094353 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_1]      1.094383 s: CPU is running FreeRTOS
    [MCU2_1]      1.094403 s: APP: Init ... !!!
    [MCU2_1]      1.094422 s: SCICLIENT: Init ... !!!
    [MCU2_1]      1.094539 s: SCICLIENT: DMSC FW version [8.6.3--v08.06.03 (Chill Capybar]
    [MCU2_1]      1.094572 s: SCICLIENT: DMSC FW revision 0x8  
    [MCU2_1]      1.094599 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_1]      1.094629 s: SCICLIENT: Init ... Done !!!
    [MCU2_1]      1.094651 s: UDMA: Init ... !!!
    [MCU2_1]      1.095486 s: UDMA: Init ... Done !!!
    [MCU2_1]      1.095533 s: MEM: Init ... !!!
    [MCU2_1]      1.095569 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ da000000 of size 16777216 bytes !!!
    [MCU2_1]      1.095626 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 60080000 of size 524288 bytes !!!
    [MCU2_1]      1.095677 s: MEM: Init ... Done !!!
    [MCU2_1]      1.095698 s: IPC: Init ... !!!
    [MCU2_1]      1.095744 s: IPC: 6 CPUs participating in IPC !!!
    [MCU2_1]      1.095779 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_1]     23.667915 s: IPC: HLOS is ready !!!
    [MCU2_1]     23.679411 s: IPC: Init ... Done !!!
    [MCU2_1]     23.679452 s: APP: Syncing with 5 CPUs ... !!!
    [C7x_1 ]      5.361410 s: CIO: Init ... Done !!!
    [C7x_1 ]      5.361424 s: ### CPU Frequency = 1000000000 Hz
    [C7x_1 ]      5.361436 s: CPU is running FreeRTOS
    [C7x_1 ]      5.361445 s: APP: Init ... !!!
    [C7x_1 ]      5.361452 s: SCICLIENT: Init ... !!!
    [C7x_1 ]      5.361552 s: SCICLIENT: DMSC FW version [8.6.3--v08.06.03 (Chill Capybar]
    [C7x_1 ]      5.361566 s: SCICLIENT: DMSC FW revision 0x8  
    [C7x_1 ]      5.361578 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C7x_1 ]      5.361589 s: SCICLIENT: Init ... Done !!!
    [C7x_1 ]      5.361599 s: UDMA: Init ... !!!
    [C7x_1 ]      5.362326 s: UDMA: Init ... Done !!!
    [C7x_1 ]      5.362339 s: MEM: Init ... !!!
    [C7x_1 ]      5.362351 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ 117000000 of size 268435456 bytes !!!
    [C7x_1 ]      5.362373 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 70020000 of size 3964928 bytes !!!
    [C7x_1 ]      5.362392 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 64800000 of size 458752 bytes !!!
    [C7x_1 ]      5.362410 s: MEM: Created heap (L1_MEM, id=3, flags=0x00000001) @ 64e00000 of size 16384 bytes !!!
    [C7x_1 ]      5.362427 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ 100000000 of size 385875968 bytes !!!
    [C7x_1 ]      5.362446 s: MEM: Init ... Done !!!
    [C7x_1 ]      5.362454 s: IPC: Init ... !!!
    [C7x_1 ]      5.362468 s: IPC: 6 CPUs participating in IPC !!!
    [C7x_1 ]      5.362485 s: IPC: Waiting for HLOS to be ready ... !!!
    [C7x_1 ]     22.986332 s: IPC: HLOS is ready !!!
    [C7x_1 ]     22.988595 s: IPC: Init ... Done !!!
    [C7x_1 ]     22.988611 s: APP: Syncing with 5 CPUs ... !!!
    [C7x_2 ]      5.427573 s: CIO: Init ... Done !!!
    [C7x_2 ]      5.427591 s: ### CPU Frequency = 1000000000 Hz
    [C7x_2 ]      5.427604 s: CPU is running FreeRTOS
    [C7x_2 ]      5.427613 s: APP: Init ... !!!
    [C7x_2 ]      5.427621 s: SCICLIENT: Init ... !!!
    [C7x_2 ]      5.427721 s: SCICLIENT: DMSC FW version [8.6.3--v08.06.03 (Chill Capybar]
    [C7x_2 ]      5.427736 s: SCICLIENT: DMSC FW revision 0x8  
    [C7x_2 ]      5.427746 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C7x_2 ]      5.427758 s: SCICLIENT: Init ... Done !!!
    [C7x_2 ]      5.427768 s: UDMA: Init ... !!!
    [C7x_2 ]      5.428485 s: UDMA: Init ... Done !!!
    [C7x_2 ]      5.428500 s: MEM: Init ... !!!
    [C7x_2 ]      5.428511 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ 127000000 of size 16777216 bytes !!!
    [C7x_2 ]      5.428532 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 65800000 of size 458752 bytes !!!
    [C7x_2 ]      5.428550 s: MEM: Created heap (L1_MEM, id=3, flags=0x00000001) @ 65e00000 of size 16384 bytes !!!
    [C7x_2 ]      5.428568 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ 128000000 of size 67108864 bytes !!!
    [C7x_2 ]      5.428587 s: MEM: Init ... Done !!!
    [C7x_2 ]      5.428595 s: IPC: Init ... !!!
    [C7x_2 ]      5.428610 s: IPC: 6 CPUs participating in IPC !!!
    [C7x_2 ]      5.428625 s: IPC: Waiting for HLOS to be ready ... !!!
    [C7x_2 ]     23.251522 s: IPC: HLOS is ready !!!
    [C7x_2 ]     23.253849 s: IPC: Init ... Done !!!
    [C7x_2 ]     23.253864 s: APP: Syncing with 5 CPUs ... !!!
    

    RUN_APP_CAM_MULTI LOG

    root@j721s2-evm:/opt/vision_apps# ./run_app_multi_cam.sh 
    
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=4) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    file_deref_link: readlink failed for /sys/bus/platform/devices/41000000.r5f
    _rpmsg_char_find_rproc: 41000000.r5f device is mostly yet to be created!
    IPC: ERROR: Unable to create TX channels for CPU [mcu1_0] !!!
    IPC: Init ... Done !!!
    APP: ERROR: IPC init failed !!!
    REMOTE_SERVICE: Init ... !!!
    file_deref_link: readlink failed for /sys/bus/platform/devices/41000000.r5f
    _rpmsg_char_find_rproc: 41000000.r5f device is mostly yet to be created!
    _rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio1.rpmsg_chrdev.-1.21
    _rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio3.rpmsg_chrdev.-1.21
    _rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio0.rpmsg_chrdev.-1.21
    _rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio2.rpmsg_chrdev.-1.21
    REMOTE_SERVICE: Init ... Done !!!
         0.000000 s: GTC Frequency = 0 MHz
    APP: Init ... Done !!!
         0.000000 s:  VX_ZONE_INIT:Enabled
         0.000000 s:  VX_ZONE_ERROR:Enabled
         0.000000 s:  VX_ZONE_WARNING:Enabled
         0.000000 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
         0.000000 s:  VX_ZONE_INIT:[tivxHostInitLocal:93] Initialization Done for HOST !!!
         0.000000 s: ISS: Enumerating sensors ... !!!
    REMOTE_SERVICE: TX: FAILED: mpu1_0 -> mcu2_0 (port 21) cmd = 0x00000000, prm_size = 384 bytes
         0.000000 s: ISS: ERROR: Enumerating sensors failed !!!
    appCreateImageSensor returned -1
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s: ISS: De-initializing sensor [IMX390-UB953_D3] ... !!!
    REMOTE_SERVICE: TX: FAILED: mpu1_0 -> mcu2_0 (port 21) cmd = 0x00000006, prm_size = 384 bytes
         0.000000 s: ISS: De-initializing sensor [IMX390-UB953_D3] failed !!!
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
         0.000000 s:  VX_ZONE_ERROR:[vxReleaseContext:1107] context is invalid
         0.000000 s:  VX_ZONE_INIT:[tivxHostDeInitLocal:107] De-Initialization Done for HOST !!!
         0.000000 s:  VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!!
    APP: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... Done !!!
    IPC: Deinit ... !!!
    ./run_app_multi_cam.sh: line 1:  1097 Segmentation fault      (core dumped) /opt/vision_apps/vx_app_multi_cam.out --cfg /opt/vision_apps/app_multi_cam.cfg

  • Hi,

    In the latest remote core logs sent, i see the below 

    [MCU2_0] 23.226132 s: IPC: Init ... Done !!!
    [MCU2_0] 23.226179 s: APP: Syncing with 4 CPUs ... !!!
    [MCU2_0] 23.457123 s: APP: Syncing with 4 CPUs ... Done !!!
    [MCU2_0] 23.457157 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_0] 23.458488 s: REMOTE_SERVICE: Init ... Done !!!

    Whereas this wasn't there in the description shown below

    [MCU2_0] 1.043170 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_0] 22.603814 s: IPC: HLOS is ready !!!
    [MCU2_0] 22.615184 s: IPC: Init ... Done !!!
    [MCU2_0] 22.615227 s: APP: Syncing with 5 CPUs ... !!!
    [MCU2_1] 1.068966 s: CIO: Init ... Done !!!

    Could you please confirm, if you are still getting remote service error while running the multi cam app with [MCU2_0] 23.458488 s: REMOTE_SERVICE: Init ... Done !!! on MCU2_0?

    I mean, first run "source ./vision_apps_init.sh" -> Ensure [MCU2_0] 23.458488 s: REMOTE_SERVICE: Init ... Done !!! on MCU2_0 -> Ensure IPC echo test is passed on MCU2_0 [MCU2_0]     23.514169 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] C7X_1[P] C7X_2[P]  

    Then run the multi-cam application and check if the issue persists. 

    If yes, please share this multi-cam logs too.

    Regards,

    Nikhil

  • Sorry.  I re-edit newest error log in my above reply.   

    MCU2_0 Log not print "IPC echo test", the last print log is "[MCU2_0]     23.186409 s: APP: Syncing with 5 CPUs ... !!!".

    run_app_multi_cam application have print log as below:

    "REMOTE_SERVICE: TX: FAILED: mpu1_0 -> mcu2_0 (port 21) cmd = 0x00000000, prm_size = 384 bytes"

    I following the combined_app way in SBL,   refer to 

    [FAQ] TDA4VM: Run vision_apps in SBL boot flow with combined_appImage]

    e2e.ti.com/.../faq-tda4vm-run-vision_apps-in-sbl-boot-flow-with-combined_appimage

  • Hi,

    The combined app image you have referred is for J721e/ TDA4VM.

    Please refer the below for J721s2

    (+) [FAQ] TDA4VL-Q1: Run vision_apps in SBL boot flow with combined_appImage - Processors forum - Processors - TI E2E support forums

    The log below says 

    [MCU2_0] 1.068466 s: IPC: 6 CPUs participating in IPC !!!
    [MCU2_0] 1.068500 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_0] 23.174931 s: IPC: HLOS is ready !!!
    [MCU2_0] 23.186368 s: IPC: Init ... Done !!!
    [MCU2_0] 23.186409 s: APP: Syncing with 5 CPUs ... !!!

    May I know which are the 5 CPUs enabled for vision_Apps? 
    Note: '5' is excluding A72 (MPU1_0) 

    Could you please check if you have enabled MCU1_0 in vision_apps by any chance?

    In default SDK, this is disabled.

    Regards,

    Nikhil

  • "Could you please check if you have enabled MCU1_0 in vision_apps by any chance?"

    => YES,  MCU1_0 is enable.   I try to disable MCU1_0.  IPC From A72 to MCU2_0  is work fine.  After change, new problem is blocking I2C_open API. 

    "[MCU2_0]    253.539359 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_ENUMERATE"   this log will call I2C_open API.

     

    CHANGE

    # file:  vision_apps/vision_apps_build_flags.mak
    else ifeq ($(SOC),j721s2)
    BUILD_CPU_MPU1?=yes
    -BUILD_CPU_MCU1_0?=yes
    +BUILD_CPU_MCU1_0?=no
    
    # file:  vision_apps/platform/j721s2/rtos/common/app_cfg.h
    #define ENABLE_IPC_MPU1_0
    -#define ENABLE_IPC_MCU1_0
    +//#define ENABLE_IPC_MCU1_0
    //#define ENABLE_IPC_MCU1_1
    

    LOG

    sroot@j721s2-evm:/opt/vision_apps# source ./vision_apps_init.sh 
    root@j721s2-evm:/opt/vision_apps# [MCU2_0]      1.067052 s: CIO: Init ... Done !!!
    [MCU2_0]      1.067105 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_0]      1.067136 s: CPU is running FreeRTOS
    [MCU2_0]      1.067157 s: APP: Init ... !!!
    [MCU2_0]      1.067177 s: SCICLIENT: Init ... !!!
    [MCU2_0]      1.067295 s: SCICLIENT: DMSC FW version [8.6.3--v08.06.03 (Chill Capybar]
    [MCU2_0]      1.067327 s: SCICLIENT: DMSC FW revision 0x8  
    [MCU2_0]      1.067353 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_0]      1.067385 s: SCICLIENT: Init ... Done !!!
    [MCU2_0]      1.067408 s: UDMA: Init ... !!!
    [MCU2_0]      1.068175 s: UDMA: Init ... Done !!!
    [MCU2_0]      1.068209 s: UDMA: Init ... !!!
    [MCU2_0]      1.068652 s: UDMA: Init for CSITX/CSIRX ... Done !!!
    [MCU2_0]      1.068709 s: MEM: Init ... !!!
    [MCU2_0]      1.068743 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d9000000 of size 16777216 bytes !!!
    [MCU2_0]      1.068800 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 60000000 of size 524288 bytes !!!
    [MCU2_0]      1.068851 s: MEM: Init ... Done !!!
    [MCU2_0]      1.068872 s: IPC: Init ... !!!
    [MCU2_0]      1.068916 s: IPC: 5 CPUs participating in IPC !!!
    [MCU2_0]      1.068951 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_0]     23.049393 s: IPC: HLOS is ready !!!
    [MCU2_0]     23.058632 s: IPC: Init ... Done !!!
    [MCU2_0]     23.058682 s: APP: Syncing with 4 CPUs ... !!!
    [MCU2_0]     23.814617 s: APP: Syncing with 4 CPUs ... Done !!!
    [MCU2_0]     23.814651 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_0]     23.815966 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_0]     23.816009 s: FVID2: Init ... !!!
    [MCU2_0]     23.816069 s: FVID2: Init ... Done !!!
    [MCU2_0]     23.816095 s: SCICLIENT: Sciclient_pmSetModuleState module=219 state=2
    [MCU2_0]     23.816169 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     23.816629 s:  appGpioInit   Done!!!
    [MCU2_0]     23.816716 s: VHWA: VPAC Init ... !!!
    [MCU2_0]     23.816740 s: SCICLIENT: Sciclient_pmSetModuleState module=361 state=2
    [MCU2_0]     23.816835 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     23.816863 s: VHWA: LDC Init ... !!!
    [MCU2_0]     23.819549 s: VHWA: LDC Init ... Done !!!
    [MCU2_0]     23.819583 s: VHWA: MSC Init ... !!!
    [MCU2_0]     23.827650 s: VHWA: MSC Init ... Done !!!
    [MCU2_0]     23.827688 s: VHWA: NF Init ... !!!
    [MCU2_0]     23.828544 s: VHWA: NF Init ... Done !!!
    [MCU2_0]     23.828575 s: VHWA: VISS Init ... !!!
    [MCU2_0]     23.835033 s: VHWA: VISS Init ... Done !!!
    [MCU2_0]     23.835074 s: VHWA: VPAC Init ... Done !!!
    [MCU2_0]     23.835107 s:  VX_ZONE_INIT:Enabled
    [MCU2_0]     23.835132 s:  VX_ZONE_ERROR:Enabled
    [MCU2_0]     23.835153 s:  VX_ZONE_WARNING:Enabled
    [MCU2_0]     23.836190 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target MCU2-0 
    [MCU2_0]     23.836373 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_NF 
    [MCU2_0]     23.836548 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_LDC1 
    [MCU2_0]     23.836731 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC1 
    [MCU2_0]     23.836910 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC2 
    [MCU2_0]     23.837136 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_VISS1 
    [MCU2_0]     23.837319 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE1 
    [MCU2_0]     23.837504 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE2 
    [MCU2_0]     23.837699 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY1 
    [MCU2_0]     23.837878 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY2 
    [MCU2_0]     23.838045 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CSITX 
    [MCU2_0]     23.838243 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE3 
    [MCU2_0]     23.838426 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE4 
    [MCU2_0]     23.838601 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE5 
    [MCU2_0]     23.838788 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE6 
    [MCU2_0]     23.838969 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE7 
    [MCU2_0]     23.839144 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE8 
    [MCU2_0]     23.839314 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M1 
    [MCU2_0]     23.839483 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M2 
    [MCU2_0]     23.839645 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M3 
    [MCU2_0]     23.839811 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M4 
    [MCU2_0]     23.839970 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CSITX2 
    [MCU2_0]     23.840012 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [MCU2_0]     23.840041 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_0]     23.866225 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_0]     23.866259 s: CSI2RX: Init ... !!!
    [MCU2_0]     23.866280 s: SCICLIENT: Sciclient_pmSetModuleState module=136 state=2
    [MCU2_0]     23.866353 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     23.866382 s: SCICLIENT: Sciclient_pmSetModuleState module=38 state=2
    [MCU2_0]     23.866439 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     23.866466 s: SCICLIENT: Sciclient_pmSetModuleState module=39 state=2
    [MCU2_0]     23.866520 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     23.866546 s: SCICLIENT: Sciclient_pmSetModuleState module=152 state=2
    [MCU2_0]     23.866601 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     23.866627 s: SCICLIENT: Sciclient_pmSetModuleState module=153 state=2
    [MCU2_0]     23.866689 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     23.866852 s: CSI2RX: Init ... Done !!!
    [MCU2_0]     23.866878 s: CSI2TX: Init ... !!!
    [MCU2_0]     23.866898 s: SCICLIENT: Sciclient_pmSetModuleState module=136 state=2
    [MCU2_0]     23.866959 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     23.866986 s: SCICLIENT: Sciclient_pmSetModuleState module=40 state=2
    [MCU2_0]     23.867040 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     23.867067 s: SCICLIENT: Sciclient_pmSetModuleState module=41 state=2
    [MCU2_0]     23.867122 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     23.867147 s: SCICLIENT: Sciclient_pmSetModuleState module=363 state=2
    [MCU2_0]     23.867203 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     23.867230 s: Unlocked MMR to program CSITX DPHY register ... !!!
    [MCU2_0]     23.867258 s: Locked MMR after programming CSITX DPHY register ... !!!
    [MCU2_0]     23.867322 s: CSI2TX: Init ... Done !!!
    [MCU2_0]     23.867346 s: ISS: Init ... !!!
    [MCU2_0]     23.867371 s: Found sensor SENSOR_OX08B40_MAX96717 at location 0 
    [MCU2_0]     23.867404 s: Found sensor IMX623_RAW at location 1 
    [MCU2_0]     23.867433 s: Found sensor IMX623_UYVY at location 2 
    [MCU2_0]     23.867462 s: IssSensor_Init ... Done !!!
    [MCU2_0]     23.867518 s: IttRemoteServer_Init ... Done !!!
    [MCU2_0]     23.867545 s: VISS REMOTE SERVICE: Init ... !!!
    [MCU2_0]     23.867598 s: VISS REMOTE SERVICE: Init ... Done !!!
    [MCU2_0]     23.867624 s: UDMA Copy: Init ... !!!
    [MCU2_0]     23.868466 s: UDMA Copy: Init ... Done !!!
    [MCU2_0]     23.868532 s: APP: Init ... Done !!!
    [MCU2_0]     23.868558 s: APP: Run ... !!!
    [MCU2_0]     23.868578 s: IPC: Starting echo test ...
    [MCU2_0]     23.870652 s: APP: Run ... Done !!!
    [MCU2_0]     23.871349 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[.] C7X_1[P] C7X_2[.] 
    [MCU2_0]     23.871421 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] C7X_1[P] C7X_2[.] 
    [MCU2_0]     23.871484 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] C7X_1[P] C7X_2[P] 
    [MCU2_1]      1.094754 s: CIO: Init ... Done !!!
    [MCU2_1]      1.094805 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_1]      1.094836 s: CPU is running FreeRTOS
    [MCU2_1]      1.094856 s: APP: Init ... !!!
    [MCU2_1]      1.094876 s: SCICLIENT: Init ... !!!
    [MCU2_1]      1.094993 s: SCICLIENT: DMSC FW version [8.6.3--v08.06.03 (Chill Capybar]
    [MCU2_1]      1.095025 s: SCICLIENT: DMSC FW revision 0x8  
    [MCU2_1]      1.095052 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_1]      1.095083 s: SCICLIENT: Init ... Done !!!
    [MCU2_1]      1.095105 s: UDMA: Init ... !!!
    [MCU2_1]      1.095928 s: UDMA: Init ... Done !!!
    [MCU2_1]      1.095976 s: MEM: Init ... !!!
    [MCU2_1]      1.096011 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ da000000 of size 16777216 bytes !!!
    [MCU2_1]      1.096069 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 60080000 of size 524288 bytes !!!
    [MCU2_1]      1.096120 s: MEM: Init ... Done !!!
    [MCU2_1]      1.096141 s: IPC: Init ... !!!
    [MCU2_1]      1.096187 s: IPC: 5 CPUs participating in IPC !!!
    [MCU2_1]      1.096223 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_1]     23.805194 s: IPC: HLOS is ready !!!
    [MCU2_1]     23.814540 s: IPC: Init ... Done !!!
    [MCU2_1]     23.814580 s: APP: Syncing with 4 CPUs ... !!!
    [MCU2_1]     23.814615 s: APP: Syncing with 4 CPUs ... Done !!!
    [MCU2_1]     23.814644 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_1]     23.816000 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_1]     23.816045 s: FVID2: Init ... !!!
    [MCU2_1]     23.816104 s: FVID2: Init ... Done !!!
    [MCU2_1]     23.816129 s: VHWA: DMPAC: Init ... !!!
    [MCU2_1]     23.816150 s: SCICLIENT: Sciclient_pmSetModuleState module=58 state=2
    [MCU2_1]     23.816346 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_1]     23.816377 s: SCICLIENT: Sciclient_pmSetModuleState module=62 state=2
    [MCU2_1]     23.816456 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_1]     23.816483 s: VHWA: DOF Init ... !!!
    [MCU2_1]     23.820782 s: VHWA: DOF Init ... Done !!!
    [MCU2_1]     23.820818 s: VHWA: SDE Init ... !!!
    [MCU2_1]     23.822100 s: VHWA: SDE Init ... Done !!!
    [MCU2_1]     23.822130 s: VHWA: DMPAC: Init ... Done !!!
    [MCU2_1]     23.822166 s:  VX_ZONE_INIT:Enabled
    [MCU2_1]     23.822189 s:  VX_ZONE_ERROR:Enabled
    [MCU2_1]     23.822212 s:  VX_ZONE_WARNING:Enabled
    [MCU2_1]     23.823263 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target MCU2-1 
    [MCU2_1]     23.823459 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DMPAC_SDE 
    [MCU2_1]     23.823635 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DMPAC_DOF 
    [MCU2_1]     23.823678 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [MCU2_1]     23.823706 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_1]     23.823929 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_1]     23.823958 s: UDMA Copy: Init ... !!!
    [MCU2_1]     23.825186 s: UDMA Copy: Init ... Done !!!
    [MCU2_1]     23.825223 s: APP: Init ... Done !!!
    [MCU2_1]     23.825247 s: APP: Run ... !!!
    [MCU2_1]     23.825267 s: IPC: Starting echo test ...
    [MCU2_1]     23.827331 s: APP: Run ... Done !!!
    [MCU2_1]     23.827894 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] C7X_1[P] C7X_2[.] 
    [MCU2_1]     23.827966 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] C7X_1[P] C7X_2[P] 
    [MCU2_1]     23.871227 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[s] C7X_1[P] C7X_2[P] 
    [C7x_1 ]      5.357828 s: CIO: Init ... Done !!!
    [C7x_1 ]      5.357843 s: ### CPU Frequency = 1000000000 Hz
    [C7x_1 ]      5.357855 s: CPU is running FreeRTOS
    [C7x_1 ]      5.357864 s: APP: Init ... !!!
    [C7x_1 ]      5.357872 s: SCICLIENT: Init ... !!!
    [C7x_1 ]      5.357971 s: SCICLIENT: DMSC FW version [8.6.3--v08.06.03 (Chill Capybar]
    
    [C7x_1 ]      5.357986 s: SCICLIENT: DMSC FW revision 0x8  
    [C7x_1 ]      5.357998 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C7x_1 ]      5.358009 s: SCICLIENT: Init ... Done !!!
    [C7x_1 ]      5.358018 s: UDMA: Init ... !!!
    [C7x_1 ]      5.358743 s: UDMA: Init ... Done !!!
    [C7x_1 ]      5.358757 s: MEM: Init ... !!!
    [C7x_1 ]      5.358769 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ 117000000 of size 268435456 bytes !!!
    [C7x_1 ]      5.358791 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 70020000 of size 3964928 bytes !!!
    [C7x_1 ]      5.358809 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 64800000 of size 458752 bytes !!!
    [C7x_1 ]      5.358827 s: MEM: Created heap (L1_MEM, id=3, flags=0x00000001) @ 64e00000 of size 16384 bytes !!!
    [C7x_1 ]      5.358844 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ 100000000 of size 385875968 bytes !!!
    [C7x_1 ]      5.358863 s: MEM: Init ... Done !!!
    [C7x_1 ]      5.358871 s: IPC: Init ... !!!
    [C7x_1 ]      5.358885 s: IPC: 5 CPUs participating in IPC !!!
    [C7x_1 ]      5.358900 s: IPC: Waiting for HLOS to be ready ... !!!
    [C7x_1 ]     22.794325 s: IPC: HLOS is ready !!!
    [C7x_1 ]     22.796056 s: IPC: Init ... Done !!!
    [C7x_1 ]     22.796073 s: APP: Syncing with 4 CPUs ... !!!
    [C7x_1 ]     23.814617 s: APP: Syncing with 4 CPUs ... Done !!!
    [C7x_1 ]     23.814638 s: REMOTE_SERVICE: Init ... !!!
    [C7x_1 ]     23.814862 s: REMOTE_SERVICE: Init ... Done !!!
    [C7x_1 ]     23.814888 s:  VX_ZONE_INIT:Enabled
    [C7x_1 ]     23.814899 s:  VX_ZONE_ERROR:Enabled
    [C7x_1 ]     23.814932 s:  VX_ZONE_WARNING:Enabled
    [C7x_1 ]     23.815195 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1 
    [C7x_1 ]     23.815269 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_2 
    [C7x_1 ]     23.815340 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_3 
    [C7x_1 ]     23.815409 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_4 
    [C7x_1 ]     23.815494 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_5 
    [C7x_1 ]     23.815571 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_6 
    [C7x_1 ]     23.815648 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_7 
    [C7x_1 ]     23.815732 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_8 
    [C7x_1 ]     23.815761 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [C7x_1 ]     23.815775 s: APP: OpenVX Target kernel init ... !!!
    [C7x_1 ]     23.815909 s: APP: OpenVX Target kernel init ... Done !!!
    [C7x_1 ]     23.815923 s: APP: Init ... Done !!!
    [C7x_1 ]     23.815933 s: APP: Run ... !!!
    [C7x_1 ]     23.815941 s: IPC: Starting echo test ...
    [C7x_1 ]     23.816096 s: APP: Run ... Done !!!
    [C7x_1 ]     23.816888 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] C7X_1[s] C7X_2[P] 
    [C7x_1 ]     23.827800 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[P] C7X_1[s] C7X_2[P] 
    [C7x_1 ]     23.871237 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] C7X_1[s] C7X_2[P] 
    [C7x_2 ]      5.422998 s: CIO: Init ... Done !!!
    [C7x_2 ]      5.423013 s: ### CPU Frequency = 1000000000 Hz
    [C7x_2 ]      5.423027 s: CPU is running FreeRTOS
    [C7x_2 ]      5.423036 s: APP: Init ... !!!
    [C7x_2 ]      5.423045 s: SCICLIENT: Init ... !!!
    [C7x_2 ]      5.423143 s: SCICLIENT: DMSC FW version [8.6.3--v08.06.03 (Chill Capybar]
    [C7x_2 ]      5.423159 s: SCICLIENT: DMSC FW revision 0x8  
    [C7x_2 ]      5.423170 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C7x_2 ]      5.423182 s: SCICLIENT: Init ... Done !!!
    [C7x_2 ]      5.423191 s: UDMA: Init ... !!!
    [C7x_2 ]      5.423908 s: UDMA: Init ... Done !!!
    [C7x_2 ]      5.423924 s: MEM: Init ... !!!
    [C7x_2 ]      5.423936 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ 127000000 of size 16777216 bytes !!!
    [C7x_2 ]      5.423958 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 65800000 of size 458752 bytes !!!
    [C7x_2 ]      5.423977 s: MEM: Created heap (L1_MEM, id=3, flags=0x00000001) @ 65e00000 of size 16384 bytes !!!
    [C7x_2 ]      5.423996 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ 128000000 of size 67108864 bytes !!!
    [C7x_2 ]      5.424015 s: MEM: Init ... Done !!!
    [C7x_2 ]      5.424024 s: IPC: Init ... !!!
    [C7x_2 ]      5.424038 s: IPC: 5 CPUs participating in IPC !!!
    [C7x_2 ]      5.424053 s: IPC: Waiting for HLOS to be ready ... !!!
    [C7x_2 ]     23.386664 s: IPC: HLOS is ready !!!                                        +-----------------------------+
    [C7x_2 ]     23.388441 s: IPC: Init ... Done !!!                                        |                             |
    [C7x_2 ]     23.388458 s: APP: Syncing with 4 CPUs ... !!!                              |  Cannot open /dev/ttyUSB0!  |
    [C7x_2 ]     23.814618 s: APP: Syncing with 4 CPUs ... Done !!!                         |                             |
    [C7x_2 ]     23.814636 s: REMOTE_SERVICE: Init ... !!!                                  +-----------------------------+
    [C7x_2 ]     23.814867 s: REMOTE_SERVICE: Init ... Done !!!
    [C7x_2 ]     23.814897 s:  VX_ZONE_INIT:Enabled
    [C7x_2 ]     23.814911 s:  VX_ZONE_ERROR:Enabled
    [C7x_2 ]     23.814947 s:  VX_ZONE_WARNING:Enabled
    [C7x_2 ]     23.815490 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP-1 
    [C7x_2 ]     23.815516 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [C7x_2 ]     23.815530 s: APP: OpenVX Target kernel init ... !!!
    [C7x_2 ]     23.815803 s: APP: OpenVX Target kernel init ... Done !!!
    [C7x_2 ]     23.815820 s: UDMA Copy: Init ... !!!
    [C7x_2 ]     23.816422 s: UDMA Copy: Init ... Done !!!
    [C7x_2 ]     23.816438 s: APP: Init ... Done !!!
    [C7x_2 ]     23.816448 s: APP: Run ... !!!
    [C7x_2 ]     23.816457 s: IPC: Starting echo test ...
    [C7x_2 ]     23.816610 s: APP: Run ... Done !!!
    [C7x_2 ]     23.816905 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] C7X_1[P] C7X_2[s] 
    [C7x_2 ]     23.827816 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[P] C7X_1[P] C7X_2[s] 
    [C7x_2 ]     23.871250 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] C7X_1[P] C7X_2[s] 
    root@j721s2-evm:/opt/vision_apps# 
    root@j721s2-evm:/opt/vision_apps# ./run_app_multi_cam.sh 
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=4) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
         0.000000 s: GTC Frequency = 0 MHz
    APP: Init ... Done !!!
         0.000000 s:  VX_ZONE_INIT:Enabled
         0.000000 s:  VX_ZONE_ERROR:Enabled
         0.000000 s:  VX_ZONE_WARNING:Enabled
         0.000000 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
         0.000000 s:  VX_ZONE_INIT:[tivxHostInitLocal:93] Initialization Done for HOST !!!
         0.000000 s: ISS: Enumerating sensors ... !!!
    [MCU2_0]    253.539359 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_ENUMERATE

     

  • Hi,

    May I know if you are using fusion 1 or fusion 2 board along with EVM?

    For this issue, I would like to understand your setup. Could you please brief this?

    Also, could you please enable the debug logs in imaging folder by enabling the macro "ENABLE_DEBUG_IMAGING" in ${PSDKRA}/imaging/sensor_drv/src/iss_sensor_priv.h

    This would give you more debug logs after "ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_ENUMERATE"

    Regards,

    Nikhil

  • I use Maxim deserializer.   

    The marco “ENABLE_DEBUG_IMAGING" have been uncomment.  Last Log is "ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_ENUMERATE", no more detail log is output.

    "For this issue, I would like to understand your setup. Could you please brief this?"

    LINUX_SDK:  change bootargs in board-support/linux/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts.

    / {
    	compatible = "ti,j721s2-evm", "ti,j721s2";
    	model = "Texas Instruments J721S2 EVM";
    
    	chosen {
    		stdout-path = "serial2:115200n8";
    		bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x2800000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait";
    	};
    
    	dma_buf_phys {
    		compatible = "ti,dma-buf-phys";
    	};

    RTOS_SDK:  enable combined_app BootApp in vision_apps/makerules/makefile_sbl_combined_appimage.mak

    sbl_combined_bootimage_install_sd_hs: sbl_combined_bootimage
    	cp $(VISION_APPS_PATH)/out/sbl_bootfiles/tiboot3.bin.signed  $(SBL_SD_FS_PATH)/tiboot3.bin
    	cp $(VISION_APPS_PATH)/out/sbl_bootfiles/tifs.bin.signed     $(SBL_SD_FS_PATH)/tifs.bin
    	cp $(VISION_APPS_PATH)/out/sbl_combined_bootfiles/app.signed $(SBL_SD_FS_PATH)/app
    	sync
    	
    
    ##############################
    ## Combined bootapp image
    ##############################
    OUT_DIR=$(VISION_APPS_PATH)/out/sbl_combined_bootfiles/
    ATF_IMG=mpu1_0,$(COMBINED_APPIMAGE_ATF_OPTEE_PATH)/bl31.bin,0x70000000,0x70000000
    OPTEE_IMG=load_only,$(COMBINED_APPIMAGE_ATF_OPTEE_PATH)/bl32.bin,0x9e800000,0x9e800000
    ifeq ($(BUILD_LINUX_A72), yes)
    KERNEL_IMG=load_only,$(ATF_OPTEE_PATH)/Image,0x80080000,0x80080000
    #KERNEL_IMG=load_only,$(LINUX_FS_PATH)/boot/Image,0x80080000,0x80080000
    else
    endif 
    
    ifeq ($(BUILD_LINUX_A72), yes)
    DTB_IMG=load_only,$(ATF_OPTEE_PATH)/base-board.dtb,0x9e800000,0x9e800000
    #SPL_IMG=load_only,$(ATF_OPTEE_PATH)/base-board.dtb,0x9e800000,0x9e800000
    SPL_IMG=load_only,$(ATF_OPTEE_PATH)/u-boot-spl.bin,0x80080000,0x80080000
    endif
    
    
      IMG1=mcu1_0,$(INPUT_IMG_PATH)/vx_app_rtos_$(FREDY_OS_TYPE)_mcu1_0.xer5f
      
      
      sbl_linux_combined_bootimage: atf_optee sbl_vision_apps
    	echo "---------------------------"
    	echo "start"
    	echo "---------------------------"
    	cp -v $(PDK_PATH)/packages/ti/boot/sbl/tools/combined_appimage/bin/j721e_evm/base-board.dtb  $(VISION_APPS_PATH)/out/sbl_combined_bootfiles/atf_optee_dir/
    	cp -v $(PSDK_LINUX_PATH)/board-support/prebuilt-images/u-boot-spl.bin-j7-evm $(VISION_APPS_PATH)/out/sbl_combined_bootfiles/atf_optee_dir/u-boot-spl.bin
    	cp -v $(PSDK_LINUX_PATH)/board-support/prebuilt-images/Image $(VISION_APPS_PATH)/out/sbl_combined_bootfiles/atf_optee_dir/
    	$(MAKE) -C $(COMBINED_APPIMAGE_TOOL_PATH) PDK_INSTALL_PATH=$(PDK_PATH)/packages OUT_DIR=$(OUT_DIR) \
    			ATF_IMG=$(ATF_IMG) OPTEE_IMG=$(OPTEE_IMG) KERNEL_IMG=$(KERNEL_IMG) DTB_IMG=$(DTB_IMG) SPL_IMG=$(SPL_IMG) \
    			IMG1=$(IMG1) IMG2=$(IMG2) IMG3=$(IMG3) IMG4=$(IMG4) IMG5=$(IMG5) IMG6=$(IMG6) IMG7=$(IMG7) IMG8=$(IMG8)
    	# $(MAKE) -C $(COMBINED_APPIMAGE_TOOL_PATH)
    	mv $(OUT_DIR)/combined.appimage $(OUT_DIR)/app
    	echo "---------------------------"
    	echo "done"
    	echo "---------------------------"
    
    sbl_linux_combined_bootimage_hs: sbl_linux_combined_bootimage
    	$(CERT_SCRIPT)  -b $(VISION_APPS_PATH)/out/sbl_combined_bootfiles/app -o $(VISION_APPS_PATH)/out/sbl_combined_bootfiles/app.signed -c R5 -l 0x0 -k $(PDK_PATH)/packages/ti/build/makerules/k3_dev_mpk.pem

    STEP1:  Apply SBL boot patch

    STEP2: Compile and Flash to sdcard

    STEP3: PowerUp

    STEP4: Enter linux terminal

    STEP5: Change directory to /opt/vision_apps

    STEP6: source ./vision_apps_init.sh 

    STEP7: ./run_app_multi_cam.sh

  • Hi,

    From the logs,

    [MCU2_0] ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_ENUMERATE

    The next thing that is happening is IssSensor_DeserializerInit();

    In the SDK, this has only UB960 or UB9702 taken into account (based on fusion 1 or fusion 2 board)

    As you are using maxim deserializer, could you please check if your deserializer configuration has passed?

    Regards,

    Nikhil

  • The next thing that is happening is IssSensor_DeserializerInit();

    Yes,  In DeserializerInit,  in firstly setupI2CInst will call I2C_open API to connect to I2C Bus,  and then send deserializer configuration to Hardware by I2C Bus.

    For More Detail Log:

    root@j721s2-evm:/opt/vision_apps# source ./vision_apps_init.sh 
    root@j721s2-evm:/opt/vision_apps# [MCU2_0]      1.821783 s: CIO: Init ... Done !!!
    [MCU2_0]      1.821833 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_0]      1.821863 s: CPU is running FreeRTOS
    [MCU2_0]      1.821885 s: APP: Init ... !!!
    [MCU2_0]      1.821905 s: SCICLIENT: Init ... !!!
    [MCU2_0]      1.822022 s: SCICLIENT: DMSC FW version [8.6.3--v08.06.03 (Chill Capybar]
    [MCU2_0]      1.822056 s: SCICLIENT: DMSC FW revision 0x8  
    [MCU2_0]      1.822084 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_0]      1.822115 s: SCICLIENT: Init ... Done !!!
    [MCU2_0]      1.822137 s: UDMA: Init ... !!!
    [MCU2_0]      1.822919 s: UDMA: Init ... Done !!!
    [MCU2_0]      1.822953 s: UDMA: Init ... !!!
    [MCU2_0]      1.823408 s: UDMA: Init for CSITX/CSIRX ... Done !!!
    [MCU2_0]      1.823458 s: MEM: Init ... !!!
    [MCU2_0]      1.823491 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ b8000000 of size 536870912 bytes !!!
    [MCU2_0]      1.823554 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 60000000 of size 524288 bytes !!!
    [MCU2_0]      1.823606 s: MEM: Init ... Done !!!
    [MCU2_0]      1.823627 s: IPC: Init ... !!!
    [MCU2_0]      1.823671 s: IPC: 6 CPUs participating in IPC !!!
    [MCU2_0]      1.823707 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_0]     22.731641 s: IPC: HLOS is ready !!!
    [MCU2_0]     22.743135 s: IPC: Init ... Done !!!
    [MCU2_0]     22.743177 s: APP: Syncing with 5 CPUs ... !!!
    [MCU2_0]     22.743206 s: APP: Syncing with 5 CPUs ... Done !!!
    [MCU2_0]     22.743236 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_0]     22.744378 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_0]     22.744416 s: FVID2: Init ... !!!
    [MCU2_0]     22.744468 s: FVID2: Init ... Done !!!
    [MCU2_0]     22.744492 s: SCICLIENT: Sciclient_pmSetModuleState module=219 state=2
    [MCU2_0]     22.744562 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.744606 s: I2C_init E
    [MCU2_0]     22.744641 s: I2C_init I2C_config[0] initFxn
    [MCU2_0]     22.744677 s: I2C_init I2C_config[1] initFxn
    [MCU2_0]     22.744711 s: I2C_init I2C_config[2] initFxn
    [MCU2_0]     22.744743 s: I2C_init I2C_config[3] initFxn
    [MCU2_0]     22.744775 s: I2C_init I2C_config[4] initFxn
    [MCU2_0]     22.744806 s: I2C_init I2C_config[5] initFxn
    [MCU2_0]     22.744838 s: I2C_init I2C_config[6] initFxn
    [MCU2_0]     22.744863 s: I2C_init X
    [MCU2_0]     22.745199 s:  appGpioInit   Done!!!
    [MCU2_0]     22.745224 s: VHWA: VPAC Init ... !!!
    [MCU2_0]     22.745245 s: SCICLIENT: Sciclient_pmSetModuleState module=361 state=2
    [MCU2_0]     22.745338 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.745364 s: VHWA: LDC Init ... !!!
    [MCU2_0]     22.747082 s: VHWA: LDC Init ... Done !!!
    [MCU2_0]     22.747114 s: VHWA: MSC Init ... !!!
    [MCU2_0]     22.754740 s: VHWA: MSC Init ... Done !!!
    [MCU2_0]     22.754773 s: VHWA: NF Init ... !!!
    [MCU2_0]     22.755638 s: VHWA: NF Init ... Done !!!
    [MCU2_0]     22.755667 s: VHWA: VISS Init ... !!!
    [MCU2_0]     22.762193 s: VHWA: VISS Init ... Done !!!
    [MCU2_0]     22.762232 s: VHWA: VPAC Init ... Done !!!
    [MCU2_0]     22.762266 s:  VX_ZONE_INIT:Enabled
    [MCU2_0]     22.762290 s:  VX_ZONE_ERROR:Enabled
    [MCU2_0]     22.762312 s:  VX_ZONE_WARNING:Enabled
    [MCU2_0]     22.763351 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target MCU2-0 
    [MCU2_0]     22.763554 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_NF 
    [MCU2_0]     22.763731 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_LDC1 
    [MCU2_0]     22.763909 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC1 
    [MCU2_0]     22.764079 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC2 
    [MCU2_0]     22.764300 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_VISS1 
    [MCU2_0]     22.764507 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE1 
    [MCU2_0]     22.764701 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE2 
    [MCU2_0]     22.764887 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY1 
    [MCU2_0]     22.765063 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY2 
    [MCU2_0]     22.765233 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CSITX 
    [MCU2_0]     22.765416 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE3 
    [MCU2_0]     22.765601 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE4 
    [MCU2_0]     22.765796 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE5 
    [MCU2_0]     22.765999 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE6 
    [MCU2_0]     22.766185 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE7 
    [MCU2_0]     22.766367 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE8 
    [MCU2_0]     22.766560 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M1 
    [MCU2_0]     22.766740 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M2 
    [MCU2_0]     22.766911 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M3 
    [MCU2_0]     22.767082 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M4 
    [MCU2_0]     22.767263 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CSITX2 
    [MCU2_0]     22.767305 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [MCU2_0]     22.767424 s:  VX_ZONE_INIT:[tivxHostInitLocal:93] Initialization Done for HOST !!!
    [MCU2_0]     22.767458 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_0]     22.793630 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_0]     22.793668 s: CSI2RX: Init ... !!!
    [MCU2_0]     22.793689 s: SCICLIENT: Sciclient_pmSetModuleState module=136 state=2
    [MCU2_0]     22.793762 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.793792 s: SCICLIENT: Sciclient_pmSetModuleState module=38 state=2
    [MCU2_0]     22.793849 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.793874 s: SCICLIENT: Sciclient_pmSetModuleState module=39 state=2
    [MCU2_0]     22.793930 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.793956 s: SCICLIENT: Sciclient_pmSetModuleState module=152 state=2
    [MCU2_0]     22.794011 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.794037 s: SCICLIENT: Sciclient_pmSetModuleState module=153 state=2
    [MCU2_0]     22.794092 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.794250 s: CSI2RX: Init ... Done !!!
    [MCU2_0]     22.794275 s: CSI2TX: Init ... !!!
    [MCU2_0]     22.794295 s: SCICLIENT: Sciclient_pmSetModuleState module=136 state=2
    [MCU2_0]     22.794353 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.794379 s: SCICLIENT: Sciclient_pmSetModuleState module=40 state=2
    [MCU2_0]     22.794441 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.794467 s: SCICLIENT: Sciclient_pmSetModuleState module=41 state=2
    [MCU2_0]     22.794520 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.794546 s: SCICLIENT: Sciclient_pmSetModuleState module=363 state=2
    [MCU2_0]     22.794600 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.794626 s: Unlocked MMR to program CSITX DPHY register ... !!!
    [MCU2_0]     22.794654 s: Locked MMR after programming CSITX DPHY register ... !!!
    [MCU2_0]     22.794715 s: CSI2TX: Init ... Done !!!
    [MCU2_0]     22.794739 s: ISS: Init ... !!!
    [MCU2_0]     22.794764 s: Found sensor SENSOR_OX08B40_MAX96717 at location 0 
    [MCU2_0]     22.794799 s: Found sensor IMX623_RAW at location 1 
    [MCU2_0]     22.794828 s: Found sensor IMX623_UYVY at location 2 
    [MCU2_0]     22.794857 s: IssSensor_Init ... Done !!!
    [MCU2_0]     22.794910 s: IttRemoteServer_Init ... Done !!!
    [MCU2_0]     22.794936 s: VISS REMOTE SERVICE: Init ... !!!
    [MCU2_0]     22.794985 s: VISS REMOTE SERVICE: Init ... Done !!!
    [MCU2_0]     22.795010 s: UDMA Copy: Init ... !!!
    [MCU2_0]     22.795865 s: UDMA Copy: Init ... Done !!!
    [MCU2_0]     22.795927 s: APP: Init ... Done !!!
    [MCU2_0]     22.795954 s: APP: Run ... !!!
    [MCU2_0]     22.795975 s: IPC: Starting echo test ...
    [MCU2_0]     22.798466 s: ISS: Enumerating sensors ... !!!
    [MCU2_0]     22.798506 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_ENUMERATE 
    [MCU2_0]     22.798537 s: fengcr will call DeserializerInit
    [MCU2_0]     22.798561 s: fengcr will setupI2cInst 0
    [MCU2_0]     22.798594 s: I2C_open_v1 E
    [MCU2_0]     22.798628 s: I2C_open_v1 ret_flag 0
    [MCU2_0]     22.798692 s: 
    [MCU2_0]     22.798719 s:  I2C: Object created 0x2000000 
    [MCU2_0]     22.798744 s: I2C_open_v1 I2CMasterDisable
    [MCU2_1]      1.837567 s: CIO: Init ... Done !!!

    self-defined i2c debug log:

    diff --git a/pdk_j721s2/packages/ti/drv/i2c/src/I2C_drv.c b/pdk_j721s2/packages/ti/drv/i2c/src/I2C_drv.c
    index 8c2dddb6b8..7d561b5cc1 100644
    --- a/pdk_j721s2/packages/ti/drv/i2c/src/I2C_drv.c
    +++ b/pdk_j721s2/packages/ti/drv/i2c/src/I2C_drv.c
    @@ -45,6 +45,7 @@
     #include <stdint.h>
     #include <stdbool.h>
     #include <stdlib.h>
    +#include <stdio.h>
     
     /* Externs */
     extern I2C_config_list I2C_config;
    @@ -112,9 +113,11 @@ int32_t I2C_control(I2C_Handle handle, uint32_t cmd, void *arg)
      */
     void I2C_init(void)
     {
    +    printf("I2C_init E\n");
         if (I2C_count == (-((int32_t)1))) {
             /* Call each driver's init function */
             for (I2C_count = 0; I2C_config[I2C_count].fxnTablePtr != NULL; I2C_count++) {
    +            printf("I2C_init I2C_config[%u] initFxn\n", I2C_count);
                 I2C_config[I2C_count].fxnTablePtr->initFxn((I2C_Handle)&(I2C_config[I2C_count]));
             }
         }
    @@ -122,6 +125,7 @@ void I2C_init(void)
     #if defined (BUILD_MCU)
         I2C_socInit();
     #endif
    +    printf("I2C_init X\n");
     }
     
     /*
    diff --git a/pdk_j721s2/packages/ti/drv/i2c/src/I2C_drv_log.h b/pdk_j721s2/packages/ti/drv/i2c/src/I2C_drv_log.h
    index a16b399f88..77b20435ea 100644
    --- a/pdk_j721s2/packages/ti/drv/i2c/src/I2C_drv_log.h
    +++ b/pdk_j721s2/packages/ti/drv/i2c/src/I2C_drv_log.h
    @@ -55,7 +55,7 @@ extern "C" {
      ************************** Macros ************************************
      **********************************************************************/
     /* Enable the below macro to have prints on the IO Console */
    -/* #define CIO_DRV_CONSOLE */
    + #define CIO_DRV_CONSOLE
     
     #ifdef CIO_DRV_CONSOLE
     #define I2C_drv_log            printf
    diff --git a/pdk_j721s2/packages/ti/drv/i2c/src/v1/I2C_v1.c b/pdk_j721s2/packages/ti/drv/i2c/src/v1/I2C_v1.c
    index c73f163eaf..8019a08d19 100644
    --- a/pdk_j721s2/packages/ti/drv/i2c/src/v1/I2C_v1.c
    +++ b/pdk_j721s2/packages/ti/drv/i2c/src/v1/I2C_v1.c
    @@ -39,6 +39,7 @@
      *
      */
     
    +#include <stdio.h>
     #include <stdint.h>
     #include <stdbool.h>
     #include <ti/drv/i2c/I2C.h>
    @@ -674,6 +675,7 @@ static I2C_Handle I2C_open_v1(I2C_Handle handle, const I2C_Params *params)
         uint8_t             ret_flag = 0U;
         I2C_Handle          retHandle = handle;
     
    +    printf("I2C_open_v1 E\n");
         /* Input parameter validation */
         if (handle == NULL)
         {
    @@ -696,6 +698,7 @@ static I2C_Handle I2C_open_v1(I2C_Handle handle, const I2C_Params *params)
         }
         else
         {
    +        printf("I2C_open_v1 ret_flag %u\n", ret_flag);
             /* Mark the handle as being used */
             object->isOpen = (bool)true;
             I2C_osalHardwareIntRestore(key);
    @@ -800,9 +803,11 @@ static I2C_Handle I2C_open_v1(I2C_Handle handle, const I2C_Params *params)
     
               I2C_drv_log1("\n I2C: Object created 0x%x \n", hwAttrs->baseAddr);
     
    +          printf("I2C_open_v1 I2CMasterDisable\n");
               /* Put i2c in reset/disabled state */
               I2CMasterDisable(hwAttrs->baseAddr);
     
    +          printf("I2C_open_v1 I2CAutoIdleDisable\n");
               /* Disable Auto Idle functionality */
               I2CAutoIdleDisable(hwAttrs->baseAddr);
     
    @@ -847,26 +852,32 @@ static I2C_Handle I2C_open_v1(I2C_Handle handle, const I2C_Params *params)
               }
     
               /* Set the I2C configuration */
    +          printf("I2C_open_v1 I2CMasterInitExpClk\n");
               I2CMasterInitExpClk(hwAttrs->baseAddr,
                                   hwAttrs->funcClk,
                                   internalClk,
                                   outputClk);
    -
    +          printf("I2C_open_v1 I2CMasterIntClearEx\n");
               /* Clear any pending interrupts */
               I2CMasterIntClearEx(hwAttrs->baseAddr, I2C_INT_ALL);
     
    +          printf("I2C_open_v1 I2CMasterIntDisableEx\n");
               /* Mask off all interrupts */
               I2CMasterIntDisableEx(hwAttrs->baseAddr, I2C_INT_ALL);
     
    +          printf("I2C_open_v1 I2CMasterEnable\n");
               /* Enable the I2C Master for operation */
               I2CMasterEnable(hwAttrs->baseAddr);
     
    +          printf("I2C_open_v1 I2CMasterEnableFreeRun\n");
               /* Enable free run mode */
               I2CMasterEnableFreeRun(hwAttrs->baseAddr);
     
               /* Return the address of the i2cObjectArray[i] configuration struct */
             }
         }
    +
    +    printf("I2C_openv1 X\n");
         return (retHandle);
     }

  • Hi,

    The last log i see from your graph is "I2C_open_v1 I2CMasterDisable"

    This is just a register write function.

    Are you seeing a crash in MCU2_0 after this register write?
    Do you see the crash in the log always?

    May I know what are your changes in the IssSensor_DeserializerInit()? Which I2C instance are you trying to open here?

    Regards,

    Nikhil

  • I don't seeing any MCU2_0 crash log print to console after this register write .   

    I comment the UB960 and UB970 deserializer init code, because of using Maxim deserializer.

    static int32_t IssSensor_DeserializerInit(/*uint8_t *mask*/)
    {
    #if 0
        int32_t status = -1;
        uint8_t  ub960I2cInstId;
        uint8_t  ub960I2cAddr;
        static uint8_t desInitDone = 0;
        tivx_mutex desCfgLock;
        vx_bool bDet = vx_false_e;
    
        tivxMutexCreate(&desCfgLock);
    
        tivxMutexLock(desCfgLock);
    
        /* Check for the Fusion2 board */
        bDet = Board_detectBoard(BOARD_ID_FUSION2);
        if(bDet == vx_true_e)
        {
            issLogPrintf("Fusion2 Board Detected, using Fusion2 configuration\n");
            gFusion2Det = vx_true_e;
        }
        else
        {
            issLogPrintf("Fusion1 Board configuration\n");
            gFusion2Det = vx_false_e;
        }
    
        if(gFusion2Det)
        {
            uint8_t domain;
            Board_fpdUb9702GetI2CAddr(BOARD_FPD_9702_CSI2_DES_HUB1,
                                    &domain,
                                    &ub960I2cInstId,
                                    &ub960I2cAddr);
        }
        else
        {
            Board_fpdU960GetI2CAddr(&ub960I2cInstId, &ub960I2cAddr, BOARD_CSI_INST_0);
        }
        status = setupI2CInst(ub960I2cInstId);
        if(status!=0)
        {
            printf(" I2C ERROR \n");
            tivxMutexUnlock(desCfgLock);
            tivxMutexDelete(&desCfgLock);
            return status;
        }
    
        if(desInitDone == 0)
        {
            status = initFusion2_UB97x();
            if(status != 0)
            {
                printf("rawtestpat_PowerOn Error : initFusion2_UB97x returned 0x%x \n", status);
            }
    
            /*Des_1 has a different I2C address on Fusion2 because of which second
            UB960 CFG fails. DES_0 is still usable, so we should not return an error.
            */
            desInitDone = 0;
    
        }
    
        /* UB960 Global configuration is done here which should be shared by all sensors*/
        /* Sensor driver is not supposed to overwrite global configuration*/
        /* Sensor driver can only modify the page corresponding to the channel ID selected*/
        if(gFusion2Det)
        {
            status = ub960_cfgScript(ub9702DesCfg_Common, 0U);
        }
        else
        {
            status = ub960_cfgScript(ub960DesCfg_Common, 0U);
        }
    
        if(status!=0)
        {
            printf("Error : ub960_cfgScript returned %d while configuring DES 0 \n", status);
        }
    
        if(gFusion2Det)
        {
            status = ub960_cfgScript(ub9702DesCfg_Common, 1U);
        }
        else
        {
            status = ub960_cfgScript(ub960DesCfg_Common, 1U);
        }
    
        if(status!=0)
        {
            printf("Error :  returned %d while configuring DES 1 \n", status);
        }
    
        if(gFusion2Det)
        {
            status = ub960_cfgScript(ub9702DesCfg_Common, 2U);
            if(status!=0)
            {
                printf("Error :  returned %d while configuring DES 2 \n", status);
            }
        }
    
        tivxMutexUnlock(desCfgLock);
    
        tivxMutexDelete(&desCfgLock);
    #endif
    
        int32_t status = 0;
        status = setupI2CInst(0 /*i2c-0*/);
    
        status = setupI2CInst(1U /*i2c-1*/);
        if(0 != status)
        {
            printf(" I2C ERROR \n");
            return status;
        }
    
    
        status |= max96712_cfgScript(max96712DesCfg_IMX623);
    
        return 0;
    }

  • Hi,

    You are trying to setup I2C 0 and I2C 1.

    Is the code stuck at i2c 0 or 1?

    Could you please confirm if you have done all the relevant changes on the Linux SDK too in order to disable i2c 0 and i2c 1 from Linux so that, it could be accessed from r5?

    Please refer the below FAQ for the changes to be done

    (26) TDA4VM: How to change CSI camera i2c Instance in vision_app? - Processors forum - Processors - TI E2E support forums

    Regards,

    Nikhil

  • code stuck at i2c0 and i2c1 on MCU2_0.     

    Could you please confirm if you have done all the relevant changes on the Linux SDK too in order to disable i2c 0 and i2c 1 from Linux so that, it could be accessed from r5?

    i2c0 and i2c1 have already disable from linux sdk in file k3-j721s2-vision-apps.dts.   MCU2_0 will stuck at i2c0,  but MCU2_1 do I2c_open 0 success. 

    #include "k3-j721s2-rtos-memory-map.dtsi"
    
    &main_i2c1 {
        status = "disabled";
    };
    
    &main_i2c4 {
            status = "disabled";
    };
    
    &main_i2c5 {
            status = "disabled";
    };
    
    &serdes_wiz0 {
        status = "disabled";
    };
    
    &dss {
        status = "disabled";
    };
    
    &ti_csi2rx0 {
        status = "disabled";
    };
    
    &ti_csi2rx1 {
        status = "disabled";
    };

    root@j721s2-evm:/opt/vision_apps# [MCU2_0]      1.126578 s: CIO: Init ... Done !!!
    [MCU2_0]      1.126631 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_0]      1.126663 s: CPU is running FreeRTOS
    [MCU2_0]      1.126686 s: APP: Init ... !!!
    [MCU2_0]      1.126706 s: SCICLIENT: Init ... !!!
    [MCU2_0]      1.126825 s: SCICLIENT: DMSC FW version [8.6.3--v08.06.03 (Chill Capybar]
    [MCU2_0]      1.126858 s: SCICLIENT: DMSC FW revision 0x8  
    [MCU2_0]      1.126885 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_0]      1.126915 s: SCICLIENT: Init ... Done !!!
    [MCU2_0]      1.126937 s: UDMA: Init ... !!!
    [MCU2_0]      1.127726 s: UDMA: Init ... Done !!!
    [MCU2_0]      1.127760 s: UDMA: Init ... !!!
    [MCU2_0]      1.128206 s: UDMA: Init for CSITX/CSIRX ... Done !!!
    [MCU2_0]      1.128257 s: MEM: Init ... !!!
    [MCU2_0]      1.128291 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d9000000 of size 16777216 bytes !!!
    [MCU2_0]      1.128348 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 60000000 of size 524288 bytes !!!
    [MCU2_0]      1.128399 s: MEM: Init ... Done !!!
    [MCU2_0]      1.128420 s: IPC: Init ... !!!
    [MCU2_0]      1.128466 s: IPC: 5 CPUs participating in IPC !!!
    [MCU2_0]      1.128502 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_0]     21.731777 s: IPC: HLOS is ready !!!
    [MCU2_0]     21.741006 s: IPC: Init ... Done !!!
    [MCU2_0]     21.741049 s: APP: Syncing with 4 CPUs ... !!!
    [MCU2_0]     22.247274 s: APP: Syncing with 4 CPUs ... Done !!!
    [MCU2_0]     22.247310 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_0]     22.248626 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_0]     22.248666 s: FVID2: Init ... !!!
    [MCU2_0]     22.248726 s: FVID2: Init ... Done !!!
    [MCU2_0]     22.248754 s: SCICLIENT: Sciclient_pmSetModuleState module=219 state=2
    [MCU2_0]     22.248826 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.248918 s: I2C_init E
    [MCU2_0]     22.248955 s: I2C_init I2C_config[0] initFxn
    [MCU2_0]     22.248992 s: I2C_init I2C_config[1] initFxn
    [MCU2_0]     22.249025 s: I2C_init I2C_config[2] initFxn
    [MCU2_0]     22.249056 s: I2C_init I2C_config[3] initFxn
    [MCU2_0]     22.249087 s: I2C_init I2C_config[4] initFxn
    [MCU2_0]     22.249120 s: I2C_init I2C_config[5] initFxn
    [MCU2_0]     22.249151 s: I2C_init I2C_config[6] initFxn
    [MCU2_0]     22.249177 s: I2C_init X
    [MCU2_0]     22.249827 s:  appGpioInit   Done!!!
    [MCU2_0]     22.249859 s: VHWA: VPAC Init ... !!!
    [MCU2_0]     22.249883 s: SCICLIENT: Sciclient_pmSetModuleState module=361 state=2
    [MCU2_0]     22.250060 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.250088 s: VHWA: LDC Init ... !!!
    [MCU2_0]     22.252817 s: VHWA: LDC Init ... Done !!!
    [MCU2_0]     22.252855 s: VHWA: MSC Init ... !!!
    [MCU2_0]     22.261001 s: VHWA: MSC Init ... Done !!!
    [MCU2_0]     22.261039 s: VHWA: NF Init ... !!!
    [MCU2_0]     22.261912 s: VHWA: NF Init ... Done !!!
    [MCU2_0]     22.261944 s: VHWA: VISS Init ... !!!
    [MCU2_0]     22.268398 s: VHWA: VISS Init ... Done !!!
    [MCU2_0]     22.268440 s: VHWA: VPAC Init ... Done !!!
    [MCU2_0]     22.268474 s:  VX_ZONE_INIT:Enabled
    [MCU2_0]     22.268498 s:  VX_ZONE_ERROR:Enabled
    [MCU2_0]     22.268520 s:  VX_ZONE_WARNING:Enabled
    [MCU2_0]     22.269549 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target MCU2-0 
    [MCU2_0]     22.269733 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_NF 
    [MCU2_0]     22.269911 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_LDC1 
    [MCU2_0]     22.270080 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC1 
    [MCU2_0]     22.270262 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC2 
    [MCU2_0]     22.270502 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_VISS1 
    [MCU2_0]     22.270698 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE1 
    [MCU2_0]     22.270887 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE2 
    [MCU2_0]     22.271074 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY1 
    [MCU2_0]     22.271266 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY2 
    [MCU2_0]     22.271450 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CSITX 
    [MCU2_0]     22.271640 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE3 
    [MCU2_0]     22.271824 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE4 
    [MCU2_0]     22.272000 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE5 
    [MCU2_0]     22.272179 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE6 
    [MCU2_0]     22.272370 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE7 
    [MCU2_0]     22.272553 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE8 
    [MCU2_0]     22.272726 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M1 
    [MCU2_0]     22.272889 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M2 
    [MCU2_0]     22.273055 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M3 
    [MCU2_0]     22.273239 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M4 
    [MCU2_0]     22.273419 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CSITX2 
    [MCU2_0]     22.273462 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [MCU2_0]     22.273491 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_0]     22.299663 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_0]     22.299697 s: CSI2RX: Init ... !!!
    [MCU2_0]     22.299718 s: SCICLIENT: Sciclient_pmSetModuleState module=136 state=2
    [MCU2_0]     22.299788 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.299817 s: SCICLIENT: Sciclient_pmSetModuleState module=38 state=2
    [MCU2_0]     22.299875 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.299901 s: SCICLIENT: Sciclient_pmSetModuleState module=39 state=2
    [MCU2_0]     22.299955 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.299980 s: SCICLIENT: Sciclient_pmSetModuleState module=152 state=2
    [MCU2_0]     22.300035 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.300060 s: SCICLIENT: Sciclient_pmSetModuleState module=153 state=2
    [MCU2_0]     22.300114 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.300272 s: CSI2RX: Init ... Done !!!
    [MCU2_0]     22.300299 s: CSI2TX: Init ... !!!
    [MCU2_0]     22.300320 s: SCICLIENT: Sciclient_pmSetModuleState module=136 state=2
    [MCU2_0]     22.300378 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.300404 s: SCICLIENT: Sciclient_pmSetModuleState module=40 state=2
    [MCU2_0]     22.300459 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.300484 s: SCICLIENT: Sciclient_pmSetModuleState module=41 state=2
    [MCU2_0]     22.300537 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.300563 s: SCICLIENT: Sciclient_pmSetModuleState module=363 state=2
    [MCU2_0]     22.300617 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     22.300643 s: Unlocked MMR to program CSITX DPHY register ... !!!
    [MCU2_0]     22.300671 s: Locked MMR after programming CSITX DPHY register ... !!!
    [MCU2_0]     22.300736 s: CSI2TX: Init ... Done !!!
    [MCU2_0]     22.300761 s: ISS: Init ... !!!
    [MCU2_0]     22.300786 s: Found sensor SENSOR_OX08B40_MAX96717 at location 0 
    [MCU2_0]     22.300820 s: Found sensor IMX623_RAW at location 1 
    [MCU2_0]     22.300848 s: Found sensor IMX623_UYVY at location 2 
    [MCU2_0]     22.300877 s: IssSensor_Init ... Done !!!
    [MCU2_0]     22.300932 s: IttRemoteServer_Init ... Done !!!
    [MCU2_0]     22.300959 s: VISS REMOTE SERVICE: Init ... !!!
    [MCU2_0]     22.301009 s: VISS REMOTE SERVICE: Init ... Done !!!
    [MCU2_0]     22.301036 s: UDMA Copy: Init ... !!!
    [MCU2_0]     22.301859 s: UDMA Copy: Init ... Done !!!
    [MCU2_0]     22.301921 s: APP: Init ... Done !!!
    [MCU2_0]     22.301946 s: I2C_open MCU2_0 appInit E
    [MCU2_0]     22.301977 s: I2C_open_v1 E
    [MCU2_0]     22.302009 s: I2C_open_v1 ret_flag 0
    [MCU2_0]     22.302045 s: 
    [MCU2_0]     22.302070 s:  I2C: Object created 0x2000000 
    [MCU2_0]     22.302094 s: I2C_open_v1 I2CMasterDisable
    [MCU2_1]      1.154289 s: CIO: Init ... Done !!!
    [MCU2_1]      1.154341 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_1]      1.154371 s: CPU is running FreeRTOS
    [MCU2_1]      1.154392 s: APP: Init ... !!!
    [MCU2_1]      1.154412 s: SCICLIENT: Init ... !!!
    [MCU2_1]      1.154532 s: SCICLIENT: DMSC FW version [8.6.3--v08.06.03 (Chill Capybar]
    [MCU2_1]      1.154566 s: SCICLIENT: DMSC FW revision 0x8  
    [MCU2_1]      1.154594 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_1]      1.154625 s: SCICLIENT: Init ... Done !!!
    [MCU2_1]      1.154648 s: UDMA: Init ... !!!
    [MCU2_1]      1.155506 s: UDMA: Init ... Done !!!
    [MCU2_1]      1.155558 s: MEM: Init ... !!!
    [MCU2_1]      1.155594 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ da000000 of size 16777216 bytes !!!
    [MCU2_1]      1.155652 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 60080000 of size 524288 bytes !!!
    [MCU2_1]      1.155704 s: MEM: Init ... Done !!!
    [MCU2_1]      1.155725 s: IPC: Init ... !!!
    [MCU2_1]      1.155772 s: IPC: 5 CPUs participating in IPC !!!
    [MCU2_1]      1.155810 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_1]     22.170155 s: IPC: HLOS is ready !!!
    [MCU2_1]     22.179374 s: IPC: Init ... Done !!!
    [MCU2_1]     22.179414 s: APP: Syncing with 4 CPUs ... !!!
    [MCU2_1]     22.247272 s: APP: Syncing with 4 CPUs ... Done !!!
    [MCU2_1]     22.247309 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_1]     22.248645 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_1]     22.248686 s: FVID2: Init ... !!!
    [MCU2_1]     22.248745 s: FVID2: Init ... Done !!!
    [MCU2_1]     22.248770 s: VHWA: DMPAC: Init ... !!!
    [MCU2_1]     22.248793 s: SCICLIENT: Sciclient_pmSetModuleState module=58 state=2
    [MCU2_1]     22.248935 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_1]     22.248967 s: SCICLIENT: Sciclient_pmSetModuleState module=62 state=2
    [MCU2_1]     22.249077 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_1]     22.249104 s: VHWA: DOF Init ... !!!
    [MCU2_1]     22.253402 s: VHWA: DOF Init ... Done !!!
    [MCU2_1]     22.253443 s: VHWA: SDE Init ... !!!
    [MCU2_1]     22.254737 s: VHWA: SDE Init ... Done !!!
    [MCU2_1]     22.254775 s: VHWA: DMPAC: Init ... Done !!!
    [MCU2_1]     22.254814 s:  VX_ZONE_INIT:Enabled
    [MCU2_1]     22.254838 s:  VX_ZONE_ERROR:Enabled
    [MCU2_1]     22.254862 s:  VX_ZONE_WARNING:Enabled
    [MCU2_1]     22.255918 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target MCU2-1 
    [MCU2_1]     22.256100 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DMPAC_SDE 
    [MCU2_1]     22.256274 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DMPAC_DOF 
    [MCU2_1]     22.256315 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [MCU2_1]     22.256345 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_1]     22.256581 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_1]     22.256610 s: UDMA Copy: Init ... !!!
    [MCU2_1]     22.257968 s: UDMA Copy: Init ... Done !!!
    [MCU2_1]     22.258011 s: APP: Init ... Done !!!
    [MCU2_1]     22.258035 s: I2C_open MCU2_1 appInit E
    [MCU2_1]     22.258066 s: I2C_open_v1 E
    [MCU2_1]     22.258097 s: I2C_open_v1 ret_flag 0
    [MCU2_1]     22.258148 s: 
    [MCU2_1]     22.258179 s:  I2C: Object created 0x40b00000 
    [MCU2_1]     22.258205 s: I2C_open_v1 I2CMasterDisable
    [MCU2_1]     22.258229 s: I2C_open_v1 I2CAutoIdleDisable
    [MCU2_1]     22.258253 s: I2C_open_v1 I2CMasterInitExpClk
    [MCU2_1]     22.258281 s: I2C_open_v1 I2CMasterIntClearEx
    [MCU2_1]     22.258307 s: I2C_open_v1 I2CMasterIntDisableEx
    [MCU2_1]     22.258331 s: I2C_open_v1 I2CMasterEnable
    [MCU2_1]     22.258356 s: I2C_open_v1 I2CMasterEnableFreeRun
    [MCU2_1]     22.258380 s: I2C_openv1 X
    [MCU2_1]     22.258399 s: I2C_open Success
    [MCU2_1]     22.258418 s: I2C_open MCU2_1 appInit X
    [MCU2_1]     22.258455 s: 
    [MCU2_1]     22.258483 s:  I2C: Object closed 0x40b00000 
    [MCU2_1]     22.258505 s: APP: Run ... !!!
    [MCU2_1]     22.258525 s: IPC: Starting echo test ...
    [MCU2_1]     22.260588 s: APP: Run ... Done !!!
    [MCU2_1]     22.261159 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] C7X_1[P] C7X_2[.] 
    [MCU2_1]     22.261230 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] C7X_1[P] C7X_2[P] 
    

    I add I2c_open call on appMain function in mcu2_0/main.c and mcu2_1/main.c. Just like that 

    static void appMain(void* arg0, void* arg1)         
    {                                                   
        appInit();                                      
                                                        
        // debug I2C_open                               
        appLogPrintf("I2C_open MCU2_0 appInit E\n");    
        I2C_Params i2cParams;                           
        I2C_Params_init(&i2cParams);                    
        i2cParams.bitRate = I2C_100kHz;                 
        I2C_Handle i2cHandle = I2C_open(0/*i2c0*/, &i2cParams); 
        if (NULL == i2cHandle)                          
        {                                               
            appLogPrintf("I2C_open fail\n");            
        } else {                                        
            appLogPrintf("I2C_open Success\n");         
        }                                               
        appLogPrintf("I2C_open MCU2_0 appInit X\n");    
        I2C_close(i2cHandle);                           
                                                        
        appRun();                                       
        #if 1                                           
        while(1)                                        
        {                                               
            appLogWaitMsecs(100u);                      
        }                                               
        #else                                           
        appDeInit();                                    
        #endif                                          
    }                                                   
    

  • Update my laste result.    MCU2_0 do open i2c instance 1 successfully,  camera demos is running.  But MCU2_0 will stack at opening i2c instance 0. 

    Could you tell me why let main_i2c1 disable,  thanks.

    File:  5344.Vision_Apps_Integrated.patch
    
    diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
    index b6158a27f..a2e1d0975 100644
    --- a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
    +++ b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
    @@ -19,7 +19,11 @@
     
     	chosen {
     		stdout-path = "serial2:115200n8";
    -		bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x2880000";
    +		bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x2880000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait";
    +	};
    +
    +	dma_buf_phys {
    +		compatible = "ti,dma-buf-phys";
     	};
     
     	aliases {
    @@ -484,6 +488,34 @@
     	vqmmc-supply = <&vdd_sd_dv>;
     };
     
    +&main_i2c1 {
    +    status = "disabled";
    +};
    +
    +&main_i2c4 {
    +	status = "disabled";
    +};
    +
    +&main_i2c5 {
    +	status = "disabled";
    +};
    +
    +&serdes_wiz0 {
    +    status = "disabled";
    +};
    +
    +&dss {
    +    status = "disabled";
    +};
    +
    +&ti_csi2rx0 {
    +    status = "disabled";
    +};
    +
    +&ti_csi2rx1 {
    +    status = "disabled";
    +};
    +
     &mcu_cpsw {
     	pinctrl-names = "default";
     	pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>;

  • Hi

    Could you tell me why let main_i2c1 disable

    Sorry, did not understand the question. Do you mean why we need to disable main_i2c1 is the linux device tree overlay?

    If yes, it is because, you would be trying to access this i2c on R5, hence we would have to disable in the linux side.

    Could you try the same for i2c 0 too?

    Regards,

    Nikhil

  • Yes, disable main_i2c_0 from linux device tree,  it's working.