old-www/HOWTO/PA-RISC-Linux-Boot-HOWTO/vmlinux.html

239 lines
3.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Building and installing a custom kernel</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="PA-RISC/Linux Boot HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Booting from network"
HREF="bootnetwork.html"><LINK
REL="NEXT"
TITLE="GCC compiler"
HREF="gcc.html"></HEAD
><BODY
CLASS="chapter"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PA-RISC/Linux Boot HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="bootnetwork.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="gcc.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="chapter"
><H1
><A
NAME="vmlinux"
></A
>Chapter 5. Building and installing a custom kernel</H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>5.1. <A
HREF="gcc.html"
>GCC compiler</A
></DT
><DD
><DL
><DT
>5.1.1. <A
HREF="gcc.html#nativebuild"
>Native build</A
></DT
><DT
>5.1.2. <A
HREF="gcc.html#crosscompile"
>Cross compiled build</A
></DT
></DL
></DD
><DT
>5.2. <A
HREF="kernelconf.html"
>Kernel configuration</A
></DT
><DD
><DL
><DT
>5.2.1. <A
HREF="kernelconf.html#kernelconf24"
>Configuring 2.4 kernels</A
></DT
><DT
>5.2.2. <A
HREF="kernelconf.html#kernelconf26"
>Configuring 2.6 kernels</A
></DT
></DL
></DD
><DT
>5.3. <A
HREF="kernelinstall.html"
>Kernel installation</A
></DT
></DL
></DIV
><DIV
CLASS="highlights"
><A
NAME="AEN1296"
></A
><P
>&#13; To build a Linux kernel, you need a compiler and the kernel source.
The first element is not a trivial thing to find because it
depends on how you want to build your kernel.
The second is easier since it can be found at
<A
HREF="http://cvs.parisc-linux.org/"
TARGET="_top"
> the official CVS site</A
>.
First, we will discuss about <B
CLASS="command"
>GCC</B
> compiler.
Then, the preparation of the build will be explained.
The last paragraph will deal with the installation of this new kernel.
</P
></DIV
><DIV
CLASS="note"
><P
></P
><TABLE
CLASS="note"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>&#13; We will deal only with a kernel built without modules,
to simplify the explanations.
</P
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="bootnetwork.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="gcc.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Booting from network</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>GCC compiler</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>