Hi,
I'm trying to bring up a writeback driver for OMAP4430, Linux kernel 3.4.29 . I know
that there is much better driver in 3.8.5, but we have to work with older kernel
and I want to understand why it is not working. I have an interface to V4L2 and
want to capture image from LCD1 manager in RGB format as a first stage.
Of course, the target is capturing in the YUV4:2:0 format and passing to Ducati H.264
encoder, but I seriously got stuck with capturing LCD1 contents as an image in RGB24 format with
disabled rescaling and color conversion.
The main issue is SYNC_LOST interrupt when writeback enable bit is set. I was
investigating register settings of existing and working 2.6, I modified some of
my settings to have similar values, but I was unable to discover main
differences causing SYNC_LOST.
Differences between my approach in 3.4 and 2.6:
* kernel 2.6 uses buffers in TILER area and 2D DMA transfers, I don't - for simplicity, Is it required even for simple capture?
* When I disable TRUNCATIONENABLE in DISPC_WB_ATTRIBUTES I have "L3 custom error: MASTER:DSS TARGET:DMM2"
Does anyone have an idea how to overcome SYNC_LOST error and achieve basic capture? What causes this error?
Regards,
Grzegorz Bielski
I have attached register settings for 3.4 and 2.6.34 (working)