linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Help required for TVP5151 on Overo
@ 2014-11-07 13:50 Francesco Marletta
  0 siblings, 0 replies; 12+ messages in thread
From: Francesco Marletta @ 2014-11-07 13:50 UTC (permalink / raw)
  To: linux-media; +Cc: Laurent Pinchart

Hello to everyone,
I'd like to know who have used the TVP5151 video decoder with the OMAP3
Overo module.

I'm trying to have the processor to capture the video from a TVP5151
boarda, but without success (both gstreamer and yavta wait forever the
data from the V4L2 subsystem).

Thanks in advance!

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Help required for TVP5151 on Overo
  2015-02-05 14:57         ` Laurent Pinchart
@ 2015-02-06  9:20           ` Francesco Marletta
  0 siblings, 0 replies; 12+ messages in thread
From: Francesco Marletta @ 2015-02-06  9:20 UTC (permalink / raw)
  To: Laurent Pinchart
  Cc: Francesco Marletta, Carlos Sanmartín Bustos, Linux Media

Hi Laurent,
thanks for your reply... I'll disable device tree usage.

Also, I'll try to use a previous kernel (3.17) hoping it works.

Regards
Francesco

Il 05/02/2015 15:57, Laurent Pinchart ha scritto:
> Hi Francesco,
>
> On Thursday 05 February 2015 15:29:59 Francesco Marletta wrote:
>> Hi Laurent,
>> I'm trying to use the kernel of the linuxtv repository, omap3isp/tvp5151
>> branch,but the kernel don't starts... can you, please, send me the
>> kernel command line that you have used?
> I'm afraid I haven't kept the .config file around. I might also have rebased
> the working branch without testing the result, so it might just not work on
> 3.18-rc4. I'm sorry not to be able to help you for now.
>
>> Also, have you used device tree ?
> No, I was using legacy boot. The OMAP3 ISP driver doesn't support DT yet.
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Help required for TVP5151 on Overo
  2015-02-05 14:29       ` Francesco Marletta
@ 2015-02-05 14:57         ` Laurent Pinchart
  2015-02-06  9:20           ` Francesco Marletta
  0 siblings, 1 reply; 12+ messages in thread
From: Laurent Pinchart @ 2015-02-05 14:57 UTC (permalink / raw)
  To: Francesco Marletta
  Cc: Francesco Marletta, Carlos Sanmartín Bustos, Linux Media

Hi Francesco,

On Thursday 05 February 2015 15:29:59 Francesco Marletta wrote:
> Hi Laurent,
> I'm trying to use the kernel of the linuxtv repository, omap3isp/tvp5151
> branch,but the kernel don't starts... can you, please, send me the
> kernel command line that you have used?

I'm afraid I haven't kept the .config file around. I might also have rebased 
the working branch without testing the result, so it might just not work on 
3.18-rc4. I'm sorry not to be able to help you for now.

> Also, have you used device tree ?

No, I was using legacy boot. The OMAP3 ISP driver doesn't support DT yet.

-- 
Regards,

Laurent Pinchart


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Help required for TVP5151 on Overo
  2014-12-01 23:41     ` Laurent Pinchart
  2014-12-12 15:38       ` Francesco Marletta
@ 2015-02-05 14:29       ` Francesco Marletta
  2015-02-05 14:57         ` Laurent Pinchart
  1 sibling, 1 reply; 12+ messages in thread
From: Francesco Marletta @ 2015-02-05 14:29 UTC (permalink / raw)
  To: Laurent Pinchart, Francesco Marletta
  Cc: Carlos Sanmartín Bustos, Linux Media

Hi Laurent,
I'm trying to use the kernel of the linuxtv repository, omap3isp/tvp5151 
branch,but the kernel don't starts... can you, please, send me the 
kernel command line that you have used?

Also, have you used device tree ?

Regards
Francesco


Il 02/12/2014 00:41, Laurent Pinchart ha scritto:
> Hi Francesco,
>
> On Wednesday 19 November 2014 10:33:06 Francesco Marletta wrote:
>> Hi Carlos,
>> thanks for your response.
>>
>> I've read your message on permalink.
>>
>> I'm not sure the ISP is broken, or at least it may be broken but it can
>> be fixed.
>>
>> I'm trying to work the tvp5151 board described in [1], the author
>> states (and told me) that it was successfull in using that board, using
>> a patch that he also publish, but my board is not working (using the
>> same patch set). Maybe there is something different in my kernel, even
>> if the version is the same?
> For what it's worth, I've successfully used that tvp5151 board with a Gumstix
> Overo using the mainline kernel. Changes required to the OAMP3 ISP driver have
> been pushed to mainline. Some changes were required to the tvp5151 driver too,
> some have made it upstream, but I haven't had time to clean up and submit the
> rest of the tvp5151 modifications.
>
> I've pushed the patches to
>
> 	git://linuxtv.org/pinchartl/media.git omap3isp/tvp5151
>
>> I'm going to try applying the patch by hand, to check if there is
>> something different respect the source that the patch is made from.
>>
>> It will be useful to me to have a kernel (with modules) that works with
>> that board, this way I could check if the problem is in the hw or in
>> the sw.
>>
>> I'll continue to try.
>>
>> [1] http://www.sleepyrobot.com/?p=253


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Help required for TVP5151 on Overo
  2014-12-12 22:50         ` Laurent Pinchart
  2014-12-22  9:44           ` Francesco Marletta
@ 2015-01-29 16:46           ` Francesco Marletta
  1 sibling, 0 replies; 12+ messages in thread
