Moderator Control Panel ]

MoiPro Ubuntu 12.04 debug release

MoiPro Ubuntu 12.04 debug release

Postby riedelralf » Wed Dec 03, 2014 3:46 pm

Successfully installed but:
PCI Bridge =OK
I have 2 TBS 6985 installed and need to compile the modules but:
1) The new drivers from Download sections are only prepared for x86 and 64 PC machines, no ARM support.
2) grapped older versions
Kernel: 3.0.35-2666-gbdde708
linaro@linaro-ubuntu-desktop:~$ ls -al /dev/dvb
total 56
drwxr-xr-x 10 root root 4096 Jan 1 1970 .
drwxr-xr-x 13 root root 20480 Dec 2 15:24 ..
drwxr-xr-x 2 root root 4096 Jan 1 1970 adapter0
drwxr-xr-x 2 root root 4096 Jan 1 1970 adapter1
drwxr-xr-x 2 root root 4096 Jan 1 1970 adapter2
drwxr-xr-x 2 root root 4096 Jan 1 1970 adapter3
drwxr-xr-x 2 root root 4096 Jan 1 1970 adapter4
drwxr-xr-x 2 root root 4096 Jan 1 1970 adapter5
drwxr-xr-x 2 root root 4096 Jan 1 1970 adapter6
drwxr-xr-x 2 root root 4096 Jan 1 1970 adapter7
linaro@linaro-ubuntu-desktop:~$ lspci -v | grep --after-context=10 7160
03:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 02)
Subsystem: Device 6985:0002
Flags: bus master, fast devsel, latency 0, IRQ 154
Memory at 01200000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel driver in use: SAA716x TBS

04:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 02)
Subsystem: Device 6985:0002
Flags: bus master, fast devsel, latency 0, IRQ 153
Memory at 01300000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel driver in use: SAA716x TBS
Shows: Need modules to built
SO found the hints an do:
git clone git://linuxtv.org/media_build.git
Cloning into 'media_build'...
remote: Counting objects: 2602, done.
remote: Compressing objects: 100% (985/985), done.
remote: Total 2602 (delta 1819), reused 2260 (delta 1577)
Receiving objects: 100% (2602/2602), 517.54 KiB, done.
Resolving deltas: 100% (1819/1819), done.
linaro@linaro-ubuntu-desktop:~$ git clone --depth=1 https://github.com/ljalves/linux_media.git -b latest ./media
Cloning into './media'...

cd into it..

linaro@linaro-ubuntu-desktop:~/media_build$ make dir DIR=../media
make -C linux/ dir DIR="../../media"
make[1]: Entering directory `/home/linaro/media_build/linux'
rm -rf drivers firmware include sound .patches_applied .linked_dir .git_log.md5 git_log kernel_version.h
/bin/sh: 1: lsdiff: not found
make[1]: *** [dir] Error 127
make[1]: Leaving directory `/home/linaro/media_build/linux'
make: *** [dir] Error 2

---shit---

linaro@linaro-ubuntu-desktop:~/media_build$ make
...
Preparing to compile for kernel version 3.0.35
File not found: /lib/modules/3.0.35-2666-gbdde708/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
...
linaro@linaro-ubuntu-desktop:~/media_build$ sudo zcat /proc/config.gz > .config
... copied to build directory...

linaro@linaro-ubuntu-desktop:~/media_build$ make
make -C /home/linaro/media_build/v4l
Opening /proc/modules: No such file or directory
make[1]: Entering directory `/home/linaro/media_build/v4l'
Updating/Creating .config
make[2]: Entering directory `/home/linaro/media_build/linux'
Patches for 3.0.35-2666-gbdde708 already applied.
make[2]: Leaving directory `/home/linaro/media_build/linux'
Preparing to compile for kernel version 3.0.35
You appear to have loadable modules turned off in your kernel. You can
not compile the v4l-dvb drivers, as modules, and use them with a kernel
that has modules disabled.

If you want to compile these drivers into your kernel, you should
use 'make kernel-links' to link the source for these drivers into
your kernel tree. Then configure and compile the kernel.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'. Stop.
make[1]: Leaving directory `/home/linaro/media_build/v4l'
make: *** [all] Error 2
--------------------------------------------------------------so please next time you deploy a kernel, enable the f***ing loadable module support!

make kernel-links results in a lot of messages and doesn't work so far....
This is again a try and error release...

:twisted:
riedelralf
 
Posts: 17
Joined: Thu Oct 09, 2014 5:19 pm

Return to MOI Pro

Who is online

Users browsing this forum: No registered users and 7 guests