Jump to content

saturn

Members
  • Posts

    2
  • Joined

  • Last visited

  1. Hi, this is an old post but if It's still of interesst I wrote an Howto regarding compiling media_build:
  2. Hi, This is my first post and I want to say thank you to all the developers and contributors of this great eco system. I've build an image for odroid xu4 with the openmediavault script. This is really great because the software packages and kernel ist up to date and running like a charm. Then I tried to get my DVB card working but that is work in progress. The card is not supported by the 4.9 Kernel and the usual way is to compile the media_build package from hier: https://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers But with an cross compiled system as armbian is, the build process against header files isn't working for me. There are posts from other users witch were in the same situation as I am (see reference at the end of my post) I tried against the header files and get an error "scripts/basic/fixdep: 1: scripts/basic/fixdep: Syntax error: "(" unexpected" (see http://paste.debian.net/950874/ ) I also tried against kernel source from the cross compiling system. I get this error: http://paste.debian.net/950875/ Any help is apriciated. Alexander ____________________________________________________________________________________________________________________________________________________________________________ It should work like this (but it's not) Compile a kernel on the cross compile computer (where you do the building of the image and the kernel) and compile a kernel _WITHOUT_ dvb- and sound-driver. Otherwise you will get double exported symbols when loading the drivers on the armbian system Install the kernel on the armbian system. Double check if in the /boot directory everything is correct. (On my system the links for kernel wasn't updated) Copy the source code of the running kernel from the building computer to the armbian system. Prepare the media_build directory as mentioned here (on the armbian system) https://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers Go to the media_build directory an tell media_build were the kernel source is located on the armbian system cd media_build make release make release DIR=/usr/src/your-directory Build media_build ./build Install the new drivers make install Check if everything is prepared to boot the new kernel (depmod -a), and reboot Look into dmesg and /var/log/syslog if there are errors regarding dvb dmesg | grep -i dvb cat /var/log/syslog | grep fail Enjoy
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines