/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-mips-system.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-mips-system.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/Attic/hb-install-mips-system.xml,v 1.3 2006/11/09 07:39:39 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/Attic/hb-install-mips-system.xml,v 1.4 2007/05/07 18:11:41 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>7.2</version> 11<version>8.0</version>
12<date>2006-11-08</date> 12<date>2007-05-07</date>
13 13
14<section> 14<section>
15<title>Chrooting</title> 15<title>Chrooting</title>
16<!--<subsection> MIPS install media doesn't include mirrorselect
17<title>Optional: Selecting Mirrors</title>
18<body>
19
20<p>
21In order to download source code quickly it is recommended to select a fast
22mirror. Portage will look in your <path>make.conf</path> file for the
23GENTOO_MIRRORS variable and use the mirrors listed therein. You can surf to
24our <uri link="/main/en/mirrors.xml">mirror list</uri> and search
25for a mirror (or mirrors) close to you (as those are most frequently the
26fastest ones), but we provide a nice tool called <c>mirrorselect</c> which
27provides you with a nice interface to select the mirrors you want.
28</p>
29
30<pre caption="Using mirrorselect for the GENTOO_MIRRORS variable">
31# <i>mirrorselect -i -o &gt;&gt; /mnt/gentoo/etc/make.conf</i>
32</pre>
33
34<warn>
35Do not select any IPv6 mirrors. Our stages currently do not support IPv6.
36</warn>
37
38<p>
39A second important setting is the SYNC setting in <path>make.conf</path>. This
40variable contains the rsync server you want to use when updating your Portage
41tree (the collection of ebuilds, scripts containing all the information Portage
42needs to download and install software). Although you can manually enter a SYNC
43server for yourself, <c>mirrorselect</c> can ease that operation for you:
44</p>
45
46<pre caption="Selecting an rsync mirror using mirrorselect">
47# <i>mirrorselect -i -r -o &gt;&gt; /mnt/gentoo/etc/make.conf</i>
48</pre>
49
50<p>
51After running <c>mirrorselect</c> it is adviseable to double-check the settings
52in <path>/mnt/gentoo/etc/make.conf</path> !
53</p>
54
55</body>
56</subsection>-->
57<subsection> 16<subsection>
58<title>Copy DNS Info</title> 17<title>Copy DNS Info</title>
59<body> 18<body>
60 19
61<p> 20<p>
186<c>gcc</c> and <c>mips-sources</c>). 145<c>gcc</c> and <c>mips-sources</c>).
187</p> 146</p>
188 147
189<p> 148<p>
190Thus, care needs to be taken to ensure the correct profile is selected for your 149Thus, care needs to be taken to ensure the correct profile is selected for your
191system type. As of Gentoo/MIPS 2006.1, the profiles are: 150system type. As of Gentoo/MIPS 2007.0, the profiles are:
192</p> 151</p>
193 152
194<table> 153<table>
195 <tr> 154 <tr>
196 <th>System</th> 155 <th>System</th>
197 <th>Profile</th> 156 <th>Profile</th>
198 <th>Userland</th> 157 <th>Userland</th>
199 <th>Status/Notes</th> 158 <th>Status/Notes</th>
200 </tr> 159 </tr>
201
202 <tr> 160 <tr>
203 <ti>Cobalt Qube/RaQ</ti> 161 <ti>Cobalt Qube/RaQ</ti>
204 <ti>default-linux/mips/2006.1/cobalt/o32</ti> 162 <ti>default-linux/mips/2007.0/cobalt/o32</ti>
205 <ti>32-bit Linuxthreads</ti> 163 <ti>32-bit Linuxthreads</ti>
206 <ti>Recommended</ti> 164 <ti>Recommended</ti>
207 </tr> 165 </tr>
208 <tr> 166 <tr>
209 <ti>"</ti> 167 <ti>"</ti>
210 <ti>default-linux/mips/2006.1/cobalt/o32/nptl</ti> 168 <ti>default-linux/mips/2007.0/cobalt/o32/nptl</ti>
211 <ti>32-bit NPTL</ti> 169 <ti>32-bit NPTL</ti>
212 <ti>In Testing (1)</ti> 170 <ti>In Testing (1)</ti>
213 </tr> 171 </tr>
214
215 <tr>
216 <th>&nbsp;</th>
217 <th>&nbsp;</th>
218 <th>&nbsp;</th>
219 <th>&nbsp;</th>
220 </tr> 172 <tr>
221 173 <th>&nbsp;</th>
174 <th>&nbsp;</th>
175 <th>&nbsp;</th>
176 <th>&nbsp;</th>
177 </tr>
222 <tr> 178 <tr>
223 <ti> 179 <ti>
224 Generic Big Endian<br /> 180 Generic Big Endian<br />
225 <e>Including SGI Indy, Indigo2 (R4x00), Challenge S and O2</e> 181 <e>Including SGI Indy, Indigo2 (R4x00), Challenge S and O2</e>
226 </ti> 182 </ti>
227 <ti>default-linux/mips/2006.1/generic-be/o32</ti> 183 <ti>default-linux/mips/2007.0/generic-be/o32</ti>
228 <ti>32-bit Linuxthreads</ti> 184 <ti>32-bit Linuxthreads</ti>
229 <ti>Recommended</ti> 185 <ti>Recommended</ti>
230 </tr> 186 </tr>
231 <tr> 187 <tr>
232 <ti>"</ti> 188 <ti>"</ti>
233 <ti>default-linux/mips/2006.1/generic-be/o32/nptl</ti> 189 <ti>default-linux/mips/2007.0/generic-be/o32/nptl</ti>
234 <ti>32-bit NPTL</ti> 190 <ti>32-bit NPTL</ti>
235 <ti>In Testing (1)</ti> 191 <ti>In Testing (1)</ti>
236 </tr> 192 </tr>
237 <tr> 193 <tr>
238 <ti>"</ti> 194 <ti>"</ti>
239 <ti>default-linux/mips/2006.1/generic-be/n32</ti> 195 <ti>default-linux/mips/2007.0/generic-be/n32</ti>
240 <ti>N32 Linuxthreads</ti> 196 <ti>N32 Linuxthreads</ti>
241 <ti>Highly Experimental (2)</ti> 197 <ti>Highly Experimental (2)</ti>
242 </tr> 198 </tr>
243 <tr> 199 <tr>
244 <ti>"</ti> 200 <ti>"</ti>
245 <ti>default-linux/mips/2006.1/generic-be/n32/nptl</ti> 201 <ti>default-linux/mips/2007.0/generic-be/n32/nptl</ti>
246 <ti>N32 NPTL</ti> 202 <ti>N32 NPTL</ti>
247 <ti>Highly Experimental (1) (2)</ti> 203 <ti>Highly Experimental (1) (2)</ti>
248 </tr> 204 </tr>
249 <tr> 205 <tr>
250 <ti>"</ti> 206 <ti>"</ti>
251 <ti>default-linux/mips/2006.1/generic-be/n64</ti> 207 <ti>default-linux/mips/2007.0/generic-be/n64</ti>
252 <ti>N64 Linuxthreads</ti> 208 <ti>N64 Linuxthreads</ti>
253 <ti>Unsupported (3)</ti> 209 <ti>Unsupported (3)</ti>
254 </tr> 210 </tr>
255 <tr> 211 <tr>
256 <ti>"</ti> 212 <ti>"</ti>
257 <ti>default-linux/mips/2006.1/generic-be/n64/nptl</ti> 213 <ti>default-linux/mips/2007.0/generic-be/n64/nptl</ti>
258 <ti>N64 NPTL</ti> 214 <ti>N64 NPTL</ti>
259 <ti>Unsupported (1) (3)</ti> 215 <ti>Unsupported (1) (3)</ti>
260 </tr> 216 </tr>
261
262 <tr>
263 <th>&nbsp;</th>
264 <th>&nbsp;</th>
265 <th>&nbsp;</th>
266 <th>&nbsp;</th>
267 </tr> 217 <tr>
268 218 <th>&nbsp;</th>
219 <th>&nbsp;</th>
220 <th>&nbsp;</th>
221 <th>&nbsp;</th>
222 </tr>
269 <tr> 223 <tr>
270 <ti>SGI Origin 200/2000</ti> 224 <ti>SGI Origin 200/2000</ti>
271 <ti>default-linux/mips/2006.1/ip27/o32</ti> 225 <ti>default-linux/mips/2007.0/ip27/o32</ti>
272 <ti>32-bit Linuxthreads</ti> 226 <ti>32-bit Linuxthreads</ti>
273 <ti>Recommended</ti> 227 <ti>Recommended</ti>
274 </tr> 228 </tr>
275 <tr> 229 <tr>
276 <ti>"</ti> 230 <ti>"</ti>
277 <ti>default-linux/mips/2006.1/ip27/o32/nptl</ti> 231 <ti>default-linux/mips/2007.0/ip27/o32/nptl</ti>
278 <ti>32-bit NPTL</ti> 232 <ti>32-bit NPTL</ti>
279 <ti>In Testing (1)</ti> 233 <ti>In Testing (1)</ti>
280 </tr> 234 </tr>
281 <tr> 235 <tr>
282 <ti>"</ti> 236 <ti>"</ti>
283 <ti>default-linux/mips/2006.1/ip27/n32</ti> 237 <ti>default-linux/mips/2007.0/ip27/n32</ti>
284 <ti>N32 Linuxthreads</ti> 238 <ti>N32 Linuxthreads</ti>
285 <ti>Highly Experimental (2)</ti> 239 <ti>Highly Experimental (2)</ti>
286 </tr> 240 </tr>
287 <tr> 241 <tr>
288 <ti>"</ti> 242 <ti>"</ti>
289 <ti>default-linux/mips/2006.1/ip27/n32/nptl</ti> 243 <ti>default-linux/mips/2007.0/ip27/n32/nptl</ti>
290 <ti>N32 NPTL</ti> 244 <ti>N32 NPTL</ti>
291 <ti>Highly Experimental (1) (2)</ti> 245 <ti>Highly Experimental (1) (2)</ti>
292 </tr> 246 </tr>
293 247
294 <tr> 248 <tr>
295 <th>&nbsp;</th> 249 <th>&nbsp;</th>
296 <th>&nbsp;</th> 250 <th>&nbsp;</th>
297 <th>&nbsp;</th> 251 <th>&nbsp;</th>
298 <th>&nbsp;</th> 252 <th>&nbsp;</th>
299 </tr> 253 </tr>
300
301 <tr> 254 <tr>
302 <ti>SGI Indigo2 Impact R10000</ti> 255 <ti>SGI Indigo2 Impact R10000</ti>
303 <ti>default-linux/mips/2006.1/ip28/o32</ti> 256 <ti>default-linux/mips/2007.0/ip28/o32</ti>
304 <ti>32-bit Linuxthreads</ti> 257 <ti>32-bit Linuxthreads</ti>
305 <ti>Recommended</ti> 258 <ti>Recommended</ti>
306 </tr> 259 </tr>
307 <tr> 260 <tr>
308 <ti>"</ti> 261 <ti>"</ti>
309 <ti>default-linux/mips/2006.1/ip28/o32/nptl</ti> 262 <ti>default-linux/mips/2007.0/ip28/o32/nptl</ti>
310 <ti>32-bit NPTL</ti> 263 <ti>32-bit NPTL</ti>
311 <ti>In Testing (1)</ti> 264 <ti>In Testing (1)</ti>
312 </tr> 265 </tr>
313 <tr> 266 <tr>
314 <ti>"</ti> 267 <ti>"</ti>
315 <ti>default-linux/mips/2006.1/ip28/n32</ti> 268 <ti>default-linux/mips/2007.0/ip28/n32</ti>
316 <ti>N32 Linuxthreads</ti> 269 <ti>N32 Linuxthreads</ti>
317 <ti>Highly Experimental (2)</ti> 270 <ti>Highly Experimental (2)</ti>
318 </tr> 271 </tr>
319 <tr> 272 <tr>
320 <ti>"</ti> 273 <ti>"</ti>
321 <ti>default-linux/mips/2006.1/ip28/n32/nptl</ti> 274 <ti>default-linux/mips/2007.0/ip28/n32/nptl</ti>
322 <ti>N32 NPTL</ti> 275 <ti>N32 NPTL</ti>
323 <ti>Highly Experimental (1) (2)</ti> 276 <ti>Highly Experimental (1) (2)</ti>
324 </tr> 277 </tr>
325
326 <tr>
327 <th>&nbsp;</th>
328 <th>&nbsp;</th>
329 <th>&nbsp;</th>
330 <th>&nbsp;</th>
331 </tr> 278 <tr>
332 279 <th>&nbsp;</th>
280 <th>&nbsp;</th>
281 <th>&nbsp;</th>
282 <th>&nbsp;</th>
283 </tr>
333 <tr> 284 <tr>
334 <ti>SGI Octane/Octane2</ti> 285 <ti>SGI Octane/Octane2</ti>
335 <ti>default-linux/mips/2006.1/ip30/o32</ti> 286 <ti>default-linux/mips/2007.0/ip30/o32</ti>
336 <ti>32-bit Linuxthreads</ti> 287 <ti>32-bit Linuxthreads</ti>
337 <ti>Recommended</ti> 288 <ti>Recommended</ti>
338 </tr> 289 </tr>
339 <tr> 290 <tr>
340 <ti>"</ti> 291 <ti>"</ti>
341 <ti>default-linux/mips/2006.1/ip30/o32/nptl</ti> 292 <ti>default-linux/mips/2007.0/ip30/o32/nptl</ti>
342 <ti>32-bit NPTL</ti> 293 <ti>32-bit NPTL</ti>
343 <ti>In Testing (1)</ti> 294 <ti>In Testing (1)</ti>
344 </tr> 295 </tr>
345 <tr> 296 <tr>
346 <ti>"</ti> 297 <ti>"</ti>
347 <ti>default-linux/mips/2006.1/ip30/n32</ti> 298 <ti>default-linux/mips/2007.0/ip30/n32</ti>
348 <ti>N32 Linuxthreads</ti> 299 <ti>N32 Linuxthreads</ti>
349 <ti>Highly Experimental (2)</ti> 300 <ti>Highly Experimental (2)</ti>
350 </tr> 301 </tr>
351 <tr> 302 <tr>
352 <ti>"</ti> 303 <ti>"</ti>
353 <ti>default-linux/mips/2006.1/ip30/n32/nptl</ti> 304 <ti>default-linux/mips/2007.0/ip30/n32/nptl</ti>
354 <ti>N32 NPTL</ti> 305 <ti>N32 NPTL</ti>
355 <ti>Highly Experimental (1) (2)</ti> 306 <ti>Highly Experimental (1) (2)</ti>
356 </tr> 307 </tr>
357</table> 308</table>
358 309
359<impo> 310<impo>
360(1) NPTL is in-testing on MIPS at this stage, requiring 311(1) NPTL is in-testing on MIPS at this stage, requiring <c>gcc-4.1</c> and
361<c>gcc-4.1</c> and <c>glibc-2.4</c>. These profiles 312<c>glibc-2.4</c>. It is believed that NPTL should be safe enough now for people
362are a work-in-progress, and are not guaranteed to work. It is recommended that 313to use, and is planned to be the default in future releases. Brave users are
363people do not use these profiles until all the issues have been resolved. 314welcomed to try these profiles out and report back.
364</impo> 315</impo>
365 316
366<warn> 317<warn>
367(2) n32 Userland is highly experimental, a lot of software has problems with 318(2) n32 Userland is highly experimental, a lot of software has problems with
368this ABI, and thus it is practically guaranteed that you will run into stability 319this ABI, and thus it is practically guaranteed that you will run into stability
381You can see what profile you are currently using with the following command: 332You can see what profile you are currently using with the following command:
382</p> 333</p>
383 334
384<pre caption="Verifying system profile"> 335<pre caption="Verifying system profile">
385# <i>ls -FGg /etc/make.profile</i> 336# <i>ls -FGg /etc/make.profile</i>
386lrwxrwxrwx 1 48 Apr 8 18:51 /etc/make.profile -> ../usr/portage/profiles/default-linux/mips/2006.1/generic-be/o32/ 337lrwxrwxrwx 1 48 Apr 8 18:51 /etc/make.profile -> ../usr/portage/profiles/default-linux/mips/2007.0/generic-be/o32/
387</pre> 338</pre>
388 339
389<p> 340<p>
390Having looked through the profiles above, and decided which one is the most 341Having looked through the profiles above, and decided which one is the most
391appropriate, you need to adjust your <path>make.profile</path> symlink to 342appropriate, you need to adjust your <path>make.profile</path> symlink to
398<comment>(Delete the old profile symlink)</comment> 349<comment>(Delete the old profile symlink)</comment>
399# <i>rm -f /etc/make.profile</i> 350# <i>rm -f /etc/make.profile</i>
400 351
401<comment>(Create a new symlink pointing to your chosen profile ) 352<comment>(Create a new symlink pointing to your chosen profile )
402(For example, this is what one would use on an Indy or O2.)</comment> 353(For example, this is what one would use on an Indy or O2.)</comment>
403# <i>ln -s /usr/portage/profiles/default-linux/mips/2006.1/generic-be/o32</i> 354# <i>ln -s /usr/portage/profiles/default-linux/mips/2007.0/generic-be/o32</i>
404</pre> 355</pre>
405 356
406<note> 357<note>
407A tip for those not familiar with the Bourne Again Shell... If you partially 358A tip for those not familiar with the Bourne Again Shell... If you partially
408type a filename or command, then hit the TAB key, it will automatically fill out 359type a filename or command, then hit the TAB key, it will automatically fill out
514<p> 465<p>
515The next step is to run <c>locale-gen</c>. It will generate all the locales you 466The next step is to run <c>locale-gen</c>. It will generate all the locales you
516have specified in the <path>/etc/locale.gen</path> file. 467have specified in the <path>/etc/locale.gen</path> file.
517</p> 468</p>
518 469
519<note>
520<c>locale-gen</c> is available in <c>glibc-2.3.6-r4</c> and newer. If you have
521an older version of glibc, you should update it now.
522</note>
523
524<p> 470<p>
525Now continue with <uri link="?part=1&amp;chap=7">Configuring the Kernel</uri>. 471Now continue with <uri link="?part=1&amp;chap=7">Configuring the Kernel</uri>.
526</p> 472</p>
527 473
528</body> 474</body>

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20