Moderator Control Panel ]

Debian 9 Driver building

It's important to keep your driver and software updated.

Debian 9 Driver building

Postby georg » Thu Dec 19, 2019 6:55 am

i have a big problem with building the driver
###########################
4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 GNU/Linux
###########################
make -j4
make -C /home/xxx/tbsdriver/media_build/v4l
make[1]: Entering directory '/home/xxx/tbsdriver/media_build/v4l'
Updating/Creating .config
make[2]: Entering directory '/home/xxx/tbsdriver/media_build/linux'
make[2]: Entering directory '/home/xxx/tbsdriver/media_build/linux'
Syncing with dir ../../media
Syncing with dir ../../media
Patches for 4.9.0-11-amd64 already applied.
make[2]: Leaving directory '/home/xxx/tbsdriver/media_build/linux'
./scripts/make_kconfig.pl /lib/modules/4.9.0-11-amd64/build /lib/modules/4.9.0-11-amd64/build
Patches for 4.9.0-11-amd64 already applied.
make[2]: Leaving directory '/home/xxx/tbsdriver/media_build/linux'
Preparing to compile for kernel version 4.9.0
File not found: /lib/modules/4.9.0-11-amd64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
Preparing to compile for kernel version 4.9.0
File not found: /lib/modules/4.9.0-11-amd64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** No rule to make target '.config', needed by '.myconfig'. Stop.
make[1]: Leaving directory '/home/xxx/tbsdriver/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2


###################
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
################

have they any idea???????
georg
 
Posts: 12
Joined: Sun Oct 06, 2019 5:25 pm

Re: Debian 9 Driver building

Postby zhangchao » Thu Dec 19, 2019 9:38 am

For Debian please try this
uname -r to get the kernel version

# uname -r
4.9.0-8-amd64
# apt-get install linux-headers-4.9.0-8-amd64
zhangchao
 
Posts: 39
Joined: Thu Jan 17, 2013 4:59 pm

Re: Debian 9 Driver building

Postby steven » Thu Dec 19, 2019 9:43 am

Hi

For Debian please try this
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 try this package :
# wget http://www.tbsdtv.com/download/document/linux/media_build-2019-11-01.tar.bz2
# sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
#tar jxvf media_build-2019-11-01.tar.bz2
#cd media_build
#./install.sh
#reboot

Thanks

Kind regards

steven
steven
 
Posts: 2074
Joined: Fri Aug 06, 2010 3:23 pm

Re: Debian 9 Driver building

Postby georg » Thu Dec 19, 2019 5:27 pm

steven Wrote:Hi

For Debian please try this
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 try this package :
# wget http://www.tbsdtv.com/download/document/linux/media_build-2019-11-01.tar.bz2
# sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
#tar jxvf media_build-2019-11-01.tar.bz2
#cd media_build
#./install.sh
#reboot

Thanks

Kind regards

steven


thanks Steven,

linux-headers is up2date:
root@xxx02:/home/xxx# uname -r
4.9.0-11-amd64
root@xxx:/home/xxx# apt install linux-headers-4.9.0-11-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-4.9.0-11-amd64 is already the newest version (4.9.189-3+deb9u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Build faild
georg
 
Posts: 12
Joined: Sun Oct 06, 2019 5:25 pm

Re: Debian 9 Driver building

Postby georg » Thu Dec 19, 2019 5:33 pm

Error1.png
steven Wrote:Hi

For Debian please try this
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 try this package :
# wget http://www.tbsdtv.com/download/document/linux/media_build-2019-11-01.tar.bz2
# sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
#tar jxvf media_build-2019-11-01.tar.bz2
#cd media_build
#./install.sh
#reboot

Thanks

Kind regards

steven
georg
 
Posts: 12
Joined: Sun Oct 06, 2019 5:25 pm

Re: Debian 9 Driver building

Postby georg » Thu Dec 19, 2019 5:34 pm

georg Wrote:
The attachment Error1.png is no longer available
steven Wrote:Hi

For Debian please try this
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 try this package :
# wget http://www.tbsdtv.com/download/document/linux/media_build-2019-11-01.tar.bz2
# sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
#tar jxvf media_build-2019-11-01.tar.bz2
#cd media_build
#./install.sh
#reboot

Thanks

Kind regards

steven
Attachments
Error2.png
georg
 
Posts: 12
Joined: Sun Oct 06, 2019 5:25 pm

Re: Debian 9 Driver building

Postby georg » Thu Dec 19, 2019 5:36 pm

Error3.pnp
Attachments
Error3.png
georg
 
Posts: 12
Joined: Sun Oct 06, 2019 5:25 pm

Re: Debian 9 Driver building

Postby georg » Thu Dec 19, 2019 5:37 pm

georg Wrote:Error3.pnp

Error 4
Attachments
Error4.png
georg
 
Posts: 12
Joined: Sun Oct 06, 2019 5:25 pm

Re: Debian 9 Driver building

Postby georg » Thu Dec 19, 2019 5:39 pm

zhangchao Wrote:For Debian please try this
uname -r to get the kernel version

# uname -r
4.9.0-8-amd64
# apt-get install linux-headers-4.9.0-8-amd64


Thanks Zhangchao,

I did it
georg
 
Posts: 12
Joined: Sun Oct 06, 2019 5:25 pm

Re: Debian 9 Driver building

Postby georg » Thu Dec 19, 2019 11:36 pm

has anybody an idea????
georg
 
Posts: 12
Joined: Sun Oct 06, 2019 5:25 pm

Next

Return to Driver & Software Update

Who is online

Users browsing this forum: No registered users and 2 guests