Hi,
I would like to using adv7180 in mx6 custom board with android 4.2 system.
I had finished kernel patch and the video can be shown by using mxc_v4l2_tvin got from FSL Ubuntu BSP.
But I would like to use some android APK to test Tvin instead of mxc_v4l2_tvin. What APK can test TVin in android?
I'm using Camera to test TVin now and set front_camera is adv7180_decoder in init.rc, but it does not work.
What codes should be modified in android?
BRs
Solved! Go to Solution.
Hello,Dean,
The following is my advice :
1. Test TVIN
It is correct for you to use camera.apk to test TVIN on android platform.
2. Camer working flow
adv7180 driver--->csi driver of i.mx6--->android HAL of camer.
3. The procedure of porting TVIN
(1)Adjust BSP file of your design.
On our Sabre-AI board, ADV7180 has been supported, you could open "myandroid/kernel_imx/arch/arm/mach-mx6/board-mx6q_sabreauto.c" and refer to code for adv7180, then add them into your BSP file.
(2)Adjust HAL code of camera
Hardware Abstract Layer of camera is at path "myandroid/hardware/imx/libcamera/", After reading corresponding code , you will know how to modify them for you design.
Please according to the above advice, and try to do porting !
Regards,
Weidong
Hello,Dean,
The following is my advice :
1. Test TVIN
It is correct for you to use camera.apk to test TVIN on android platform.
2. Camer working flow
adv7180 driver--->csi driver of i.mx6--->android HAL of camer.
3. The procedure of porting TVIN
(1)Adjust BSP file of your design.
On our Sabre-AI board, ADV7180 has been supported, you could open "myandroid/kernel_imx/arch/arm/mach-mx6/board-mx6q_sabreauto.c" and refer to code for adv7180, then add them into your BSP file.
(2)Adjust HAL code of camera
Hardware Abstract Layer of camera is at path "myandroid/hardware/imx/libcamera/", After reading corresponding code , you will know how to modify them for you design.
Please according to the above advice, and try to do porting !
Regards,
Weidong