Hardware Reference
In-Depth Information
Listing 11-3. The config.txt File
gpu_mem=32
Once you are all done your boot partition should look like Figure 11-26 . All that is left is the Linux kernel to go on
the boot filesystem.
Figure 11-26. The boot filesystem with firmware and configuration files
Now it's time to unpack the stage 3 tarball. What's stage 3? This is a pretty valid question if you have not used
Gentoo before. Stage 3 refers to a very minimum environment compiled for your given architecture. This environment
includes all the tools you need to bootstrap the system and chroot into the new install. It's just enough of a Linux
system to be able to build a new system.
ChrOOt?
What is this chroot thing? chroot is short for change root. this command allows you to change the root directory
of all future running processes. you cannot chroot between different architectures; hence you cannot do this on
the gentoo install for the raspberry pi unless you are building gentoo from another arm system.
There are also stage 1 and stage 2 tarballs but I do not recommend you use them on the Raspberry Pi. They will
not gain you any advantage.
haNG ON, What'S thIS StaGe 1 Or 2 BUSINeSS?
a gentoo install is broken down into stages. each stage will gain you some functionality. Stage 1 will just give you
enough tools to bootstrap the system; you will need to compile the rest of the tools by hand. Stage 2 builds on
that functionality and gives you more tools and more of a complete filesystem. Stage 3 gives you all filesystem
entries and all base tools with your build tools compiled for your architecture. gentoo no longer supports an install
from stage 1 or 2; because they are unsupported i do not recommend you do it.
On the other hand if you were porting gentoo to a brand-new architecture you would most definitely need a stage 1
install.
To unpack this baseline system, change into the mounted root partition for the Raspberry Pi. Then open your
browser to the following web page:
http://distfiles.gentoo.org/releases/arm/autobuilds/current-stage3-armv6j_hardfp/
 
Search WWH ::




Custom Search