| 1 |
<!-- retain these comments for translator revision tracking -->
|
| 2 |
<!-- $Id$ -->
|
| 3 |
|
| 4 |
<sect2 arch="arm" id="boot-tftp"><title>Booting from TFTP</title>
|
| 5 |
|
| 6 |
&boot-installer-intro-net.xml;
|
| 7 |
|
| 8 |
<sect3 arch="arm"><title>Booting from TFTP on Netwinder</title>
|
| 9 |
<para>
|
| 10 |
|
| 11 |
Netwinders have two network interfaces: A 10Mbps NE2000-compatible
|
| 12 |
card (which is generally referred to as <literal>eth0</literal>) and
|
| 13 |
a 100Mbps Tulip card. There may be problems loading the image via TFTP
|
| 14 |
using the 100Mbps card so it is recommended that you use the 10Mbps
|
| 15 |
interface (the one labeled with <literal>10 Base-T</literal>).
|
| 16 |
|
| 17 |
</para>
|
| 18 |
<note><para>
|
| 19 |
|
| 20 |
You need NeTTrom 2.2.1 or later to boot the installation system, and
|
| 21 |
version 2.3.3 is recommended. Unfortunately, firmware files are currently
|
| 22 |
not available for download because of license issues. If this situation
|
| 23 |
changes, you may find new images at <ulink url="http//www.netwinder.org/"></ulink>.
|
| 24 |
|
| 25 |
</para></note>
|
| 26 |
<para>
|
| 27 |
|
| 28 |
When you boot your Netwinder you have to interrupt the boot process during the
|
| 29 |
countdown. This allows you to set a number of firmware settings needed in
|
| 30 |
order to boot the installer. First of all, start by loading the default
|
| 31 |
settings:
|
| 32 |
|
| 33 |
<informalexample><screen>
|
| 34 |
NeTTrom command-> load-defaults
|
| 35 |
</screen></informalexample>
|
| 36 |
|
| 37 |
Furthermore, you must configure the network, either with a static address:
|
| 38 |
|
| 39 |
<informalexample><screen>
|
| 40 |
NeTTrom command-> setenv netconfig_eth0 flash
|
| 41 |
NeTTrom command-> setenv eth0_ip 192.168.0.10/24
|
| 42 |
</screen></informalexample>
|
| 43 |
|
| 44 |
where 24 is the number of set bits in the netmask, or a dynamic address:
|
| 45 |
|
| 46 |
<informalexample><screen>
|
| 47 |
NeTTrom command-> setenv netconfig_eth0 dhcp
|
| 48 |
</screen></informalexample>
|
| 49 |
|
| 50 |
You may also need to configure the <userinput>route1</userinput>
|
| 51 |
settings if the TFTP server is not on the local subnet.
|
| 52 |
|
| 53 |
Following these settings, you have to specify the TFTP server and the
|
| 54 |
location of the image. You can then store your settings to flash.
|
| 55 |
|
| 56 |
<informalexample><screen>
|
| 57 |
NeTTrom command-> setenv kerntftpserver 192.168.0.1
|
| 58 |
NeTTrom command-> setenv kerntftpfile boot.img
|
| 59 |
NeTTrom command-> save-all
|
| 60 |
</screen></informalexample>
|
| 61 |
|
| 62 |
Now you have to tell the firmware that the TFTP image should be booted:
|
| 63 |
|
| 64 |
<informalexample><screen>
|
| 65 |
NeTTrom command-> setenv kernconfig tftp
|
| 66 |
NeTTrom command-> setenv rootdev /dev/ram
|
| 67 |
</screen></informalexample>
|
| 68 |
|
| 69 |
If you use a serial console to install your Netwinder, you need to add the
|
| 70 |
following setting:
|
| 71 |
|
| 72 |
<informalexample><screen>
|
| 73 |
NeTTrom command-> setenv cmdappend root=/dev/ram console=ttyS0,115200
|
| 74 |
</screen></informalexample>
|
| 75 |
|
| 76 |
Alternatively, for installations using a keyboard and monitor you have to
|
| 77 |
set:
|
| 78 |
|
| 79 |
<informalexample><screen>
|
| 80 |
NeTTrom command-> setenv cmdappend root=/dev/ram
|
| 81 |
</screen></informalexample>
|
| 82 |
|
| 83 |
You can use the <command>printenv</command> command to review your
|
| 84 |
environment settings. After you have verified that the settings are
|
| 85 |
correct, you can load the image:
|
| 86 |
|
| 87 |
<informalexample><screen>
|
| 88 |
NeTTrom command-> boot
|
| 89 |
</screen></informalexample>
|
| 90 |
|
| 91 |
In case you run into any problems, a <ulink
|
| 92 |
url="http://www.netwinder.org/howto/Firmware-HOWTO.html">detailed
|
| 93 |
HOWTO</ulink> is available.
|
| 94 |
|
| 95 |
</para>
|
| 96 |
</sect3>
|
| 97 |
|
| 98 |
<sect3 arch="arm"><title>Booting from TFTP on CATS</title>
|
| 99 |
<para>
|
| 100 |
|
| 101 |
On CATS machines, use <command>boot de0:</command> or similar at the
|
| 102 |
Cyclone prompt.
|
| 103 |
|
| 104 |
</para>
|
| 105 |
</sect3>
|
| 106 |
</sect2>
|
| 107 |
|
| 108 |
|
| 109 |
<sect2 arch="arm"><title>Booting from CD-ROM</title>
|
| 110 |
|
| 111 |
&boot-installer-intro-cd.xml;
|
| 112 |
|
| 113 |
<para>
|
| 114 |
|
| 115 |
To boot a CD-ROM from the Cyclone console prompt, use the command
|
| 116 |
<command>boot cd0:cats.bin</command>
|
| 117 |
|
| 118 |
</para>
|
| 119 |
</sect2>
|
| 120 |
|
| 121 |
|
| 122 |
<sect2 arch="arm" id="boot-firmware"><title>Booting from Firmware</title>
|
| 123 |
|
| 124 |
&boot-installer-intro-firmware.xml;
|
| 125 |
|
| 126 |
<sect3 arch="arm" id="boot-firmware-nslu2"><title>Booting the NSLU2</title>
|
| 127 |
<para>
|
| 128 |
|
| 129 |
There are three ways how to put the installer firmware into flash:
|
| 130 |
|
| 131 |
</para>
|
| 132 |
|
| 133 |
<sect4 arch="arm"><title>Using the NSLU2 web interface</title>
|
| 134 |
<para>
|
| 135 |
|
| 136 |
Go to the administration section and choose the menu item
|
| 137 |
<literal>Upgrade</literal>. You can then browse your disk for the
|
| 138 |
installer image you have previously downloaded. Then press the
|
| 139 |
<literal>Start Upgrade</literal> button, confirm, wait for a few minutes
|
| 140 |
and confirm again. The system will then boot straight into the installer.
|
| 141 |
|
| 142 |
</para>
|
| 143 |
</sect4>
|
| 144 |
|
| 145 |
<sect4 arch="arm"><title>Via the network using Linux/Unix</title>
|
| 146 |
<para>
|
| 147 |
|
| 148 |
You can use <command>upslug2</command> from any Linux or Unix machine to
|
| 149 |
upgrade the machine via the network. This software is packaged for
|
| 150 |
Debian.
|
| 151 |
|
| 152 |
First, you have to put your NSLU2 in upgrade mode:
|
| 153 |
|
| 154 |
<orderedlist>
|
| 155 |
<listitem><para>
|
| 156 |
|
| 157 |
Disconnect any disks and/or devices from the USB ports.
|
| 158 |
|
| 159 |
</para></listitem>
|
| 160 |
<listitem><para>
|
| 161 |
|
| 162 |
Power off the NSLU2
|
| 163 |
|
| 164 |
</para></listitem>
|
| 165 |
<listitem><para>
|
| 166 |
|
| 167 |
Press and hold the reset button (accessible through the small hole on the
|
| 168 |
back just above the power input).
|
| 169 |
|
| 170 |
</para></listitem>
|
| 171 |
<listitem><para>
|
| 172 |
|
| 173 |
Press and release the power button to power on the NSLU2.
|
| 174 |
|
| 175 |
</para></listitem>
|
| 176 |
<listitem><para>
|
| 177 |
|
| 178 |
Wait for 10 seconds watching the ready/status LED. After 10 seconds it
|
| 179 |
will change from amber to red. Immediately release the reset button.
|
| 180 |
|
| 181 |
</para></listitem>
|
| 182 |
<listitem><para>
|
| 183 |
|
| 184 |
The NSLU2 ready/status LED will flash alternately red/green (there is a 1
|
| 185 |
second delay before the first green). The NSLU2 is now in upgrade mode.
|
| 186 |
|
| 187 |
</para></listitem>
|
| 188 |
</orderedlist>
|
| 189 |
|
| 190 |
See the <ulink
|
| 191 |
url="http://www.nslu2-linux.org/wiki/OpenSlug/UsingTheBinary">NSLU2-Linux
|
| 192 |
pages</ulink> if you have problems with this.
|
| 193 |
|
| 194 |
Once your NSLU2 is in upgrade mode, you can flash the new image:
|
| 195 |
|
| 196 |
<informalexample><screen>
|
| 197 |
sudo upslug2 -i di-nslu2.bin
|
| 198 |
</screen></informalexample>
|
| 199 |
|
| 200 |
Note that the tool also shows the MAC address of your NSLU2, which may come
|
| 201 |
in handy to configure your DHCP server. After the whole image has been
|
| 202 |
written and verified, the system will automatically reboot. Make sure you
|
| 203 |
connect your USB disk again now, otherwise the installer won't be able to
|
| 204 |
find it.
|
| 205 |
|
| 206 |
</para>
|
| 207 |
</sect4>
|
| 208 |
|
| 209 |
<sect4 arch="arm"><title>Via the network using Windows</title>
|
| 210 |
<para>
|
| 211 |
|
| 212 |
There is <ulink
|
| 213 |
url="http://www.everbesthk.com/8-download/sercomm/firmware/all_router_utility.zip">a
|
| 214 |
tool</ulink> for Windows to upgrade the firmware via the network.
|
| 215 |
|
| 216 |
</para>
|
| 217 |
</sect4>
|
| 218 |
</sect3>
|
| 219 |
</sect2>
|