[HD2 Android NAND Development] zivan56:
Some progress on the camera (leo-camera is the module I am writing):

E/leo-camera( 69): HAL_getNumberOfCameras()
E/leo-camera( 69): res: 1
E/leo-camera( 69): HAL_getCameraInfo()
E/leo-camera( 69): camData end
E/leo-camera( 69): camData: orientation: 90, facing 0
E/leo-camera( 69): HAL_openCameraHardware()
I/mm-camera-config( 69): cam_conf fd cfgctrl.camfd:0
I/mm-camera-config( 69): Open config device node : /dev/msm_camera/config0
I/ ( 69): [AWB Calibration]:ctrlfd:21
I/ ( 69): [AWB Calibration] cfg.fuse_id_word1:0x0
I/ ( 69): [AWB Calibration] cfg.fuse_id_word2:0x0
I/ ( 69): [AWB Calibration] cfg.fuse_id_word3:0x15002
I/ ( 69): [AWB Calibration] cfg.fuse_id_word4:0x3e5de6
D/mm-camera-s5k3e2fx_u( 69): lcd type = 0
I/ ( 69): [AWB Calibration] rg_ratio_GS_table[0]:0.733340
I/ ( 69): [AWB Calibration] rg_ratio_GS_table[1]:0.733340
I/ ( 69): [AWB Calibration] rg_ratio_GS_table[2]:0.716810
I/ ( 69): [AWB Calibration] bg_ratio_GS_table[0]:0.601600
I/ ( 69): [AWB Calibration] bg_ratio_GS_table[1]:0.601600
I/ ( 69): [AWB Calibration] bg_ratio_GS_table[2]:0.590178
I/ ( 69): [AWB Calibration] sfuse.fuse_id_word1:0x0
I/ ( 69): [AWB Calibration] sfuse.fuse_id_word2:0x0
I/ ( 69): [AWB Calibration] sfuse.fuse_id_word3:0x15002
I/ ( 69): [AWB Calibration] sfuse.fuse_id_word4:0x3e5de6
I/ ( 69): [AWB Calibration] fuse_id : 0x0, 0x0, 0x15002, 0x3e5de6
I/ ( 69): [AWB Calibration] fail to read /data/awb_cal
I/ ( 69): [AWB Calibration] read from file OK: /sys/android_camera_awb_cal/awb_ca
I/ ( 69): [AWB Calibration] read all 0 ,ok=1
I/ ( 69): [AWB Calibration] read all 0 ,ok=1
I/ ( 69): [AWB Calibration] read all 0 ,ok=1
I/ ( 69): [AWB Calibration] read all 0 ,ok=1
I/ ( 69): [AWB Calibration] read all 0 ,ok=1
I/ ( 69): [AWB Calibration] read all 0 ,ok=1
I/ ( 69): [AWB Calibration] read all 0 ,ok=1
I/ ( 69): [AWB Calibration] read all 0 ,ok=1
I/ ( 69): [AWB Calibration] check sum=0, OK
I/ ( 69): [AWB Calibration] caBuff[0]:0x00000000
I/ ( 69): [AWB Calibration] caBuff[1]:0x00000000
I/ ( 69): [AWB Calibration] caBuff[2]:0x00000000
I/ ( 69): [AWB Calibration] caBuff[3]:0x00000000
I/ ( 69): [AWB Calibration] caBuff[4]:0x00000000
I/ ( 69): [AWB Calibration] caBuff[5]:0x00000000
I/ ( 69): [AWB Calibration] caBuff[6]:0x00000000
I/ ( 69): [AWB Calibration] caBuff[7]:0x00000000
I/ ( 69): [AWB Calibration] fuse_id_word1:0x00000000
I/ ( 69): [AWB Calibration] fuse_id_word2:0x00000000
I/ ( 69): [AWB Calibration] fuse_id_word3:0x00015002
I/ ( 69): [AWB Calibration] fuse_id_word4:0x003e5de6
I/ ( 69): [AWB Calibration] fuse ID not same,do nothing and leave
I/mm-camera-aec( 69): Touch AEC == numRegions:256
I/mm-camera-aec( 69): Touch AEC aecCtrl->aec_state.aec_algo:1
I/ ( 69): [AWB Calibration]:ctrlfd:21
I/ ( 69): [AWB Calibration] cfg.fuse_id_word1:0x0
I/ ( 69): [AWB Calibration] cfg.fuse_id_word2:0x0
I/ ( 69): [AWB Calibration] cfg.fuse_id_word3:0x15002
I/ ( 69): [AWB Calibration] cfg.fuse_id_word4:0x3e5de6
E/QualcommCameraHardware( 69): [B]native_access_parm: error (No such file or directory): fd 15, type 61, length 4, status 0[/B]
I/mm-camera 8x vfe( 69): vfe_set_coordinate x:0 y:0
E/QualcommCameraHardware( 69): [B]native_access_parm: error (No such file or directory): fd 15, type 60, length 4, status 0[/B]
D/mm-camera 8x vfe( 69): vfe_enable_vfe: ctrl->state is 0
D/mm-camera 8x vfe( 69): vfe_enable_vfe: set ctrl->state = CAMERA_STATE_VFE_ENABLED
D/dalvikvm( 987): GC_FOR_ALLOC freed 521K, 17% free 7531K/9031K, paused 37ms
E/mm-camera 8x vfe( 69): vfe_util_updaterollofftbl: sensor doesn't support rolloff correction by VFE
W/mm-camera-zoom( 69): [B]Output1 and Output2 aspect ratios differ. Frames may be distorted[/B]

