Topic: Changing linux to debian or ubuntu

I'd like to change the linux to debian or ubuntu and keep the chumbian software. Is it possible? How to do it? Where can I get and how can I install the chmbian packages?

Re: Changing linux to debian or ubuntu

Well, the source code for almost all of it can be found here.  The notable exception is the Adobe Flash Lite Player, which we are contractually obligated to distribute in binary form *only* as part of a full firmware image, and therefore can't be distributed separately, even if we wanted to.

Re: Changing linux to debian or ubuntu

Could these bineries be copied from the firmware and run on my new distribution? Or can I install an original flash lite player from adobe by myself?

Re: Changing linux to debian or ubuntu

Adobe does not distribute the Flash Lite binary themselves.

I am contractually prevented from offering you any assistance with using the binary separate from our firmware.

Re: Changing linux to debian or ubuntu

But it is possible to run an other linux with all other "chumbian" packages, except Flash lite? "All" I need is to program an own "desktop" and I could use all the "hacks" shown in the wiki?

Re: Changing linux to debian or ubuntu

Hey Duane, is it possible to run other linux with all chumbian scripts excet flash?

My problem is that I can't compile ANYTHING on chumby. I try to compile lighttpd as described on wiki: I get a problem with pcre (it can't be compiled, cancels with an g++ error). I tried to compile midnight commander on chumby and have problems with other packeges (I posted on forum). I am getting more and more frustrated with it. My ambition is to run a homeautomatization on in. But I need lighttpd with perl and php. It should be possible, but a lot of packages are too old and many of them don't like to be updated on chumby. Some packages need to be installed (like pcre) but they cancel while doing "make" with a serious g++ error.

By the way: This description for lighttpd seems to be wrong. It does not describe that lighttpd needs pcre. But you describe this on the article with scratchbox.

Re: Changing linux to debian or ubuntu

The description for compiling lighttpd assumes you're using a cross development system, not building on the chumby itself.

Using scratchbox is just another form of cross development.

What errors are you getting when building pcre?

Re: Changing linux to debian or ubuntu

The first description is also not for chumby itself?? So, what can I do with the lighttpd on cross dev system?

The error:

g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [pcrecpp_unittest.o] Error 1
make[1]: Leaving directory `/mnt/usb-aba8c928-2406-4672-9603-f3c0c7a5df0a/pcre-8.20'
make: *** [all] Error 2

Re: Changing linux to debian or ubuntu

The first link is using a cross-development toolchain running under Ubuntu on an x86 machine.

The way cross development systems work is that you build the software on that system, then copy the binaries to the target machine.

It's actually quite unusual to be able to build software on an embedded system itself.

The gcc error while building pcre is quite odd.

Re: Changing linux to debian or ubuntu

Yes it is odd. As I googled I found this. But I don't understand this.

And if I compile lighttpd on cross dev system, which files do I have to copy to my chumby?

Re: Changing linux to debian or ubuntu

The instructions at the first link should show that - basically you end up with a set of directories that need to be copied.

Re: Changing linux to debian or ubuntu

Cross dev system is this link woth scratchbox?

Re: Changing linux to debian or ubuntu

The first link is a straightforward cross-development build, not using scratchbox.  My guess is that using scratchbox might be easier.

Re: Changing linux to debian or ubuntu

Sorry that I ask again, but I'm new into setting up for arm devices: First I need to setup scratchbox, after that I can compile e.g. lighttpd and then copy it to chumby and use it? Am I right? Can I do this with all other packages, midnight commander e.g.?

Re: Changing linux to debian or ubuntu

Yes, that's how it works.

16 (edited by jskeletti 2011-11-19 05:39:39)

Re: Changing linux to debian or ubuntu

Now I'm stuck while "building the packages". I get errors while try the following:

make CONFIG=meta/alien-tc/arm-2008q3.conf -C meta/alien-tc

The errors:

mv -f libltdl/loaders/.deps/libltdl_libltdl_la-preopen.Tpo libltdl/loaders/.deps/libltdl_libltdl_la-preopen.Plo
mv: cannot stat `libltdl/loaders/.deps/libltdl_libltdl_la-preopen.Tpo': No such file or directory
make[5]: *** [libltdl/loaders/libltdl_libltdl_la-preopen.lo] Error 1
make[5]: Leaving directory `/home/user/sb-toolchain-extras/autotools/libtool/work/libtool-2.2.6b'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/user/sb-toolchain-extras/autotools/libtool/work/libtool-2.2.6b'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/user/sb-toolchain-extras/autotools/libtool/work/libtool-2.2.6b'
make[2]: *** [build-work/libtool-2.2.6b/Makefile] Error 2
make[2]: Leaving directory `/home/user/sb-toolchain-extras/autotools/libtool'
make[1]: *** [build-libtool] Error 2
make[1]: Leaving directory `/home/user/sb-toolchain-extras/meta/device_tools'
make: *** [build-archtools] Error 2
make: Leaving directory `/home/user/sb-toolchain-extras/meta/alien-tc'

Can you help?

EDIT: I repeated the steps from "configure the toolchain" and it worked. But now I've got a problem with making perl.It stops after half an hour with error 126, unable to dump. This time it didn't worked to repeat the procedure. It hangs always at the same place.

Re: Changing linux to debian or ubuntu

I think you start in the wonrg way. You should start with compiling something easier and go step by step on more complex application that use lib and so on. Something very easy to compile is Espeak and it's funny to play with it on the Chumby. After you can find many information on the net about compiling program for ARM cpu. Also like said Duane it's far easier to use scratchbox (or I guess cause I was only using cross compiling).

Also, If you don't manage just to compile this kind of application, I think that would be a very bad idea to try to build another OS on your device.

I wish all the best in programming and be patient :-)