View: 10013|Reply: 6

[OPI+] Linux Images with newer Kernel?

[Copy link]

1

threads

3

posts

28

credits

Novice

Rank: 1

credits
28
Published in 2015-11-23 18:16:50 | Show all floors |Read mode
Hallo all,

are there any Linux images for the OrangePi Plus available with a more uptodate Kernel than the 3.4x? The armbian vanilla kernel 4.2.3 doesn't seem to work on the OrangePi+. I need a minimum 3.7 as I need to attach a STK1160 based USB stick, whose driver a part of the 3.7 kernel upwards. (And I have no experiance to compile a kernel by myself)

Greetings

Carsten

0

threads

6

posts

120

credits

Registered member

Rank: 2

credits
120
Published in 2015-11-24 00:14:09 | Show all floors
Capture devices with this chip works with kernel 3.4.39. You must only compile module 'easycap.ko' and add in modules.
This is working module from loboris sourcess. Try copy in /libs/...kernel version.../kernel/drivers/staging/media/easycap/easycap.ko
execute:  depmod -a (from root or su).

1

threads

3

posts

28

credits

Novice

Rank: 1

credits
28
 Author| Published in 2015-11-24 03:29:30 | Show all floors
Hi,
thanks a lot for your support. A first quick try wasn't successful (version conflict error on boot). I could post a logfile later. Maybe it would be easier to know, which image works with this module, so I can reinstall the OP+.

0

threads

6

posts

120

credits

Registered member

Rank: 2

credits
120
Published in 2015-11-24 05:41:24 | Show all floors
Edited by chwor at 2015-11-24 05:53

Loboris kernel sourcess: https://github.com/loboris/OrangePI-Kernel.
My hardware is OrangePi PC with Debian 8 Jessie. I have compiled kernel version but for OrangePI 2, mini, PC.
If you use upgraded kernel Lobiris version (after execution 'upgrade_kernel.sh') you have another kernel with same number - 3.4.39.
I don't know where are sourcess for it.

Sory for my bad english.

1

threads

3

posts

28

credits

Novice

Rank: 1

credits
28
 Author| Published in 2015-11-26 17:10:07 | Show all floors
Hallo,
I can confirm, that the installation of the driver worked the way you described. Thanks for that.
At the weekend I will test, if the driver is working.....

0

threads

1

posts

38

credits

Novice

Rank: 1

credits
38
Published in 2016-10-4 22:12:56 | Show all floors
Edited by Diablo at 2016-10-4 22:14

on PC:
https://github.com/igorpecovnik/lib
Edit compile.sh and set
KERNEL_ONLY="yes"
KERNEL_CONFIGURE="yes"
./compile.sh
select your board, default kernel.
in kernel configuration:
device drivers -> multimedia support -> video for linux change (space) from "*" to "M", save and exit
copy kernel 3 debs (u-boot no need) from output dir to orange pi and upgrade (dpkg -i *)

on Orange PI:
(start is the same)
wget http://www.kernel.org/pub/linux/ ... rts-3.18.1-1.tar.xz
tar xvfJ backports-3.18.1-1.tar.xz
cd backports-3.18.1-1
make menuconfig
select only STK1160
and now little hack:
in file compat/backport-3.10.c remove get_random_int function (line 35-44)
make ARCH=arm
make install
depmod -a
modprobe STK1160


0

threads

10

posts

88

credits

Registered member

Rank: 2

credits
88
Published in 2017-3-24 06:33:20 | Show all floors
Hey, thief! This is my tutorial from armbian forum!
Next time please give at least my name or link. Or at least a "thank you" to write under post.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list