Kodi Community Forum
OpenELEC Testbuilds for RaspberryPi - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
---- Thread: OpenELEC Testbuilds for RaspberryPi (/showthread.php?tid=140518)



RE: OpenELEC Testbuilds for RaspberryPi - chrlau5 - 2013-03-25

Thanks nuttypro69, but the link "http://wiki.openelec.tv/index.php?title=Updating_OpenELEC." is not working.


RE: OpenELEC Testbuilds for RaspberryPi - xbs08 - 2013-03-25

Remove the dot from the end of the link.


RE: OpenELEC Testbuilds for RaspberryPi - pplucky - 2013-03-25

(2013-03-25, 13:30)chrlau5 Wrote: Thanks nuttypro69, but the link "http://wiki.openelec.tv/index.php?title=Updating_OpenELEC." is not working.

Come on, it is http://wiki.openelec.tv/index.php?title=Updating_OpenELEC.


RE: OpenELEC Testbuilds for RaspberryPi - chrlau5 - 2013-03-25

oops sorry :-(


RE: OpenELEC Testbuilds for RaspberryPi - tvankirk - 2013-03-25

(2013-03-24, 20:47)rbej Wrote: Frodo Branch Updated

- new PVR fixes for Omxplayer

Delete <alwaysforcebuffer>xxxxx</alwaysforcebuffer> and <freememorycachepercent>xxxxx</freememorycachepercent> from advencedsettings and add <cachemembuffersize>xxxxx</cachemembuffersize> in network section.

http://forum.xbmc.org/showthread.php?tid=140518&pid=1350100#pid135010

Curious about the PVR fixes for Omxplayer. I can't seem to locate the commit. Can you point me in the right direction?

Also, the MythTV development Frodo branch has some new buffering updates that are working very well on my OpenELEC build: https://github.com/fetzerch/xbmc-pvr-addons/tree/frodo.


RE: OpenELEC Testbuilds for RaspberryPi - doveman2 - 2013-03-25

Mediaportal PVR addon is working well for me with rbej's builds as well Smile


RE: OpenELEC Testbuilds for RaspberryPi - doveman2 - 2013-03-25

(2013-03-25, 13:24)nuttypro69 Wrote: Hey chrlau 5 follow all the steps on this link http://wiki.openelec.tv/index.php?title=Updating_OpenELEC.
then follow these steps
How to install to USB:
If you like to run the image from a USB stick or have a improperly sized SD card this is very easy:

That link is for updating an already installed OE. If he's starting from scratch he needs this guide
http://squirrelhosting.co.uk/hosting-blog/hosting-blog-info.php?id=9

chrlau5, I would suggest writing the image to the SD card as per the guide, then update to rbej's latest build as per the updating guide http://wiki.openelec.tv/index.php?title=Updating_OpenELEC

Then I would suggest formatting the USB stick so that you can use it's entire space. This is tricky as OE doesn't include fdisk, so you can either use a windows tool like http://www.partitionwizard.com/ (probably the easiest), a Linux Virtualbox, boot your PC with a linux LiveCD, or flash raspian to your SD card (or a spare) and use that to format the USB.

Once you've done that, then you can copy everything under /storage to the USB stick. I did this using WinSCP to first copy/backup the folder to my PC and then transfer it back to the USB stick, which will be mounted as /media/x (where x is the label) but you can probably use a ssh commandline and the cp command if you know the syntax.

Then, as nuttypro69 says, edit the cmdline.txt but you might also want to add the iotimeout part to try and help protect the SD from corruption.

boot=/dev/mmcblk0p1 disk=/dev/sda1 ssh quiet iotimeout=5000


RE: OpenELEC Testbuilds for RaspberryPi - doveman2 - 2013-03-25

(2013-03-24, 21:19)doveman2 Wrote:
(2013-03-24, 20:24)MilhouseVH Wrote: I believe it's case sensitive, so try (flash|Storage) and if that doesn't work then try (flash|var/media/Storage)

Thanks. That works well although I need to keep storage as well to hide my USB (even though it shows the label in the files view as USB_16GB, selecting it then shows it as storage).

EDIT: Nevermind, I had a missing endtag on the <cachemembuffersize>5242880</cachemembuffersize> line which was causing it not to use advancedsettings.xml at all!

(flash|storage|Storage) is working fine now and hides everything I want hidden.


RE: OpenELEC Testbuilds for RaspberryPi - tuxen - 2013-03-26

(2013-03-25, 17:44)doveman2 Wrote:
(2013-03-25, 13:24)nuttypro69 Wrote: Hey chrlau 5 follow all the steps on this link http://wiki.openelec.tv/index.php?title=Updating_OpenELEC.
then follow these steps
How to install to USB:
If you like to run the image from a USB stick or have a improperly sized SD card this is very easy:

That link is for updating an already installed OE. If he's starting from scratch he needs this guide
http://squirrelhosting.co.uk/hosting-blog/hosting-blog-info.php?id=9

chrlau5, I would suggest writing the image to the SD card as per the guide, then update to rbej's latest build as per the updating guide http://wiki.openelec.tv/index.php?title=Updating_OpenELEC

Then I would suggest formatting the USB stick so that you can use it's entire space. This is tricky as OE doesn't include fdisk, so you can either use a windows tool like http://www.partitionwizard.com/ (probably the easiest), a Linux Virtualbox, boot your PC with a linux LiveCD, or flash raspian to your SD card (or a spare) and use that to format the USB.

Once you've done that, then you can copy everything under /storage to the USB stick. I did this using WinSCP to first copy/backup the folder to my PC and then transfer it back to the USB stick, which will be mounted as /media/x (where x is the label) but you can probably use a ssh commandline and the cp command if you know the syntax.

Then, as nuttypro69 says, edit the cmdline.txt but you might also want to add the iotimeout part to try and help protect the SD from corruption.

boot=/dev/mmcblk0p1 disk=/dev/sda1 ssh quiet iotimeout=5000

You can just use raspbian to prepare the drive there is a excellent very few step guide in this thread way back.

Can't find i on my standing feet but I took notice of it. This will give you a v.3.0.0 install from scratch:

Most people forget that they have whole linux ditro available to them via. Raspbian.

1. Download and write raspbian to a sd card. (http://raspberrypi.org)
2. Boot it up, just skip the initial options we are only gonna use it to prepare the HD/USB.
3. Connect the USB stick or harddrive to the pi.
4. Login User: pi / Passwd: raspberry
5. Execute the following commands to format the device as ext4:
Code:
sudo umount /dev/sda[1-2]
sudo parted -s /dev/sda mklabel msdos
sudo parted -s /dev/sda unit cyl mkpart primary ext2 -- 0 -2
sudo mkfs.ext4 -L STORAGE /dev/sda1
6. Find a sdcard with minimum 128MB. You can re-use the one you used for raspbian, remove all partitions on it first, label it SYSTEM while formatting it. Then copy the following files from the lastest 3.0.0 openELEC release: (http://openelec.tv , you can use 7zip or winrar to unpack it)
Code:
All the files from the 3rdparty folder
and
SYSTEM and KERNEL from the target folder
7. Rename KERNEL to kernel.img on the sdcard.
8. Create a txt file with notepad on the sdcard named cmdline.txt (for some reason this file is missing from the 3rdparty folder), paste this into it, then save the file:
Code:
boot=/dev/mmcblk0  disk=/dev/sda1  ssh  quiet
9. Plug both the sdcard and HD/USB stick into the raspberry pi and turn it on.
10. Voila. You now have a totally clean openELEC installation running of either harddrive or USB stick.

You can then apply your backup everything saved from /storage/.xbmc recursively on the old system goes back the same place on the new setup.

If umount fails with "not mounted" in step #5 just carry on. It's to ensure that is is that.
If the boot fails with "can not mount mmcblk0 its because you did not remove all partitions on the sdcard before format in windows. Either do that or just change cmdline.txt to read boot=/dev/mmcblk0p1 instead of boot=/dev/mmcblk0


RE: OpenELEC Testbuilds for RaspberryPi - doveman2 - 2013-03-26

(2013-03-26, 11:59)tuxen Wrote: You can just use raspbian to prepare the drive there is a excellent very few step guide in this thread way back.

Sure but it seems a bit easier to just flash an OE image to the SD, use partitionwizard to format the USB stick on the PC and drag and drop the storage files from the SD to the USB with WinSCP before updating OE Wink


RE: OpenELEC Testbuilds for RaspberryPi - tuxen - 2013-03-26

It reads harder than it is. imho. it's about the same amount of work depending more on personal rutine if any have been established yet.. Smile


RE: OpenELEC Testbuilds for RaspberryPi - doveman2 - 2013-03-26

(2013-03-26, 13:18)tuxen Wrote: It reads harder than it is. imho. it's about the same amount of work depending more on personal rutine if any have been established yet.. Smile

Yeah, just depends whether someone's comfortable with the linux commandline or not really Wink


RE: OpenELEC Testbuilds for RaspberryPi - doveman2 - 2013-03-26

Having some problems with Mediaportal PVR addon going out of sync rather badly but also today I stopped LiveTV with a double Stop (when I noticed the picture had frozen but the audio was still going) and ended up with just a black screen.

Checking top showed xbmc.bin was still running, so I killed it and it restarted but still just a black screen. I killed it again and it didn't restart that time and still a black screen.

I wonder if this could be a side-effect of the hdmi settings I added to the config.txt or maybe even the refreshrate settings I added to advancedsettings.xml?

Code:
<adjustrefreshrate>
    <override>
      <fps>23.976</fps>       <!-- if the fps is between 23.966 and 23.986 -->
      <refresh>60.0</refresh> <!-- switch to the first found refreshrate that is between 59.99 and 60.01 -->
    </override>
    <override>
      <fps>50.000</fps>       <!-- if the fps is between 23.966 and 23.986 -->
      <refresh>60.0</refresh> <!-- switch to the first found refreshrate that is between 59.99 and 60.01 -->
    </override>
    <override>
      <fps>60.000</fps>       <!-- if the fps is between 23.966 and 23.986 -->
      <refresh>60.0</refresh> <!-- switch to the first found refreshrate that is between 59.99 and 60.01 -->
    </override>
    <fallback>
      <refresh>60.0</refresh>
    </fallback>
  </adjustrefreshrate>

I set them all to 60hz as that's all my TV supports. I know it's not really needed but I wanted to get them in there for when I set it up for my brothers TV, which does support 50 and 60hz.

Log pasted http://pastebin.com/CW0Nt78Z and here's the one when XBMC restarted after I killed it http://pastebin.com/LTH76tX9

I wouldn't worry about the "failed to connect to MP Server" messages in the first log as that would probably have been when I updated MP on my PC, after I'd already stopped TV on the Pi and gotten the black screen.

I don't know what the "new cec device registered" in the second log is about as I have CEC disabled in XBMC


RE: OpenELEC Testbuilds for RaspberryPi - spannerz - 2013-03-26

Hi

I was directed to your build by popcornmix from this thread (though I used your builds a while back)... just wanted to say that your clean up of the OMXPlayer code has fixed a significant bug that has been plaguing me for months, much appreciated. It has also cleared up the majority of stability issues I had as well... placating my other half.

Peace has settled once again in my house....

I have one outstanding issue - I have drifting audio on Channel4 (one of the better FTA channels in the UK). This is streamed from a VUPlus Solo2 using jdembski's excellent Enigma2 PVR.

The audio can run for almost an hour fine, then drift a few times in 10mins... stopping the channel and restarting resolves it (as does changing the audio output type to Optical then back to HDMI)

Are you aware of any similar issues (it is odd that it only affects that one channel) and/or do you feel there is much more code earmarked for a cleanup in OMXPlayer that may fix this issue?

Long shot I know, but you have given me a new hope

Thanks

Sz


RE: OpenELEC Testbuilds for RaspberryPi - spjonez - 2013-03-27

Quote:- speed up UI navigation
Whoever was responsible for this patch, thank you very much! Before this release, cycling backgrounds on home screen items stuttered sometimes and wasn't nearly as fluid as transitions in media views (each home item is a folder of images, one is randomly selected when you highlight a menu item). After upgrading to this build, the home screen doesn't fade to black between animations anymore and media view transitions are even smoother when mashing the arrow keys to jump far down a list.

Every time I think the Pi has hit a new high you guys manage to do it again. Cheers!


This forum uses Lukasz Tkacz MyBB addons.