Moderator Control Panel ]

How to compile drivers of TBS5881 for RPI

How to compile drivers of TBS5881 for RPI

Postby Newtman » Mon Oct 12, 2015 11:05 am

Hi there, I actually own a Raspberry Pi 2 and a TBS5881 usb dvbc/t tuner, I already tryed to use my TBS with the raspberry pi without success, i know that there are not specific drivers por ARM architecture, but I have seen out there some posts that claims to be using the RPI with the TBS without problems, does anybody have an idea of how could i compile these drivers to make my TBS work with the RPI?

When I send “make” command i get:

Preparing to compile for kernel version 4.1.7 File not found: /lib/modules/4.1.7-v7+/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4. Updating/Creating .config

thanks in advance!
Newtman
 
Posts: 21
Joined: Wed Jan 08, 2014 9:12 pm

Re: How to compile drivers of TBS5881 for RPI

Postby birry » Thu Oct 29, 2015 10:54 pm

I could advance following this tuto

but when i do make i get this: https://github.com/ljalves/linux_media/ ... stallating


root@raspberrypi:~/media_build# make
make -C /root/media_build/v4l
make[1]: Entering directory '/root/media_build/v4l'
No version yet, using 4.1.7-v7+
scripts/make_makefile.pl
Updating/Creating .config
make[2]: Entering directory '/root/media_build/linux'
Syncing with dir ../../media
Applying patches for kernel 4.1.7-v7+
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/debug.patch
patch -s -f -N -p1 -i ../backports/drx39xxj.patch
Patched drivers/media/dvb-core/dvbdev.c
Patched drivers/media/v4l2-core/v4l2-dev.c
Patched drivers/media/rc/rc-main.c
Syncing with dir ../../media
make[2]: Leaving directory '/root/media_build/linux'
Preparing to compile for kernel version 4.1.7

***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.

If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.

Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:

cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install

Please see your distro's web site for instructions to build a new kernel.

WARNING: This is the V4L/DVB backport tree, with experimental drivers
backported to run on legacy kernels from the development tree at:
http://git.linuxtv.org/media-tree.git.
It is generally safe to use it for testing a new driver or
feature, but its usage on production environments is risky.
Don't use it in production. You've been warned.
Created default (all yes) .config file
./scripts/make_myconfig.pl
perl scripts/make_config_compat.pl /lib/modules/4.1.7-v7+/build ./.myconfig ./config-compat.h
File not found: /lib/modules/4.1.7-v7+/build/include/linux/netdevice.h at scripts/make_config_compat.pl line 15.
Makefile:263: recipe for target 'config-compat.h' failed
make[1]: *** [config-compat.h] Error 2
make[1]: Leaving directory '/root/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2


any ideas?
birry
 
Posts: 4
Joined: Mon Oct 12, 2015 10:54 am


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron