|
EDA365欢迎您!
您需要 登录 才可以下载或查看,没有帐号?注册
x
Building Embedded Linux Systems N4 I( A: R+ {" G3 V# @/ t
By Karim Yaghmour
& b2 w1 Q/ p3 A) f9 C+ Q0 \8 s % U! f2 e- W" p" f0 X
Publisher : O'Reilly 6 G n- `! k/ m' B/ u' S
Pub Date : April 2003
0 U& p& s4 D8 {1 G% SISBN : 0-596-00222-X
8 `( {/ q! i7 g, t! tPages : 416 3 Q8 j0 Q/ s' r0 T& v4 @: f
Slots : 1
" v. _4 X6 x: H8 K6 ~
% a5 `& W( U7 J1 ~/ q& V1 }/ d" H7 b$ P4 S( ?2 G
Copyright % X+ A Y8 @: X1 W
Dedication 0 n, [" h }! r9 n% w6 e" W
Preface 4 c# I- u9 Z/ R1 q, K
Audience of This Book
! N, Y7 F+ v% l! {5 j" f Scope and Background Information
. Z! q9 g% X$ y) R6 ?9 g7 } Organization of the Material
9 p- m9 p6 d' @; w Hardware Used in This Book 8 y. K6 F7 Z4 ~/ o
Software Versions & t) ?" [8 r' c( y
Book Web Site ) U7 O& ?& s, s- `
Typographical Conventions
7 S( K* o+ @; O8 O. P( [4 @! q Contact Information
: K' C* h. e8 ` i Acknowledgments ; z' \( _/ i4 o4 A1 R
0 H* H& Y3 }+ p9 b; H, ~3 x1 H1 ] Chapter 1. Introduction
/ U& y* L$ O- ?9 V& D9 T. Q5 K Section 1.1. Definitions 6 H5 v6 B) p. K5 C
Section 1.2. Real Life and Embedded Linux Systems 1 x! G6 k# h. L: @' z! S) X& ] z
Section 1.3. Example Multicomponent System
X; o- T( H* d# A3 L Section 1.4. Design and Implementation Methodology
# O, h5 \% c% V- d& i
# g& M( @ g4 q4 w( `* c Chapter 2. Basic Concepts
( G! u% a* t8 X4 m" p Section 2.1. Types of Hosts
$ \6 W) B6 P% k# a" h; f/ N Section 2.2. Types of Host/Target Development Setups ( f, Z0 d5 G# w- n3 i) B
Section 2.3. Types of Host/Target Debug Setups
, @6 d( o" S) [* t: R/ }9 ^! a Section 2.4. Generic Architecture of an Embedded Linux System 1 E9 C0 c* |- D8 K9 @4 s
Section 2.5. System Startup 3 b9 }; j7 M; Y1 f* o. c* u
Section 2.6. Types of Boot Configurations $ v, o( ]+ \8 t" c! N
Section 2.7. System Memory Layout 8 g7 p0 a* i4 g! f/ B
* U. E8 c3 i0 @ Chapter 3. Hardware Support
# P. N; W! R/ T0 o% P9 l Section 3.1. Processor Architectures ' q) P# b! R' y5 G: q# W
Section 3.2. Buses and Interfaces $ m* v, j7 m7 ~, g) ]' Y
Section 3.3. I/O
9 c! o2 L: k9 R/ Q/ U0 l; S: Y Section 3.4. Storage : [2 R5 a5 t' m! f6 a w' o% l
Section 3.5. General Purpose Networking
7 s) b' T+ `" u Section 3.6. Industrial Grade Networking
8 ]( z% _5 o; S. K0 P: S5 B Section 3.7. System Monitoring 2 p' G; g2 W# D& ~5 R1 X
' t7 D2 F; a! z0 r Chapter 4. Development Tools
# S/ t: P" t" [, h2 N7 | Section 4.1. Using a Practical Project Workspace : z! q3 _4 h5 g0 \) S
Section 4.2. GNU Cross-Platform Development Toolchain
: f& y/ \# Y. C* B Section 4.3. C Library Alternatives 1 h, O3 j% W# ~$ Y9 e
Section 4.4. Java $ p1 a2 E0 O: q# ~& k- \" Y. o
Section 4.5. Perl 6 ^% s( _$ M1 S' }8 Y
Section 4.6. Python V7 H9 i) Z" h7 w2 M1 L
Section 4.7. Ada + l' L' Q* C, D# w6 H
Section 4.8. Other Programming Languages
) C5 J7 a' h$ [. w Section 4.9. Integrated Development Environments
' R7 F8 Y+ c4 @* K Section 4.10. Terminal Emulators 6 m) X1 b% Q) H7 ^
9 {2 g6 ], e7 T Chapter 5. Kernel Considerations
: }8 ]) r5 x! b- n( l Section 5.1. Selecting a Kernel
3 \, z- {& ^8 R5 C" H* J1 w Section 5.2. Configuring the Kernel ! H6 `) }! G3 r" ]2 g$ P9 `; S! d7 F
Section 5.3. Compiling the Kernel
7 ?2 J& q) f+ `$ h4 n Section 5.4. Installing the Kernel
6 s) f# w4 |6 d1 R% F1 Q" X Section 5.5. In the Field : H$ m1 i2 c" F- j3 u# C
0 N; ?1 h0 a( t
Chapter 6. Root Filesystem Content
: Y( E* A7 \3 Y- n Section 6.1. Basic Root Filesystem Structure
. C, d9 j' H4 |( g# _! p Section 6.2. Libraries
' o; m2 N/ M8 q6 C. I* x Section 6.3. Kernel Modules
{6 p( U9 j! M" A R8 |$ \! G Section 6.4. Kernel Images
: V0 z& y( a% ]( n9 I; T. s Section 6.5. Device Files 2 ?4 @" P2 p# Y
Section 6.6. Main System Applications $ |6 X1 C# v6 B, F+ x; y7 z
Section 6.7. Custom Applications
3 z: L' b3 ?2 I/ C* u. y4 ? Section 6.8. System Initialization
% q2 w! C3 e) S% l $ L# S1 a7 s$ Y/ ?6 G( m
Chapter 7. Storage Device Manipulation , ~# z$ L: X# `
Section 7.1. MTD-Supported Devices 8 g3 G: E7 ~# U0 S
Section 7.2. Disk Devices / L3 q0 m1 R* b
Section 7.3. To Swap or Not to Swap 7 |( }6 j m" i8 r) t8 q4 t) Z
( i) J3 [9 w$ _' w Chapter 8. Root Filesystem Setup 7 t5 x# Q4 C* o$ D; s, j! y
Section 8.1. Selecting a Filesystem / x a$ i: Q( @
Section 8.2. Using an NFS-Mounted Root Filesystem to Write a Filesystem Image to Flash
; s! I: C+ O+ ` Section 8.3. CRAMFS ) K+ W6 a8 a; ^" d) J7 F7 A: Z
Section 8.4. JFFS2
7 n. W7 `9 B/ L4 p0 [- j0 Q$ Q+ C2 \0 m Section 8.5. Disk Filesystem over NFTL
+ Y' e% R; H% T7 n5 e8 ~ Section 8.6. Disk Filesystem over RAM Disk / W1 {! W/ I F% }- a' ~
Section 8.7. Mounting Directories on TMPFS
- ^: `( u3 V/ c) ~: o Section 8.8. Live Updates 3 Z3 a2 }. m, X+ p& L) E
3 a* V' t+ x! r1 h* ?! w Chapter 9. Setting Up the Bootloader
9 i5 J3 \8 w1 o Section 9.1. Bootloaders Galore % p3 p- Y$ E" g: J
Section 9.2. Server Setup for Network Boot
- J/ x8 a% @1 q* Z U Section 9.3. Using LILO with Disk and CompactFlash Devices & ~2 B0 L5 n* p, K# ?4 e6 J, v
Section 9.4. Using GRUB with DiskOnChip Devices 5 M/ z, g+ m6 @( K) t5 T
Section 9.5. U-Boot
/ a# w* h9 C7 Y8 _7 m+ w 7 T+ F1 R$ b; ]/ b' V. Y% p! j
Chapter 10. Setting Up Networking Services 0 W' L( Q+ R0 O% B; G
Section 10.1. The Internet Super-Server % o) Z K& Q5 ]6 g
Section 10.2. Remote Administration with SNMP
8 _. }% X- L. e Section 10.3. Network Login Through Telnet + Q. g$ Z* B( i) v3 ]
Section 10.4. Secure Communication with SSH . B7 v/ w6 I( T3 }9 ~
Section 10.5. Serving Web Content Through HTTP
+ f6 t4 B1 B( E, S/ x Section 10.6. Dynamic Configuration Through DHCP # g2 c$ {* _! j3 r" y9 ^
! e% |- I% o. a; j$ S' N0 N3 W Chapter 11. Debugging Tools
0 d: @+ ?% Y: w% b! } Section 11.1. Debugging Applications with gdb 6 L- W1 f: k1 n+ s) K: p
Section 11.2. Tracing
$ c Z" B; F9 t6 y3 `9 M Section 11.3. Performance Analysis
) M! Z! e' S% s4 Z/ o- t- R% @ Section 11.4. Memory Debugging " w9 Q$ l# u0 Q* J
Section 11.5. A Word on Hardware Tools 6 e, C9 b, K% B) k* X4 y8 }9 @1 |; \# g
" T3 v- z7 `1 M9 y, m6 @/ r, H
Appendix A. Worksheet
* ?5 n0 \2 I1 r7 U* J Section A.1. Project Identification
7 G( B' }+ J o Section A.2. Hardware Summary ; A; z+ L% Y! s' J, T6 G0 x
Section A.3. Development Tools 1 {6 V& @1 W+ l2 Y1 g
Section A.4. Kernel & r' r: S! J# ?# ^
Section A.5. Root filesystem + d. E. W X4 l* [
Section A.6. Storage Device Organization
7 c5 B1 C2 h( W3 U6 _ Section A.7. Bootloader Configuration and Use
" u# z: F2 Z$ l" u2 ?2 r1 L Section A.8. Networking services
, ~: E0 y/ x9 ` Section A.9. Custom Project Software 5 {! j/ C/ ~: u
Section A.10. Debug Notes
; A' u" `$ `- {' x J! b! q Section A.11. Additional Notes
) i6 G' O n9 i; A3 w" I* { Section A.12. Embedded Linux Systems Worksheet
+ L$ _* v9 S6 a+ p3 J4 k3 s
% G9 W) [3 F: C# v: ~ Appendix B. Resources
5 ^- P9 z8 {( z Section B.1. Online
$ r* |. ?& u: h, Q Section B.2. Books
7 t$ U: ?2 o. K7 s2 G" D4 ^6 V Section B.3. Publications 2 G+ `, J z& { {
Section B.4. Organizations - b2 Q% ^/ f3 R3 ^* V5 ^
Section B.5. Linux and Open-Source-Oriented Hardware Projects : k4 I7 }/ ]6 V5 _
% u$ H% t1 S8 ~" i9 G5 O' L Appendix C. Important Licenses and Notices . @5 B" o8 r( f' l
Section C.1. Exclusion of User-Space Applications from Kernel's GPL
! V. D( ?& A4 w* w Section C.2. Notices on Binary Kernel Modules
6 D: J7 H6 A) j0 v! B: Q: F Section C.3. Legal Clarifications About the Kernel by Linus Torvalds |
|