Moderator Control Panel ]

Openelec for MatrixTBS

Re: Openelec for MatrixTBS

Postby vpeter » Wed Oct 01, 2014 2:40 am

milan Wrote:1. Kernel message buffer is filled with messages like 'INFO: rcu_sched self-detected stall on CPU { 2} '
2. Usb devices pluged into the box won't work, a lsusb will not return.
4. Shutdown stuck at Udevil mount service.


1.) Don't have anything in dmesg. Maybe it happens because of CEC?
2.)
Code: Select All Code
OpenELEC:~ # lsusb
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 001 Device 003: ID 0c45:7000 Microdia
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
OpenELEC:~ # mount
OpenELEC:~ # lsusb
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 001 Device 003: ID 0c45:7000 Microdia
Bus 001 Device 005: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
OpenELEC:~ # mount
/dev/sda1 on /var/media/usb type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
OpenELEC:~ # poweroff
Session is closed
Disconnected from server


Code: Select All Code
[  OK  ] Stopped target Local File Systems.
         Unmounting /storage...
         Unmounting /flash...
         Unmounting Temporary Directory...
         Stopping Setup User config dir...
[  OK  ] Stopped Setup User config dir.
         Unmounting Variable Directory...
[  OK  ] Failed unmounting /storage.
[  OK  ] Failed unmounting /flash.
[  OK  ] Unmounted Temporary Directory.
[  OK  ] Unmounted Variable Directory.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped target Local File Systems (Pre).
         Stopping Remount Root and Kernel File Systems...
[  OK  ] Stopped Remount Root and Kernel File Systems.
         Stopping Create Static Device Nodes in /dev...
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Reached target Shutdown.
[   56.970205] reboot: Power down
[   56.975528] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
[   56.975528]

As you can see USB stick was mounted when I plug it in. Also shutdown works ok.
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 franky384 » Wed Oct 01, 2014 8:29 pm

Also no problems here, everything's working fine on same build.
Perhaps some went wrong while installing, try redownloading and reflashing the image.
franky384
 
Posts: 59
Joined: Sat Aug 30, 2014 3:40 am

Re: Openelec for MatrixTBS

Postby milan » Thu Oct 02, 2014 4:33 pm

@franky384 I did run OpenElec from emmc and sdcard, no difference.

@vpeter I continued on 2)
Testet with MatrixTV v1.3 and connected to HDMI of my pc display

usb XBMC ssh time input lsusb
==========================
0 ok ok ok n/a yes*
1 ok ok ok 20** yes
1*** ok no no 20** n/a
2 ok ok ok 20** yes

* if no new usb device is connected otherwise no
** working for 20sec, ssh still possible
*** boot from SD (slower), will worsen the situation most of the time but not always

usb == external connected devices like keyboard, usb stick
XBMC == started after splash
ssh == ssh into MatrixTv
time == clock will be updated in XBMC HMI != 1. Jan 1970
input == usb-keyboard working with XBMC
lsusb == working

It look like after approx. 20 sec something bad is kicking in on my system, which than affects kernel input subsystem and maybe others too.
milan
 
Posts: 16
Joined: Thu Feb 27, 2014 4:10 am

Re: Openelec for MatrixTBS

Postby vpeter » Thu Oct 02, 2014 4:40 pm

How did you run from sd card? I don't support that.

I'm sorry but I don't get what are you trying to say.
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 » Thu Oct 02, 2014 6:57 pm

The u-boot installed by OpenElec release will check every sd/mmc from 0 to 2. If present it will load kernel, system and dtb from partition 1. The kernel will use the first available sd as mmcblk0. That means if you put an sd-card with OpenElec layout into MatrixTv it will boot from it! Which is good because MfgTool is PIA for me, I do not have Windows at home.

In prosa I meant, that OpenElec is very unstable for me. Some times it starts XBMC Ok sometime the screen is blank after boot. Sometime I am able to ssh into the box sometimes I am not able to start a ssh connection. One common observation is that an connected usb-keybord stops working after ~20 sec (I am permanently trigger the NUM Led by pressing the NUM Key) until then I can control XBMC with the keys. BTW XBMC uses one complete core (100%) on my MatrixTV.
milan
 
Posts: 16
Joined: Thu Feb 27, 2014 4:10 am

Re: Openelec for MatrixTBS

Postby vpeter » Thu Oct 02, 2014 7:06 pm

Oh, I forgot on checking devices from 0-2 :)

Anyway, I really don't know what causes your problems. Mine system is very cold in idle and on playback. Xbmc newer uses more than few 10 %. But maybe new releases will work for you too - it is still everything under construction.
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 » Thu Oct 02, 2014 7:37 pm

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

Re: Openelec for MatrixTBS

Postby vpeter » Thu Oct 02, 2014 8:29 pm

This is not Cuboxi project! It's iMX6 which doesn't exist yet.
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 » Thu Oct 02, 2014 11:22 pm

Yes, I am aware of that. That's why I ask for patches to share. BTW MatrixTV is also not an sabresd board ;-).
First I will try to configure CEC out of the kernel. This one is a 100% blocker for me if the MatrixTv is connected to a TV. After that we will see.
milan
 
Posts: 16
Joined: Thu Feb 27, 2014 4:10 am

Re: Openelec for MatrixTBS

Postby vpeter » Thu Oct 02, 2014 11:56 pm

If you really, really want to compile then in Cuboxi project options file add
Code: Select All Code
KERNEL_UBOOT_EXTRA_TARGET="$KERNEL_UBOOT_EXTRA_TARGET imx6q-sabresd.dtb"
to get dtb file. Everything else can be the same for now.

For CEC maybe you should tried different TV's.

And what do you mean with "MatrixTV is also not an sabresd board"?

And which image exactly did you use? Because I'm using the same kernel as Cuboxi where it works.
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

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: No registered users and 14 guests