|
EDA365欢迎您!
您需要 登录 才可以下载或查看,没有帐号?注册
x
Building Embedded Linux Systems
[1 A; I. \/ X! h1 b/ ~By Karim Yaghmour
* ~1 P+ `* | v2 C) b7 o; |0 d j9 b; Z% `0 w9 u/ N, \; V
Publisher : O'Reilly
/ ]& b2 I3 [* @8 fPub Date : April 2003 9 y# W5 n1 ^, S- W
ISBN : 0-596-00222-X - T1 J8 y, M' n; R
Pages : 416
3 @2 C0 G7 P: B. [- [% L7 u X" _Slots : 1 - B0 { K; i9 D; U2 k
" ]( G+ o! Y# l4 q. I# j3 L) |/ u& H/ k& g7 a, R- I# z
Copyright
1 B: o0 r8 i6 k, ?# O' R( S Dedication
2 A& k$ E' _( G Preface
9 r$ u9 k& k4 O" ~1 y2 q) S$ r2 v Audience of This Book 7 c {) g* ~' V5 s9 a, }
Scope and Background Information
' U- d' X2 a$ k! h Organization of the Material " n. Z$ Q3 K8 d! ~% Q
Hardware Used in This Book
3 E6 O0 l# H: m0 H' V/ L5 E9 _ Software Versions
* z' P. q2 \' M0 E/ c& K Book Web Site
4 H8 E2 ?( r" j( ?, M3 k Typographical Conventions . P7 O0 T$ X5 `, V: o: c6 j
Contact Information 1 X. I6 j( K" ^5 L4 ]" m
Acknowledgments
$ X( [) ~" ~* M) t5 X: g
7 s- L1 |- z+ u/ m$ O Chapter 1. Introduction
) m, w" A, Z7 }7 n! \( P9 X Section 1.1. Definitions
3 `$ K6 K! ~: o Section 1.2. Real Life and Embedded Linux Systems
' {3 V6 k# D4 i7 W# f Section 1.3. Example Multicomponent System
1 F4 ?5 `, Y5 _8 u: Q' _ Section 1.4. Design and Implementation Methodology 4 {( @* P5 y- x$ S
5 k8 W' V4 g3 O4 x
Chapter 2. Basic Concepts , a0 W5 M+ Q# O1 ^
Section 2.1. Types of Hosts 5 [5 Y0 ]9 E3 O: e
Section 2.2. Types of Host/Target Development Setups
( T4 s a3 ?% ~ N& ^& }. L6 |; C Section 2.3. Types of Host/Target Debug Setups ' r. f9 d$ s- t9 r
Section 2.4. Generic Architecture of an Embedded Linux System ! p. A' G- W8 q* X6 ]; n) R
Section 2.5. System Startup : s& j" k3 A8 D: f! q
Section 2.6. Types of Boot Configurations
; s. A% V# R8 H8 M2 r! M5 u Section 2.7. System Memory Layout 0 u/ L9 y7 d& m# I
, t. O% f: T8 }+ ?+ c
Chapter 3. Hardware Support ; `( s, ?: U- W; ?/ U i
Section 3.1. Processor Architectures
% L. i& H) g* E* Y: F( a Section 3.2. Buses and Interfaces
+ i* ^ m; `" `- H1 o Section 3.3. I/O * M4 C+ r7 e1 W! g' A
Section 3.4. Storage
" p) [4 ^% R& m8 i8 Q6 g Section 3.5. General Purpose Networking
/ ^; c0 |% L+ F1 D Section 3.6. Industrial Grade Networking 0 D4 v M' y n1 }$ g A2 Q6 e6 k8 x
Section 3.7. System Monitoring
( ?" E; ~' x/ H/ d9 } ' h4 ]$ _) \0 R$ }( b1 Y" W* J
Chapter 4. Development Tools , _! B1 k3 o* d1 f5 E8 i
Section 4.1. Using a Practical Project Workspace 4 V* ^+ h5 v0 A8 a
Section 4.2. GNU Cross-Platform Development Toolchain ; @0 N, P5 M4 Q- G- W" A
Section 4.3. C Library Alternatives
, K" Q8 Z l+ i5 ^ Section 4.4. Java ; e) G% v5 h$ n# J+ q% s* H9 v
Section 4.5. Perl 8 ^# v1 G( y0 ] t3 q6 }
Section 4.6. Python
p" e/ c7 l1 w$ T2 W+ F Section 4.7. Ada
) I @( c( H7 D3 P; K Section 4.8. Other Programming Languages ) {7 G: W' v: p5 h, m8 K
Section 4.9. Integrated Development Environments
. {% M" g* G4 t+ E4 f; U Section 4.10. Terminal Emulators - D! p4 _3 `$ \* X% g4 \2 G, U
4 i/ @( ]) D0 D1 }* r Chapter 5. Kernel Considerations ( z& v7 D9 F: x2 g+ i
Section 5.1. Selecting a Kernel . b$ @) \' M" l! E- D) K8 F
Section 5.2. Configuring the Kernel ' i$ B! z: g, ]! j
Section 5.3. Compiling the Kernel # H3 l# P* X! \: S+ i( v7 E
Section 5.4. Installing the Kernel
/ o2 j% r Y2 J; f Section 5.5. In the Field
3 Z" v) P' `8 O3 t* u + H+ [: D Y, u4 i- X
Chapter 6. Root Filesystem Content & T5 p* O) a' U2 X
Section 6.1. Basic Root Filesystem Structure
+ U( M# `: \! }% Q r( c+ k L* r* J Section 6.2. Libraries ! F2 j+ }* e' y6 k t8 X [
Section 6.3. Kernel Modules
3 ]; j9 l+ `9 I, \( ~1 I! h. y5 I7 _" X Section 6.4. Kernel Images $ h9 V3 H( F' h/ s% `
Section 6.5. Device Files
8 j* F& p! g3 `! @! z* H5 a Section 6.6. Main System Applications # p$ A. E+ X i: D% o) K
Section 6.7. Custom Applications
! ~6 \9 z. J2 d: @ Section 6.8. System Initialization
1 c6 t- O) L ~$ a& T$ b2 h3 |9 b
% D" c1 M( p, E; i4 C) h/ g; @ Chapter 7. Storage Device Manipulation
0 v# Z2 Q6 ]9 ?; \7 z* _7 Q) c Section 7.1. MTD-Supported Devices
+ A8 W$ X0 {+ r! n. u6 Y0 w j Section 7.2. Disk Devices 5 v8 D, I! w7 M* D n& a
Section 7.3. To Swap or Not to Swap
1 J/ z$ b' R5 ~$ E6 z
; X# O3 N( \. f Chapter 8. Root Filesystem Setup & I" u0 k& q) O( O5 k
Section 8.1. Selecting a Filesystem K" N( X9 J% o4 [
Section 8.2. Using an NFS-Mounted Root Filesystem to Write a Filesystem Image to Flash
! t1 y$ ]4 W( Z5 J# [0 ` Section 8.3. CRAMFS 0 Z: c6 E' D+ o7 p
Section 8.4. JFFS2
9 C, o" f# v! L/ k9 G- p5 r" g& x7 C, g Section 8.5. Disk Filesystem over NFTL
. s* k7 U. ]' D% i Section 8.6. Disk Filesystem over RAM Disk - V- N. i7 E1 Y: O7 G
Section 8.7. Mounting Directories on TMPFS
& e- S* [5 q- A7 B! I+ h% ? Section 8.8. Live Updates
4 ~$ l2 r8 {! z; z " R- {% Q- _9 i6 M. v
Chapter 9. Setting Up the Bootloader
* Z2 A) A, l- X% w Section 9.1. Bootloaders Galore - l7 C% B0 r [. ?8 @8 ~+ ?
Section 9.2. Server Setup for Network Boot
: _+ d5 l7 O2 {. v% G Section 9.3. Using LILO with Disk and CompactFlash Devices
) B+ I( w2 S- d. b, o1 _$ t0 ], S Section 9.4. Using GRUB with DiskOnChip Devices / V A; \# ^6 n" X9 I
Section 9.5. U-Boot 3 Z. k7 ~$ v* N0 o7 \
" K- v9 I- | x( G- K& n) S
Chapter 10. Setting Up Networking Services + k: v& a& {+ Y& Z, z2 |0 f+ ~
Section 10.1. The Internet Super-Server * t& X7 ], }4 C* |/ Z8 d, O
Section 10.2. Remote Administration with SNMP 8 m) L& ~1 E6 h/ ^& _" [
Section 10.3. Network Login Through Telnet : D% @+ {$ l+ z
Section 10.4. Secure Communication with SSH
( L2 y! G! i" l# Q Section 10.5. Serving Web Content Through HTTP
H0 a+ _8 D7 }- ], x Section 10.6. Dynamic Configuration Through DHCP
9 T6 _+ m* f" L: K$ t
# o* n; i9 K" n4 ^: v' ]1 Q e Chapter 11. Debugging Tools
: F* J8 }! C! B0 Y Section 11.1. Debugging Applications with gdb
: Q i5 S- y: x8 P/ M7 X! B9 {( M0 i Section 11.2. Tracing 7 m+ n( m$ y2 M* ^4 J: L9 u2 B1 H2 \
Section 11.3. Performance Analysis
# g$ \1 x3 M ]2 `" B& X# k0 X3 o" S Section 11.4. Memory Debugging * A2 S% j0 S# Q. \% g# v8 j
Section 11.5. A Word on Hardware Tools
6 k; z# K. ~) P- e ; C/ U4 _. b Q" J# b
Appendix A. Worksheet * y3 _0 e: S4 I# p( {$ }* b1 F
Section A.1. Project Identification
& l' H. }4 R# y3 U; y Section A.2. Hardware Summary ; K+ b. j0 D5 |+ X$ n
Section A.3. Development Tools
% i5 ?4 v: S b8 i Section A.4. Kernel * X* J }* R$ b. w
Section A.5. Root filesystem % Z7 ] Y1 x. D0 j3 r* H
Section A.6. Storage Device Organization / l- H8 r7 E4 L$ p' x
Section A.7. Bootloader Configuration and Use
) p- z" I3 {$ F/ t8 j0 o Section A.8. Networking services
& u5 O# e; H# w) ]" _% I Section A.9. Custom Project Software
# p' e, |* K3 R& Y9 v, P0 j8 M Section A.10. Debug Notes * X7 N) P, V, s+ g8 i$ e
Section A.11. Additional Notes
/ Q# g% Z3 b7 z! r+ O Section A.12. Embedded Linux Systems Worksheet
, i/ C" ?, m5 j1 _- N" B
, n, w8 q3 r1 j$ I O, v/ h3 C" y Appendix B. Resources
: n D1 J* W+ Z: F) E Section B.1. Online : v5 `0 Z& I' y! c. _& p: X
Section B.2. Books + W1 u" Z: r6 U3 f8 S
Section B.3. Publications 3 ~6 s5 O4 ^; _
Section B.4. Organizations
5 B$ K) J% R! b a8 C) D4 U& r Section B.5. Linux and Open-Source-Oriented Hardware Projects ; Q$ y _# g. j' | l0 t
( k: H5 l' e3 E$ d Appendix C. Important Licenses and Notices
3 ]- O- r6 H+ R p, _+ v8 ] Section C.1. Exclusion of User-Space Applications from Kernel's GPL 0 ^3 l- {5 `1 P9 }" K
Section C.2. Notices on Binary Kernel Modules
( o" o9 ?9 ]; T W Section C.3. Legal Clarifications About the Kernel by Linus Torvalds |
|