Cross-Compiled Linux From Scratch - Embedded
Version SVN-0.0.1-20081108-arm
Jim
Gifford
Ryan
Oliver
Maarten
Lankhorst
Copyright
© 2005–2007 Jim Gifford, Ryan Oliver & Maarten Lankhorst
Table of Contents
Preface
Foreword
Audience
Prerequisites
Host System Requirements
Typography
Structure
Errata
I. Introduction
1. Introduction
Cross-LFS Acknowledgements
How to Build a CLFS System
Master Changelog
Changelog for ARM
Resources
Help
II. Preparing for the Build
2. Preparing a New Partition
Introduction
Creating a New Partition
Creating a File System on the Partition
Mounting the New Partition
3. Packages and Patches
Introduction
All Packages
Additional Packages for ARM
Needed Patches
Additional Patches for ARM
4. Final Preparations
About $CLFS
Adding the CLFS User
Setting Up the Environment
Creating Directories
Creating the passwd, group, and log Files
5. System Prep
Introduction
III. Make the Cross-Compile Tools
6. Constructing Cross-Compile Tools
Introduction
Build CFLAGS
ABI Variables
Build Variables
Linux-Headers-2.6.20.1-02252007
Cross Binutils-2.19
Cross GCC-4.3.2 - Static
uClibc-0.9.30-rc3
GCC-4.3.2 - Cross Compiler Final
IV. Building the CLFS System
7. Installing Basic System Software
Introduction
Package Management
ToolChain Variables
Busybox-1.12.1
E2fsprogs-1.39
Iana-Etc-2.20
Zlib-1.2.3
8. System Build
Introduction
9. Making the CLFS System Bootable
Introduction
Creating the /etc/fstab File
Linux-2.6.20.1
Changing the Ownership Of The CLFS System
10. Setting Up System Bootscripts
Introduction
CLFS-Bootscripts-1.0-pre4
Configure mdev
Creating /etc/profile
Creating the /etc/inputrc File
Creating /etc/inittab
Setting Hostname
Customizing the /etc/hosts File
Configuring the network Script
11. Bootloaders
Introduction
Bootloader Packages
Needed Patches
V. Beyond CLFS
12. Beyond CLFS Embedded
Introduction
Beyond CLFS Packages
Beyond CLFS Patches
Dropbear-0.48.1
IPTables-1.3.7
13. Backup and Cleanup
Remove Unnecessary Files
Create Tarball of Build
14. The End
The End
Get Counted
Rebooting the System
What Now?
VI. Appendices
A. Acronyms and Terms
B. Acknowledgments
C. Dependencies
D. ARM Dependencies
E. Open Publication License
Index