From: Francesco Marletta @ 2015-01-29 16:46 UTC (permalink / raw)
  To: Laurent Pinchart, Francesco Marletta
  Cc: Carlos Sanmartín Bustos, Linux Media

Hi Laurent,
I'm finally started working on this problem... but the code from the git 
repository you specified don't compile:

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
...
   CC [M]  drivers/media/i2c/tvp5150.o
drivers/media/i2c/tvp5150.c: In function ‘tvp5150_set_format’:
drivers/media/i2c/tvp5150.c:967:24: error: ‘V4L2_MBUS_FMT_UYVY8_2X8’ 
undeclared (first use in this function)
drivers/media/i2c/tvp5150.c:967:24: note: each undeclared identifier is 
reported only once for each function it appears in
drivers/media/i2c/tvp5150.c: In function ‘tvp5150_get_format’:
drivers/media/i2c/tvp5150.c:982:24: error: ‘V4L2_MBUS_FMT_UYVY8_2X8’ 
undeclared (first use in this function)
drivers/media/i2c/tvp5150.c: In function ‘tvp5150_enum_mbus_code’:
drivers/media/i2c/tvp5150.c:998:15: error: ‘V4L2_MBUS_FMT_UYVY8_2X8’ 
undeclared (first use in this function)
drivers/media/i2c/tvp5150.c: In function ‘tvp5150_enum_frame_size’:
drivers/media/i2c/tvp5150.c:1008:38: error: ‘V4L2_MBUS_FMT_UYVY8_2X8’ 
undeclared (first use in this function)
make[3]: *** [drivers/media/i2c/tvp5150.o] Errore 1
make[2]: *** [drivers/media/i2c] Errore 2
make[1]: *** [drivers/media] Errore 2
make: *** [drivers] Errore 2

I cloned the repos with:

git clone git://linuxtv.org/pinchartl/media.git linux_omap3isp_tvp5151
cd linux_omap3isp_tvp5151

Choosed the branch for tvp5151 with:

git branch tvp5151_for_overo  remotes/origin/omap3isp/tvp5151
git checkout tvp5151_for_overo

Then configured the kernel with:
         make mrproper
         make ARCH=arm omap2plus_defconfig
         make ARCH=arm menuconfig

And finally compiled as stated before.

Maybe there is a special branch that I should use?

Regards,
Francesco


