From: Karl T. K. <ka...@us...> - 2001-03-05 22:33:36
|
Update of /cvsroot/linuxdc/docs/howto In directory usw-pr-cvs1:/tmp/cvs-serv22952 Modified Files: install-kernel.ht install-tools.ht Log Message: Updates to reflect recent events Index: install-kernel.ht =================================================================== RCS file: /cvsroot/linuxdc/docs/howto/install-kernel.ht,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** install-kernel.ht 2001/03/05 01:58:49 1.1 --- install-kernel.ht 2001/03/05 22:35:11 1.2 *************** *** 1,53 **** ! <HTML> ! <!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. --> ! <!-- Mon Mar 5 03:28:12 2001 --> ! <!-- USING HT2HTML 1.1 --> ! <!-- SEE http://www.python.org/~bwarsaw/software/pyware.html --> ! <!-- User-specified headers: ! Title: install-kernel.ht ! ! --> ! ! <HEAD> ! <TITLE>install-kernel.ht</TITLE> ! ! </HEAD> ! <BODY BGCOLOR="#ffffff" TEXT="#000000" ! TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" ! LINK="#0000bb" VLINK="#551a8b" ! ALINK="#ff0000"> ! <!-- start of page table --> ! <TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=0> ! <TR><!-- start of sidebar/body row --> ! <!-- start of sidebar cells --> ! <TD WIDTH=150 VALIGN=TOP BGCOLOR="#cdba96"> ! <!-- start of sidebar table --> ! <TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=3 ! BGCOLOR="#ffffff"> ! <TR><TD BGCOLOR="#b78900"><B><FONT COLOR="#ffffff"> ! Email Us ! </FONT></B></TD></TR> ! <TR><TD BGCOLOR="#cdba96"> ! <A HREF="mailto:webmaster@local">webmaster@local</A> ! </TD></TR> ! </TABLE><!-- end of sidebar table --> ! ! </TD> ! <TD WIDTH=15> </TD><!--spacer--> ! <!-- end of sidebar cell --> ! <!-- start of body cell --> ! <TD VALIGN=TOP WIDTH="90%"><BR> ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> ! <html> ! <head> ! <title>Compiling and installing the Dreamcast Linux kernel</title> ! </head> ! <body bgcolor=white> ! ! </body> ! </html> ! ! </TD><!-- end of body cell --> ! </TR><!-- end of sidebar/body row --> ! </TABLE><!-- end of page table --> ! </BODY></HTML> --- 1,86 ---- ! Title:Compiling and installing the Dreamcast Linux kernel ! Section: Development Section ! ! ! <h4>Getting the sources from CVS</h4> ! ! The kernel sources are easiest obtainable from our anonymous CVS ! hosted at sourceforge.net. Simply do: ! ! <pre>cvs -z9 -d:pserver:ano...@cv...:/cvsroot/linuxdc login</pre> ! ! Hit enter when asked for password. ! ! <pre>cvs -z9 -d:pserver:ano...@cv...:/cvsroot/linuxdc co linux</pre> ! ! <p>Wait for a good while. The source tree is about 120MB, and packed ! on-demand it is probably somewhere around 25MBs to get over the ! line.</p> ! ! ! <h4>Configuring the kernel</h4> ! ! <p>Once the tree is down, copy this <a href="dotconfig">.config file</a> ! as a starting point for your compilation. Put it in the 'linux' ! directory and name it '.config'.</p> ! ! <p>Run 'make menuconfig' then exit and save so that the correct ! symlinks and such are created. There's not anything you should ! alter in the configuarion for now since all DCs are pretty much alike, ! and we don't support the BBA yet</p> ! ! ! <h4>Compiling the sources</h4> ! ! <p>If you have your tools in the path, do:</p> ! ! <pre>make CROSS_COMPILE=sh-linux-gnu- dep zImage</pre> ! ! <p>If not, do, but replace [path-to-tools] with something ! sensible:</p> ! ! <pre>make CROSS_COMPILE=[path-to-tools]/sh-linux-gnu- dep zImage</pre> ! ! ! <h4>Setting kernel boot parameters</h4> ! ! The <a href="options">default options file</a> enables the DC ! framebuffer (that is the DC video/VGA output) as the console. You ! might want to have the output to serial instead, if so, add ! 'console=ttySC1,57600' to the options file. ! ! You should make certain that the final character in the options file ! is a zero byte. This is easiest done by insuring that you have a ! newline at the end of the options file, then issue this command: ! <pre>tr '\n' '\0' < options > options.bin</pre> ! ! To verify, less options.bin and look for a ^@ character at the very ! end of the file. ! ! <h4>Uploading the kernel to DC</h4> ! ! To ease the drudgery here, use this <a href="Makefile.dcload">uploading ! makefile</a> that takes the necessary steps and puts the correct files ! at the correct memory addresses. ! ! Edit the first few lines in the Makefile to point to your tools. ! ! Make certain that options.bin and zImage (from linux/arch/sh/boot/zImage) ! are in the directory you run the Makefile from. ! ! Before running make, you must boot the DC with the dcload CD ! image. Once it has loaded properly, do: ! ! <pre>make</pre> ! ! and wait for the two files to upload. The kernel will be executed once ! it's uploaded. ! ! <h4>Conclusion</h4> ! ! We hope this installation was just as easy as installing a new printer ! filter in your favourite Unix distro. It was certainly our aim. ! ! As the linuxdc kernel and tools stabilise, we'll be looking into ! providing packages and scripts that take on much of the dreary stuff ! in this HOWTO, but until then you have to sit tight. Index: install-tools.ht =================================================================== RCS file: /cvsroot/linuxdc/docs/howto/install-tools.ht,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** install-tools.ht 2001/03/05 01:58:49 1.1 --- install-tools.ht 2001/03/05 22:35:11 1.2 *************** *** 1,3 **** ! <html> <h3 align=center>Compiling and installing the toolchain</h3> --- 1,5 ---- ! Title: Compiling and installing the toolchain ! Section: Developer Section ! <h3 align=center>Compiling and installing the toolchain</h3> *************** *** 84,87 **** on the back. The worst part is over. Scuttle over to the <a href="install-kernel.html"> kernel installing howto</a> to finish up.</p> - </body> - </html> --- 86,87 ---- |