|
EDA365欢迎您!
您需要 登录 才可以下载或查看,没有帐号?注册
x
Building Embedded Linux Systems - k; m& K, F0 q! f2 m! g. H1 h
By Karim Yaghmour : I9 I5 k5 _4 G! [ k# M3 |4 r- w
! b# w) T; D. u+ H; G
Publisher : O'Reilly
+ @) G5 B9 ^' v" Q# F* lPub Date : April 2003 8 w+ e/ [1 s u& _
ISBN : 0-596-00222-X
@4 g6 W* ~5 L( n% p4 `! zPages : 416
5 Y3 [7 H) Q) U: c/ a) gSlots : 1
! L' ]5 y S/ V/ @: _9 V% c5 Q$ ?" v' T! y
3 r) u% O" [9 K! _; |! U1 m5 i Copyright % _: F; F8 S U) ^
Dedication 2 f! H1 D8 d9 i, _( J' s7 I! k3 k
Preface # v2 V( F4 I s7 {6 p
Audience of This Book
+ u9 [+ j6 W. P% }' p Scope and Background Information
% ^1 T! ]: |' p2 o Organization of the Material $ E) V9 {7 d6 F2 F$ E3 \& O
Hardware Used in This Book - ^( D. {2 k. e0 Y3 U+ g
Software Versions
& a' `# f7 f' H% _/ f Book Web Site + D! x7 I5 S9 t; O4 T
Typographical Conventions
# U0 A' _( k0 g2 r- |$ L Contact Information $ |9 g: x$ o( `$ o5 l7 ?& d7 d
Acknowledgments
' O) V( f+ Q6 t: M0 v
& R- a6 W z2 V! m! S Chapter 1. Introduction
0 Y8 P3 ^. }3 X* Y4 [ @ Section 1.1. Definitions 6 c$ Q6 T: o/ T9 M/ _8 y
Section 1.2. Real Life and Embedded Linux Systems 0 D* n n4 Q ~4 `
Section 1.3. Example Multicomponent System ' `9 K& k. h# j t& ?
Section 1.4. Design and Implementation Methodology
1 X c( @* I0 T* M( t ! @* G+ f9 L7 z) E2 r' l1 I
Chapter 2. Basic Concepts # S) ?* n5 {7 l3 O. j; G
Section 2.1. Types of Hosts
% u8 G; z9 U# M0 d2 T0 ] Section 2.2. Types of Host/Target Development Setups
% x. q! r' l# n% d Section 2.3. Types of Host/Target Debug Setups
( U' g! n J2 l) T6 O5 @ Section 2.4. Generic Architecture of an Embedded Linux System / Z* r1 j4 @" k
Section 2.5. System Startup ( q1 J4 t! G7 ^) A9 u
Section 2.6. Types of Boot Configurations , y: M) k! O& d! L$ C
Section 2.7. System Memory Layout 9 T. W; w6 N3 O& B
6 Z6 X/ Q& g3 F
Chapter 3. Hardware Support
# w7 \) R3 M+ g/ F& | Section 3.1. Processor Architectures ! C3 U# P# B e# }
Section 3.2. Buses and Interfaces 5 ?( h! x& ]+ g
Section 3.3. I/O
* g6 G* r5 g; {) k% @ Section 3.4. Storage . y4 E; x w& Z# N! i
Section 3.5. General Purpose Networking
& g3 x8 \. W/ K0 e7 Q p5 \/ c Section 3.6. Industrial Grade Networking
" M) y& u; p. q6 i( y0 N Section 3.7. System Monitoring - L, R+ d, D! ^- u: p2 V( i
* C+ _2 ?' Z5 c' ?. K$ S* N3 e& |
Chapter 4. Development Tools
# ], b% @% O; ]1 ~, Z+ p Section 4.1. Using a Practical Project Workspace / N6 Y3 q: X* |# ]) z" t- z8 U
Section 4.2. GNU Cross-Platform Development Toolchain " s- t7 Q9 X5 l6 ~! B! ^
Section 4.3. C Library Alternatives 2 t' V5 O4 Q& r* W6 u( ?
Section 4.4. Java
/ u8 e& f7 v: } {8 i Section 4.5. Perl . d5 D; |: v ?5 {) r. [
Section 4.6. Python & X+ m. h7 | }. F7 k ~
Section 4.7. Ada + f# C0 V3 R( F. G4 c! E& U. ?
Section 4.8. Other Programming Languages % X* A2 q V, ~$ j
Section 4.9. Integrated Development Environments
' A; u/ e0 V7 \" m7 y Section 4.10. Terminal Emulators 7 u' ~4 G, M: }: n7 @+ ?5 {
5 B0 a! s/ m, v Chapter 5. Kernel Considerations : U" p) n. S- v8 [" x4 s' u, ~& e4 b
Section 5.1. Selecting a Kernel
4 Y1 h" h) U8 z) s, N* m# @ Section 5.2. Configuring the Kernel
6 f& }" E' b }3 F" O8 h" p Section 5.3. Compiling the Kernel % |. w6 u# c& V7 B. N
Section 5.4. Installing the Kernel * a, |' h0 ?/ o0 y2 A
Section 5.5. In the Field ' w* O4 e2 w, T: R
. h! ?1 }6 M+ B4 E
Chapter 6. Root Filesystem Content
0 R1 `& L8 L. G Section 6.1. Basic Root Filesystem Structure 4 ^6 X- ^7 Z! G5 P* v) n
Section 6.2. Libraries 2 n, r( a: K6 p
Section 6.3. Kernel Modules
7 z% R3 |8 S+ S/ l9 R Section 6.4. Kernel Images
" m; i/ r/ K3 {$ s3 [ Section 6.5. Device Files
. C4 H2 c- D9 M+ S* O! Y Section 6.6. Main System Applications
$ v; s% x' ^0 m Section 6.7. Custom Applications ) Q7 V0 Q q" {* w
Section 6.8. System Initialization / l3 {4 |0 T( m; t6 U! w. E
$ |0 K' }/ x2 ~ l9 v$ E& f: l/ T Chapter 7. Storage Device Manipulation
9 T1 M) Y# ~! }2 ?- ]2 n. Q+ n1 t9 p Section 7.1. MTD-Supported Devices 3 m" w4 Y2 E s& a
Section 7.2. Disk Devices # \- [* j7 H) x8 z" J
Section 7.3. To Swap or Not to Swap : T: ]' F" R4 Z7 b
1 g @$ M5 t4 a X; v
Chapter 8. Root Filesystem Setup
9 q6 J. W% R+ D5 v7 A& s/ C Section 8.1. Selecting a Filesystem
+ k$ R# [# @, |' K# f0 V Section 8.2. Using an NFS-Mounted Root Filesystem to Write a Filesystem Image to Flash
i8 i8 Z* V! Q; W8 G Section 8.3. CRAMFS " j* }" o) d. s7 s; e9 l* t: A
Section 8.4. JFFS2
8 P: }) v6 R; F3 p" I2 b Section 8.5. Disk Filesystem over NFTL
3 m; A( M' k- E& e2 S Section 8.6. Disk Filesystem over RAM Disk
3 n3 w* n# x: T. j; H4 A Section 8.7. Mounting Directories on TMPFS
- s: J- W/ q$ X$ E0 K Section 8.8. Live Updates
8 J5 N6 c. M7 b5 u* D$ Q, x& y! V
/ `2 k" T' t! s7 f& _ Chapter 9. Setting Up the Bootloader
1 G) B" U, E( x* z Section 9.1. Bootloaders Galore
" Q$ i0 K% C1 B. ^$ ]* o" V V0 H Section 9.2. Server Setup for Network Boot
0 a/ K/ K1 M" }1 O8 _! R$ `4 b4 [' _ Section 9.3. Using LILO with Disk and CompactFlash Devices
6 f0 q) L+ Z% n Section 9.4. Using GRUB with DiskOnChip Devices
, n0 ?/ j* `. x$ t Section 9.5. U-Boot ; b" q7 O" S6 L$ j
7 X0 \( I8 H1 s% F! N9 K% \% ^ Chapter 10. Setting Up Networking Services
' t- i' j1 _) g6 l+ f8 C) a Section 10.1. The Internet Super-Server
. m# M5 \1 c# ^6 j6 { Section 10.2. Remote Administration with SNMP
) k" X6 B- L0 F7 f Section 10.3. Network Login Through Telnet
3 ~3 y4 D: |" _7 V' y4 T: K! w% J Section 10.4. Secure Communication with SSH
& j5 t' h3 `4 [! S6 B Section 10.5. Serving Web Content Through HTTP 0 d8 J# s% J( o4 A5 i2 p3 T* r
Section 10.6. Dynamic Configuration Through DHCP 2 f. O V2 B( Z& B: ]
& S( M& u4 `/ I
Chapter 11. Debugging Tools : k% O; N, d# ]: t6 l
Section 11.1. Debugging Applications with gdb U. p8 `4 \, D }
Section 11.2. Tracing
1 q: n# A; h- M2 p3 S0 n0 t: d Section 11.3. Performance Analysis % \( Y; I+ H3 Z- e1 y2 r
Section 11.4. Memory Debugging 3 q2 v+ Q8 d* l# M
Section 11.5. A Word on Hardware Tools
1 z% X" t8 ~ ]5 N9 v $ o, B C7 F; h) b6 ^) x, h d
Appendix A. Worksheet
/ X1 M$ ?+ P- K$ L3 p* z Section A.1. Project Identification 4 ^& G. @9 Q7 s8 B
Section A.2. Hardware Summary
5 j B% c% D' U* r4 I; P Section A.3. Development Tools " v6 X5 U- H8 |, u8 f$ H
Section A.4. Kernel 5 R! r6 S' N0 t. E4 C6 o
Section A.5. Root filesystem
, ]% |6 O& `# I0 E# G% R1 S6 @ Section A.6. Storage Device Organization
. W2 x+ M$ h+ W5 y Section A.7. Bootloader Configuration and Use
$ l* `: g' X( `1 ^8 S# a" ^ Section A.8. Networking services 6 N. j4 |# u1 C1 A% E) P3 P! `
Section A.9. Custom Project Software ' B8 s: p3 g+ w, w7 y
Section A.10. Debug Notes
* ~/ V2 F* ?* {% x9 l7 W9 v7 v Section A.11. Additional Notes - |( F0 {6 d6 i9 j+ J1 `) I
Section A.12. Embedded Linux Systems Worksheet $ U* x3 u8 u4 l7 `: I
( n' {" b) j. W+ ]4 x- j6 p+ ]
Appendix B. Resources
7 q- J8 b/ Y* Q Section B.1. Online & j1 Q$ m9 F- Q6 ?8 N$ F5 z& u6 B$ E
Section B.2. Books
2 n1 X) A( C2 }/ d) | Section B.3. Publications 9 t( D( A5 y4 t9 a& U k
Section B.4. Organizations . H( T( I3 k6 K3 k' A
Section B.5. Linux and Open-Source-Oriented Hardware Projects
# j, R; A% m ?1 p4 R : P, J7 r' c; p
Appendix C. Important Licenses and Notices $ q! v1 ~( F: Z: @4 [: e8 T
Section C.1. Exclusion of User-Space Applications from Kernel's GPL 2 `8 ~" o# i* e
Section C.2. Notices on Binary Kernel Modules
& t/ L, h3 C6 F+ ?8 } Section C.3. Legal Clarifications About the Kernel by Linus Torvalds |
|