[REQUEST] Is there an interest for cross-compiling?
#1
Lightbulb 
Hello,
I am new to this forum and would like to introduce my project.
I am working on an embedded Linux distribution which runs a media center. The goal is to create a very small but very fast distribution, which takes on a flash card space. I am using very latest software, the latest kernel and the latest Xorg server - and as an small glibc replacement - uClibc.
I have tried some Mediacenter (Elisa/ Moovida, Enna, Mythtv) but i am not satisfied with there functionality or usuability. So i am planning to include xbmc to my distro.

After some hours of testing, compiling and patching XBMC lets crosscompile against uClibc.

Is there an interest to include my patches for uClibc and crosscompiling XBMC?
Is there an mailinglist for developers for discussion and submit patches?

Greetings

Stephan Raue

--
### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
http://www.openelec.tv
Reply
#2
humm, interesting. Typical method is to create a trac ticket and post the patch there. If the patch is not intrusive to the normal builds, then a dev might merge into trunk.

Question, I've always found uClibc to be a pain in the rear trying to use it in apps that link to many other things, everything has to go uClibc. I've had better luck building busybox to link to glibc, then bringing over needed libs. True, it's not near as small as using uClibc but it's much easer to test and debug. ATV-Bootloader does this.
Reply
#3
Yeah, lets get the patch up on trac and go from there. Realize that we're entering a release cycle, though. So, this may get tossed on the back burner for a few weeks.
Reply
#4
I'd be interested in seeing the patches, as I've put a good bit of thought/work into a slim distro as well.

Could you submit the patch to trac?

Thanks
TheUni
Reply
#5
o.k i will submit all my patches on trac as member openelec.tv. some patches has nothing to do with uclibc or crosscompiling, but needed to build e.g. with gcc-4.4

Stephan

p.s. my distro is with xbmc and the 2 default skins and with some devel/debug stuff around 65MB and starts to Xorg in ca. 5sec. but i have still issues running xbmc.
Reply
#6
Please submit all the uclibc patches to the same ticket, rather than 1 for each.

Thanks.
TheUni
Reply
#7
Thumbs Up 
some patches i have submitted (not all)

http://trac.xbmc.org/ticket/7387
http://trac.xbmc.org/ticket/7388
http://trac.xbmc.org/ticket/7389
http://trac.xbmc.org/ticket/7390
http://trac.xbmc.org/ticket/7391

Stephan

--
### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
http://www.openelec.tv
Reply
#8
ok... can i close this tickets an open a new with all patches?
Reply
#9
Sure, I'll close them.
Reply
#10
can i submit the crosscompiling patches in the some ticket?
Reply
#11
Yes, just stick all of your patches together if they're all necessary for the same feature.
Reply
#12
i have all patches submit to http://trac.xbmc.org/ticket/7392

one patch i have not submitted, because i am not sure if its good or wrong. i do a review of this patch and then i will submit this too.

if anyone can crosscompile against uClibc (all xbmc-included libs are extern) i would be glad if he test this. i have some issues to run xbmc:

~ # /usr/share/xbmc/xbmc-xrandr: out of memory
/usr/share/xbmc/xbmc-xrandr: out of memory
/usr/share/xbmc/xbmc-xrandr: out of memory
/usr/share/xbmc/xbmc-xrandr: out of memory
/usr/bin/xbmc: MathUtils.h: 33: int MathUtils::round_int(double): Assertion `x > static_cast<double>((-2147483647 - 1) / 2) - 1.0' failed.
Reply
#13
openelec.tv Wrote:I am working on an embedded Linux distribution which runs a media center.

Hi,
I am interested in knowing what your embedded linux distribution is, and what architecture it runs under...
Thanks
¤ [McGeagh] ¤
Reply
#14
you can get it here:

https://code.launchpad.net/~sraue/openelec/devel (all xbmc stuff not included)

this distro builds automatically with e.g
Code:
PROJECT=intel make
(see for configuration projects/options)

it builds an kernel and an squashfs image to start an ambedded linux to X (and an mediacenter) in around 5 sec.
at the moment follow mediacenters are included (for testing - mostly not working):
- mythtv
- enna
- moovida

it builds and runs on recent x86 architectures, kernel config at the moment configured for actual intel hardware (intel graphic).
other hardware can be included.
Reply
#15
Thumbs Up 
davilla Wrote:Question, I've always found uClibc to be a pain in the rear trying to use it in apps that link to many other things, everything has to go uClibc. I've had better luck building busybox to link to glibc, then bringing over needed libs. True, it's not near as small as using uClibc but it's much easer to test and debug. ATV-Bootloader does this.

Davilla,

i dont have many problems with uClibc. Sure some problems i have too. This is because uClibc have no working NPTL at the moment. Moreover uClibc followed Posix standard and many non standard functions of glibc are not supported.

Big Grin Big Grin Now i have an running XBMC build with uClibc!!! Big Grin Big Grin

With Patches i have submitted to http://trac.xbmc.org/ticket/7392 i have made an 45-50MB image with lirc, SSH server, Samba Server etc... that can start XBMC in 5-7 sec from Grub to XBMC. I have still some problems with Alsa (see http://trac.xbmc.org/ticket/7436.
Some functions are not implemented yet... but, if i have an working XBMC with sound, i will make an image you and other peoples can try. Maybe i can get a little bit Help from others from here to make the distro stable, better and faster. I hope of a solution for my sound problem the next days, so i can provide the image as fast as possible.

Greetings

Stephan Raue (http://www.openelec.tv)
greetings, Stephan

Image

Image
Reply

Logout Mark Read Team Forum Stats Members Help
[REQUEST] Is there an interest for cross-compiling?0