Hello, 2010/12/7 Guennadi Liakhovetski <g.liakhovetski@xxxxxx>: > Hi Bastian > > On Tue, 7 Dec 2010, Bastian Hecht wrote: > >> Hello, >> >> I succesfully got out images reliably. I just the nokia-tree and mixed >> up your mt9t031 and Laurent's mt9t001 code. It's just a barebone that >> gets images in default size. It's not cleaned up yet, but I post what >> I have. > > Thanks! Will have a look and give them a try. If you like, I can try to > help you cleaning up the patches and mainlining them - at least to > Laurent's tree;) That would be superb, as we do not continue our mt9p031 development because we try an Omnivion chip. On the other hand, I received so much support here, that I want the driver code to be in open hands and not the bin. Sung Hee develops on the mt9p031, too. We should try to mainline the mt9p031 code. cheers, Bastian > Thanks > Guennadi > >> >> Greetings, >> >> Bastian >> >> >> 2010/12/6 Guennadi Liakhovetski <g.liakhovetski@xxxxxx>: >> > On Thu, 4 Nov 2010, Laurent Pinchart wrote: >> > >> >> Hi Bastian, >> > >> > Hi Bastian, all >> > >> > Have you or anyone ben successful getting mt9p031 to work with the omap3 >> > ISP driver? If so - can I have the code? Or even if it never worked - >> > could you post the latest version of your driver and platform bindings? >> > >> > Thanks >> > Guennadi >> > >> >> >> >> On Tuesday 02 November 2010 11:31:28 Bastian Hecht wrote: >> >> > >> I am the first guy needing a 12 bit-bus? >> >> > > >> >> > > Yes you are :-) You will need to implement 12 bit support in the ISP >> >> > > driver, or start by hacking the sensor driver to report a 10 bit format >> >> > > (2 bits will be lost but you should still be able to capture an image). >> >> > >> >> > Isn't that an "officially" supported procedure to drop the least >> >> > significant bits? >> >> > You gave me the isp configuration >> >> > .bus = { .parallel = { >> >> > .data_lane_shift = 1, >> >> > ... >> >> > that instructs the isp to use 10 of the 12 bits. >> >> >> >> If you don't need the full 12 bits, sure, that should work. >> >> >> >> > >> Second thing is, the yavta app now gets stuck while dequeuing a buffer. >> >> > >> >> >> > >> strace ./yavta -f SGRBG10 -s 2592x1944 -n 4 --capture=4 --skip 3 -F >> >> > >> /dev/video2 ... >> >> > >> ioctl(3, VIDIOC_QBUF, 0xbec111cc) = 0 >> >> > >> ioctl(3, VIDIOC_QBUF, 0xbec111cc) = 0 >> >> > >> ioctl(3, VIDIOC_QBUF, 0xbec111cc) = 0 >> >> > >> ioctl(3, VIDIOC_QBUF, 0xbec111cc) = 0 >> >> > >> ioctl(3, VIDIOC_STREAMON, 0xbec11154) = 0 >> >> > >> ioctl(3, VIDIOC_DQBUF >> >> > >> >> >> > >> strace gets stuck in mid of this line. >> >> > >> >> > Somehow the ISP_ENABLE_IRQ register was reset at some point that is >> >> > unclear to me. When I put it on again manually yavta succeeds to read >> >> > the frames. >> >> >> >> That's weird. Let me know if you can reproduce the problem. >> >> >> >> > Unfortunately the image consists of black pixels only. We found out that the >> >> > 2.8V voltage regulator got broken in the course of development - the 1.8V >> >> > logic still worked but the ADC did not... >> >> > >> >> > But the heck - I was never that close :) >> >> >> >> -- >> >> Regards, >> >> >> >> Laurent Pinchart >> >> -- >> >> To unsubscribe from this list: send the line "unsubscribe linux-media" in >> >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> >> >> > >> > --- >> > Guennadi Liakhovetski, Ph.D. >> > Freelance Open-Source Software Developer >> > http://www.open-technology.de/ >> > >> > > --- > Guennadi Liakhovetski, Ph.D. > Freelance Open-Source Software Developer > http://www.open-technology.de/ > -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html