Embedded Gentoo Developer HowTo

Angelo Michele Failla (pallotron@freaknet.org)

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".


Table of Contents
1. Introduction
Audience
Requirements
Terminology
2. Create the development_rootfs
Prepare the development_rootfs
Become GOD
In what directory are we going to work?
Download and extract the last uClibc based stage1
Binding /proc and /usr/portage/
Copying the resolv.conf
Emerge the development_rootfs
Chrootting into the development_rootfs
Tuning of /etc/make.conf
Bootstrap the portage
Emerge system into our development_rootfs
3. Build the embedded_rootfs
Create the target directory
Emerge the baselayout
Some necessary adjustments to perform
Installing uClibc
Installing busybox
Setting timezone
Installing the Li.Lo. boot loader
Setting the root password
Cleaning
Compiling and installing the Linux kernel
Configure /etc/fstab
Installing other software packages with portage
Creating device nodes
Customize the init scripts
Create the squashfs
4. Copying the embedded_rootfs on the embedded disk
Method 1: Using the Slackware floppy disks
Bibliography
A. GNU Free Documentation License
PREAMBLE
APPLICABILITY AND DEFINITIONS
VERBATIM COPYING
COPYING IN QUANTITY
MODIFICATIONS
COMBINING DOCUMENTS
COLLECTIONS OF DOCUMENTS
AGGREGATION WITH INDEPENDENT WORKS
TRANSLATION
TERMINATION
FUTURE REVISIONS OF THIS LICENSE
ADDENDUM: How to use this License for your documents