please choosego to mobile | Continue to access the PC version
View: 8345|Reply: 6

backports compat-wireless

[Copy link]

15

threads

105

posts

387

credits

Intermediate member

Rank: 3Rank: 3

credits
387
Published in 2016-2-8 06:19:22 | Show all floors |Read mode
Has anybody suceeded in setting up backports compat-wireless, compat-drivers ?
http://drvbp1.linux-foundation.org/~mcgrof/rel-html/backports/

The concept is interesting to reuse old devices with the new boards. So far I haven't succeded:
root@OrangePI:/usr/src# cd backports-4.2.6-1

root@OrangePI:/usr/src/backports-4.2.6-1# make defconfig-wifi
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer   -c -o conf.o conf.c
conf.c:6:20: fatal error: locale.h: No such file or directory
#include <locale.h>
                    ^
compilation terminated.
<builtin>: recipe for target 'conf.o' failed
make[2]: *** [conf.o] Error 1
Makefile.real:41: recipe for target 'defconfig-wifi' failed
make[1]: *** [defconfig-wifi] Error 2
Makefile:40: recipe for target 'defconfig-wifi' failed
make: *** [defconfig-wifi] Error 2


I was trying alternatively to build the old driver for RTL-8187
http://www.aircrack-ng.org/doku.php?id=r8187

Errors :
root@OrangePI:/usr/src/rtl8187_linux_26.1010.0622.2006# make ARCH=arm CROSS_COMPILE= -C /lib/modules/$(uname -r)/build M=/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187 modules
make: Entering directory '/usr/src/trunk/linux-3.4'
  CC [M]  /usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.o
gcc: error: -mfloat-abi=soft and -mfloat-abi=hard may not be used together
scripts/Makefile.build:307: recipe for target '/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.o' failed
make[1]: *** [/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.o] Error 1
Makefile:1365: recipe for target '_module_/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187' failed
make: *** [_module_/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187] Error 2
make: Leaving directory '/usr/src/trunk/linux-3.4'
make[2]: Leaving directory '/usr/src/trunk/linux-3.4'
make[1]: Leaving directory '/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187'

2

threads

94

posts

573

credits

Senior member

Rank: 4

credits
573
Published in 2016-2-8 10:05:23 | Show all floors
Before trying any of these could you please try with the latest openelec image and see if your wifi device is detected?

15

threads

105

posts

387

credits

Intermediate member

Rank: 3Rank: 3

credits
387
 Author| Published in 2016-2-9 06:51:37 | Show all floors
What an openelec image is? Where could it be found? I downloaded images from  orangepi.org downloads resource.

11

threads

286

posts

1895

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1895
Published in 2016-2-9 19:37:57 | Show all floors
y52 replied at 2016-2-9 06:51
What an openelec image is? Where could it be found? I downloaded images from  orangepi.org downloads ...

from forum,section openelec

4

threads

52

posts

284

credits

Intermediate member

Rank: 3Rank: 3

credits
284
Published in 2016-2-12 19:59:03 | Show all floors
In my humble opinion this is the "Device drivers(GPU&VPU)" section.

2

threads

144

posts

992

credits

Senior member

Rank: 4

credits
992
Published in 2016-2-12 22:51:04 | Show all floors
I did compile backports 4.1.1, added the mt7601u too. I had to patch some things and there are a few more kinks to work out still, but it's doable. Newer backports would require a lot more work due to using the new crypto-functions which have not been backported.

15

threads

105

posts

387

credits

Intermediate member

Rank: 3Rank: 3

credits
387
 Author| Published in 2016-2-13 05:00:35 | Show all floors
Could you post the log of your compilation stages?
I was unable to build it on a fresh Debian image. I am more get used to Fedora and Kali and would like to use them instead.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list