Re: [linux-sunxi] Using usbtv driver on A20

2015-07-28 Thread webertakaki
Hi Armando,

I'm having the same issues you had trying to load the usbtv kernel 
module into a Sunxi Linux system (A20-based Cubieboard2).

How did you manage to cross-compile and load the backport drivers to 
the target kernel?  I'm doing precisely the same steps you mention, but my 
backport drivers are build for my host machine (ubuntu x86), instead of my 
target machine (ARM)?

Here is the modinfo output from a cross-compiled driver 
(sunxi_cedar_mod.ko) from my kernel sources:

version:0.01alpha
license:GPL
description:User mode CEDAR device interface
author: Soft-Allwinner
srcversion: DF883A231D91233BDAC03C7
depends:
intree: Y
vermagic:   3.4.103-g9a1cd03-dirty SMP preempt mod_unload modversions 
ARMv7 p2v8 
parm:   g_dev_major:int
parm:   g_dev_minor:int


And here is the output from a cross-compiled backport driver 
(v4l2-common.ko):

license:GPL
description:misc helper functions for v4l2 device drivers
author: Bill Dirks, Justin Schoeman, Gerd Knorr
srcversion: 2E58A890BED986B84F9BF18
depends:videodev
vermagic:   3.13.0-53-generic SMP mod_unload modversions 

If you could share some ideas on how to overcome this, I would very 
much appreciate.

Thanks in advance.
Weber



Em segunda-feira, 5 de maio de 2014 04:29:39 UTC-3, hmand...@gmail.com 
escreveu:
>
> Hi Julian,
>
> > Firstly, you _must_ supply more information than this
> sorry, i using debian wheezy in a virtual machine to build linux-sunxi 
> kernel and modules. I using kernel 3.4.67+ (from stable sunxi-3.4) and 
> backports-3.13.2-1.
>
> i setup build as follow:
> $ set -a
> $ CROSS_COMPILE=arm-linux-gnueabihf-
> $ ARCH=arm
> $ KLIB_BUILD=/home/debian/a20_kernel_3.4/linux-sunxi
> $ KLIB=/lib/modules/3.4.67+
> $ set +a
>
> $ make menuconfig: 
>Multimedia support > Cameras/video grabbers support
>Multimedia support > Media USB Adapters > USBTV007 video capture support
>
> $ make
>
> this is make result:
> http://pastebin.com/raw.php?i=MsSstVCZ
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Using usbtv driver on A20

2014-05-05 Thread hmandevteam
Hi Julian,

> Firstly, you _must_ supply more information than this
sorry, i using debian wheezy in a virtual machine to build linux-sunxi kernel 
and modules. I using kernel 3.4.67+ (from stable sunxi-3.4) and 
backports-3.13.2-1.

i setup build as follow:
$ set -a
$ CROSS_COMPILE=arm-linux-gnueabihf-
$ ARCH=arm
$ KLIB_BUILD=/home/debian/a20_kernel_3.4/linux-sunxi
$ KLIB=/lib/modules/3.4.67+
$ set +a

$ make menuconfig: 
   Multimedia support > Cameras/video grabbers support
   Multimedia support > Media USB Adapters > USBTV007 video capture support

$ make

this is make result:
http://pastebin.com/raw.php?i=MsSstVCZ




-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Using usbtv driver on A20

2014-05-04 Thread Julian Calaby
Hi,

On Sun, May 4, 2014 at 3:11 AM,   wrote:
> Hi,
> now i follow all the instructions (i missed to set KLIB_BUILD) and builded 
> drivers (usbtv). it also builded videobuf2 and videodev.ko and compact.
> So i tryed to use it on A20 with 3.4 kernel but probably there is some of 
> symbols in videodev that are already specified in main kernel, it load only 
> compact module

Firstly, you _must_ supply more information than this. At the very
least you need to supply the log messages that happened when you tried
to do this.

Are you building your own kernel as well? Why not disable all the
video components in it and try again?

Thanks,

-- 
Julian Calaby

Email: julian.cal...@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Using usbtv driver on A20

2014-05-03 Thread info
Hi,
now i follow all the instructions (i missed to set KLIB_BUILD) and builded 
drivers (usbtv). it also builded videobuf2 and videodev.ko and compact.
So i tryed to use it on A20 with 3.4 kernel but probably there is some of 
symbols in videodev that are already specified in main kernel, it load only 
compact module

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Using usbtv driver on A20

2014-04-30 Thread Julian Calaby
Hi,

On Thu, May 1, 2014 at 1:00 AM,   wrote:
> Hi Julian,
> i tryed to build using:
>
> debian@debian:~/Scaricati/backports-3.11.8-1$ make ARCH=arm 
> CROSS_COMPILE=arm-linux-gnueabihf- LINUXDIR=~/a20_kernel_3.4/linux-sunxi
> /usr/src/linux-headers-3.2.0-4-common/arch/x86/Makefile:81: stack protector 
> enabled but no compiler support
>   CC [M]  /home/debian/Scaricati/backports-3.11.8-1/compat/main.o
> cc1: error: unrecognized command line option ‘-m64’
> cc1: error: unrecognized command line option ‘-mno-red-zone’
> cc1: error: unrecognized command line option ‘-mcmodel=kernel’
> cc1: error: unrecognized command line option ‘-maccumulate-outgoing-args’
> make[8]: *** [/home/debian/Scaricati/backports-3.11.8-1/compat/main.o] Error 1
> make[7]: *** [/home/debian/Scaricati/backports-3.11.8-1/compat] Error 2
> make[6]: *** [_module_/home/debian/Scaricati/backports-3.11.8-1] Error 2
> make[5]: *** [sub-make] Error 2
> make[4]: *** [all] Error 2
> make[3]: *** [modules] Error 2
> make[2]: *** [modules] Error 2
> make[1]: *** [modules] Error 2
> make: *** [default] Error 2
>
>
> could you help me ?

I linked to a particular page in my last email. Have you read all of
it? There are instructions on how to cross-compile there.

Thanks,

-- 
Julian Calaby

Email: julian.cal...@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Using usbtv driver on A20

2014-04-30 Thread info
Hi Julian,
i tryed to build using:

debian@debian:~/Scaricati/backports-3.11.8-1$ make ARCH=arm 
CROSS_COMPILE=arm-linux-gnueabihf- LINUXDIR=~/a20_kernel_3.4/linux-sunxi
/usr/src/linux-headers-3.2.0-4-common/arch/x86/Makefile:81: stack protector 
enabled but no compiler support
  CC [M]  /home/debian/Scaricati/backports-3.11.8-1/compat/main.o
cc1: error: unrecognized command line option ‘-m64’
cc1: error: unrecognized command line option ‘-mno-red-zone’
cc1: error: unrecognized command line option ‘-mcmodel=kernel’
cc1: error: unrecognized command line option ‘-maccumulate-outgoing-args’
make[8]: *** [/home/debian/Scaricati/backports-3.11.8-1/compat/main.o] Error 1
make[7]: *** [/home/debian/Scaricati/backports-3.11.8-1/compat] Error 2
make[6]: *** [_module_/home/debian/Scaricati/backports-3.11.8-1] Error 2
make[5]: *** [sub-make] Error 2
make[4]: *** [all] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make: *** [default] Error 2


could you help me ?

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Using usbtv driver on A20

2014-04-28 Thread Julian Calaby
Hi Armando,

On Tue, Apr 29, 2014 at 12:24 AM,   wrote:
> Hi Julian,
> thanks for your reply, i would like to try it but i would like to have some 
> steps to follow to use it.

https://backports.wiki.kernel.org/index.php/Documentation

This is literally the third link on the page I sent you to.

Thanks,

-- 
Julian Calaby

Email: julian.cal...@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Using usbtv driver on A20

2014-04-28 Thread hmandevteam
Hi Julian,
thanks for your reply, i would like to try it but i would like to have some 
steps to follow to use it.

regards
Armando

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Using usbtv driver on A20

2014-04-24 Thread Julian Calaby
Hi Armando,

On Thu, Apr 24, 2014 at 4:49 PM,   wrote:
> Hi all,
> i trying from some months to find a solution to use this driver on my A20. 
> I'm also waiting for next stable kernel release but nobody knows when it will 
> be released.
>
> I tryed also to use sunxi-next branch without success. Could be possible a 
> way to build usbtv driver (present from kernel 3.11) on 3.4 ?

Have you tried the Backports project?

https://backports.wiki.kernel.org/index.php/Main_Page

Thanks,

-- 
Julian Calaby

Email: julian.cal...@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Using usbtv driver on A20

2014-04-23 Thread hmandevteam
Hi all,
i trying from some months to find a solution to use this driver on my A20. I'm 
also waiting for next stable kernel release but nobody knows when it will be 
released.

I tryed also to use sunxi-next branch without success. Could be possible a way 
to build usbtv driver (present from kernel 3.11) on 3.4 ?

regards
Armando

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.