Moderator Control Panel ]

Openelec for MatrixTBS

Re: Openelec for MatrixTBS

Postby franky384 » Fri Oct 03, 2014 4:02 pm

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.
franky384
 
Posts: 59
Joined: Sat Aug 30, 2014 3:40 am

Re: Openelec for MatrixTBS

Postby vpeter » Fri Oct 03, 2014 4:09 pm

PVR is build by default - no need to use PVR=yes.
You can help me buy new work notebook with paypal donation, after 8 years it's time to upgrade.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLVT7ACMYAPS6
vpeter
 
Posts: 427
Joined: Sun Jul 27, 2014 2:12 am
Location: Slovenia

Re: Openelec for MatrixTBS

Postby milan » Fri Oct 03, 2014 7:51 pm

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.
milan
 
Posts: 16
Joined: Thu Feb 27, 2014 4:10 am

Re: Openelec for MatrixTBS

Postby vpeter » Fri Oct 03, 2014 8:06 pm

According to info I got matrix IS based on SabreSD. But of course there are differences.
You can help me buy new work notebook with paypal donation, after 8 years it's time to upgrade.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLVT7ACMYAPS6
vpeter
 
Posts: 427
Joined: Sun Jul 27, 2014 2:12 am
Location: Slovenia

Re: Openelec for MatrixTBS

Postby milan » Sat Oct 04, 2014 6:58 pm

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

#
milan
 
Posts: 16
Joined: Thu Feb 27, 2014 4:10 am

Re: Openelec for MatrixTBS

Postby vpeter » Sat Oct 04, 2014 7:17 pm

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 Code
lsusb -vv | pastebinit
lspci -vv | pastebinit
dmesg | grep -i pci | pastebinit
dmesg | grep -i dvb | pastebinit
Last edited by vpeter on Sun Oct 05, 2014 6:23 pm, edited 2 times in total.
You can help me buy new work notebook with paypal donation, after 8 years it's time to upgrade.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLVT7ACMYAPS6
vpeter
 
Posts: 427
Joined: Sun Jul 27, 2014 2:12 am
Location: Slovenia

Re: Openelec for MatrixTBS

Postby vpeter » Sat Oct 04, 2014 7:23 pm

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?
You can help me buy new work notebook with paypal donation, after 8 years it's time to upgrade.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLVT7ACMYAPS6
vpeter
 
Posts: 427
Joined: Sun Jul 27, 2014 2:12 am
Location: Slovenia

Re: Openelec for MatrixTBS

Postby Cjcr » Sat Oct 04, 2014 7:28 pm

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 Code
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?
Cjcr
 
Posts: 75
Joined: Sun Apr 18, 2010 10:22 pm

Re: Openelec for MatrixTBS

Postby vpeter » Sat Oct 04, 2014 7:39 pm

Cjcr, It's Gotham - forgot to change. I can make Helix (Kodi 14) for you. Let me know.
You can help me buy new work notebook with paypal donation, after 8 years it's time to upgrade.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLVT7ACMYAPS6
vpeter
 
Posts: 427
Joined: Sun Jul 27, 2014 2:12 am
Location: Slovenia

Re: Openelec for MatrixTBS

Postby Cjcr » Sat Oct 04, 2014 7:42 pm

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.
Cjcr
 
Posts: 75
Joined: Sun Apr 18, 2010 10:22 pm

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: No registered users and 7 guests

cron