Il 12/12/2014 23:50, Laurent Pinchart ha scritto:
> Hi Francesco,
>
> On Friday 12 December 2014 16:38:02 Francesco Marletta wrote:
>> Hi Laurent,
>>
>> I'll check the patches you indicated on
>> 	git://linuxtv.org/pinchartl/media.git omap3isp/tvp5151
>>
>> Which version of the kernel are these patches for?
> Do you know that, if you clone the above tree and checkout the
> omap3isp/tvp5151 branch, you will get a Linux kernel source tree with complete
> history and a Makefile that contains the version number ? :-)
>
> http://git.linuxtv.org/cgit.cgi/pinchartl/media.git/tree/Makefile?h=omap3isp/tvp5151
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Help required for TVP5151 on Overo
  2014-12-12 22:50         ` Laurent Pinchart
@ 2014-12-22  9:44           ` Francesco Marletta
  2015-01-29 16:46           ` Francesco Marletta
  1 sibling, 0 replies; 12+ messages in thread
From: Francesco Marletta @ 2014-12-22  9:44 UTC (permalink / raw)
  To: Laurent Pinchart, Linux Media

Il giorno Sat, 13 Dec 2014 00:50:10 +0200
Laurent Pinchart <laurent.pinchart@ideasonboard.com> ha scritto:

> Hi Francesco,
> 
> On Friday 12 December 2014 16:38:02 Francesco Marletta wrote:
> > Hi Laurent,
> >
> > I'll check the patches you indicated on
> > 	git://linuxtv.org/pinchartl/media.git omap3isp/tvp5151
> > 
> > Which version of the kernel are these patches for?
> 
> Do you know that, if you clone the above tree and checkout the 
> omap3isp/tvp5151 branch, you will get a Linux kernel source tree with
> complete history and a Makefile that contains the version number ? :-)
> 
> http://git.linuxtv.org/cgit.cgi/pinchartl/media.git/tree/Makefile?h=omap3isp/tvp5151
> 
Yes, I know that... I was just asking to have a "memo" on the email.

Regards

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Help required for TVP5151 on Overo
  2014-12-12 15:38       ` Francesco Marletta
@ 2014-12-12 22:50         ` Laurent Pinchart
  2014-12-22  9:44           ` Francesco Marletta
  2015-01-29 16:46           ` Francesco Marletta
  0 siblings, 2 replies; 12+ messages in thread
From: Laurent Pinchart @ 2014-12-12 22:50 UTC (permalink / raw)
  To: Francesco Marletta; +Cc: Carlos Sanmartín Bustos, Linux Media

Hi Francesco,

On Friday 12 December 2014 16:38:02 Francesco Marletta wrote:
> Hi Laurent,
>
> I'll check the patches you indicated on
> 	git://linuxtv.org/pinchartl/media.git omap3isp/tvp5151
> 
> Which version of the kernel are these patches for?

Do you know that, if you clone the above tree and checkout the 
omap3isp/tvp5151 branch, you will get a Linux kernel source tree with complete 
history and a Makefile that contains the version number ? :-)

http://git.linuxtv.org/cgit.cgi/pinchartl/media.git/tree/Makefile?h=omap3isp/tvp5151

-- 
Regards,

Laurent Pinchart


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Help required for TVP5151 on Overo
  2014-12-01 23:41     ` Laurent Pinchart
