-- HP -- ESIEE --
This website is kept for historical purpose but is no longer updated
See the Wiki instead


BUILDING NET BOOT KERNEL

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

  • i386-Linux host with cross compiler package
  • PALO - Documentation

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.
  1. 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
    
  2. Unpack the source:
    cd ~/source
    zcat linux-latest.tar.gz | tar -xf -
    zcat palo-latest.tar.gz | tar -xf -
    
  3. 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
    
  4. 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
    
  5. 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.