Hansel
Posts: 65
Joined: Mon Apr 30, 2012 10:13 pm

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Wed May 16, 2012 8:38 am

Hansel wrote:
humla wrote:
Hansel wrote:
Unfortunately I've tried that. I've also tried completely deleting the OpenELEC.tv folder and re-cloning from scratch. Always the same error.

Very odd as I've built loads of images using this VM, and nothing has changed (aside from making sure everything is up to date). I always now get the same error. :(
Can u try going here -> https://github.com/OpenELEC/OpenELEC.tv/commits/master and getting the SHA of the last working version (the hex numbers on the right). They are sorted by date.

Then go into your Openelec folder and enter

Code: Select all

git checkout <SHA code> 
Then try building.
Sure. I'm not 100% sure which was the last working commit (for me), but I'll try 89d137cfbd33c27e0eb63647a01d7505f831a239 for starters.

I'll let you know ;)
Right, well that's interesting. That compiled fine...

So it's obviously one of the later commits that's causing issues for me. Weird, as others seem to be able to build them OK..

For reference, I'm running Ubuntu 12.04 in a VirtualBox VM. Everything up to date as far as apt-get update and apt-get dist-upgrade.

I guess I'll try a later commit and try and pinpoint the troublesome one.

piprog
Posts: 20
Joined: Thu May 10, 2012 3:09 pm

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Wed May 16, 2012 10:33 am

@MoonBuggy & @frying_fish: thanks for the CEC responses! Looking forward to the developments here...

@all: my experience so far:

