1 .\" $NetBSD: boot26.8,v 1.4 2003/07/26 20:17:38 salo Exp $
3 .\" Copyright (c) 2000, 2001 Ben Harris
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. The name of the author may not be used to endorse or promote products
15 .\" derived from this software without specific prior written permission.
17 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41 is a program that runs under
45 kernel. It needs to be installed in a RISC OS
46 filesystem and given file type FFA (Module). The kernel it is to load
47 also needs to be stored in a
51 It takes the following options, which set flags in the
53 variable in the booted kernel (see
58 Cause the kernel to prompt the user for the name of the device containing the
59 root filesystem. This also causes
61 to prompt for the name of the kernel to be loaded.
64 Cause the kernel to ask
66 to boot into single-user mode.
69 Cause the kernel to enter the kernel debugger as soon as possible.
72 Enter the in-kernel device configuration manager before attaching any
76 Cause the kernel to emit fewer messages than normal while starting up.
79 Cause the kernel to emit more messages than normal while starting up.
83 attempts to load the kernel from the RISC OS file specified as
89 is not specified. The file must be an ELF image, and may have been compressed
94 is implemented as a RISC OS relocatable module. It can be loaded into memory
99 can be booted by running
101 as usual, but the command will be handled by the module.
103 It should also be possible to arrange for
105 to be loaded from ROM (e.g. from the ROM on an expansion card), in which case
107 could be made to boot automatically by making
109 the configured language using
110 .Ql *Configure Language .
112 .\" From <URL:http://mail-index.NetBSD.org/port-arm26/2000/05/02/0001.html>
115 displays the current memory map.
116 Each character in the map represents one page of (physical) RAM. The
117 ticks along the top are to stop you getting lost. The characters in the
118 map indicate what the memory's being used for (actually where it's
121 .Bd -literal -offset indent
123 + -\*[Gt] boot26 workspace
124 * -\*[Gt] Free space (boot26 wants to put the kernel here)
126 s -\*[Gt] System sprite area
128 h -\*[Gt] System heap/stack
130 S -\*[Gt] Screen memory
133 On a machine with 32k pages (which is all
136 half of the first line is potential screen memory, and hence not used by
138 The next page is usually zero page under RISC OS, and is used for
141 as well. The next is usually the system heap under RISC OS,
142 and is used for process 0's kernel stack under
144 The next is used for the message buffer under
146 Pages from there on are used to load
147 the kernel, and must be free if
149 is to do so successfully. Future
150 bootloaders should load the kernel into whatever pages are free, then kick
151 out RISC OS and shuffle them into the right shape. This is left as an
152 exercise for the enthusiastic reader.
155 .It Pa /usr/mdec/boot26,ffa
173 as a replacement for the original
175 bootloader, which was written in BBC BASIC.
178 cannot load kernels from a