source: clfs-embedded/BOOK/bootloaders/mips/colo.xml@ b634a75

Last change on this file since b634a75 was e5ece2c, checked in by Jim Gifford <clfs@…>, 18 years ago

Added: Colo for MIPS Raq2 Series

  • Property mode set to 100644
File size: 6.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-bootloaders-colo" role="wrap">
9 <?dbhtml filename="colo.html"?>
10
11 <title>Colo-&colo-version;</title>
12
13 <indexterm zone="ch-bootloaders-colo">
14 <primary sortas="a-Colo">Colo</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>This bootloader is for the MIPS based cobalt servers RaQ,
21 RaQ2, Qube, or the Qube2.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Colo</title>
27
28 <para os="p1">This patch updates the Colo bootloader to build under
29 cross-compiled conditions:</para>
30
31<screen os="p2"><userinput>patch -Np1 -i ../&colo-make-patch;</userinput></screen>
32
33 <para os="p3">This patch fixes a relocation error when linking with
34 Binutils:</para>
35
36<screen os="p4"><userinput>patch -Np1 -i ../&colo-relocation-patch;</userinput></screen>
37
38 <para os="a">Compile the Colo package:</para>
39
40<screen os="b"><userinput>make CC="${CC}" CROSS_COMPILE="${CLFS_TARGET}-" binary
41make CC="${CC}" CROSS_COMPILE="${CLFS_TARGET}-" tooldirs</userinput></screen>
42
43 <para os="c">Install the package:</para>
44
45<screen os="d"><userinput>install -v tools/lcdtools/e2fsck-lcd/e2fsck-lcd ${CLFS}/sbin
46install -v tools/lcdtools/e2fsck-lcd/e2fsck-lcd.8 ${CLFS}/usr/man/man8
47install -v tools/lcdtools/paneld/paneld ${CLFS}/sbin
48install -v tools/lcdtools/paneld/paneld.8 ${CLFS}/usr/man/man8
49install -v tools/lcdtools/putlcd/putlcd ${CLFS}/sbin
50install -v tools/lcdtools/putlcd/putlcd.8 ${CLFS}/usr/man/man8
51cp -v chain/colo-chain.elf ${CLFS}/boot/vmlinux
52gzip -9 ${CLFS}/boot/vmlinux</userinput></screen>
53
54 </sect2>
55
56 <sect2 role="configuration">
57 <title>Configuration of Colo</title>
58
59 <para os="e">Your shiny new CLFS system is almost complete. One of the last
60 things to do is ensure you can boot it. The instructions below apply
61 only to Cobalt RaQ1/RaQ2/Cube2 servers. Information on <quote>boot
62 loading</quote> for other architectures should be available in the
63 usual resource-specific locations for those architectures.</para>
64
65 <para os="f">Boot loading can be a complex area, so a few cautionary words
66 are in order. Be familiar with the current boot loader and any other
67 operating systems present on the hard drive(s) that need to be bootable.
68 Make sure that an emergency boot disk is ready to <quote>rescue</quote>
69 the computer if the computer becomes unusable (un-bootable).</para>
70
71 <para os="g">Earlier, we compiled and installed the Cobalt boot loader
72 software in preparation for this step. Now we will configure our system
73 to boot using Colo. Here is a simple <filename>default.colo</filename>
74 to use.</para>
75
76<screen os="h"><userinput>cat &gt; /boot/default.colo &lt;&lt; EOF
77<literal>#:CoLo:#
78#
79# load linux
80#
81lcd 'Booting &linux-version;...'
82load vmlinux-&linux-version;.gz
83execute root=/dev/hda2 console=ttyS0,115200 ide1=noprobe</literal>
84EOF</userinput></screen>
85
86 <para os="i">The FHS stipulates that the bootloader's configuration file should
87 be symlinked to <filename class="symlink">/etc/{Bootloader Name}</filename>.
88 To satisfy this requirement for Colo, issue the following command:</para>
89
90<screen os="j"><userinput>mkdir -v ${CLFS}/etc/colo &amp;&amp;
91ln -sv ../boot/colo/default.colo ${CLFS}/etc/colo</userinput></screen>
92
93</sect2>
94
95 <sect2 role="kernel">
96 <title>Kernel Configuration for Colo</title>
97
98 <para os="k">To help keep our system small Colo allows us to
99 compress our kernel. The followings step will show you how to
100 compress the kernel the way colo expects it:</para>
101
102<screen os="l"><userinput>gzip -9 ${CLFS}/boot/vmlinux-&linux-version;</userinput></screen>
103
104</sect2>
105
106 <sect2 id="contents-colo" role="content">
107 <title>Contents of Colo</title>
108
109 <segmentedlist>
110 <segtitle>Installed programs</segtitle>
111
112 <seglistitem>
113 <seg>colo-chain.elf, e2fsck-lcd, paneld and putlcd</seg>
114 </seglistitem>
115 </segmentedlist>
116
117 <variablelist>
118 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
119 <?dbfo list-presentation="list"?>
120 <?dbhtml list-presentation="table"?>
121
122 <varlistentry id="colo-chain.elf">
123 <term><command>colo</command></term>
124 <listitem>
125 <para>Is the Cobalt Bootloader's chain mode executeable. This
126 file gets gzipped and renamed to <filename>vmlinux.gz</filename>,
127 so it can be booted automatically by the Cobalt's existing
128 firmware</para>
129 <indexterm zone="ch-bootloaders-colo colo-chain.elf">
130 <primary sortas="b-colo-chain.elf">colo-chain.elf</primary>
131 </indexterm>
132 </listitem>
133 </varlistentry>
134
135 <varlistentry id="e2fsck-lcd">
136 <term><command>e2fsck-lcd</command></term>
137 <listitem>
138 <para>Will output file system check progress information on the
139 Cobalt LCD</para>
140 <indexterm zone="ch-bootloaders-colo e2fsck-lcd">
141 <primary sortas="b-e2fsck-lcd">e2fsck-lcd</primary>
142 </indexterm>
143 </listitem>
144 </varlistentry>
145
146 <varlistentry id="paneld">
147 <term><command>paneld</command></term>
148 <listitem>
149 <para>Is an admin tool for the LCD panel of Cobalt machines. By
150 default, it will display the current time and optionally a message.
151 When you hold the enter or select button for a couple of seconds
152 you will get an admin menu. The menu will allow you to either halt
153 or reboot your Cobalt machine</para>
154 <indexterm zone="ch-bootloaders-colo paneld">
155 <primary sortas="b-paneld">paneld</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 <varlistentry id="putlcd">
161 <term><command>putlcd</command></term>
162 <listitem>
163 <para>Is a tool to display text on the LCD display of Cobalt
164 machines</para>
165 <indexterm zone="ch-bootloaders-colo putlcd">
166 <primary sortas="b-putlcd">putlcd</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 </variablelist>
172
173 </sect2>
174
175</sect1>
Note: See TracBrowser for help on using the repository browser.