Moderator Control Panel ]

Kernel 3.x

Kernel 3.x

Postby imperia » Tue Nov 22, 2011 11:07 pm

Hello,

Today I bought QBOX III and I want to compile the drivers for my debian x86 wheezy (3.1.0 kernel).
Can somebody direct me where to start from?

I am installing the driver source and try to compile it following the instuction for Ubuntu:

Code: Select All Code
root@vmdebian:~/tbs/linux-tbs-drivers# ./v4l/tbs-x86_r3.sh
TBS drivers configured for x86_r3 platform.
root@vmdebian:~/tbs/linux-tbs-drivers# make
make -C /root/tbs/linux-tbs-drivers/v4l
make[1]: Entering directory `/root/tbs/linux-tbs-drivers/v4l'
No version yet, using 3.1.0-1-686-pae
make[1]: Leaving directory `/root/tbs/linux-tbs-drivers/v4l'
make[1]: Entering directory `/root/tbs/linux-tbs-drivers/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 3.1.0
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Leaving directory `/root/tbs/linux-tbs-drivers/v4l'
make[1]: Entering directory `/root/tbs/linux-tbs-drivers/v4l'
perl scripts/make_config_compat.pl /lib/modules/3.1.0-1-686-pae/source ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/root/tbs/linux-tbs-drivers/v4l/firmware'
make[2]: Leaving directory `/root/tbs/linux-tbs-drivers/v4l/firmware'
make -C firmware
make[2]: Entering directory `/root/tbs/linux-tbs-drivers/v4l/firmware'
  CC  ihex2fw
Generating vicam/firmware.fw
Generating dabusb/firmware.fw
Generating dabusb/bitstream.bin
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory `/root/tbs/linux-tbs-drivers/v4l/firmware'
Kernel build directory is /lib/modules/3.1.0-1-686-pae/build
make -C /lib/modules/3.1.0-1-686-pae/build SUBDIRS=/root/tbs/linux-tbs-drivers/v4l  modules
make[2]: Entering directory `/lib/modules/3.1.0-1-686-pae/build'
make[2]: *** No rule to make target `modules'.  Stop.
make[2]: Leaving directory `/lib/modules/3.1.0-1-686-pae/build'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/tbs/linux-tbs-drivers/v4l'
make: *** [all] Error 2


This is the error I am getting. What I am doing wrong?

Thanks
imperia
 
Posts: 41
Joined: Tue Nov 22, 2011 10:21 pm

Re: Kernel 3.x

Postby SergioDanielG » Wed Nov 23, 2011 12:28 am

It's like you haven't got linux headers. Try install it before compile the driver.

Best regards.
SergioDanielG
 
Posts: 356
Joined: Tue May 31, 2011 3:53 am
Location: Tostado (SF) Argentina

Re: Kernel 3.x

Postby imperia » Wed Nov 23, 2011 1:29 am

I think this is not the problem as I already have installed this package:

linux-headers-3.1.0-1-686-pae

PS. Strange! I have reinstalled my debian to wheezy and i just run:

Code: Select All Code
apt-get install linux-headers-$(uname -r)
apt-get install kernel-package

And drivers compiled succesfully.
imperia
 
Posts: 41
Joined: Tue Nov 22, 2011 10:21 pm

QboxII whis Dreambox Kernel 2 6 18 posible

Postby grusla » Sun Dec 18, 2011 11:07 am

Now i restart my linux box and the kernel/hotplug have not load the eagle-usb module, the pc start corectly, but the led about the ADSL sincro dont start.
Can i do? If i copile the driver, all go ok
grusla
 
Posts: 1
Joined: Thu Dec 15, 2011 2:39 am
Location: Antigua and Barbuda


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron