Part Number: TDA4VM
Hi TI members,
I deployed Prebuilt Vision app demo from
With IMX490 Camera
Currently, I can not get the output at the Display Screen.
As the log file, I saw that the Camera detected matched the Driver UB9xxx_RAW12_TESTPATTERN.
May I know IMX490 Camera by default also be supported by PROCESSOR-SDK-RTOS-J721E ?
If not yet supported, Could you advise the Image Sensor Driver that is the similarity to porting reference.
Thanks.
root@j7-evm:/opt/vision_apps# ./run_app_single_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 !!!
102.874244 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
102.874291 s: VX_ZONE_INIT:Enabled
102.874297 s: VX_ZONE_ERROR:Enabled
102.874302 s: VX_ZONE_WARNING:Enabled
102.874871 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
102.875062 s: VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
sensor_selection = [0]
ldc_enable = [0]
num_frames_to_run = [1000000000]
is_interactive = [1]
IttCtrl_registerHandler: command echo registered at location 0
IttCtrl_registerHandler: command iss_read_2a_params registered at location 1
IttCtrl_registerHandler: command iss_write_2a_params registered at location 2
IttCtrl_registerHandler: command iss_raw_save registered at location 3
IttCtrl_registerHandler: command iss_yuv_save registered at location 4
IttCtrl_registerHandler: command iss_read_sensor_reg registered at location 5
IttCtrl_registerHandler: command iss_write_sensor_reg registered at location 6
IttCtrl_registerHandler: command dev_ctrl registered at location 7
IttCtrl_registerHandler: command iss_send_dcc_file registered at location 8
NETWORK: Opened at IP Addr = 1.4.16.64, socket port=5000!!!
102.876036 s: ISS: Enumerating sensors ... !!!
103.276211 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
103.276245 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS
103.276251 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI
103.276256 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN
103.276261 s: ISS: Enumerating sensors ... found 4 : UB96x_UYVY_TESTPATTERN
103.276265 s: ISS: Enumerating sensors ... found 5 : GW_AR0233_UYVY
Select camera port index 0-7 : 0
6 registered sensor drivers
a : IMX390-UB953_D3
b : AR0233-UB953_MARS
c : AR0820-UB953_LI
d : UB9xxx_RAW12_TESTPATTERN
e : UB96x_UYVY_TESTPATTERN
f : GW_AR0233_UYVY
Select a sensor above or press '0' to autodetect the sensor : Invalid selection
. Try again
6 registered sensor drivers
a : IMX390-UB953_D3
b : AR0233-UB953_MARS
c : AR0820-UB953_LI
d : UB9xxx_RAW12_TESTPATTERN
e : UB96x_UYVY_TESTPATTERN
f : GW_AR0233_UYVY
Select a sensor above or press '0' to autodetect the sensor : a
Sensor selected : IMX390-UB953_D3
LDC Selection Yes(1)/No(0) : LDC Selection Yes(1)/No(0) : 0
Querying IMX390-UB953_D3
128.673182 s: ISS: Querying sensor [IMX390-UB953_D3] ... !!!
128.673534 s: ISS: Querying sensor [IMX390-UB953_D3] ... Done !!!
128.673543 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMD_PWRON ... !!!
128.673987 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMD_CONFIG ... !!!
[MCU2_0] 128.673806 s: IMX390_PowerOn : chId = 0x0
129.380270 s: ISS: ERROR: Initializing sensor [IMX390-UB953_D3] failed !!!
129.380288 s: ISS: Initializing sensor [IMX390-UB953_D3] ... Done !!!
Error initializing sensor IMX390-UB953_D3
read_test_image_raw : Unable to open file /opt/vision_apps/test_data/img_test.raw
app_create_viss : sensor_dcc_id = 390
[MCU2_0] 129.380064 s: Error : sensor probe failed for channel 0
Scaler is enabled
129.416170 s: ISS: Starting sensor [IMX390-UB953_D3] ... !!!
==========================
Demo : Single Camera w/ 2A
==========================
p: Print performance statistics
s: Save Sensor RAW, VISS Output and H3A output images to File System
e: Export performance statistics
u: Update DCC from File System
x: Exit
Enter Choice:
Unsupported command
==========================
Demo : Single Camera w/ 2A
==========================
p: Print performance statistics
s: Save Sensor RAW, VISS Output and H3A output images to File System
e: Export performance statistics
u: Update DCC from File System
x: Exit
Enter Choice: [MCU2_0] 129.928075 s: Error : I2C Timeout while writing 0x0 to IMX390 register 0x0
129.970122 s: ISS: Starting sensor [IMX390-UB953_D3] failed !!!
Failed to start sensor IMX390-UB953_D3
Defaulting to file test mode
get_dcc_dir_size : Could not open directory or directory is empty /opt/vision_apps/dcc/IMX390-UB953_D3/wdr
[MCU2_0] 129.969919 s: Error : Failed to start sensor at channel Id 0
[MCU2_0] 129.976209 s: IMX390_GetWBPrgFxn: sensor_pre_gain = 0
[MCU2_0] 129.976949 s: Error : I2C Timeout while writing 0x1 to IMX390 register 0x8
[MCU2_0] 129.977026 s: Error writing 0x1 to IMX390 register 0x8
[MCU2_0] 129.977243 s: Error : I2C Timeout while writing 0x20 to IMX390 register 0x18
[MCU2_0] 129.977304 s: Error writing 0x20 to IMX390 register 0x18
[MCU2_0] 129.977510 s: Error : I2C Timeout while writing 0x0 to IMX390 register 0x19
[MCU2_0] 129.977570 s: Error writing 0x0 to IMX390 register 0x19
[MCU2_0] 129.977903 s: Error : I2C Timeout while writing 0x0 to IMX390 register 0x8
[MCU2_0] 129.977976 s: Error writing 0x0 to IMX390 register 0x8
[MCU2_0] 129.978039 s: VX_ZONE_ERROR:[tivxAewbProcess:782] Failed to send AE results to image sensor
[ 134.480248] Initializing XFRM netlink socket
[ 137.150465] process 'docker/tmp/qemu-check584586777/check' started with executable stack
x
160.789905 s: ISS: Stopping sensor [IMX390-UB953_D3] ... !!!
[MCU2_0] 160.790361 s: Error : I2C Timeout while writing 0x1 to IMX390 register 0x0
160.832107 s: ISS: Stopping sensor [IMX390-UB953_D3] failed !!!
[MCU2_0] 160.831918 s: Warning : Failed to stop sensor at channel Id 0
160.889912 s: ISS: Stopping sensor [IMX390-UB953_D3] ... !!!
[MCU2_0] 160.890359 s: Error : I2C Timeout while writing 0x1 to IMX390 register 0x0
160.932120 s: ISS: Stopping sensor [IMX390-UB953_D3] failed !!!
Error : app_run_graph_xx returned 0xffffffff
160.932386 s: VX_ZONE_WARNING:[vxReleaseContext:1061] A kernel with name com.ti.hwa.vpac_msc_multi_scale has not been removed, possibly due to a kernel module not being unloaded.
160.932395 s: VX_ZONE_WARNING:[vxReleaseContext:1062] Removing as a part of garbage collection
160.932402 s: VX_ZONE_ERROR:[ownRemoveKernelFromContext:577] kernel not found
160.932409 s: VX_ZONE_WARNING:[ownDecrementReference:202] #### EXTERNAL REF COUNT IS ALREADY ZERO!!! 0xffff91c55408 type:00000804 #####
160.932415 s: VX_ZONE_WARNING:[vxReleaseContext:1061] A kernel with name com.ti.hwa.vpac_viss has not been removed, possibly due to a kernel module not being unloaded.
160.932421 s: VX_ZONE_WARNING:[vxReleaseContext:1062] Removing as a part of garbage collection
160.932427 s: VX_ZONE_ERROR:[ownRemoveKernelFromContext:577] kernel not found
160.932433 s: VX_ZONE_WARNING:[ownDecrementReference:202] #### EXTERNAL REF COUNT IS ALREADY ZERO!!! 0xffff91c56fe8 type:00000804 #####
160.932439 s: VX_ZONE_WARNING:[vxReleaseContext:1061] A kernel with name com.ti.hwa.display has not been removed, possibly due to a kernel module not being unloaded.
160.932444 s: VX_ZONE_WARNING:[vxReleaseContext:1062] Removing as a part of garbage collection
160.932450 s: VX_ZONE_ERROR:[ownRemoveKernelFromContext:577] kernel not found
160.932456 s: VX_ZONE_WARNING:[ownDecrementReference:202] #### EXTERNAL REF COUNT IS ALREADY ZERO!!! 0xffff91c576e0 type:00000804 #####
160.932462 s: VX_ZONE_WARNING:[vxReleaseContext:1061] A kernel with name com.ti.capture has not been removed, possibly due to a kernel module not being unloaded.
160.932468 s: VX_ZONE_WARNING:[vxReleaseContext:1062] Removing as a part of garbage collection
160.932473 s: VX_ZONE_ERROR:[ownRemoveKernelFromContext:577] kernel not found
160.932479 s: VX_ZONE_WARNING:[ownDecrementReference:202] #### EXTERNAL REF COUNT IS ALREADY ZERO!!! 0xffff91c57dd8 type:00000804 #####
160.932485 s: VX_ZONE_WARNING:[vxReleaseContext:1061] A kernel with name com.ti.imaging.aewb has not been removed, possibly due to a kernel module not being unloaded.
160.932491 s: VX_ZONE_WARNING:[vxReleaseContext:1062] Removing as a part of garbage collection
160.932497 s: VX_ZONE_ERROR:[ownRemoveKernelFromContext:577] kernel not found
160.932502 s: VX_ZONE_WARNING:[ownDecrementReference:202] #### EXTERNAL REF COUNT IS ALREADY ZERO!!! 0xffff91c592c0 type:00000804 #####
160.932509 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff913dd710 of type 00000802 at external count 1, internal count 0, releasing it
160.932516 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=graph_84) now as a part of garbage collection
[MCU2_0] 160.931918 s: Warning : Failed to stop sensor at channel Id 0
[MCU2_0] 160.933003 s: ==========================================================
[MCU2_0] 160.933098 s: Capture Status: Instance|0
[MCU2_0] 160.933140 s: ==========================================================
[MCU2_0] 160.933191 s: overflowCount: 0
[MCU2_0] 160.933229 s: spuriousUdmaIntrCount: 0
[MCU2_0] 160.933271 s: frontFIFOOvflCount: 0
[MCU2_0] 160.933310 s: crcCount: 1
[MCU2_0] 160.933344 s: eccCount: 1
[MCU2_0] 160.933383 s: correctedEccCount: 0
[MCU2_0] 160.933421 s: dataIdErrorCount: 0
[MCU2_0] 160.933462 s: invalidAccessCount: 0
[MCU2_0] 160.933501 s: invalidSpCount: 0
[MCU2_0] 160.933544 s: strmFIFOOvflCount[0]: 0
[MCU2_0] 160.933580 s: Channel Num | Frame Queue Count | Frame De-queue Count | Frame Drop Count | Error Frame Count |
[MCU2_0] 160.933664 s: 0 | 922 | 922 | 1 | 0 |
[MCU2_0] 160.934511 s: ==========================================================
[MCU2_0] 160.934608 s: Capture Status: Instance|1
[MCU2_0] 160.934648 s: ==========================================================
[MCU2_0] 160.934701 s: overflowCount: 0
[MCU2_0] 160.934740 s: spuriousUdmaIntrCount: 0
[MCU2_0] 160.934846 s: frontFIFOOvflCount: 0
[MCU2_0] 160.934887 s: crcCount: 0
[MCU2_0] 160.934923 s: eccCount: 0
[MCU2_0] 160.934962 s: correctedEccCount: 0
[MCU2_0] 160.935001 s: dataIdErrorCount: 0
[MCU2_0] 160.935040 s: invalidAccessCount: 0
[MCU2_0] 160.935079 s: invalidSpCount: 0
[MCU2_0] 160.935123 s: strmFIFOOvflCount[0]: 0
[MCU2_0] 160.935156 s: Channel Num | Frame Queue Count | Frame De-queue Count | Frame Drop Count | Error Frame Count |
160.940703 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91c91790 of type 00000817 at external count 1, internal count 0, releasing it
160.940711 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=raw_image_85) now as a part of garbage collection
160.940744 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91d1e278 of type 00000813 at external count 1, internal count 0, releasing it
160.940751 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=object_array_86) now as a part of garbage collection
160.940761 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91c91a48 of type 00000817 at external count 1, internal count 0, releasing it
160.940767 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=raw_image_87) now as a part of garbage collection
160.940793 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91d1e418 of type 00000813 at external count 1, internal count 0, releasing it
160.940800 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=object_array_88) now as a part of garbage collection
160.940829 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91d1e5b8 of type 00000813 at external count 1, internal count 0, releasing it
160.940836 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=object_array_90) now as a part of garbage collection
160.940864 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91d1e758 of type 00000813 at external count 1, internal count 0, releasing it
160.940871 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=object_array_92) now as a part of garbage collection
160.940898 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91cb6b10 of type 0000080f at external count 1, internal count 0, releasing it
160.940904 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=image_96) now as a part of garbage collection
160.940929 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91c84c30 of type 00000816 at external count 1, internal count 0, releasing it
160.940936 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=user_data_object_97) now as a part of garbage collection
160.940958 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91c84e50 of type 00000816 at external count 1, internal count 0, releasing it
160.940965 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=user_data_object_98) now as a part of garbage collection
160.940986 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91c85070 of type 00000816 at external count 1, internal count 0, releasing it
160.940993 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=user_data_object_99) now as a part of garbage collection
160.941014 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91c85290 of type 00000816 at external count 1, internal count 0, releasing it
160.941021 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=user_data_object_101) now as a part of garbage collection
160.941043 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91c854b0 of type 00000816 at external count 1, internal count 0, releasing it
160.941050 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=user_data_object_102) now as a part of garbage collection
160.941071 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91c856d0 of type 00000816 at external count 1, internal count 0, releasing it
160.941077 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=user_data_object_103) now as a part of garbage collection
160.941097 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91cb6dc8 of type 0000080f at external count 1, internal count 0, releasing it
160.941104 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=image_105) now as a part of garbage collection
160.941127 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91c858f0 of type 00000816 at external count 1, internal count 0, releasing it
160.941134 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=user_data_object_107) now as a part of garbage collection
160.941155 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff91c85d30 of type 00000816 at external count 1, internal count 0, releasing it
160.941162 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=user_data_object_109) now as a part of garbage collection
160.941198 s: ISS: De-initializing sensor [IMX390-UB953_D3] ... !!!
160.941517 s: ISS: De-initializing sensor [IMX390-UB953_D3] ... Done !!!
160.941530 s: VX_ZONE_INIT:[tivxHostDeInitLocal:100] De-Initialization Done for HOST !!!
160.945890 s: VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
IPC: DeInit ... Done !!!
MEM: Deinit ... !!!
MEM: Alloc's: 23 alloc's of 46992389 bytes
MEM: Free's : 23 free's of 46992389 bytes
MEM: Open's : 0 allocs of 0 bytes
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!
root@j7-evm:/opt/vision_apps#
root@j7-evm:/opt/vision_apps#
root@j7-evm:/opt/vision_apps#
root@j7-evm:/opt/vision_apps# ./run_app_single_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 !!!
163.221895 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
163.221942 s: VX_ZONE_INIT:Enabled
163.221947 s: VX_ZONE_ERROR:Enabled
163.221952 s: VX_ZONE_WARNING:Enabled
163.222448 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
163.222641 s: VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
sensor_selection = [0]
ldc_enable = [0]
num_frames_to_run = [1000000000]
is_interactive = [1]
IttCtrl_registerHandler: command echo registered at location 0
IttCtrl_registerHandler: command iss_read_2a_params registered at location 1
IttCtrl_registerHandler: command iss_write_2a_params registered at location 2
IttCtrl_registerHandler: command iss_raw_save registered at location 3
IttCtrl_registerHandler: command iss_yuv_save registered at location 4
IttCtrl_registerHandler: command iss_read_sensor_reg registered at location 5
IttCtrl_registerHandler: command iss_write_sensor_reg registered at location 6
IttCtrl_registerHandler: command dev_ctrl registered at location 7
IttCtrl_registerHandler: command iss_send_dcc_file registered at location 8
163.223649 s: ISS: Enumerating sensors ... !!!
NETWORK: Opened at IP Addr = 1.4.16.64, socket port=5000!!!
163.624224 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
163.624266 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS
163.624272 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI
163.624277 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN
163.624282 s: ISS: Enumerating sensors ... found 4 : UB96x_UYVY_TESTPATTERN
163.624286 s: ISS: Enumerating sensors ... found 5 : GW_AR0233_UYVY
Select camera port index 0-7 : 0
6 registered sensor drivers
a : IMX390-UB953_D3
b : AR0233-UB953_MARS
c : AR0820-UB953_LI
d : UB9xxx_RAW12_TESTPATTERN
e : UB96x_UYVY_TESTPATTERN
f : GW_AR0233_UYVY
Select a sensor above or press '0' to autodetect the sensor : Invalid selection
. Try again
6 registered sensor drivers
a : IMX390-UB953_D3
b : AR0233-UB953_MARS
c : AR0820-UB953_LI
d : UB9xxx_RAW12_TESTPATTERN
e : UB96x_UYVY_TESTPATTERN
f : GW_AR0233_UYVY
Select a sensor above or press '0' to autodetect the sensor : 0
Sensor selected : UB9xxx_RAW12_TESTPATTERN
LDC Selection Yes(1)/No(0) : LDC Selection Yes(1)/No(0) : 0
Querying UB9xxx_RAW12_TESTPATTERN
174.633338 s: ISS: Querying sensor [UB9xxx_RAW12_TESTPATTERN] ... !!!
174.633691 s: ISS: Querying sensor [UB9xxx_RAW12_TESTPATTERN] ... Done !!!
174.633701 s: ISS: Initializing sensor [UB9xxx_RAW12_TESTPATTERN], doing IM_SENSOR_CMD_PWRON ... !!!
174.634297 s: ISS: Initializing sensor [UB9xxx_RAW12_TESTPATTERN], doing IM_SENSOR_CMD_CONFIG ... !!!
[MCU2_0] 174.634104 s: rawtestpat_PowerOn : Read 0x7a from register 0x0 on slave device 0x3d
175.263030 s: ISS: Initializing sensor [UB9xxx_RAW12_TESTPATTERN] ... Done !!!
read_test_image_raw : Unable to open file /opt/vision_apps/test_data/img_test.raw
app_create_viss : sensor_dcc_id = 9702
Scaler is enabled
175.290873 s: ISS: Starting sensor [UB9xxx_RAW12_TESTPATTERN] ... !!!
==========================
Demo : Single Camera w/ 2A
==========================
p: Print performance statistics
s: Save Sensor RAW, VISS Output and H3A output images to File System
e: Export performance statistics
u: Update DCC from File System
x: Exit
Enter Choice: