View: 9168|Reply: 3

Orange pi câmera gc2035 works fine with v4l2

[Copy link]

1

threads

2

posts

14

credits

Novice

Rank: 1

credits
14
Published in 2016-4-6 10:34:40 | Show all floors |Read mode
Hi, i discovered and solved incompatible gc2035 driver with some v4l2 applications.

I made some modifications to the 3.4.39-02 kernel-lobo:

gc2035: of 8fps to ~20fps eand improvements in the matter of light.
The original driver accepts only 800×600, added the following resolutions: 800×600/640×480/320×240
sunxi_wdt: builtin to module (greater flexibility to change the module options) / pr_info some functions, causing flood in kern.log (switched to pr_debug)
CONFIG_CMDLINE=”earlyprintk=ttyS0,115200 loglevel=5 initcall_debug=0 console=ttyS0,115200 console=tty0 fsck.mode=force fsck.repair=yes init=/init ipv6.disable=1
kernel size: ~59mb

For more informations:

http://www.sistemasembarcados.or ... opback-vidcopy.html


62

threads

653

posts

5498

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5498
Published in 2016-4-20 09:18:54 | Show all floors
Thanks for yourr share!

0

threads

1

posts

22

credits

Novice

Rank: 1

credits
22
Published in 2016-5-10 22:07:04 | Show all floors
Please, help the beginner!
I try this:
root@OrangePI:/lib/modules/3.4.39-01-lobo# ls
build              modules.builtin      modules.devname  modules.symbols.bin
kernel             modules.builtin.bin  modules.order    source
modules.alias      modules.dep          modules.softdep
modules.alias.bin  modules.dep.bin      modules.symbols

root@OrangePI:/lib/modules/3.4.39-01-lobo# cd /home/orangepi/v4l2loopback

root@OrangePI:/home/orangepi/v4l2loopback# make && make install
Building v4l2-loopback driver...
make -C /lib/modules/`uname -r`/build M=/home/orangepi/v4l2loopback modules
make[1]: *** /lib/modules/3.4.39-01-lobo/build: No such file or directory.  Stop.
Makefile:42: recipe for target 'v4l2loopback.ko' failed
make: *** [v4l2loopback.ko] Error 2
but have error (make[1]: *** /lib/modules/3.4.39-01-lobo/build: No such file or directory. Stop.). How can I install
v4l2loopbackThanks

2

threads

3

posts

26

credits

Novice

Rank: 1

credits
26
Published in 2016-9-30 01:47:41 | Show all floors
can you update the link in your post, there is nothing at that link http://www.sistemasembarcados.or ... opback-vidcopy.html

it just brings up the main page of the site...
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list