- using 10977 right now with the Panasonic TX-P42G20E and a 500GB HDD
- haven't had much time to watch movies, just tested
- Panasonic TX-P42G20E: cannot handle advanced audio through HDMI, so RPi is downmixing to stereo -- a bit funky at times (e.g. one character standing in almost the middle of the scene, but his sound coming from the far right)
- SAMBA file transfer to the HDD on the RPi from a PC is *very* slow: in the range of 1-1.5 MB/s, i.e. a 2GB movie takes over an hour to transfer...
- while playing a movie, fastforwarding causes nice "negative film" effect until (I suppose) the next keyframe is reached in the stream
- overall, much better menu performance than 10710
- the weather widget seems to be broken (it worked in 10710) -- does not show any actual data (not that it is important for me, just sayin')
- I think it is not a bad idea to choose a [email protected] for the UI resolution/frequency, since most movies are 24Hz (at least that I have), and a mode switch this way can be avoided when playing starts/stops
- a minimum bundle I'd recommend is a micro-USB cable + a powered USB HUB; buying these in retail separately can cost as much as the RPi

malcolmr
Posts: 6
Joined: Sat May 12, 2012 8:46 pm

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Wed May 16, 2012 11:12 am

Hi guys,

I'm trying to get my Wiimote working and after extensive google searching it seems that there is an add-on called "xbmc-wiimote" that needs to be installed, however it doesn't appear in the XBMC repository and I can't see anything at all in the OpenELEC repository.

Has anyone else had success with wiimotes or the OpenELEC repository?

rob_brum
Posts: 19
Joined: Sat May 05, 2012 6:22 am

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Wed May 16, 2012 11:29 am

humla wrote:Release r10995 without
- DVD CSS
- Bluray
- Bluetooth
- AFP
- Samba
- SFTP server
- HFS tools
- Joystick support
- iSCSI support
- WLAN support

System size = 59 MB
Kernel size = 11 MB
Link -> http://www.mediafire.com/?mshwbc4vmv8m0w5
MD5 = 6937ddd98ccb6724347bc59e40885a2f OpenELEC-RPi.arm-devel-20120515210627-r10995.tar.bz2
How do you set which 'parts' not to build?

cpswan
Posts: 47
Joined: Tue May 15, 2012 9:52 am
Contact: Website

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Wed May 16, 2012 12:02 pm

I compiled some binaries for r10979 yesterday and dropped them onto github in case anybody wants to grab a copy - https://github.com/cpswan/RasPi/tree/ma ... C/binaries

This build seems to resolve some of the issues I'd seen with the original SD image that @marshcroft kindly put up on Dropbox on 26 Apr (and I have simply overwritten the kernel.img and system files to get things going on my RasPi).

the_dvd_guru
Posts: 35
Joined: Wed May 02, 2012 3:02 pm

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Wed May 16, 2012 4:06 pm

having a bit of bother here, i have setup a virtual box running Lubuntu (coz i am doing other stuff on my linux machine) on my laptop and i keep setting it going and everything is fine till i come back to it in a few hours and its shutdown??? i have disable all power saving features on the laptop and the linux distro, am i missing a setting or something

ta

rob_brum
Posts: 19
Joined: Sat May 05, 2012 6:22 am

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Wed May 16, 2012 5:41 pm

I had loads of problems trying to build through a vm in virtualbox, in the end I decided to dual boot windows/ linux mint and haven't had any problems since.

Rob

LastSilmaril
Posts: 167
Joined: Wed May 09, 2012 8:16 pm
Location: New York, USA

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Wed May 16, 2012 7:11 pm

humla wrote:Release r10995 without
...
- WLAN support
Couldn't find the option to disable WLAN support in projects/RPi/options - how do you do this?
EDIT: ok, I'm pretty sure you just delete 'wlan-firwmare' from the additional firmware near the bottom

LastSilmaril
Posts: 167
Joined: Wed May 09, 2012 8:16 pm
Location: New York, USA

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Wed May 16, 2012 7:25 pm

I see the nano text editor is there among the addons. Do I have to do anything to specify that it compile or...? Yes, I'm a sissy who doesn't like dealing with vi, what can I say

Hansel
Posts: 65
Joined: Mon Apr 30, 2012 10:13 pm

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Wed May 16, 2012 8:55 pm

26822c1204131953d06298ca7e3ee43f92c7bd8f failed, so it's somewhere between those two.

Now trying bd4c37762a9a382d800396a25ac9b152f5a443fa.

LastSilmaril
Posts: 167
Joined: Wed May 09, 2012 8:16 pm
Location: New York, USA

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Wed May 16, 2012 9:00 pm

I just tried compiling after shutting off vorbis encoder support, which I shut off as it seemed it was only necessary for CD-ripping. It seems that something else requires that library as the build failed:

Code: Select all

checking vorbis/vorbisfile.h usability... no
checking vorbis/vorbisfile.h presence... no
checking for vorbis/vorbisfile.h... no
configure: error: Could not find a required library. Please see the README for your platform.
Trying again, but this time enabling both Vorbis and LAME encoders. Somebody should comment in the options file that this switch is necessary or change what it does.

humla
Posts: 30
Joined: Sat May 05, 2012 9:02 pm

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Thu May 17, 2012 12:03 am

rob_brum wrote:
humla wrote:Release r10995 without
- DVD CSS
- Bluray
- Bluetooth
- AFP
- Samba
- SFTP server
- HFS tools
- Joystick support
- iSCSI support
- WLAN support

System size = 59 MB
Kernel size = 11 MB
Link -> http://www.mediafire.com/?mshwbc4vmv8m0w5
MD5 = 6937ddd98ccb6724347bc59e40885a2f OpenELEC-RPi.arm-devel-20120515210627-r10995.tar.bz2
How do you set which 'parts' not to build?
you edit this file inside the openelec folder-> projects/RPi/options
LastSilmaril wrote:I just tried compiling after shutting off vorbis encoder support, which I shut off as it seemed it was only necessary for CD-ripping. It seems that something else requires that library as the build failed:

Code: Select all

checking vorbis/vorbisfile.h usability... no
checking vorbis/vorbisfile.h presence... no
checking for vorbis/vorbisfile.h... no
configure: error: Could not find a required library. Please see the README for your platform.
Trying again, but this time enabling both Vorbis and LAME encoders. Somebody should comment in the options file that this switch is necessary or change what it does.
As I dont have a RPi yet, I would love to know how it performs with these features disabled. Also do addons perform well? I have heard that their response times are unusable but then people have been saying that they are using addons like in any other platform.

Hansel
Posts: 65
Joined: Mon Apr 30, 2012 10:13 pm

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Thu May 17, 2012 4:36 am

Hansel wrote:26822c1204131953d06298ca7e3ee43f92c7bd8f failed, so it's somewhere between those two.

Now trying bd4c37762a9a382d800396a25ac9b152f5a443fa.
Right, bd4c37762a9a382d800396a25ac9b152f5a443fa compiled OK, and this was the commit before the changes to the ccache stuff.

I'm going to go ahead and assume that's the problem, somehow.

I've just tried c85249eb83be7cc2bb064cddff9484f9ef699439 and that gives:

Code: Select all

make[1]: Leaving directory `/home/simon/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/ccache-3.1.7'
Could not set cache size limit.
make: *** [release] Error 1
As does 964f571ce47148b1ab7941abb3783ce56bce54b5.

As does 6b598a255e505385e84d9cdd12d4db844dc30449 :)

So, essentially, the last commit that works for me is:


busybox: set minimum free memory for all platforms (bd4c37762a9a382d800396a25ac9b152f5a443fa)

And it's the changing of the ccache stuff that's broken it for me.

Can anyone familiar with Linux tell me what I need to do to get it working again? I built the VM with a 50GB HDD so I'm assuming it's not a space issue, but then what I do I know.



Thanks!!

LastSilmaril
Posts: 167
Joined: Wed May 09, 2012 8:16 pm
Location: New York, USA

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Thu May 17, 2012 5:22 am

Hansel wrote:
And it's the changing of the ccache stuff that's broken it for me.

Can anyone familiar with Linux tell me what I need to do to get it working again? I built the VM with a 50GB HDD so I'm assuming it's not a space issue, but then what I do I know.


Thanks!!
So I'm not sure which build you're on, but what happened with .ccache was, it used to be inside the build directory, but sraue changed it to be under the home folder. That initial change didn't work for me, but it was then fixed to something that did. Here's what it looks like right now:

Code: Select all

export CCACHE_DIR=$HOME/.ccache-openelec
Here's how it looked like when it briefly didn't work (wasn't getting expanded).

Code: Select all

export CCACHE_DIR=~/.ccache-openelec
Here's how it probably looked like before it was changed at all:

Code: Select all

export CCACHE_DIR=$BUILD/.ccache
So you might wanna try dropping in that last thing. Oh, the relevant file is config/path
The size of your HDD should not be relevant, even though the ccache max size was also upped to 30G (working on a 40GB VM here.) If you wanna make that smaller, look for the relevant line in config/options.

LastSilmaril
Posts: 167
Joined: Wed May 09, 2012 8:16 pm
Location: New York, USA

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Thu May 17, 2012 5:23 am

It seems that there is now a default xbmc/advancedsettings.xml file, by the way, so if you've already got a custom file you might wanna back it up or combine it with this one

LastSilmaril
Posts: 167
Joined: Wed May 09, 2012 8:16 pm
Location: New York, USA

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Thu May 17, 2012 5:26 am

humla wrote: As I dont have a RPi yet, I would love to know how it performs with these features disabled. Also do addons perform well? I have heard that their response times are unusable but then people have been saying that they are using addons like in any other platform.
I haven't tried the addons yet and am not sure how to specify that they be compiled/where to compile them

Hansel
Posts: 65
Joined: Mon Apr 30, 2012 10:13 pm

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Thu May 17, 2012 5:27 am

LastSilmaril wrote:
Hansel wrote:
And it's the changing of the ccache stuff that's broken it for me.

Can anyone familiar with Linux tell me what I need to do to get it working again? I built the VM with a 50GB HDD so I'm assuming it's not a space issue, but then what I do I know.


Thanks!!
So I'm not sure which build you're on, but what happened with .ccache was, it used to be inside the build directory, but sraue changed it to be under the home folder. That initial change didn't work for me, but it was then fixed to something that did. Here's what it looks like right now:

Code: Select all

export CCACHE_DIR=$HOME/.ccache-openelec
Here's how it looked like when it briefly didn't work (wasn't getting expanded).

Code: Select all

export CCACHE_DIR=~/.ccache-openelec
Here's how it probably looked like before it was changed at all:

Code: Select all

export CCACHE_DIR=$BUILD/.ccache
So you might wanna try dropping in that last thing. Oh, the relevant file is config/path
The size of your HDD should not be relevant, even though the ccache max size was also upped to 30G (working on a 40GB VM here.) If you wanna make that smaller, look for the relevant line in config/options.
Hmm. I mean I've tried the latest commits, which I'd assume would have the ccache fixed version of course, but they just fail (albeit with a different message, which is as follows):

Code: Select all

/home/simon/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222/objdir-eglibc/libcpic.os: In function __GI___libc_freeres':
find_exidx.c:(__libc_freeres_fn+0x8d0): undefined reference tostart__libc_subfreeres'
/home/simon/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/toolchain/lib/gcc/armv6zk-openelec-linux-gnueabi/4.7.0/../../../../armv6zk-openelec-linux-gnueabi/bin/ld: /home/simon/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222/objdir-eglibc/libc.so: hidden symbol __start___libc_subfreeres' isn't defined
/home/simon/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/toolchain/lib/gcc/armv6zk-openelec-linux-gnueabi/4.7.0/../../../../armv6zk-openelec-linux-gnueabi/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[3]: *** [/home/simon/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222/objdir-eglibc/libc.so] Error 1
make[3]: Leaving directory/home/simon/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222/elf'
make[2]: *** [elf/subdir_lib] Error 2
make[2]: Leaving directory /home/simon/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222'
make[1]: *** [all] Error 2
make[1]: Leaving directory/home/simon/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222/objdir-eglibc'
make: *** [release] Error 2
I assume it's related, as I just can't build anything after the ccache commits :(

LastSilmaril
Posts: 167
Joined: Wed May 09, 2012 8:16 pm
Location: New York, USA

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Thu May 17, 2012 5:44 am

Hansel wrote:
I assume it's related, as I just can't build anything after the ccache commits :(
Um, there's nothing in there about the ccache location though, not sure what's going on in there. Does changing the location back whilst using the latest builds do anything for you?
Here's your error:

Code: Select all

/home/simon/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/toolchain/lib/gcc/armv6zk-openelec-linux-gnueabi/4.7.0/../../../../armv6zk-openelec-linux-gnueabi/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
So something ain't working at the linking stage. I know this is a silly question but you're cleaning you're build dir with 'make clean' right? I wasn't doing that and had issues with my builds, though they did compile.

milhouse
Posts: 634
Joined: Mon Jan 16, 2012 12:59 pm

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Thu May 17, 2012 6:00 am

Just to rule out problems with my own builds and/or hardware, is anyone else getting OMX errors in their xbmb.log? It seems to be related to the display of cover art/box art/fan art (ie. images), more often than not I get black spaces where there should be the thumbnails for movies and any associated fan art.

Using default Confluence skin, build r10977 but same error in previous builds.

Example log entry (after clicking on Movies with "View" set to Thumbnail):

Code: Select all

07:06:37 T:1098821632   ERROR: GL: OMX Image Error
07:06:46 T:1098821632   ERROR: Previous line repeats 819 times.
07:06:46 T:1098821632   ERROR: COMXCoreComponent::Initialize - could not get component handle for OMX.broadcom.image_decode omx_err(0x80001000)
07:06:46 T:1098821632   ERROR: COMXTexture::Open error m_omx_render.SetStateForComponent
07:06:46 T:1098821632   ERROR: GL: OMX Error decode Image into Texture
07:06:46 T:1098821632   ERROR: GL: OMX Image Error

Hansel
Posts: 65
Joined: Mon Apr 30, 2012 10:13 pm

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Thu May 17, 2012 6:13 am

LastSilmaril wrote:
Hansel wrote:
I assume it's related, as I just can't build anything after the ccache commits :(
Um, there's nothing in there about the ccache location though, not sure what's going on in there. Does changing the location back whilst using the latest builds do anything for you?
Here's your error:

Code: Select all

/home/simon/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/toolchain/lib/gcc/armv6zk-openelec-linux-gnueabi/4.7.0/../../../../armv6zk-openelec-linux-gnueabi/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
So something ain't working at the linking stage. I know this is a silly question but you're cleaning you're build dir with 'make clean' right? I wasn't doing that and had issues with my builds, though they did compile.
Yeah, I know it doesn't really mention the ccache, I just figured it was a bit of a coincidence that the last working commit was right before that stuff was changed :)

I always do a make clean, yep, so we can rule that out.

I was just about to switch to the old ccache directory (CCACHE_DIR=$ROOT/$BUILD/.ccache)so I'll let you know how that goes.

LastSilmaril
Posts: 167
Joined: Wed May 09, 2012 8:16 pm
Location: New York, USA

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Thu May 17, 2012 6:26 am

Aight, good luck!

jardiamj
Posts: 18
Joined: Thu Jan 19, 2012 7:11 pm

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Thu May 17, 2012 7:19 am

I was trying to build OpenELEC today, following the instructions from this link -> http://wiki.openelec.tv/index.php?title ... spberry_Pi.

But the build doesn't finish, it stops after a while with the following comment:

Code: Select all

Leaving directory `/home/jardi/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/xbmc-rpi-7d3f895'
make[1]: Entering directory `/home/jardi/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/xbmc-rpi-7d3f895'
make[1]: Warning: File `Makefile.in' has modification time 2.8e+04 s in the future
Regenerating Makefiles...
It just hangs there repeating the same lines over and over. Any ideas of what's going wrong?

arun
Posts: 8
Joined: Tue May 15, 2012 8:59 pm

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Thu May 17, 2012 7:21 am

Hi,
i just tried to compile r11019 but now the Raspberry does not come up anymore. Just black screen. I recognized that the size of the kernel.img dropped from around 8.5Mb to 3.5Mb.

Anyone else with the same problem?

piprog
Posts: 20
Joined: Thu May 10, 2012 3:09 pm

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Thu May 17, 2012 7:30 am

arun wrote:Hi,
i just tried to compile r11019 but now the Raspberry does not come up anymore. Just black screen. I recognized that the size of the kernel.img dropped from around 8.5Mb to 3.5Mb.

Anyone else with the same problem?
@arun: I think you might have picked up the Debian kernel.img instead of the openelec one somehow. that will render openelec inert :)

arun
Posts: 8
Joined: Tue May 15, 2012 8:59 pm

Re: OpenELEC meets Raspberry Pi - part 1 (XBMC)

Thu May 17, 2012 7:36 am

piprog wrote:
arun wrote:Hi,
i just tried to compile r11019 but now the Raspberry does not come up anymore. Just black screen. I recognized that the size of the kernel.img dropped from around 8.5Mb to 3.5Mb.

Anyone else with the same problem?
@arun: I think you might have picked up the Debian kernel.img instead of the openelec one somehow. that will render openelec inert :)
Really? I haven't changed the way of compiling it. R10954 worked and now r11009 and r11019 came up with the same small kernel size.

I have done the following:

Code: Select all

make clean
git pull
PROJECT=RPi ARCH=arm make

Return to “Media centres”