I am trying to get OV5650 sensor working with custom hardware using the AJ2.3 release as a base, and I am running into issues with CameraHAL, etc.
Given the information below and attached logs, does anyone have any suggestions?
Is it possible to get the camera working without building new board-specific Ducati binaries?
Similarities:
CSI2A
CAM_GLOBALRESET (OMAP4) for RESETB (OV5650)
I2C3 (OMAP4) for SCCB (OV5650)
Differences:
24MHz Oscillator for XVCLK (OV5650) instead of fref_clk1_out
Different GPIO (OMAP4) for PWDN (OV5650)
Since it is a different GPIO signal for PWDN, I handled it in the kernel before Ducati would do anything with RESETB so that the power-up sequence is still correct.
I have attached 'cat /d/remoteproc/remoteproc0/trace0' and 'logcat -d | grep cam', which contains information from both startup and a failed interaction with the camera app. There are no DCC binaries in /data/misc/camera, and 'camera_test -f' opens the menu, but results in a segfault when preview is attempted.
4478.logcat_cam.log
Additional console output:
root@android:/ # ls -Rl /data/misc/camera
ls -Rl /data/misc/camera
/data/misc/camera:
drwxrwx--- media media 2000-01-03 00:41 R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43
drwxrwx--- media media 2000-01-03 00:41 R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42
drwxrwx--- media media 2000-01-03 00:41 R5_MVEN003_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1044
drwxrwx--- media media 2000-01-03 00:41 R8_MVEN002_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1042
/data/misc/camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43:
/data/misc/camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42:
/data/misc/camera/R5_MVEN003_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1044:
/data/misc/camera/R8_MVEN002_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1042:
root@android:/ # camera_test -f
camera_test -f
openCamera(camera_index=0)
no supported parameteters for autoconvergence
layout is not supported
capture layout is not supported
no bracketing input: "0"
no bracketing input: "0"
========================================= FUNCTIONAL TEST MENU =========================================
<rest of menu>
Thanks,
Russell