Page 9 of 26

Re: Openelec for MatrixTBS

PostPosted: Fri Oct 03, 2014 4:02 pm
by franky384
milan wrote:Ok. I am building OpenElec right now.

What I did:
git clone https://github.com/OpenELEC/OpenELEC.tv.git
cd OpenELEC.tv
PROJECT=Cuboxi ARCH=arm make release

Do need more e.g Patches, config files to make it work?

PROJECT=Cuboxi ARCH=arm PVR=yes make release
to build the pvr part.

Re: Openelec for MatrixTBS

PostPosted: Fri Oct 03, 2014 4:09 pm
by vpeter
PVR is build by default - no need to use PVR=yes.

Re: Openelec for MatrixTBS

PostPosted: Fri Oct 03, 2014 7:51 pm
by milan
I do not have the SabreSD schematic at hand, but Matrix tv differ in:
- no components used by 'smart devices' like accelerometer, ...
- no Camera or video input
- no lvds1/2 or parallel video out
- more serious is it has no pmic for the various power rails, this will backfire on mainline kernel if try to use the gpu
- just annoying for bord bringup is the fact that they changed the ar8031 to an ar8035 ethernet phy.
- wm8962 is replaced by sgtl5000 audio codec

Currently I am using the same kernel as provided by OpenElec master branch. This looks like a kernel patched to support the media devices not present in a vanilla kernel.

Re: Openelec for MatrixTBS

PostPosted: Fri Oct 03, 2014 8:06 pm
by vpeter
According to info I got matrix IS based on SabreSD. But of course there are differences.

Re: Openelec for MatrixTBS

PostPosted: Sat Oct 04, 2014 6:58 pm
by milan
Hello vpeter

after some guessing I was able to track down the issue to the rtc snvs driver. Disabling the driver will resolve all my issues. I have no Idea at the moment why, but it works for me (TM). Is the RTC used by OpenElec? If not can you remove the driver from kernel?

Regarding the hardware differences, I don not want to press the point here but if one advice is allowd do not name the device tree file imx6q-sabresd.dts.

Patch below

diff --git a/projects/Cuboxi/linux/linux.arm.conf b/projects/Cuboxi/linux/linux.arm.conf
index ec4a7b8..75610a9 100644
--- a/projects/Cuboxi/linux/linux.arm.conf
+++ b/projects/Cuboxi/linux/linux.arm.conf
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/arm 3.14.18 Kernel Configuration
+# Linux/arm 3.14.19 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_MIGHT_HAVE_PCI=y
@@ -3093,7 +3093,7 @@ CONFIG_RTC_DRV_PCF8523=y
# CONFIG_RTC_DRV_IMXDI is not set
CONFIG_RTC_DRV_MC13XXX=m
CONFIG_RTC_DRV_MXC=y
-CONFIG_RTC_DRV_SNVS=y
+# CONFIG_RTC_DRV_SNVS is not set
# CONFIG_RTC_DRV_MOXART is not set

#

Re: Openelec for MatrixTBS

PostPosted: Sat Oct 04, 2014 7:17 pm
by vpeter
Dear users,

this is mine latest image:
OpenELEC-iMX6.arm-devel-20141003181523-r19314-gf779b3e-Gotham-ljalves_media_build.tar - http://l.bitcasa.com/-_Wr198g
OpenELEC-iMX6.arm-devel-20141004135730-r19314-gf779b3e-Helix-ljalves_media_build.tar - http://l.bitcasa.com/nTsPb9Cp

As you can see from the name this image includes ljalves's opensource TBS drivers from https://github.com/ljalves/linux_media/wiki

It is confirmed that at least one external TBS USB tuner works. But only TBS tuner works with this image - others will not work even if they worked before.

But I'm also interested in PCIe tuners because PCIe bus is enabed in this image. If anyone can test please do (I don't have a chance). I'm interested what commands returns:
Code: Select all
lsusb -vv | pastebinit
lspci -vv | pastebinit
dmesg | grep -i pci | pastebinit
dmesg | grep -i dvb | pastebinit

Re: Openelec for MatrixTBS

PostPosted: Sat Oct 04, 2014 7:23 pm
by vpeter
Thank you milan for this info. I will check with sraue if RTC can be removed (don't know if Cubox-i uses it). But TBS Matrix does have RTC onboard at least version 2. But there are multiple RTC lines in kernel config. Need to check.

Regarding device tree filename: why not using imx6q-sabresd.dts? Because filename doesn't care. Or did you mean I should use different device tree?

Re: Openelec for MatrixTBS

PostPosted: Sat Oct 04, 2014 7:28 pm
by Cjcr
vpeter wrote:Dear users,

this is mine latest image: OpenELEC-iMX6.arm-devel-20141003181523-r19314-gf779b3e-ljalves_media_build.tar - http://l.bitcasa.com/5EhdVRA4

As you can see from the name this image includes ljalves's opensource TBS drivers from https://github.com/ljalves/linux_media/wiki

It is confirmed that at least one external USB tuner works.

But I'm also interested in PCIe tuners because PCIe bus is enabed in this image. If anyone can test please do (I don't have a chance). I'm interested what commands returns:
Code: Select all
lsusb -vv | pastebinit
lspci -vv | pastebinit
dmesg | grep -i pci | pastebinit
dmesg | grep -i dvb | pastebinit

Thank you vpeter! :) I have the TBS5925, maybe later I will update my device with this build.
It is Kodi 14 or XBMC 13.2? I hope it's Kodi because there are some features that are useful for me in this version.

I also have a DVB-T device that was working with your last release, but I suppose it still will work with the changes you made?

Re: Openelec for MatrixTBS

PostPosted: Sat Oct 04, 2014 7:39 pm
by vpeter
Cjcr, It's Gotham - forgot to change. I can make Helix (Kodi 14) for you. Let me know.

Re: Openelec for MatrixTBS

PostPosted: Sat Oct 04, 2014 7:42 pm
by Cjcr
vpeter wrote:Cjcr, It's Gotham - forgot to change. I can make Helix (Kodi 14) for you. Let me know.

Yeah, if you can would be nice. Thank you.