embedded linux pitfalls
TRANSCRIPT
Sean HudsonEmbedded Linux Architect
Embedded Systems Division
Embedded Linux Pitfalls
Outline
IntroductionA bit o’ perspectivePitfallsConclusionsQ&A
2
Introduction
Setting expectations
3
A bit o’ perspective (History)
Click to edit Master text stylesSecond level
Third levelFourth level
Fifth level
4
A bit o’ perspective (History)
5
Pitfalls
6
Pitfalls – Some Fundamentals
Hardware and software: an impedance mismatch?
7
Pitfalls – Some Fundamentals
NIH syndrome
8
Pitfalls – Some Fundamentals
What do you mean this runs on my desktop?
9
Click icon to add table
Pitfalls - Maintenance
10
nBuilding the “Tower of Babel”
Click icon to add table
nCarrying too many patches
Pitfalls – Maintenance
11
Click to edit Master text stylesSecond level
Third levelFourth level
Fifth level
Pitfalls – System Design
Interfaces, APIs, & contracts
12
Pitfalls – System Design
Upgrade path
13
Pitfalls – Tools
Debuggers are your friend. No, really.
14
Pitfalls – Tools
Use NFS to mount your target rootfs
15
Conclusions
16
Questions?
17
PitfallsFundamentals:
What do you mean that I can’t use my hammer?
What do you mean this runs on my desktop?
Treating Linux the same as you would your commercial/bare metal OS
Hardware isn’t a product
NIH syndrome
Planning/Design:What’s in the choice of a CPU? Know thy footprint!
Interfaces, interfaces, interfaces
Forgetting the upgrade path until the end, if at all
Hardening
Maintenance:Building a tower of Babel
Carrying too many patches
ToolsDebugging with printf()
Are you ready to cross Canada?
18
Pitfalls – Some Fundamentals
Failure to learn about Linux specifics early on
19