|
EDA365欢迎您!
您需要 登录 才可以下载或查看,没有帐号?注册
x
Building Embedded Linux Systems
p. ^/ V8 h/ @1 M3 R8 ]By Karim Yaghmour % o w* g0 s) f+ v5 I7 B* o
/ |! c: G( w e+ @8 I/ p
Publisher : O'Reilly 2 [1 j6 h! e8 K
Pub Date : April 2003 . S/ o# L- k2 ^1 U( ?7 l& `3 B6 j4 a
ISBN : 0-596-00222-X * y3 p; W w" k; ~) L& c# o
Pages : 416
6 h& m$ ]; E8 k( f+ H! |Slots : 1
) I) l6 n! r2 b% `5 y {& ]# V( M) s- H: |7 v- p8 w2 |
& T+ q. D* ]: e/ ^# u# c6 s
Copyright . S4 D3 J0 S( n- r/ @2 B
Dedication % {1 I; k/ O5 |
Preface 6 x3 U3 t! s+ o+ C( U9 V0 Q7 B
Audience of This Book
% m9 a+ e: u8 a) K) h& E Scope and Background Information 2 t1 n) O5 u2 j) r
Organization of the Material
5 B5 P% G. g# M7 B+ I- ~ Hardware Used in This Book
) k! H5 a: t0 ?& E1 [+ d; F- @ Software Versions
: E' e2 l* l5 z5 O" D X6 ?$ E$ l! n Book Web Site
9 [4 |# j9 D3 n+ @ d Typographical Conventions
, A ]! L# g; s3 K Contact Information
3 N& J8 }' a$ W, ^8 l# w Acknowledgments % j; M9 d; |1 k- x/ o4 t* c/ Z
- i, s7 j% V8 L+ k' s8 }& t
Chapter 1. Introduction
4 ], r/ m5 m: {2 D0 j+ a" u" o7 J Section 1.1. Definitions
& k+ n4 R! V. J1 h6 m% T4 L Section 1.2. Real Life and Embedded Linux Systems
+ s5 ?; z1 h' ?4 y- N& J5 D, E$ r Section 1.3. Example Multicomponent System
. a: R2 p3 h/ w9 c) _* @* |% K; W Section 1.4. Design and Implementation Methodology 1 I" T: X$ N/ G% X$ [; J
2 E7 [2 A* G* n9 V8 U Chapter 2. Basic Concepts . U5 t1 J4 |! v- m( H
Section 2.1. Types of Hosts - L2 ~! d# K3 q* Z- z8 z
Section 2.2. Types of Host/Target Development Setups
, }- a) L" W! c" A+ x( F, t Section 2.3. Types of Host/Target Debug Setups
) H0 Y ~. ]7 S1 z! }0 G* S Section 2.4. Generic Architecture of an Embedded Linux System 8 R/ Z- B7 b; z' J& i
Section 2.5. System Startup
* x4 U: B% R( F4 K; ~ Section 2.6. Types of Boot Configurations 1 t2 A4 M* i+ b+ w- a4 F3 c; A
Section 2.7. System Memory Layout ) Z0 }+ |: u; o. ?+ B
$ U; J1 R8 d. p- V J# T- Z" V
Chapter 3. Hardware Support $ D2 x. S+ Z, \, n0 V7 O
Section 3.1. Processor Architectures ( k. `1 @3 X4 m
Section 3.2. Buses and Interfaces * B6 w ?; Z" p7 E3 s4 x, Q
Section 3.3. I/O
: M3 Z# u: o- H9 |1 j3 E Section 3.4. Storage
! R+ J; j8 y. |' K- h Section 3.5. General Purpose Networking
6 `/ ~- M2 ` P( D! T Section 3.6. Industrial Grade Networking
. A2 A9 |$ }3 h! ~* y! w/ ^ Section 3.7. System Monitoring 6 \9 a; @6 n- q4 a8 W5 U1 p5 r
' `; W2 a" z3 U9 X) X1 u
Chapter 4. Development Tools * W! z" w1 J) S' V1 E
Section 4.1. Using a Practical Project Workspace . J( a9 B+ Z; q) V! q: i3 }4 z
Section 4.2. GNU Cross-Platform Development Toolchain 6 |" m8 B8 E3 j
Section 4.3. C Library Alternatives
! D5 X& `; n1 e. e7 r: b* ~3 \ Section 4.4. Java 0 ~* i, Y2 u% [1 W9 T
Section 4.5. Perl ! z/ Z+ {( m; M# v- C) B
Section 4.6. Python : K% ^- g. ~: c6 g+ d7 @
Section 4.7. Ada
. c4 h# b3 y- m7 F& R; N Section 4.8. Other Programming Languages ! I" ]) D, H# A# H5 a* V7 {3 u& I
Section 4.9. Integrated Development Environments ) C# ~3 K" |3 h
Section 4.10. Terminal Emulators
% V0 z, f" ?' ` $ ?& ` b4 k; k2 K, L4 y
Chapter 5. Kernel Considerations . N) r5 `# g3 a- |
Section 5.1. Selecting a Kernel 6 c9 b1 c- [9 P. M" ^9 G* j
Section 5.2. Configuring the Kernel % z( r5 i# s) g% T; o
Section 5.3. Compiling the Kernel ( v S9 A4 O. J& r$ n8 u# D
Section 5.4. Installing the Kernel
- _3 K, b: c1 r5 {/ Z3 J Section 5.5. In the Field
: ~4 ?) d! s, V( k+ ^
8 n8 _$ _# V) R: k9 j% H" t" y Chapter 6. Root Filesystem Content - @- }, @; K5 G
Section 6.1. Basic Root Filesystem Structure 7 \. y6 G% P& K8 J. ?$ P8 g( G9 [: S4 X
Section 6.2. Libraries - n+ E2 E0 D' e+ Q
Section 6.3. Kernel Modules
$ f7 e$ v$ U ]) I Section 6.4. Kernel Images 5 b& X4 Z- D5 U! s
Section 6.5. Device Files
: c4 u2 {. v8 B2 L, X. `% o Section 6.6. Main System Applications
. n) K; k( ~$ Z6 x Section 6.7. Custom Applications
$ S# {! ?) G1 W- S1 p# H/ |/ E9 ?* Q Section 6.8. System Initialization
/ C1 i& N/ G; h5 }- b- t
5 v" `0 p9 s/ v& z# S. I Chapter 7. Storage Device Manipulation
- P! T6 z# x' a Section 7.1. MTD-Supported Devices
( X0 ~1 s3 Y2 `2 W Section 7.2. Disk Devices ! X8 H* c) X* ^0 v
Section 7.3. To Swap or Not to Swap
/ ~( h' {. O9 q8 u6 U 1 Z, B/ Q! b+ s W. ~3 {
Chapter 8. Root Filesystem Setup
& `" O3 A0 l- \6 ] Section 8.1. Selecting a Filesystem + f3 T8 X3 H0 |% H/ _4 h
Section 8.2. Using an NFS-Mounted Root Filesystem to Write a Filesystem Image to Flash $ O4 k% J" d7 |$ K
Section 8.3. CRAMFS
1 W% b0 |7 Z* N' x% R1 l Section 8.4. JFFS2 # M3 ]3 A3 L5 r5 s0 g
Section 8.5. Disk Filesystem over NFTL
' o& _8 _( `$ y) K8 v2 d5 ?+ L Section 8.6. Disk Filesystem over RAM Disk 3 d a9 ~2 N ~
Section 8.7. Mounting Directories on TMPFS 3 i. C5 F7 }+ S& [" S* y& Q
Section 8.8. Live Updates
8 Z1 @: \+ M& f- j# D8 O% _" w8 _) T
! s, V1 b; S$ l* w Chapter 9. Setting Up the Bootloader
M& a- T% [* L. o) m Section 9.1. Bootloaders Galore 3 [. _' B9 C! W1 t" Y7 _* b
Section 9.2. Server Setup for Network Boot " `! ]) s% E7 c
Section 9.3. Using LILO with Disk and CompactFlash Devices
& i- f1 }$ T# w. a Section 9.4. Using GRUB with DiskOnChip Devices
% f Z( y" O. I Section 9.5. U-Boot
5 F+ h) |: k: U( O2 i 1 V8 G: O! I! x1 L# D. v
Chapter 10. Setting Up Networking Services
5 y# H. S" N* M/ H1 Q6 L; C Section 10.1. The Internet Super-Server % i* b6 _+ V% i' x; m/ Q
Section 10.2. Remote Administration with SNMP * E$ G( O: l H# Z2 D
Section 10.3. Network Login Through Telnet 8 ~% x8 K; n. H9 [' L
Section 10.4. Secure Communication with SSH
- C! ]) Z+ K- T0 M. s* \ Section 10.5. Serving Web Content Through HTTP ' a& p3 S+ I) @" }& p
Section 10.6. Dynamic Configuration Through DHCP ! W9 t/ `' A0 G6 A; T7 y
2 |& |4 u8 F3 F N/ X6 ]0 U0 p Chapter 11. Debugging Tools & a- f" w0 c# p) D/ R' i% W4 k: ]
Section 11.1. Debugging Applications with gdb
8 f9 Q' f: e7 R. b9 z3 i Section 11.2. Tracing
' x4 s; G) ?3 M$ _( R! j5 t, E Section 11.3. Performance Analysis
* z* U- W1 x- B& d Section 11.4. Memory Debugging 2 l- m9 ?. d* [# Q, S. j
Section 11.5. A Word on Hardware Tools ( Y$ _ ^/ ?2 u! H: C/ }$ y
6 t; |6 j- o- x1 l0 o: q( N
Appendix A. Worksheet ; k: e& s9 B5 q2 r5 k
Section A.1. Project Identification
8 j# ?# L, W @7 Y% v. {4 _ Section A.2. Hardware Summary 8 E5 W1 }8 G2 b4 z
Section A.3. Development Tools 6 S$ ^+ D* f, k4 |- k5 _
Section A.4. Kernel " M) L( R( R) T
Section A.5. Root filesystem
9 a* K2 S4 e1 @, t( h- M9 A" r Section A.6. Storage Device Organization ) m+ Q; J/ ~$ Y8 W' n3 U/ @/ G8 D0 E9 b
Section A.7. Bootloader Configuration and Use
; Y P L1 x. H+ Y# r Section A.8. Networking services
" H M( r, Y* v7 A: H9 { Section A.9. Custom Project Software , D+ P0 m' I) L5 W
Section A.10. Debug Notes # x b8 h" _+ d% M+ s" d7 |
Section A.11. Additional Notes 3 V/ e1 t' n3 r/ z& A
Section A.12. Embedded Linux Systems Worksheet
) T) e: f+ }5 e5 ^- w
; ~8 B/ w$ ]' o: [+ R2 L, ^ Appendix B. Resources 4 |/ q( y& n0 ?, q& f! G1 l7 X1 B K
Section B.1. Online
7 C4 y4 ^ p) M, g2 B0 R+ g+ L+ p Section B.2. Books ' @) O1 `. ^9 ^7 ?! U
Section B.3. Publications
& ]! l/ o& B4 `% t Section B.4. Organizations
4 b8 S# p0 B" h" |; y Section B.5. Linux and Open-Source-Oriented Hardware Projects 2 h" R. j( W+ L1 i6 T; l$ R
h! L( F4 b C9 _1 C
Appendix C. Important Licenses and Notices
( d+ v# l( K& e( G4 E Section C.1. Exclusion of User-Space Applications from Kernel's GPL % H+ J& v2 f2 ^; f3 j
Section C.2. Notices on Binary Kernel Modules
8 G" e6 j# C# q Section C.3. Legal Clarifications About the Kernel by Linus Torvalds |
|