[ANN] OpenELEC.tv - very small and fast booting Embedded Linux Distribution with XBMC

  Thread Rating:
  • 8 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
sraue Offline
Team-XBMC Developer
Posts: 912
Joined: Oct 2009
Reputation: 14
Location: Switzerland, Solothurn
Thumbs Up  [ANN] OpenELEC.tv - very small and fast booting Embedded Linux Distribution with XBMC
Post: #1
Hi all,

i will give you an look at my selfmade (from scratch) linux distribution to start XBMC. It boots very fast (i hope i can do this faster) and needs at the moment around 45MB on any flash card or hard disk drive. On the video you cannot see an bootloader ( i use extlinux for this) so i have integrated an ugly welcome message. this message is displayed direct after kernel has booted (around 1 sec.). so you can see if OpenELEC is fast enough for you. I will plan an release in next time, but i must fix some issues first. OpenELEC starts also an Samba server, ssh server and some services needed for running (udev, hal, dbus, avahi, syslog, networking, hardware detection). For more informations see http://www.openelec.tv (in progress)

look here if you want: http://www.youtube.com/watch?v=una1mYC3h1E

many greetings and thanks to xbmc developers for help Wink

Stephan

greetings, Stephan

[Image: userbar-openelec-001.gif]
[Image: project_thin_badge.gif]
(This post was last modified: 2009-11-11 21:07 by sraue.)
find quote
leigh_munro Offline
Member
Posts: 55
Joined: Aug 2006
Reputation: 0
Location: Brisbane
Post: #2
thats pretty impressive.... wonder if this could work on the appletv?
find quote
rwparris2 Offline
Team-XBMC Python Developer
Posts: 1,333
Joined: Jan 2008
Reputation: 2
Location: US
Post: #3
Awesome Smile
Out of curiousity, how does the speed of this compare to xbmc live?

I'd love to see a 'powered by xbmc' somewhere on your spash screen if using XBMC is the entire point of your distro. Nod

Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
find quote
sraue Offline
Team-XBMC Developer
Posts: 912
Joined: Oct 2009
Reputation: 14
Location: Switzerland, Solothurn
Smile   
Post: #4
rwparris2 Wrote:Awesome Smile
Out of curiousity, how does the speed of this compare to xbmc live?

i dont know exactly, i never used xbmc-live to boot from harddisk. but i think its much slower

rwparris2 Wrote:I'd love to see a 'powered by xbmc' somewhere on your spash screen if using XBMC is the entire point of your distro. Nod

this video is only an "technical preview" - i have some issue to fix before i make an release. i want also an great theme and an better splash (with an better logo) - and some python scripts - if anyone can help me with this? Big Grin

greetings, Stephan

[Image: userbar-openelec-001.gif]
[Image: project_thin_badge.gif]
find quote
estyx Offline
Junior Member
Posts: 18
Joined: Jun 2009
Reputation: 0
Post: #5
openelec.tv Wrote:this video is only an "technical preview" - i have some issue to fix before i make an release. i want also an great theme and an better splash (with an better logo) - and some python scripts - if anyone can help me with this? Big Grin

Just shout out what ya need the scripts to do and I'll see what I can do, if not there's probably someone else who can help out Wink I was working on a distro myself based on Moblin but I just dont have the time, but I'm more that willing to help out on your project Smile
find quote
Evanrich Offline
Fan
Posts: 491
Joined: Nov 2008
Reputation: 0
Location: Sunnyvale, CA
Post: #6
rwparris2 Wrote:Awesome Smile
Out of curiousity, how does the speed of this compare to xbmc live?

I'd love to see a 'powered by xbmc' somewhere on your spash screen if using XBMC is the entire point of your distro. Nod