@ 2014-12-12 15:38       ` Francesco Marletta
  2014-12-12 22:50         ` Laurent Pinchart
  2015-02-05 14:29       ` Francesco Marletta
  1 sibling, 1 reply; 12+ messages in thread
From: Francesco Marletta @ 2014-12-12 15:38 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: Carlos Sanmartín Bustos, Linux Media

Hi Laurent,
I'll check the patches you indicated on 
	git://linuxtv.org/pinchartl/media.git omap3isp/tvp5151

Which version of the kernel are these patches for? 

Regards
Francesco



Il giorno Tue, 02 Dec 2014 01:41:23 +0200
Laurent Pinchart <laurent.pinchart@ideasonboard.com> ha scritto:

> Hi Francesco,
> 
> On Wednesday 19 November 2014 10:33:06 Francesco Marletta wrote:
> > Hi Carlos,
> > thanks for your response.
> > 
> > I've read your message on permalink.
> > 
> > I'm not sure the ISP is broken, or at least it may be broken but it
> > can be fixed.
> > 
> > I'm trying to work the tvp5151 board described in [1], the author
> > states (and told me) that it was successfull in using that board,
> > using a patch that he also publish, but my board is not working
> > (using the same patch set). Maybe there is something different in
> > my kernel, even if the version is the same?
> 
> For what it's worth, I've successfully used that tvp5151 board with a
> Gumstix Overo using the mainline kernel. Changes required to the
> OAMP3 ISP driver have been pushed to mainline. Some changes were
> required to the tvp5151 driver too, some have made it upstream, but I
> haven't had time to clean up and submit the rest of the tvp5151
> modifications.
> 
> I've pushed the patches to
> 
> 	git://linuxtv.org/pinchartl/media.git omap3isp/tvp5151
> 
> > I'm going to try applying the patch by hand, to check if there is
> > something different respect the source that the patch is made from.
> > 
> > It will be useful to me to have a kernel (with modules) that works
> > with that board, this way I could check if the problem is in the hw
> > or in the sw.
> > 
> > I'll continue to try.
> > 
> > [1] http://www.sleepyrobot.com/?p=253
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Help required for TVP5151 on Overo
  2014-11-19  9:33   ` Francesco Marletta
@ 2014-12-01 23:41     ` Laurent Pinchart
  2014-12-12 15:38       ` Francesco Marletta
  2015-02-05 14:29       ` Francesco Marletta
  0 siblings, 2 replies; 12+ messages in thread
From: Laurent Pinchart @ 2014-12-01 23:41 UTC (permalink / raw)
  To: Francesco Marletta; +Cc: Carlos Sanmartín Bustos, Linux Media

Hi Francesco,

On Wednesday 19 November 2014 10:33:06 Francesco Marletta wrote:
> Hi Carlos,
> thanks for your response.
> 
> I've read your message on permalink.
> 
> I'm not sure the ISP is broken, or at least it may be broken but it can
> be fixed.
> 
> I'm trying to work the tvp5151 board described in [1], the author
> states (and told me) that it was successfull in using that board, using
> a patch that he also publish, but my board is not working (using the
> same patch set). Maybe there is something different in my kernel, even
> if the version is the same?

For what it's worth, I've successfully used that tvp5151 board with a Gumstix 
Overo using the mainline kernel. Changes required to the OAMP3 ISP driver have 
been pushed to mainline. Some changes were required to the tvp5151 driver too, 
some have made it upstream, but I haven't had time to clean up and submit the 
rest of the tvp5151 modifications.

I've pushed the patches to

	git://linuxtv.org/pinchartl/media.git omap3isp/tvp5151

> I'm going to try applying the patch by hand, to check if there is
> something different respect the source that the patch is made from.
> 
> It will be useful to me to have a kernel (with modules) that works with
> that board, this way I could check if the problem is in the hw or in
> the sw.
> 
> I'll continue to try.
> 
> [1] http://www.sleepyrobot.com/?p=253

-- 
Regards,

Laurent Pinchart


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Help required for TVP5151 on Overo
  2014-11-19  9:15 ` Carlos Sanmartín Bustos
@ 2014-11-19  9:33   ` Francesco Marletta
  2014-12-01 23:41     ` Laurent Pinchart
  0 siblings, 1 reply; 12+ messages in thread
From: Francesco Marletta @ 2014-11-19  9:33 UTC (permalink / raw)
  To: Carlos Sanmartín Bustos; +Cc: Linux Media, Laurent Pinchart

Hi Carlos,
thanks for your response.

I've read your message on permalink.

I'm not sure the ISP is broken, or at least it may be broken but it can
be fixed.

I'm trying to work the tvp5151 board described in [1], the author
states (and told me) that it was successfull in using that board, using
a patch that he also publish, but my board is not working (using the
same patch set). Maybe there is something different in my kernel, even
if the version is the same? 

