If you are only interested in using Linux/PARISC then please see the
software information.
The instructions on this page are very similar, but different from,
instructions in Build The Kernel.
A nice project would be for someone to remove some of the redundancy.
Pre-built cross compiler and linker
are available to build a parisc kernel on an x86 linux host.
The masochist wishing to build their own cross compiler should read the
toolchain information.
REQUIREMENTS FOR BUILDING KERNELS
HOW TO BUILD THE KERNEL
The kernel source tree is available via
CVS
and nightly snapshots.
It is best to get a snapshot first and update using CVS.
- Fetch kernel source
cd
mkdir source
cd source
ftp ftp.parisc-linux.org
user: anonymous
password: you@your.email.address
cd cvs
get linux-latest.tar.gz
get palo-latest.tar.gz
quit
- Unpack the source:
cd ~/source
zcat linux-latest.tar.gz | tar -xf -
zcat palo-latest.tar.gz | tar -xf -
- Configure palo:
# You may want to edit the palo Makefile, to specify NFS or local root.
# Some old NFSROOT instructions are available here.
vi palo/Makefile
- Configure linux:
cd linux
make oldconfig
# You might want to do a "make config" here as well if the kernel
# defaults don't suit you.
make dep
- Build the kernel
cd ~/source/linux
make palo
cd ..
That's it! The resulting palo/lifimage is bootable from
any IO interface the PDC can find with "search" command and already
contains both vmlinux and palo executables.
|