81 lines
2.3 KiB
HTML
81 lines
2.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
|
|
<TITLE>SPARC-HOWTO.: Compiling a kernel</TITLE>
|
|
<LINK HREF="SPARC-HOWTO-19.html" REL=next>
|
|
<LINK HREF="SPARC-HOWTO-17.html" REL=previous>
|
|
<LINK HREF="SPARC-HOWTO.html#toc18" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="SPARC-HOWTO-19.html">Next</A>
|
|
<A HREF="SPARC-HOWTO-17.html">Previous</A>
|
|
<A HREF="SPARC-HOWTO.html#toc18">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="s18">18. Compiling a kernel</A></H2>
|
|
|
|
<P>If you have already compiled a kernel on x86 architecture
|
|
there is just a little difference when you wish to compile
|
|
a kernel on SPARC architecture.
|
|
<P>you do not type
|
|
<HR>
|
|
<PRE>
|
|
#make zImage
|
|
#make modules
|
|
#make modules_install
|
|
</PRE>
|
|
<HR>
|
|
|
|
but
|
|
<HR>
|
|
<PRE>
|
|
#make vmlinux
|
|
#make modules
|
|
#make modules_install
|
|
</PRE>
|
|
<HR>
|
|
|
|
More information can be found on
|
|
<A HREF="http://www.ultralinux.org/faq.html">http://www.ultralinux.org/faq.html </A>
|
|
Then, from the Ultralinux's FAQ the following steps are :
|
|
<UL>
|
|
<LI>1.Copy <CODE>linux/System.map</CODE> to your bootfile directory (eg. <CODE>/boot</CODE>), and rename this file to
|
|
<HR>
|
|
<PRE>
|
|
System.map-<kernel-version>
|
|
</PRE>
|
|
<HR>
|
|
</LI>
|
|
<LI>2.Copy <CODE>linux/vmlinux</CODE> to your bootfile directory, and rename this file to
|
|
<HR>
|
|
<PRE>
|
|
vmlinux-<kernel-version>
|
|
</PRE>
|
|
<HR>
|
|
</LI>
|
|
<LI>3.Edit <CODE>/etc/silo.conf</CODE>, and add your new kernel to this file.</LI>
|
|
<LI>4.Reboot your machine.</LI>
|
|
</UL>
|
|
<P>If you have trouble compiling your kernel, maybe it needs to be
|
|
pached. There are many patches floating around on the net. There
|
|
exists a website that put some of them online on a regular basis both
|
|
for the stable and unstable branches, up to the 2.6.x kernel series.
|
|
Those patches apply to the
|
|
hardware used by the site's owner and this should be considered as a
|
|
very good starting point to be adapted to your hardware.
|
|
More information can be found at
|
|
<A HREF="http://osinvestor.com/sparc/">http://osinvestor.com/sparc/</A>
|
|
You can also email the site's owner, Rob Radez :
|
|
<A HREF="mailto:rob@osinvestor.com"><rob@osinvestor.com></A>
|
|
If you are unfamiliar with paches he also made them available as
|
|
debian packages.
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<HR>
|
|
<A HREF="SPARC-HOWTO-19.html">Next</A>
|
|
<A HREF="SPARC-HOWTO-17.html">Previous</A>
|
|
<A HREF="SPARC-HOWTO.html#toc18">Contents</A>
|
|
</BODY>
|
|
</HTML>
|