I'm going to try applying the patch by hand, to check if there is
something different respect the source that the patch is made from.

It will be useful to me to have a kernel (with modules) that works with
that board, this way I could check if the problem is in the hw or in
the sw.

I'll continue to try.

Regards
Francesco

[1] http://www.sleepyrobot.com/?p=253


Il giorno Wed, 19 Nov 2014 10:15:36 +0100
Carlos Sanmartín Bustos <carsanbu@gmail.com> ha scritto:

> Hi Francesco,
> 
> Yesterday I sent a mail asking about similar behaviour in another
> OMAP3 board [1], I'm starting to think that OMAP3 ISP is broken in
> latest kernel versions.
> 
> I hope someone give us a solution.
> 
> Regards,
> 
> Carlos
> 
> [1]
> http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/84744
> 
> 2014-11-19 9:46 GMT+01:00 Francesco Marletta <fmarletta@movia.biz>:
> > Hello to everyone,
> > I'd like to know who have used the TVP5151 video decoder with the
> > OMAP3 Overo module.
> >
> > I'm trying to have the processor to capture the video from a TVP5151
> > boarda, but without success (both gstreamer and yavta wait forever
> > the data from the V4L2 subsystem).
> >
> > Thanks in advance!
> > --
> > To unsubscribe from this list: send the line "unsubscribe
> > linux-media" in the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Help required for TVP5151 on Overo
  2014-11-19  8:46 Francesco Marletta
@ 2014-11-19  9:15 ` Carlos Sanmartín Bustos
  2014-11-19  9:33   ` Francesco Marletta
  0 siblings, 1 reply; 12+ messages in thread
From: Carlos Sanmartín Bustos @ 2014-11-19  9:15 UTC (permalink / raw)
  To: Francesco Marletta; +Cc: Linux Media, Laurent Pinchart

Hi Francesco,

Yesterday I sent a mail asking about similar behaviour in another
OMAP3 board [1], I'm starting to think that OMAP3 ISP is broken in
latest kernel versions.

I hope someone give us a solution.

Regards,

Carlos

[1] http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/84744

2014-11-19 9:46 GMT+01:00 Francesco Marletta <fmarletta@movia.biz>:
> Hello to everyone,
> I'd like to know who have used the TVP5151 video decoder with the OMAP3
> Overo module.
>
> I'm trying to have the processor to capture the video from a TVP5151
> boarda, but without success (both gstreamer and yavta wait forever the
> data from the V4L2 subsystem).
>
> Thanks in advance!
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Help required for TVP5151 on Overo
@ 2014-11-19  8:46 Francesco Marletta
  2014-11-19  9:15 ` Carlos Sanmartín Bustos
  0 siblings, 1 reply; 12+ messages in thread
From: Francesco Marletta @ 2014-11-19  8:46 UTC (permalink / raw)
  To: linux-media; +Cc: Laurent Pinchart

Hello to everyone,
I'd like to know who have used the TVP5151 video decoder with the OMAP3
Overo module.

I'm trying to have the processor to capture the video from a TVP5151
boarda, but without success (both gstreamer and yavta wait forever the
data from the V4L2 subsystem).

Thanks in advance!

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-02-06  9:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-07 13:50 Help required for TVP5151 on Overo Francesco Marletta
2014-11-19  8:46 Francesco Marletta
2014-11-19  9:15 ` Carlos Sanmartín Bustos
2014-11-19  9:33   ` Francesco Marletta
2014-12-01 23:41     ` Laurent Pinchart
2014-12-12 15:38       ` Francesco Marletta
2014-12-12 22:50         ` Laurent Pinchart
2014-12-22  9:44           ` Francesco Marletta
2015-01-29 16:46           ` Francesco Marletta
2015-02-05 14:29       ` Francesco Marletta
2015-02-05 14:57         ` Laurent Pinchart
2015-02-06  9:20           ` Francesco Marletta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).