on my zotac Ion 330 board, it takes exactly 27 seconds from pushing the power button, to getting to the Alaska screen. (part of that is putting 0 seconds for the boot menu screen). I hope to drop this down even further with the new SSD I just bought for my box (as my fujitsu laptop hard drive reads a max of 29MB/sec, hopeing the SSD will be faster. regardless, I see 27 seconds as being fairly fast already.

Board: Zotac ION-A-U Case: M350 Mini ITX Memory: 4GB Patriot PC6400 OS: XBMC on OpenELEC.tv build 6936 on a Corsair 32GB SSD Media Storage: W2K8 running on 14TB RAID 5 on an Asrock board w/ AMD Athlon X2 250 and PERC 6/I controller w/ 8 Samsung HD204UI Green drives Time to interface from power switch: 22.4 seconds.
find quote
sraue Offline
Team-XBMC Developer
Posts: 912
Joined: Oct 2009
Reputation: 14
Location: Switzerland, Solothurn
Post: #7
Evanrich Wrote:I hope to drop this down even further with the new SSD I just bought for my box (as my fujitsu laptop hard drive reads a max of 29MB/sec, hopeing the SSD will be faster. regardless, I see 27 seconds as being fairly fast already.

why do you buy an ssd if you have an NAS? look here:
http://www.innodisk.com/production.jsp?flashid=92
http://www.innodisk.com/production.jsp?flashid=41
http://www.innodisk.com/production.jsp?flashid=29
http://www.innodisk.com/production.jsp?flashid=34

but this is not all. i have build an minimal distro with only Software need to run xbmc so i have an image from 45MB (in the moment). i have optimized loading of services and drivers. for example: Xorg starts at beginning as any of the very first services. Xorg is als optimizied to start quick. in parallel of xorg starts hardwaredetection and all needed for xbmc to run, then all that is not need to run xbmc, then xbmc parallel to this (and if xorgs is running). all services that not depends on any other service starts parallel. i can this also make a little bit faster if i move all drivers statically to kernel. this can i do if i have an limited hardwaresupport. i also plan to integrate coreboot so i have an boottime from max. around 7 sec. from poweron to xbmc. but this only possible with a few mainboards.

greetings, Stephan

[Image: userbar-openelec-001.gif]
[Image: project_thin_badge.gif]
find quote
sraue Offline
Team-XBMC Developer
Posts: 912
Joined: Oct 2009
Reputation: 14
Location: Switzerland, Solothurn
Post: #8
estyx Wrote:Just shout out what ya need the scripts to do and I'll see what I can do, if not there's probably someone else who can help out Wink I was working on a distro myself based on Moblin but I just dont have the time, but I'm more that willing to help out on your project Smile

i need an program to update my distro from internet for new releases.
my release is packed to eg. OpenELEC-xxx-yyy-zzz.tar.bz2 and avaible at e.g http://releases.openelec.tv/xxx/yyy
xxx is an hardware or project id (appletv/generic/or an special project id)
yyy is devel or release
zzz is an versionsnumber
-this program looks at /etc/release for xxx, yyy, zzz which version is installed (automatically if xbmc is online, or if user want) and compare this with the latest version on http://releases.openelec.tv/xxx/yyy
- download to /var/tmp and extract this to /storage/.update (/storage is $HOME and is the only location of OpenELEC.tv with write support where data can be stored. /var is also r/w but this is an ramdisk and data will be lost after reboot)
- display an message to xbmc (i think this is possible via dbus) that the update is downloaded/extracted and user must reboot for install the update.
the installation of updates stored to /storage/.update after reboot is already implemented.
- user can setup if this program looks on every startup/ periodically/ or only on user request for updates

can you or anyone do this for me - i think its not very hard?

greetings, Stephan

[Image: userbar-openelec-001.gif]
[Image: project_thin_badge.gif]
find quote
sraue Offline
Team-XBMC Developer
Posts: 912
Joined: Oct 2009
Reputation: 14
Location: Switzerland, Solothurn
Post: #9
rwparris2 Wrote:I'd love to see a 'powered by xbmc' somewhere on your spash screen if using XBMC is the entire point of your distro. Nod

How this looks?

http://openelec.tv/index.php/gallerie.html

greetings, Stephan

[Image: userbar-openelec-001.gif]
[Image: project_thin_badge.gif]
find quote
Swifty Offline
Fan
Posts: 618
Joined: Nov 2008
Reputation: 5
Post: #10
Excellent looking project, can't wait to give this a try and see how fast I can get my Acer Revo booting!

All we need now is a way to power on from cold via remote Smile
find quote
sraue Offline
Team-XBMC Developer
Posts: 912
Joined: Oct 2009
Reputation: 14
Location: Switzerland, Solothurn
Smile   
Post: #11
Swifty Wrote:All we need now is a way to power on from cold via remote Smile

there are IR Receivers for USB with power on funktion if the PC is switched off. This needs an USB port aktivated power if pc is switched off (there are many boards with this - some cane enable this feature in bios or per jumper). you can test this with an USB optical mouse (NOT cordless). if there are an light if pc is switched off you have this function. there are also receiver for RS232

IR Receiver looks like this:
http://www.atric.de/IR-Einschalter/index.php
http://www.simerec.com/PCS-2.html
http://www.serasidis.gr/circuits/InReCoMe/InReCoMe.htm
http://www.ocinside.de/go_e.html?http://...eiver.html
http://xir.us/xireasy.aspx

greetings, Stephan

[Image: userbar-openelec-001.gif]
[Image: project_thin_badge.gif]
find quote
Evanrich Offline
Fan
Posts: 491
Joined: Nov 2008
Reputation: 0
Location: Sunnyvale, CA
Post: #12
openelec.tv Wrote:why do you buy an ssd if you have an NAS? look here:
http://www.innodisk.com/production.jsp?flashid=92
http://www.innodisk.com/production.jsp?flashid=41
http://www.innodisk.com/production.jsp?flashid=29
http://www.innodisk.com/production.jsp?flashid=34

but this is not all. i have build an minimal distro with only Software need to run xbmc so i have an image from 45MB (in the moment). i have optimized loading of services and drivers. for example: Xorg starts at beginning as any of the very first services. Xorg is als optimizied to start quick. in parallel of xorg starts hardwaredetection and all needed for xbmc to run, then all that is not need to run xbmc, then xbmc parallel to this (and if xorgs is running). all services that not depends on any other service starts parallel. i can this also make a little bit faster if i move all drivers statically to kernel. this can i do if i have an limited hardwaresupport. i also plan to integrate coreboot so i have an boottime from max. around 7 sec. from poweron to xbmc. but this only possible with a few mainboards.

sole reason I'm going with an SSD (87$ 16GB SSD) is just to improve XBMC's loading time. I have no need to improve movie/tv playing speed, as my NAS already can stream 650Mbps across my gigabit network, so I'm just trying to get XBMC to boot as fast as humanely possible. I love how fast your system starts up, if it becomes a user-friendly *read: very linux-noob friendly* and can support lirc, I'd definately switch, as it looks like it's booting in about 10 seconds. My ultimate goal is to have an "almost instant on" box.

Board: Zotac ION-A-U Case: M350 Mini ITX Memory: 4GB Patriot PC6400 OS: XBMC on OpenELEC.tv build 6936 on a Corsair 32GB SSD Media Storage: W2K8 running on 14TB RAID 5 on an Asrock board w/ AMD Athlon X2 250 and PERC 6/I controller w/ 8 Samsung HD204UI Green drives Time to interface from power switch: 22.4 seconds.
find quote
estyx Offline
Junior Member
Posts: 18
Joined: Jun 2009
Reputation: 0
Post: #13
Can you upload the image somewhere? Would be really nice to play around with it a bit Smile
find quote
Jaken Offline
Senior Member
Posts: 157
Joined: Nov 2009
Reputation: 0
Post: #14
When this is getting ready. I would love support for appleTV. This is precisely what the aTV needs.
find quote
sraue Offline
Team-XBMC Developer
Posts: 912
Joined: Oct 2009
Reputation: 14
Location: Switzerland, Solothurn
Post: #15
estyx Wrote:Can you upload the image somewhere? Would be really nice to play around with it a bit Smile

the image at the moment only support intel hardware (incl. intel graphic). when you need support for other hardware we (i or you) must change the configuration. but then we must recompile the distro. what you need? the image or do you want compile the distribution (then you can make changes, and i can include this)

for the sources you can go to https://code.launchpad.net/~sraue/openelec/devel
there is also an bugtracker for bugs, an tracker for feature requests and so on... you can use this platform and i would be happy if anyone can help me a little bit to fix my bugs or include more hardware (i am have only intel systems for testing) or make documentation for the buildprocess etc...

to get the sources install bazar and get it with
Code:
bzr branch lp:openelec

NOTE: i use uClibc instead glibc, so it is not possible to include binary graphic driver (nVidia/ ATI) and so it is not possible to get vdpau working. i am thinking of include eglibc for this, but this is not priority 1

greetings, Stephan

[Image: userbar-openelec-001.gif]
[Image: project_thin_badge.gif]
(This post was last modified: 2009-11-22 14:25 by sraue.)
find quote
Post Reply