Differences between revisions 11 and 12
Revision 11 as of 2006-01-16 13:16:30
Size: 3082
Editor: HectorOron
Comment:
Revision 12 as of 2006-02-21 00:02:56
Size: 3101
Editor: wookey
Comment: Update crosstool info
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
Add these lines to your /etc/apt/sources.list: Add whichever of these lines your need to your /etc/apt/sources.list:
Line 23: Line 23:
 # deb http://www.emdebian.org/emdebian-tools/oldstable ./
Line 25: Line 24:
 # deb http://www.emdebian.org/emdebian-tools/unstable ./  deb http://www.emdebian.org/emdebian-tools/testing ./
deb http://www.emdebian.org/emdebian-tools/unstable ./
Line 28: Line 28:
The "oldstable" and "unstable" distributions are unavailable at this time. The "testing" and "unstable" distributions should be considered experimental at this time, and are currently poorly synced with Debian mainstream, so you may have to force things a bit.
Line 33: Line 33:
 aptitude install gcc-3.3-arm-linux  aptitude install gcc-3.4-arm-linux
Line 41: Line 41:
You can alternatively install gcc-3.4-arm-linux (which is probably a good
idea as 3.3 is now out of date). See also Niktitas toolchain for more
up to date builds: http://zigzag.lvk.cs.msu.su/~nikita/debian/
You can alternatively install gcc-3.3-arm-linux, or for arches where it all builds, gcc-4.0-arm-linux

Adapted Debian tools so you can build/cross-compile DebianPackage s or adapted packages with an emdebian dir.

As it seems at the moment the ["Scratchbox"] environment seems to be a primary target to try out these things. With the advantage that we can ignore some cross-compilation issues, and that the tools are easily usable natively too.

Project Website

http://www.emdebian.org/

Frequently Asked Questions (FAQ)

["EmbeddedDebianFAQ"]

Cross Toolchain

For Debian Sarge on i386 there is at least the following tool chain available:

Add whichever of these lines your need to your /etc/apt/sources.list:

 deb http://www.emdebian.org/emdebian-tools/stable ./
 deb http://www.emdebian.org/emdebian-tools/testing ./
deb http://www.emdebian.org/emdebian-tools/unstable ./

The "testing" and "unstable" distributions should be considered experimental at this time, and are currently poorly synced with Debian mainstream, so you may have to force things a bit.

To install the full toolchain (binutils, gcc, cpp, glibc), for e.g. ARM do:

 aptitude update
 aptitude install gcc-3.4-arm-linux

You will also need the development libraries:

 aptitude install libc6-dev-arm-cross

You can alternatively install gcc-3.3-arm-linux, or for arches where it all builds, gcc-4.0-arm-linux

TODO

  • http://lists.debian.org/debian-embedded/2005/11/msg00014.html

    • Current state of affairs.
  • bring Ed's framework upto date with Etch.
  • create configurations for various devices and document howto do it
  • promote DEBUILD_OPTIONS=nodocs flag for not building docs
  • promote DEBUILD_OPTIONS=notest for skipping tests
  • co-operate with i386-uclibc team and embedded arch porters
  • Kill scratchbox in it's current form and make a better scratchbox2
  • Settle and stick in to one of: familiar/ipkg, emdebian or udebs

Set-up a buildd inside scratchbox (which should be possible as I heard that it has already been done) to start building more packages. (This will hopefully be possible when the emdebian server is back up). (Once I find out how to silence my proliant server I might hook it up to my internet line and provide a secondary build env)

Document setting up the buildd so ["people"]/ ["dev"]s can try it out for themselves.

Integrate ["uclibc"] in the story. This will definitely give some size boost toward smaller footprint to the packages.

Once we have proven that this works start pushing things into Debian proper.

Optional :

  • Make sure everything works with the successors of scratchbox
  • Check the ARM build of Ubuntu

Well I hope I can open a fruitfull discussion with this and hope to see some more people starting to work on this.

See also: BootUsb , DebianRobot , EmDebian/DeBootstrap .

Work Sessions

February 25&26th [http://wiki.debian.org/EmDebian/Fosdem2006 Fosdem2006]

April 12-16 DebianEmbeddedWorkSessionExtremadura2006

May 14th - May 21st DebConf6