kernel messages:
<6>[ 87.255737] msm_open_common: open control0
<6>[ 87.257110] wait event : 1 timeout:3000
<6>[ 87.446380] s5k3e2fx_ctrl->prev_res:0
<6>[ 87.446411] s5k3e2fx_setting rupdate:0 g_usModuleVersion:1
<6>[ 87.463317] >>>>>>>>(2011-12-02 06:12:54.653148695 UTC)<<<<<<<
<6>[ 87.463348] msm_open_common: open config0
<6>[ 87.466033] s5k3e2fx: otp_vendorid1[0]:0x 1
<6>[ 87.466064] s5k3e2fx: otp_vendorid2[0]:0x 50
<6>[ 87.466094] s5k3e2fx: otp_vendorid3[0]:0x 2
<6>[ 87.466827] s5k3e2fx: otp_vendorid1[1]:0x 0
<6>[ 87.466857] s5k3e2fx: otp_vendorid2[1]:0x 0
<6>[ 87.466857] s5k3e2fx: otp_vendorid3[1]:0x 0
<6>[ 87.467803] s5k3e2fx: otp_fuseid1[0]:0x 3e
<6>[ 87.467803] s5k3e2fx: otp_fuseid2[0]:0x 5d
<6>[ 87.467834] s5k3e2fx: otp_fuseid3[0]:0x e6
<6>[ 87.468536] s5k3e2fx: otp_fuseid1[1]:0x 0
<6>[ 87.468536] s5k3e2fx: otp_fuseid2[1]:0x 0
<6>[ 87.468566] s5k3e2fx: otp_fuseid3[1]:0x 0
<6>[ 87.468597] s5k3e2fx: fuse->fuse_id_word1:0
<6>[ 87.468597] s5k3e2fx: fuse->fuse_id_word2:0
<6>[ 87.468597] s5k3e2fx: fuse->fuse_id_word3:0x00015002
<6>[ 87.468627] s5k3e2fx: fuse->fuse_id_word4:0x003e5de6
<6>[ 87.505493] msm_enqueue: queue event new max is 1
<6>[ 87.506683] s5k3e2fx: otp_vendorid1[0]:0x 1
<6>[ 87.506713] s5k3e2fx: otp_vendorid2[0]:0x 50
<6>[ 87.506713] s5k3e2fx: otp_vendorid3[0]:0x 2
<6>[ 87.507568] s5k3e2fx: otp_vendorid1[1]:0x 0
<6>[ 87.507598] s5k3e2fx: otp_vendorid2[1]:0x 0
<6>[ 87.507629] s5k3e2fx: otp_vendorid3[1]:0x 0
<6>[ 87.508331] s5k3e2fx: otp_fuseid1[0]:0x 3e
<6>[ 87.508361] s5k3e2fx: otp_fuseid2[0]:0x 5d
<6>[ 87.508392] s5k3e2fx: otp_fuseid3[0]:0x e6
<6>[ 87.509063] s5k3e2fx: otp_fuseid1[1]:0x 0
<6>[ 87.509094] s5k3e2fx: otp_fuseid2[1]:0x 0
<6>[ 87.509124] s5k3e2fx: otp_fuseid3[1]:0x 0
<6>[ 87.509124] s5k3e2fx: fuse->fuse_id_word1:0
<6>[ 87.509155] s5k3e2fx: fuse->fuse_id_word2:0
<6>[ 87.509155] s5k3e2fx: fuse->fuse_id_word3:0x00015002
<6>[ 87.509185] s5k3e2fx: fuse->fuse_id_word4:0x003e5de6
<6>[ 87.509277] msm_enqueue: queue control new max is 1
<6>[ 87.510772] CFG_SET_MODE
<6>[ 87.510803] s5k3e2fx_setting rupdate:1 g_usModuleVersion:1
<6>[ 87.566162] CFG_SET_MODE
<6>[ 87.566192] s5k3e2fx_setting rupdate:1 g_usModuleVersion:1
<3>[ 87.572052] msm_frame_axi_cfg 1246: [B]pmem region lookup error[/B]

I guess its not getting the config to the DSP. However, setting the config is a challenge, since the current camera headers are not compatible with the ones in 2.3...so I can't cast/call the class that Qualcomm extends to control the camera to gain these extra functions.

I have found some data type definitions from previous Android versions, so hopefully I can slowly work on getting them all declared so I can use the Qualcomm class directly.

Hopefully being able to set the memory base will let me get past this. Any ideas about the errors I see above (in bold), tytung?