ChorusOS 4.0 Production Guide

Example 2: Kernonly Generation

The system image you create in this Example is the kernonly system and contains the generic kernel code, PowerPC drivers, and kernel generic driver component targeted for the genesis 2 board. You create this image in the first steps of porting a system to a new board. See ChorusOS 4.0 Porting Guide for more details.

  1. Create and change to a work directory as in Example 1.

  2. Use the configure command:

    host% configure -f <src_dir>/nucleus/sys/ppc60x/ppc60x \  
    -s <src_dir>/nucleus/bsp/powerpc/genesis2\   
    <src_dir>/nucleus/bsp/powerpc \
    <src_dir>/nucleus/bsp/drv
    
  3. Create a bootable system image named kernonly, using the make command:

    host% make kernonly