Page 1 of 2

Ubuntu 1404 development release problems

PostPosted: Thu Nov 20, 2014 10:16 pm
by riedelralf
Hi,

i already have managed to install the new 'beta' release with MfG tools
root@tbs:~# uname -a
Linux tbs 3.10.17 #2 SMP PREEMPT Tue Jun 3 17:20:42 CST 2014 armv7l armv7l armv7l GNU/Linux
kernel.
Updated system, added some missing repositories, ... changed locales etc by installing some more tools like console-data and so on...
Whats missing:
- Vivante GPU support
- No WIFI support because the damned Realtek RTL817x driver is missing for RTL8188EUS (BUS 001 DEV 005: ID 0bda:8179)
- No PCIe support -> Needed for using TBS PCIe SAT-Tuner cards
- No chance to compile the TBS driver/modules for i.e. TBS USB devices or any other necessary hw

Here the make 'replies' after downloading the 'new' TBS sources from the web, unzipped and copied firmwares to lib/firmware:
root@tbs:~/Downloads/linux-tbs-drivers# make
make -C /root/Downloads/linux-tbs-drivers/v4l
make[1]: Betrete Verzeichnis '/root/Downloads/linux-tbs-drivers/v4l'
Updating/Creating .config
Preparing to compile for kernel version 3.10.17
File not found: /lib/modules/3.10.17/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** Keine Regel vorhanden, um das Target ».myconfig«,
benötigt von »config-compat.h«, zu erstellen. Schluss.
make[1]: Verlasse Verzeichnis '/root/Downloads/linux-tbs-drivers/v4l'
make: *** [all] Fehler 2

# sorry for the german language posts.

checked the modules folder:
built -link is missing ... F***

So where the hell I can re-install the original kernel headers and sources to 'make' me a running system?
BTW: A configuration of the Kernel would help as well -> PCIe support ?

Greets
RR

Re: Ubuntu 1404 development release problems

PostPosted: Fri Nov 21, 2014 12:01 am
by franky384
Current config you can extract in terminal:
zcat /proc/config.gz > .config
build link you can make yourself:
sudo ln -s /usr/src/linux-...... /lib/modules/3.10.17.../build

Kernel sources you can get here, add to your sources.list.
deb-src [arch=armhf] http://linode.boundarydevices.com/repos/apt/ubuntu-rel trusty main restricted
deb [arch=armhf] http://linode.boundarydevices.com/repos/apt/ubuntu-rel trusty main restricted

Re: Ubuntu 1404 development release problems

PostPosted: Fri Nov 21, 2014 10:16 pm
by riedelralf
some things are still open:
root@tbs:/etc/apt# apt-get install gpu-viv-g2d xserver-xorg-video-imx-viv
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
xserver-xorg-extension-viv-hdmi
The following NEW packages will be installed:
gpu-viv-g2d xserver-xorg-extension-viv-hdmi xserver-xorg-video-imx-viv
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 87.3 kB of archives.
After this operation, 342 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://linode.boundarydevices.com/repos/apt/ubuntu-rel/ trusty/restricted gpu-viv-g2d armhf 3.10.17-1.0.2-5boundary3 [24.9 kB]
Get:2 http://linode.boundarydevices.com/repos/apt/ubuntu-rel/ trusty/main xserver-xorg-extension-viv-hdmi armhf 3.10.17-1.0.2-5boundary3 [18.4 kB]
Get:3 http://linode.boundarydevices.com/repos/apt/ubuntu-rel/ trusty/main xserver-xorg-video-imx-viv armhf 3.10.17-1.0.2-5boundary3 [44.0 kB]
Fetched 87.3 kB in 0s (93.4 kB/s)
Selecting previously unselected package gpu-viv-g2d.
(Reading database ... 132394 files and directories currently installed.)
Preparing to unpack .../gpu-viv-g2d_3.10.17-1.0.2-5boundary3_armhf.deb ...
Unpacking gpu-viv-g2d (3.10.17-1.0.2-5boundary3) ...
Selecting previously unselected package xserver-xorg-extension-viv-hdmi.
Preparing to unpack .../xserver-xorg-extension-viv-hdmi_3.10.17-1.0.2-5boundary3_armhf.deb ...
Unpacking xserver-xorg-extension-viv-hdmi (3.10.17-1.0.2-5boundary3) ...
Selecting previously unselected package xserver-xorg-video-imx-viv.
Preparing to unpack .../xserver-xorg-video-imx-viv_3.10.17-1.0.2-5boundary3_armhf.deb ...
Unpacking xserver-xorg-video-imx-viv (3.10.17-1.0.2-5boundary3) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up gpu-viv-g2d (3.10.17-1.0.2-5boundary3) ...
Setting up xserver-xorg-extension-viv-hdmi (3.10.17-1.0.2-5boundary3) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up xserver-xorg-video-imx-viv (3.10.17-1.0.2-5boundary3) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
/sbin/ldconfig.real: /usr/lib/libip6tc.so.0 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libICE.so.6 is not a symbolic link
.....
a lot of these until:
/sbin/ldconfig.real: /usr/lib/libobexftp.so.0 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libgio-2.0.so.0 is not a symbolic link

