-
Notifications
You must be signed in to change notification settings - Fork 83
Home
If you have any any questions, please send an email to [email protected]. Your comments and advice will be highly appreciated.
git clone https://github.com/tbsdtv/media_build.git
git clone --depth=1 https://github.com/tbsdtv/linux_media.git -b latest ./media
cd media_build
make dir DIR=../media
make allyesconfig
make -j4
sudo make install
sudo reboot
wget http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v1.0.tar.bz2
sudo tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/
~ $ cd media
~/media $ git remote update
~/media $ git pull
~/media $ cd ../media_build
~/media_build $ git remote update
~/media_build $ git pull
~/media_build $ make
~/media_build $ sudo make install
(now you can reboot or unload/reload modules manually:)
~/media_build $ sudo reboot
If you build fails with the message
Can't locate Proc/ProcessTable.pm in @INC (you may need to install the Proc::ProcessTable module)
Install the missing perl module
sudo apt-get install libproc-processtable-perl
-
/bin/sh: 1: lsdiff: not found
sudo apt-get install patchutils
-
you may need to install the Proc::ProcessTable module
sudo apt-get install libproc-processtable-perl
-
fatal error: drx39xyj/drx39xxj.h: No such file or directory
mkdir -p v4l/drx39xyj cp v4l/drx39xxj.h v4l/drx39xyj/
-
Can not find the 6909 firmware
wget http://www.tbsdtv.com/download/document/linux/dvb-fe-mxl5xx.fw cp dvb-fe-mxl5xx.fw /lib/firmware/
-
If you find module load errors like "module has wrong symbol version", this means that there still are old modules from your previous Media Tree installation (usually duplicated modules in two different places).
sudo rm -rf /lib/modules/``uname -r``/kernel/drivers/media/*
-
Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install gcc-4.9 g++-4.9 sudo rm /usr/bin/gcc sudo ln -s /usr/bin/gcc-4.9 /usr/bin/gcc
-
make[2]: gcc: Command not found
sudo apt-get install gcc
-
Update to new kernel
#rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org #rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm #yum --enablerepo=elrepo-kernel install kernel-lt-devel kernel-lt -y #grub2-set-default 0
-
Restart to load the new kernel and install gcc unzip
#yum -y install gcc #yum -y install unzip #reboot
-
Install required libraries
#yum -y install perl-devel perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker #yum -y install patchutils #yum -y install patch
-
Install the SHA
#wget https://sourceforge.net/projects/moiproamd/files/Files/Digest-SHA-5.93.tar.gz/download -O Digest-SHA-5.93.tar.gz #tar xvf Digest-SHA-5.93.tar.gz #cd Digest-SHA-5.93 #perl Makefile.PL #make && make install
-
Install Perl
#wget https://sourceforge.net/projects/moiproamd/files/Files/perl-proc-processtable-master.zip/download -O perl-proc-processtable-master.zip #unzip perl-proc-processtable-master.zip #cd perl-proc-processtable-master #perl Makefile.PL #make && make install
-
Start install the open source driver, then start install the driver.
uname -r to get the kernel version
# uname -r
4.9.0-8-amd64
# apt-get install linux-headers-4.9.0-8-amd64
Then start install the driver
zypper install gcc make git kernel-source patchutils perl-Proc-ProcessTable
Then continue the installation
- TBS690A
- TBS6301
- TBS6304
- TBS6314
- TBS6922
- TBS6922SE
- TBS6902
- TBS6903
- TBS6980
- TBS6981
- TBS6982
- TBS6983
- TBS6984
- TBS6985
- TBS6904
- TBS6905
- TBS6908
- TBS6909
- TBS6991SE
- TBS6910
- TBS5920
- TBS5922
- TBS5922SE
- TBS5925
- TBS5927
- TBS5980
- TBS5990
- TBS8922
- TBS6220
- TBS6221
- TBS6280
- TBS6281
- TBS6281SE
- TBS6284
- TBS6285
- TBS6290SE
- TBS6205
- TBS6209
- TBS7220
- TBS5220
- TBS5880
- TBS5881
- TBS5280
- TBS5281
- TBS6704
- TBS6814
- TBS6522
- TBS6528
- TBS6590
- TBS6504
- TBS5520SE
- TBS5580
- TBS5590
Please refer to LinuxTV wiki page for more info about the build process: LinuxTV Wiki
In addition to following the above instructions, TBS6980/1/4 owners will need to put a copy of the CX24117 firmware in /lib/firmware/