Lumia-Drivers
Lumia-Drivers copied to clipboard
Bring up IMX230
Some notes:
init data structure:
=> 0x277C0 -> 0x279FF total: 0x240 bytes => 38 registers (0x48)
0x277C0
01 01 03 00 00 00 00 00 05 01 01 00 00 00 00 00 06 01 01 00 00 00 00 00 36 01 18 00 00 00 00 00 37 01 00 00 00 00 00 00 01 46 00 00 00 00 00 00 42 46 05 00 00 00 00 00 76 62 00 00 00 00 00 00 0E 90 06 00 00 00 00 00 02 A8 90 00 00 00 00 00 03 A8 11 00 00 00 00 00 04 A8 62 00 00 00 00 00 05 A8 77 00 00 00 00 00 06 A8 AE 00 00 00 00 00 07 A8 34 00 00 00 00 00 08 A8 AE 00 00 00 00 00 09 A8 35 00 00 00 00 00 0A A8 62 00 00 00 00 00 0B A8 83 00 00 00 00 00 33 AE 00 00 00 00 00 00 74 41 00 00 00 00 00 00 75 41 11 00 00 00 00 00 12 46 29 00 00 00 00 00 1B 46 12 00 00 00 00 00 1F 46 06 00 00 00 00 00 35 46 07 00 00 00 00 00 37 46 30 00 00 00 00 00 3F 46 18 00 00 00 00 00 41 46 0D 00 00 00 00 00 5B 46 12 00 00 00 00 00 5F 46 11 00 00 00 00 00 63 46 11 00 00 00 00 00 67 46 0F 00 00 00 00 00 6F 46 0F 00 00 00 00 00 0E 47 09 00 00 00 00 00 09 49 AB 00 00 00 00 00 0B 49 95 00 00 00 00 00 15 49 5D 00 00 00 00 00 5F 4A FF 00 00 00 00 00 61 4A FF 00 00 00 00 00 73 4A 62 00 00 00 00 00 85 4A 00 00 00 00 00 00 87 4A FF 00 00 00 00 00 3C 58 04 00 00 00 00 00 0E 62 04 00 00 00 00 00 B2 6E 01 00 00 00 00 00 B3 6E 00 00 00 00 00 00 00 93 02 00 00 00 00 00 01 30 07 00 00 00 00 00 12 6D 03 00 00 00 00 00 13 6D FF 00 00 00 00 00 44 93 03 00 00 00 00 00 08 97 03 00 00 00 00 00 04 9E 01 00 00 00 00 00 05 9E 00 00 00 00 00 00 0C 9E 01 00 00 00 00 00 0D 9E 02 00 00 00 00 00 DB 69 01 00 00 00 00 00 57 69 01 00 00 00 00 00 87 69 17 00 00 00 00 00 8A 69 03 00 00 00 00 00 8B 69 03 00 00 00 00 00 16 93 00 00 00 00 00 00 17 93 64 00 00 00 00 00 18 93 06 00 00 00 00 00 19 93 00 00 00 00 00 00 50 6E 00 00 00 00 00 00 51 6E C8 00 00 00 00 00 40 93 00 00 00 00 00 00 41 93 3C 00 00 00 00 00 42 93 03 00 00 00 00 00 43 93 FF 00 00 00 00 00
Data example:
36 01 18 00 00 00 00 00
0x136: register
0x18: data to write
Resolution mode structures:
0x274A0 (0x5F)->0x27797
0x27A00 (0x49) -> 0x27C47
0x27C50 (0x56)
0x293D0 (0x49)
0x29620 (0x56)
0x298D0 (0x56)
0x29B80 (0x56)
0x29E40 (0x52)
Current initialization log
Tables from public repositories
- https://github.com/Lolzen/android_kernel_nvidia_shield/blob/bde70cae956441793621e7ceb4f3204e89d3054d/drivers/media/i2c/soc_camera/imx214_mode_tbls.h
- https://github.com/Lolzen/android_kernel_nvidia_shield/blob/bde70cae956441793621e7ceb4f3204e89d3054d/drivers/media/i2c/soc_camera/imx230_mode_tbls.h
Qualcomm libs from public repositories
- https://github.com/TTTT55/vendor_qcom_proprietary/blob/master/mm-camerasdk/sensor/Samples/drivers/sensor/imx230_lib.h
- https://github.com/TTTT55/vendor_qcom_proprietary/blob/master/mm-camera/mm-camera2/media-controller/modules/sensors/sensor/libs/imx214/imx214_lib.h
- https://github.com/sethsong90/vendor_qcom/blob/e0666c398903d38e72aeda7042ec2836cd3dba68/mm-camera/mm-camera2/media-controller/modules/sensors/sensor_libs/imx214/imx214_lib.c
So is camera going to work finally?
@EP012014 No.
I've heard that the CMOS of Lumia 950 series is actually Toshiba T4KA7 in certain production versions instead of the rumored IMX230 which is possibly used on some prototypes.