Ngày tải lên :
20/10/2013, 00:15
... ) and can
boot several operating systems (Linux, uClinux, and others)
Softgun: http://softgun.sourceforge.net
Virtual ARM system with many virtual onboard peripherals.
Boots Linux.
SWARM Software ARM arm7 emulator
http://www.cl.cam.ac.uk/~mwd24/phd/swarm.html
Can run uClinux
13
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
klibc
http://www.kernel.org/pub/linux/libs/klibc/
“Kernel C library”
Tiny and minimalistic C library designed for use in an initramfs at
boot time (alternative to initrds).
Fine for the creation of simple shell scripts.
Ships with small executables for use in shells, built with klibc,
and a klcc compiler to compile your own applications.
Not elaborate enough to support BusyBox applications.
Useful details in http://en.wikipedia.org/wiki/Klibc
19
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
Platform specific toolchains (1)
ARM
Code Sourcery (supports GNU/Linux, EABI and uClinux):
http://www.codesourcery.com/gnu_toolchains/arm/
Also available for Windows workstations.
MIPS
http://www.linuxmips.org/wiki/Toolchains (useful links)
6
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
Training contents (3)
Annexes
Automatic system generation with BitBake / OpenEmbedded
33
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
Other emulators
ColdFire emulator
http://www.slicer.ca/coldfire/
Can boot uClinux
37
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
Minicom (1)
Definition: serial communication program
Available in all GNU / Linux distributions
Capabilities (all through a serial link):
Serial console to a remote Unix system
File transfer
Modem control and dialup
Serial port configuration
50
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
Denx Software Engineering
http://denx.de
Created by Wolfgang Denk,
the author of the UBoot bootloader.
Create and support the Embedded Linux Development Kit (ELDK),
a complete and well documented development environment.
This kit is not only Free Software,
it can be downloaded freely by anyone.
A great community member and contributor!
15
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
Free Software tools for embedded systems
GNU / Linux workstation
Crosscompiling toolchains
9
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
uClibc
http://www.uclibc.org/ from CodePoet Consulting
License: LGPL
Lightweight C library for small embedded systems, with most features
though.
The whole Debian Woody was ported to it ... ) and can
boot several operating systems (Linux, uClinux, and others)
Softgun: http://softgun.sourceforge.net
Virtual ARM system with many virtual onboard peripherals.
Boots Linux.
SWARM Software ARM arm7 emulator
http://www.cl.cam.ac.uk/~mwd24/phd/swarm.html
Can run uClinux
13
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
klibc
http://www.kernel.org/pub/linux/libs/klibc/
“Kernel C library”
Tiny and minimalistic C library designed for use in an initramfs at
boot time (alternative to initrds).
Fine for the creation of simple shell scripts.
Ships with small executables for use in shells, built with klibc,
and a klcc compiler to compile your own applications.
Not elaborate enough to support BusyBox applications.
Useful details in http://en.wikipedia.org/wiki/Klibc
19
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
Platform specific toolchains (1)
ARM
Code Sourcery (supports GNU/Linux, EABI and uClinux):
http://www.codesourcery.com/gnu_toolchains/arm/
Also available for Windows workstations.
MIPS
http://www.linuxmips.org/wiki/Toolchains (useful links)
6
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
Training contents (3)
Annexes
Automatic system generation with BitBake / OpenEmbedded
33
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
Other emulators
ColdFire emulator
http://www.slicer.ca/coldfire/
Can boot uClinux
37
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
Minicom (1)
Definition: serial communication program
Available in all GNU / Linux distributions
Capabilities (all through a serial link):
Serial console to a remote Unix system
File transfer
Modem control and dialup
Serial port configuration
50
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
Denx Software Engineering
http://denx.de
Created by Wolfgang Denk,
the author of the UBoot bootloader.
Create and support the Embedded Linux Development Kit (ELDK),
a complete and well documented development environment.
This kit is not only Free Software,
it can be downloaded freely by anyone.
A great community member and contributor!
15
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
Free Software tools for embedded systems
GNU / Linux workstation
Crosscompiling toolchains
9
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
uClibc
http://www.uclibc.org/ from CodePoet Consulting
License: LGPL
Lightweight C library for small embedded systems, with most features
though.
The whole Debian Woody was ported to it ...
You can assume it satisfied most needs!
Size (arm): 4 times smaller than glibc!
uClibc: approx. 400 KB (libuClibc: 300 KB, libm: 55KB)
glibc: approx 1700 KB (libc: 1.2 MB, libm: 500 KB)
Now supported by MontaVista, TimeSys and Wind River.
42
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
Other ways to find existing free software
SourceForge: http://sourceforge.net/
Lots of projects hosted there
FSF / UNESCO Free Software Directory:
http://directory.fsf.org/
More than 4300 projects indexed (Nov 2005)
Internet search engines (of course!)
31
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
qemu user emulation
User emulation
(Linux host only)
User mode emulation : can run applications compiled for another CPU.
Supported: x86, ppc, arm, sparc, mips, m68k
Easy to run BusyBox for arm on i386 GNU / Linux:
qemuarm L /usr/local/arm/3.3.2 \
/home/bart/arm/busybox1.4.1/busybox ls
L: target C library binaries path (here crosscompiler toolchain path)
41
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
Freshmeat.net
http://freshmeat.net/
The number one site for Free Software searches
Most free software tools advertised there
Easy keyword search
Sort by relevance, vitality, popularity, last update
Useful details: license, home page, downloads, screenshot
Possible to subscribe to new releases
45
Free Software tools for embedded systems
© Copyright 20042008, Free Electrons
Creative Commons AttributionShareAlike 2.5 license
http:/ /free electrons.com
Jan 24, 2008
Commercial toolset strengths
Technical advantages
Well tested and supported kernel
and tool versions
Including early patches not
supported by the mainstream
kernel yet
Complete development tool sets:
kernels, toolchains, utilities, binaries
for impressive lists of target platforms
Integrated utilities for automatic kernel
image, initrd and filesystem generation.
Graphical developments tools
Development tools available on
multiple platforms: GNU / Linux,
Solaris, Windows...