Hi ,guys:
My platform is DM365+Tvp5150 + DVSDK4.0 + Kernel2.6.32.17
When first power up, the system runs ok, (it requires a video buf and send out),But if I reboot the board with "reset button" or "watch dog", the encode app cannot get buffer from v4l2 driver,it hangs in DVSDK->Capture.c->Capture_get()
if (ioctl(hCapture->fd, VIDIOC_DQBUF, &v4l2buf) < 0) {
Dmai_err1("VIDIOC_DQBUF failed (%s)\n", strerror(errno));
return Dmai_EFAIL;
}
Only after disconnect the power and connect again, the system can run ok.
First I thought it's because the VPSS - reset BUG, so I check the UBL code ,the VPSS did reset by code after cool reset.
What will be the reason?