platform : imx6q android
After porting camera driver, there is the camera.apk showed in lanucher.Opened the apk, there is no preview image, as showed blew.
Here is the kernel.log and logcat.log
Can you tell me how to debug this issue???
Original Attachment has been moved to: kernel.log.zip
Original Attachment has been moved to: log20170526.rar
Original Attachment has been moved to: logcat.log.zip
Solved! Go to Solution.
Thanks for Joan's supporting, I have fixed the issue.It's because of using wrong ipu. Changing from ipu1 to ipu0, it works normally.
Thanks for Joan's supporting, I have fixed the issue.It's because of using wrong ipu. Changing from ipu1 to ipu0, it works normally.
Dear Joan,
Now I found the camera progress hung at the (\kernel_imx\driver\mxc\ipu3\ipu_device.c):
static int ipu_task_thread(void *argv)
{...
line3245: printk("befor wait event interrupt...\n");
wait_event_interruptible(thread_waitq, find_task(&tsk, curr_thread_id));
printk("after wait event interrupt...\n");
...
}
always waiting event interrupt, is this the normal issue??????
mipi can support yuv422, could you tell me what mx6q board you use and andorid bsp? and send the log file to check.
Dear Joan,
After I changed the ipu_id from 0 to 1, there was ipu task in kernel log. But the preview couldn't work any more, there was no data after previewing.And the log said, "ERROR: v4l2 capture: mxc_p4l_dqueue timeout enc_counter 0".
How to slove this issue?????Here is the kernel log in "20170531.rar".
I have measure the MIPI singal, output normal .So I thought it was because of the platform. Maybe I forgot some confirgrations.Does anyone can help???
Dear Joan,
after check ,the mipi single is output and reviced. But it split for 4 parts, how to debug this issue???
did you use rgb565 interlaced mode? if yes, pls check if you set the correct register, for unit test, you can find it in the bsp.
No, I use the yuv422.
BTW, I find there is no use to change fmt setting V4L2_PIX_FMT_UYVY/V4L2_PIX_FMT_YVYU/...
Did we support the yuv422 pixel fmt for changing?????
Dear Joan,
Could you please show me the way about unit test????
Thanks for your reply, let me check it out and feeding back to you ASAP.