Re: Ubuntu 1404 development release problems

PostPosted: Sat Nov 22, 2014 2:35 am
by franky384
Try installing
apt-get install imx-vpu imx-lib gpu-viv-bin-mx6q-x11 gpu-viv-bin-mx6q-libs vpu-viv-gst gpu-viv-acc-x11 firmware-imx libfslcodec libfslparser libfslvpuwrap
after this try
dpkg --configure -a
apt-get -f install
all on your own risk :roll: :!: :!: :!:

btw, i looked into the new tbs-linux-driver package, there is nothing in there for arm devices, so they will not build on the matrix. :evil:
they are only for x86 and x86_64

Re: Ubuntu 1404 development release problems

PostPosted: Sat Nov 22, 2014 3:29 am
by vpeter
franky384 Wrote:btw, i looked into the new tbs-linux-driver package, there is nothing in there for arm devices, so they will not build on the matrix. they are only for x86 and x86_64
The only option is ljalves's media_build (tested and it works - at least usb tuners). Also for USB tuners there is one patch for kernel which adds some tuners. The second option is good to combine with non-tbs tuners.

Re: Ubuntu 1404 development release problems

PostPosted: Sat Nov 22, 2014 6:51 am
by franky384
I don't have a tbs tuner, but for sure this helps riedelralf.

Re: Ubuntu 1404 development release problems

PostPosted: Mon Nov 24, 2014 3:54 pm
by riedelralf
Thx, because of ubuntu sources lack of ARM support (maybe will come later on ...) I think I need to draw back to Debian Jessie prerelease.
Anyway, I need Linux driver support for the PCIe bridge and these tuners as well. RTL817x support would be nice to have.
Actual Kernel sources are not fitting well ?:
chuck@tbs:~$ sudo apt-cache search 3.10.17
linux-boundary-4t3-doc - Linux kernel specific documentation for version 3.10.17
linux-boundary-4t3-headers-3.10.17-27 - Header files related to Linux kernel version 3.10.17
linux-boundary-4t3-headers-3.10.17-3 - Header files related to Linux kernel version 3.10.17
linux-boundary-4t3-source-3.10.17 - Linux kernel source for version 3.10.17 with Ubuntu patches
linux-boundary-nolcd-5t3-headers-3.10.17-2 - Header files related to Linux kernel version 3.10.17
linux-headers-3.10.17-2-boundary-nolcd-5t3 - Linux kernel headers for version 3.10.17 on Boundary Devices iMX6-based systems
linux-headers-3.10.17-27-boundary-4t3 - Linux kernel headers for version 3.10.17 on Boundary Devices iMX6-based systems
linux-headers-3.10.17-3-boundary-4t3 - Linux kernel headers for version 3.10.17 on Boundary Devices iMX6-based systems
linux-image-3.10.17-2-boundary-nolcd-5t3 - Linux kernel image for version 3.10.17 on Boundary Devices iMX6-based systems
linux-image-3.10.17-27-boundary-4t3 - Linux kernel image for version 3.10.17 on Boundary Devices iMX6-based systems
linux-image-3.10.17-3-boundary-4t3 - Linux kernel image for version 3.10.17 on Boundary Devices iMX6-based systems
chuck@tbs:~$ uname -a
Linux tbs 3.10.17 #2 SMP PREEMPT Tue Jun 3 17:20:42 CST 2014 armv7l armv7l armv7l GNU/Linux
This is the one? 3.10.17-2-boundary-nolcd-5t3 ?
The USB tuner would help private for the Matrix to use TVheadend, but I have a Moi-pro with Matrix 2.1 HW and PCIe bridge -> 2 Tuner 'cards' installed.
The XBMC OPENPCTV Linux isn't that flexible enough to add some more features... WIFI cannot be reconfigured -> Need that as Management Port to separate Streaming by MumuDVB via GbE from WebIF. ARCH -Linux would be a nice one instead of the full Debian or Ubuntu ;-)

Re: Ubuntu 1404 development release problems

PostPosted: Tue Nov 25, 2014 7:24 pm
by franky384
I don't know which kernel the matrix-tv build is using, but i think you can find the matching kernel sources here:
http://git.freescale.com/git/cgit.cgi/i ... .6-imx.git
check your kernel version with uname -a

Re: Ubuntu 1404 development release problems

PostPosted: Tue Nov 25, 2014 8:33 pm
by vpeter
franky384 Wrote:I don't know which kernel the matrix-tv build is using
3.0.35 as visible from sources.

Re: Ubuntu 1404 development release problems

PostPosted: Wed Nov 26, 2014 6:42 pm
by riedelralf
debian jessie rootfs now used from here:
http://jas-hacks.blogspot.co.uk/2013/12 ... 9-100.html
actual kernel 3.10.17 from the TBS 14.04_1.0.0.1 download, Uboot as well. uname -a:
Linux debian-imx6 3.10.17 #2 SMP PREEMPT Tue Jun 3 17:20:42 CST 2014 armv7l GNU/Linux
This distro runs quite smooth and has Vivante and gstreamer support.
Than added the boundary reps/sources in sources.list (are slightly different than the Ubuntu ones - but can be checked online).