Handbook:SPARC/Blocks/Kernel

Architecture specific options
Activate the correct bus-support:

Of course enable support for the OBP:

Enable SCSI-specific support:

To support the network card, select one of the following:

With a 4-port Ethernet machine (10/100 or 10/100/1000) the port order is different from the one used by Solaris. Use to check the port link status.

When using a qla2xxx disk controller, install and add support for loading external firmware.

Set "External firmware blobs" to and "Firmware blobs root directory" to.

Compiling and installing
With the kernel configured, it is time to compile and install it. Exit the configuration and start the compilation process:

When the kernel has finished compiling, check the size of the resulting file:

If the (uncompressed) size is bigger than 7.5 MB, reconfigure the kernel until it doesn't exceed these limits. One way of accomplishing this is by having most kernel drivers compiled as modules. Ignoring this can lead to a non-booting kernel.

Also, if the kernel is just a tad too big, try stripping it using the strip command:

Finally copy the kernel image to.