Hi Freesacle
In android 6.0.1, I try to open camera app and test camera function.
Cpu is MX6Q.Our camera is ov5640. That is the same with demo board.
We are not used front end camera. So I disable front camera in "init.i.MX6Q.rc".
[Question 1]
step1
Our uboot setting:
--------------------------------------------------------------------------------------------------------------------------------------------------------
setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M
--------------------------------------------------------------------------------------------------------------------------------------------------------
When I open camera, system always show IPU Warning in debug port.
The system can not preview from camera.
-------------------------------------------------------------------------------------------
imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000
imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00080000
imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000
imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000
imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000
imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00080000
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000
-----------------------------------------------------------------------------------------------
And HDMI port is on / off.
step 2
If I change frame buffer output to LVDS, system show IPU Warning in debug port.
--------------------------------------------------------------------------------------------------------------------------------------------------------
setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,800x480M@60,bpp=32,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M
--------------------------------------------------------------------------------------------------------------------------------------------------------
The system can preview from camera.
After 30 sec, system can not preview from camera.
system always show IPU Warning in debug port.
-------------------------------------------------------------------------------------------
imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000
imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00080000
imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000
imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000
imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000
imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00080000
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000
-----------------------------------------------------------------------------------------------
Do you have any advice?
Clayder