Siduction Forum

Siduction Forum => Hardware - Support => Thema gestartet von: ralfi in 2013/12/20, 14:11:14

Titel: DVBSKY T680C USB DVB-C/T Box Kernelmodul bauen
Beitrag von: ralfi in 2013/12/20, 14:11:14

Hallo allesamt,
ich beschäftige mich derzeit mit dem Bau eines DVB-C VDR und habe mir zu diesem Zweck eine DVBSKY T680C USB Bix zugelegt. Nach diesem Link hier:

http://www.linuxtv.org/wiki/index.php/DVBSKY_T680C (http://www.linuxtv.org/wiki/index.php/DVBSKY_T680C)

soll die unter Linux gut funktionieren. Und der hersteller wirbt auch damit, Firmware zur Verfügung zu stellen

Auf der Webseite

http://www.dvbsky.net/Support.html (http://www.dvbsky.net/Support.html)

gibt es sogar fertig gebaute Firmware zum freien Download, nur geht die bei meinem towo.3.12 Kernel nicht.

Dann habe ich auf dieser Seite auch gelesen, dass es ein herstellereigenes media_build_bst_130806 zum Download gibt, welches für Kernel 3.5.x - 3.11.1 verwendet werden kann. Also habe ich mir den towo-Kernel 3.11.1 mit Kernel-Sourcen installiert und versucht, die Firmware lt. Anleitung mit dem Skript ./build zu bauen.

Diese bricht aber beim beim Bauen in der Datei bttv-input.c ab mit: error: void value not ignored as it out to be

Die USB-ID ist "0572:680c" und das Device selbst wird auf meheren Geräte richtig erkannt.

Nun habe ich im Build-Skript patchen wirklich keinen Schimmer. Wie sollte ich hier weiter vorgehen damit ich das gebacken bekomme?

Titel: Re: DVBSKY T680C USB DVB-C/T Box Kernelmodul bauen
Beitrag von: ralfi in 2013/12/22, 18:12:52
Och nee, das geht nicht, es ist zum Mäuse melken. Was läuft hier nur falsch?

Es scheint alles sehr gut anzulaufen

make all
make -C /root/media_build-bst/v4l all
make[1]: Entering directory `/root/media_build-bst/v4l'
No version yet, using 3.12-2.towo-siduction-amd64
make[1]: Leaving directory `/root/media_build-bst/v4l'
make[1]: Entering directory `/root/media_build-bst/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 3.12.2
***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
make[1]: Leaving directory `/root/media_build-bst/v4l'
make[1]: Entering directory `/root/media_build-bst/v4l'
perl scripts/make_config_compat.pl /lib/modules/3.12-2.towo-siduction-amd64/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/root/media_build-bst/v4l/firmware'
ln: failed to access '../../linux/firmware/dabusb//*': No such file or directory
make[2]: Leaving directory `/root/media_build-bst/v4l/firmware'
make -C firmware
make[2]: Entering directory `/root/media_build-bst/v4l/firmware'
  CC  ihex2fw
Generating vicam/firmware.fw
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory `/root/media_build-bst/v4l/firmware'
Kernel build directory is /lib/modules/3.12-2.towo-siduction-amd64/build
make -C /lib/modules/3.12-2.towo-siduction-amd64/build SUBDIRS=/root/media_build-bst/v4l  modules
make[2]: Entering directory `/usr/src/linux-headers-3.12-2.towo-siduction-amd64'
  CC [M]  /root/media_build-bst/v4l/altera-lpt.o
  CC [M]  /root/media_build-bst/v4l/altera-jtag.o
  CC [M]  /root/media_build-bst/v4l/altera-comp.o
  CC [M]  /root/media_build-bst/v4l/altera.o
  CC [M]  /root/media_build-bst/v4l/au0828-core.o
  CC [M]  /root/media_build-bst/v4l/au0828-i2c.o
  CC [M]  /root/media_build-bst/v4l/au0828-cards.o




um dann irgendwann abzuwürgen:



CC [M]  /root/media_build-bst/v4l/saa7164-encoder.o
  CC [M]  /root/media_build-bst/v4l/saa7164-vbi.o
  CC [M]  /root/media_build-bst/v4l/radio-shark2.o
  CC [M]  /root/media_build-bst/v4l/radio-tea5777.o
make[3]: *** Keine Regel vorhanden, um das Target »/root/media_build-bst/v4l/sit2.o«,
  benötigt von »/root/media_build-bst/v4l/msp3400.o«, zu erstellen.  Schluss.
make[2]: *** [_module_/root/media_build-bst/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.12-2.towo-siduction-amd64'
make[1]: *** [default] Fehler 2
make[1]: Leaving directory `/root/media_build-bst/v4l'
make: *** [all] Fehler 2