|
EDA365欢迎您!
您需要 登录 才可以下载或查看,没有帐号?注册
x
Building Embedded Linux Systems $ m1 Z. @8 ]! U4 D
By Karim Yaghmour 9 p( q6 ]1 _4 E+ b3 Q1 S f
G' L$ W0 S5 I% R% m* E! NPublisher : O'Reilly
, Z' c. J( Z: Q: ^9 g. HPub Date : April 2003 ( R+ `7 ~8 B: l: v" _
ISBN : 0-596-00222-X
; @/ }: D1 v8 S- ~7 ]# p+ n( LPages : 416
0 G; C6 s( P0 W' E$ dSlots : 1 $ o2 b3 p3 k" |& z7 f
1 T( v# V8 f# F- k
* y' M" ~$ A2 q4 T% Y# y O
Copyright
; N- [8 j1 _# Y7 b0 u3 w Dedication 0 {' F5 d/ T% H) S: v1 i
Preface
+ Y( H/ o3 s! H+ a Audience of This Book 4 ^. W- ~4 e& ?- e k' [# t
Scope and Background Information
% v' I% a9 W; K Organization of the Material ) z' e; ?' c# L5 G, p7 @6 Q( w
Hardware Used in This Book + h/ z. a9 `( c* Q3 a$ A# @
Software Versions
. Z$ [& s2 S) w$ u/ Y& | Book Web Site $ q' m! c" p0 [/ l1 Y( y
Typographical Conventions % d' |7 }% w5 Q/ k. L/ o! a
Contact Information ; X' m* {* V' Y* g& d
Acknowledgments
( D# |* Q% y8 @( G$ K
+ j% Q, d/ ~/ J; z Chapter 1. Introduction 2 E8 w9 X( l5 e* I& Z4 U% [
Section 1.1. Definitions
; {0 A* z& [# o Section 1.2. Real Life and Embedded Linux Systems
# J; r, T/ \( ^1 `, A k" Q Section 1.3. Example Multicomponent System - q; N# }" n: E1 K' d; s8 d
Section 1.4. Design and Implementation Methodology e, y2 k% _! r" |$ ]; U
4 F, n7 _/ B) i1 y) c$ X3 k/ ]
Chapter 2. Basic Concepts
6 F, H& r$ ~' H1 y Section 2.1. Types of Hosts + d" c2 {2 X( j$ Q0 G7 \
Section 2.2. Types of Host/Target Development Setups
! f) j9 J1 }1 [( A3 } Section 2.3. Types of Host/Target Debug Setups ) K. M0 L; b# K' ]! p ?( q
Section 2.4. Generic Architecture of an Embedded Linux System
) N. k' Q; u2 T: r7 w' T) s Section 2.5. System Startup
* P' N7 |. `2 a; a% w Section 2.6. Types of Boot Configurations - i1 ], l3 I* h# w; `. a) [
Section 2.7. System Memory Layout
1 }6 M/ h* K2 `- h4 |2 d2 ]) U 0 q5 ^0 m' _' p' W I
Chapter 3. Hardware Support + z# X! a: ]- {( c
Section 3.1. Processor Architectures
! F+ M" e% Z1 t3 F9 r Section 3.2. Buses and Interfaces 7 { _1 {' F0 Q; }1 T
Section 3.3. I/O
; {& p8 x& \1 {% z Section 3.4. Storage
$ H, N0 J: M7 r& E Section 3.5. General Purpose Networking
3 }" i- u" i [( D# L2 z Section 3.6. Industrial Grade Networking
& H. M0 [2 Z$ Q' C* Y+ Z h Section 3.7. System Monitoring
9 ]0 p5 E4 w1 i1 `2 ]
4 V+ k! {0 y: V8 ^: _ Chapter 4. Development Tools
; d& g: V0 ~; A, s# L' k$ [ Section 4.1. Using a Practical Project Workspace / p, i7 s( ], P; Z. P
Section 4.2. GNU Cross-Platform Development Toolchain ( F0 o; w! \( P4 Y! `' Y2 z
Section 4.3. C Library Alternatives ' y$ J% N+ p' y' |& p5 J7 T
Section 4.4. Java
6 o+ C2 G" |8 x% m# R! b Section 4.5. Perl
/ Y* y, |* s: }/ K& F& h Section 4.6. Python . F: t I7 t! }8 r) s/ ~* M
Section 4.7. Ada
/ F( x4 h, u' ~' k. Q- \ [ Section 4.8. Other Programming Languages
) r& F# J: q$ m" h7 \ Section 4.9. Integrated Development Environments 5 i# F4 r6 V0 O8 j" l
Section 4.10. Terminal Emulators ) _9 I5 c) @" r6 Y0 B" O& V6 t7 U
% f7 s0 k4 w5 g% ~# {6 L5 u& L/ ]+ z
Chapter 5. Kernel Considerations + N& F( Y6 K3 I6 }5 c {
Section 5.1. Selecting a Kernel n. J' G4 z. J* V8 H( y
Section 5.2. Configuring the Kernel - K0 Y& ?( M2 f3 b. F4 k+ E0 Z/ L
Section 5.3. Compiling the Kernel 0 C& _4 d- V! k; S O; A# F. V! v w
Section 5.4. Installing the Kernel 6 N4 S( y9 n( @$ z9 O* R
Section 5.5. In the Field
$ F7 M, U+ ?3 t- ?" I
8 ^4 ]- Q- Z5 N/ j Chapter 6. Root Filesystem Content
. X, x* u; E6 j0 M) `' O1 q5 M Section 6.1. Basic Root Filesystem Structure $ E1 N6 [; O# m$ w M
Section 6.2. Libraries 0 |# K) r8 P4 U0 f
Section 6.3. Kernel Modules & a9 c' t+ [0 D, N9 r: P' ]
Section 6.4. Kernel Images
5 C* S% G9 b+ V$ T Section 6.5. Device Files % o+ e- h: q% G9 q) ~- ?
Section 6.6. Main System Applications * n$ w! \/ t) P
Section 6.7. Custom Applications 1 R0 {$ k0 j I# B/ J. w* m( s
Section 6.8. System Initialization
, Y2 _$ a6 c0 @: b. C& b! d6 P
/ D! s( S ^; q' H Chapter 7. Storage Device Manipulation 0 j% @: ?8 [7 ^/ @0 Y8 i# w. h
Section 7.1. MTD-Supported Devices ! D! g' e" W; o
Section 7.2. Disk Devices
7 X- m9 N7 u# F) I' z4 l+ y Section 7.3. To Swap or Not to Swap
( I6 x1 r9 V6 t
0 G2 L' q1 b o1 z+ V Chapter 8. Root Filesystem Setup
6 s7 |2 A% n* H% ]% l Section 8.1. Selecting a Filesystem 9 E0 x+ M: A, ]1 `1 c8 j( o
Section 8.2. Using an NFS-Mounted Root Filesystem to Write a Filesystem Image to Flash ' n, `! X5 w% W0 {. i" e- S
Section 8.3. CRAMFS 2 N( A U4 j. a# e# j* b5 w% i
Section 8.4. JFFS2 & Y6 e. n! b O4 M( U: s7 i- x; e
Section 8.5. Disk Filesystem over NFTL $ s8 f; [9 L0 v& m7 r# ~
Section 8.6. Disk Filesystem over RAM Disk 0 \9 b* {( T4 ]: T; c. |
Section 8.7. Mounting Directories on TMPFS 3 z% j7 h- ^6 P ?* d" d+ O
Section 8.8. Live Updates ) I; i# k8 g5 c0 G
* F$ }& Y8 y, R1 M/ S
Chapter 9. Setting Up the Bootloader 0 |/ q9 H6 N( }3 k
Section 9.1. Bootloaders Galore
5 G8 n. ` W7 u* {0 [& A Section 9.2. Server Setup for Network Boot 7 ^2 a+ U/ ^; S+ ]
Section 9.3. Using LILO with Disk and CompactFlash Devices 0 b6 K5 h! M/ ^/ X6 X
Section 9.4. Using GRUB with DiskOnChip Devices & q3 [. b% X4 p5 \! A, v3 |
Section 9.5. U-Boot
" Q& @0 e4 C% p) u i" z$ t( a 3 ?# l4 v6 h, K: E$ h
Chapter 10. Setting Up Networking Services
; B3 n" u6 v$ B6 O, v1 J7 g0 S Section 10.1. The Internet Super-Server / M% k' z" C4 X: \. E8 [/ _: b4 {
Section 10.2. Remote Administration with SNMP & g: P: N/ s* D- ?4 o
Section 10.3. Network Login Through Telnet
: N# C5 O8 ?1 [! R2 i3 X Section 10.4. Secure Communication with SSH
, n- y$ P; T9 {* _# p Section 10.5. Serving Web Content Through HTTP
8 v ~5 k8 t+ U; t Section 10.6. Dynamic Configuration Through DHCP 9 m3 _0 t7 U7 I
' [- E$ x$ A5 ?! Q& x9 U: v Chapter 11. Debugging Tools ( j% R& i& ]0 Y4 v. G+ k' y9 Y
Section 11.1. Debugging Applications with gdb
4 B! Q$ G& C7 R1 @0 D& v Section 11.2. Tracing
8 P1 g E3 q$ Q" ? Section 11.3. Performance Analysis
. n. e4 E# |; ?2 J2 O0 P$ w+ ^ Section 11.4. Memory Debugging
/ J% Y% y7 D: U# r) F" z Section 11.5. A Word on Hardware Tools
; j1 y3 R: D* `9 k9 v' Z: K8 s
0 _7 I- q4 f: M* `# V' D& f) ?- ^ Appendix A. Worksheet ! ^" \% v" D& |7 r: D
Section A.1. Project Identification * \- v$ s" `1 B: u/ B% i
Section A.2. Hardware Summary 3 q) G6 E5 F. H, _/ h0 H. e# o
Section A.3. Development Tools
* q; g2 F8 m% r' p: [) R1 h Section A.4. Kernel % e) }. t- t2 h% r+ H, t
Section A.5. Root filesystem $ H& Q- _# n5 E0 G
Section A.6. Storage Device Organization 1 k* x; U5 }* A S/ l7 P% R. A, g
Section A.7. Bootloader Configuration and Use " U8 J, F2 z/ u6 s4 \$ |, X
Section A.8. Networking services
$ {2 ? X, B5 f4 m( ? Section A.9. Custom Project Software
9 l7 a+ r3 N/ ~! G8 m$ z Section A.10. Debug Notes . Y' {' X! T, a. |2 U
Section A.11. Additional Notes ' _* q, p2 B1 _3 N8 Z
Section A.12. Embedded Linux Systems Worksheet . Q. \* w. @% e5 F2 z
# u$ T2 H" H2 d0 s Appendix B. Resources
3 x6 V3 F D" M" O) Y& r Section B.1. Online % r* b$ R, m: ]
Section B.2. Books
7 s8 N/ m/ y1 T/ ]7 N- i Section B.3. Publications . H( J* k# j' v3 f. X$ W
Section B.4. Organizations - C1 O6 q( L$ ~, g1 L0 y# c. F
Section B.5. Linux and Open-Source-Oriented Hardware Projects
8 l( a6 H( \% r- I; _' Q; n7 I3 j. b : h7 P' [- u$ k% R1 `+ k+ N1 \/ B
Appendix C. Important Licenses and Notices . o8 n3 }) a7 l- q
Section C.1. Exclusion of User-Space Applications from Kernel's GPL
- m0 w0 F- A/ U2 Y3 F Section C.2. Notices on Binary Kernel Modules
* b. D0 r. z! e' c" p0 ] Section C.3. Legal Clarifications About the Kernel by Linus Torvalds |
|