Linux Distributions for Embedded Development?
FirmWarez asks: "Time to put together a new Linux box. I'm an embedded systems guy. I need to support cross development for a number of embedded platforms, from tiny micro-controllers through Coldfire, ARM, and other embedded processors. Projects will range from 'for work' to putzing around with open sourced consumer gadgets. What Linux distribution would you choose and why?"
The Linux From Scratch project, while not really a distribution is very well suited to this type of task
http://www.uclinux.org/index.html
If this dosn't work on your processor, nothing does.
Wonder what the public key field is for?
Any decent desktop distribution should work great for what you're doing.
Agreed. Having, "been there, done that", I've used both Fedora Core and Mandrake for this in the past. (Mandrake because this was my main PC and I wanted easier access to multimedia and a slicker desktop).
Most of the time will be spent actually building the cross-compilation toolkit and developing code for the target, so you might as well do it in an environment that you're familiar and comfortable with.
-- Joe
Use the easiest and most up-to-date distro you can. I personally use Fedora Core 5 for cross-development, but RedHat, SuSE, Debian, Ubuntu or whatever is probably fine. You'll need to add (or build) your own cross-compilers and debuggers. Nothing comes with those tools out of the box. And generally for every target, there is generally a preferred toolchain and set of libraries. buildroot (http://buildroot.uclibc.org/) is very handy for building cross-toolchains, by the way.
Things that you'll want to install:
minicom (a serial terminal emulator program)
tftp server (for embedded systems to boot over the network)
telnet (for things that don't include ssh)
cross-toolchains (*-gcc) and cross-debuggers (*-gdb), you'll have to build these yourself, probably.
Then whatever development environment you want. I personally like using Eclipse with the C/C++ environment, since I don't need to manage makefiles or build scripts by hand and it can target native compiles as well as cross-compiling.
My other first post is car post.
> I use Gentoo on my toaster and it runs great. In about 13 years it will have finished compiling Bash
Go and read something about Gentoo Embedded and stop trolling!
We use Familiar as the basis of our distribution. Familiar is nice because it leverages most Debian-ARM packages, so you don't have to do very much compiling, and most of the build system is scripts and easily compilable programs.
u x/
I've personally ported the entire Familiar system to another architecture, too - PowerPC (IBM/AMCC 405 series), and Debian-PowerPC for the most part works. Took me a couple of weeks to create the port, which involved repackaging a number of Debian-PowerPC packages for size.
The ability to leverage a normal Linux distribution, especially Debian (there aren't many distributions that have the immense number of architectures as Debian) saves a LOT of time. Recompiling sucks.
Here are some links - I did a lot of work on the build process.
http://download.intrinsyc.com/supported/iso/i-lin
The PowerPC one is similar to the 4.x releases, 5.0 is ARM only but uses a later version of Familiar, so you'll want that.