Cross-Compiled Linux From Scratch - Embedded
Version GIT-0.0.1-20110514-wrt
Copyright
© 2005–2011 Joe Ciccone, Jim Gifford, Maarten Lankhorst, & Ryan Oliver
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 MIPS
Supported Devices for WRT
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 WRT
Needed Patches
Additional Patches for WRT
4. Final Preparations
About $CLFS
Adding the CLFS User
Setting Up the Environment
Creating Directories
Creating the ${CLFS}/cross-tools Directory
Creating the passwd, group, and log Files
5. Preparation for wireless routers
Introduction
TRX-svn
Addpattern-svn
MTD-Utils-1.2.0
bcm43xx-fwcutter-012
III. Make the Cross-Compile Tools
6. Constructing Cross-Compile Tools
Introduction
Build CFLAGS
ABI Variables
Build Variables
Linux-Headers-2.6.38.2
GMP-5.0.1
MPFR-3.0.0
MPC-0.9
Cross Binutils-2.21
Cross GCC-4.6.0 - Static
uClibc-0.9.31
GCC-4.6.0 - Cross Compiler Final
IV. Building the CLFS System
7. Installing Basic System Software
Introduction
Package Management
ToolChain Variables
Busybox-1.18.4
Iana-Etc-2.30
8. System Build
Introduction
bcm43xx firmware v4.150.10.5
9. Making the CLFS System Bootable
Introduction
Creating the /etc/fstab File
Linux-2.6.38.2
10. Setting Up System Bootscripts
Introduction
CLFS-Bootscripts-1.0-pre5
Configure mdev
Creating /etc/profile
Creating /etc/inittab
Setting Hostname
Customizing the /etc/hosts File
Configuring the network Script
V. Beyond CLFS Embedded
11. Beyond Introduction
Introduction
12. Additional Libraries
Introduction
Beyond CLFS Additional Library Packages
Zlib-1.2.5
13. Networking Software
Introduction
Beyond CLFS Networking Packages
Beyond CLFS Networking Patches
Dropbear-0.52
IPTables-1.4.2
libnl-git-gdc273a12d
hostapd-git-gcfaab58007
Wireless Tools-29
14. File System Tools
Introduction
Beyond CLFS File System Packages
E2fsprogs-1.41.14
VI. Cleanup and Boot
15. Backup and Cleanup
Remove Unnecessary Files
Changing the Ownership of the CLFS System
Copy to Target
16. The End
The End
Get Counted
Booting the System
What Now?
VII. Appendices
A. Acronyms and Terms
B. Acknowledgments
C. Dependencies
D. MIPS Dependencies
E. Open Publication License
Index