1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
|
<!-- retain these comments for translator revision tracking -->
<!-- original version: 62875 untranslated -->
<sect2 arch="arm" id="boot-tftp"><title>Booting from TFTP</title>
&boot-installer-intro-net.xml;
</sect2>
<sect2 arch="arm"><title>Booting from CD-ROM</title>
&boot-installer-intro-cd.xml;
</sect2>
<sect2 arch="arm" id="boot-firmware"><title>Booting from Firmware</title>
&boot-installer-intro-firmware.xml;
<sect3 arch="arm" id="boot-firmware-nslu2"><title>Booting the NSLU2</title>
<para>
There are three ways how to put the installer firmware into flash:
</para>
<sect4 arch="arm"><title>Using the NSLU2 web interface</title>
<para>
Go to the administration section and choose the menu item
<literal>Upgrade</literal>. You can then browse your disk for the
installer image you have previously downloaded. Then press the
<literal>Start Upgrade</literal> button, confirm, wait for a few minutes
and confirm again. The system will then boot straight into the installer.
</para>
</sect4>
<sect4 arch="arm"><title>Via the network using Linux/Unix</title>
<para>
You can use <command>upslug2</command> from any Linux or Unix machine to
upgrade the machine via the network. This software is packaged for
&debian;.
First, you have to put your NSLU2 in upgrade mode:
<orderedlist>
<listitem><para>
Disconnect any disks and/or devices from the USB ports.
</para></listitem>
<listitem><para>
Power off the NSLU2
</para></listitem>
<listitem><para>
Press and hold the reset button (accessible through the small hole on the
back just above the power input).
</para></listitem>
<listitem><para>
Press and release the power button to power on the NSLU2.
</para></listitem>
<listitem><para>
Wait for 10 seconds watching the ready/status LED. After 10 seconds it
will change from amber to red. Immediately release the reset button.
</para></listitem>
<listitem><para>
The NSLU2 ready/status LED will flash alternately red/green (there is a 1
second delay before the first green). The NSLU2 is now in upgrade mode.
</para></listitem>
</orderedlist>
See the <ulink
url="http://www.nslu2-linux.org/wiki/OpenSlug/UsingTheBinary">NSLU2-Linux
pages</ulink> if you have problems with this.
Once your NSLU2 is in upgrade mode, you can flash the new image:
<informalexample><screen>
sudo upslug2 -i di-nslu2.bin
</screen></informalexample>
Note that the tool also shows the MAC address of your NSLU2, which may come
in handy to configure your DHCP server. After the whole image has been
written and verified, the system will automatically reboot. Make sure you
connect your USB disk again now, otherwise the installer won't be able to
find it.
</para>
</sect4>
<sect4 arch="arm"><title>Via the network using Windows</title>
<para>
There is <ulink
url="http://www.everbesthk.com/8-download/sercomm/firmware/all_router_utility.zip">a
tool</ulink> for Windows to upgrade the firmware via the network.
</para>
</sect4>
</sect3>
<sect3 arch="arm" id="boot-firmware-ss4000e">
<title>Booting the SS4000-E</title>
<para>
Due to limitations in the SS4000-E firmware, it unfortunately is not
possible to boot the installer without the use of a serial port at
this time. To boot the installer, you will need a serial nullmodem
cable; a computer with a serial port<footnote id="arm-s4ke-port">
<para>
A USB serial converter will also work.
</para>
</footnote>; and a ribbon cable with a male DB9 connector at one end,
and a 10-pin .1" IDC header at the other<footnote id="arm-s4k-rib">
<para>
This cable is often found in older desktop machines with builtin 9-pin
serial ports.
</para>
</footnote>.
</para><para>
To boot the SS4000-E, use your serial nullmodem cable and the ribbon
cable to connect to the serial port of the SS4000-E, and reboot the
machine. You need to use a serial terminal application to communicate
with the machine; a good option on a &debian; GNU/Linux is to use the
<command>cu</command> program, in the package of the same name. Assuming
the serial port on your computer is to be found on
<filename>/dev/ttyS0</filename>, use the following command line:
</para>
<informalexample><screen>
cu -lttyS0 -s115200
</screen></informalexample>
<para>
If using Windows, you may want to consider using the program
<classname>hyperterminal</classname>. Use a baud rate of 115200,
8 bits word length, no stop bits, and one parity bit.
</para><para>
When the machine boots, you will see the following line of output:
</para>
<informalexample><screen>
No network interfaces found
EM-7210 ver.T04 2005-12-12 (For ver.AA)
== Executing boot script in 1.000 seconds - enter ^C to abort
</screen></informalexample>
<para>
At this point, hit Control-C to interrupt the boot
loader<footnote id="arm-s4ke-sec">
<para>
Note that you have only one second to do so; if you miss this window,
just powercycle the machine and try again.
</para>
</footnote>. This will give you the RedBoot prompt. Enter the
following commands:
<informalexample><screen>
load -v -r -b 0x01800000 -m ymodem ramdisk.gz
load -v -r -b 0x01008000 -m ymodem zImage
exec -c "console=ttyS0,115200 rw root=/dev/ram mem=256M@0xa0000000" -r 0x01800000
</screen></informalexample>
</para><para>
After every <command>load</command> command, the system will expect a
file to be transmitted using the YMODEM protocol. When using cu, make
sure you have the package <classname>lrzsz</classname> installed, then
hit enter, followed by the <quote>~<</quote> escape sequence to start
an external program, and run <command>sb initrd.gz</command> or
<command>sb vmlinuz</command>.
</para><para>
Alternatively, it is possible to load the kernel and ramdisk using
HTTP rather than YMODEM. This is faster, but requires a working HTTP
server on the network. To do so, first switch the bootloader to RAM mode:
<informalexample><screen>
fis load rammode
g
</screen></informalexample>
</para><para>
This will seemingly restart the machine; but in reality, it loads
reboot to RAM and restarts it from there. Not doing this step will cause
the system to hang in the necessary ip_address step that comes next.
</para><para>
You will need to hit Ctrl-C again to interrupt the boot. Then:
<informalexample><screen>
ip_address -l 192.168.2.249 -h 192.168.2.4
load -v -r -b 0x01800000 -m http /initrd.gz
load -v -r -b 0x01008000 -m http /zImage
exec -c "console=ttyS0,115200 rw root=/dev/ram mem=256M@0xa0000000" -r 0x01800000
</screen></informalexample>
</para><para>
The installer will now start as usual.
</para>
</sect3>
</sect2>
|