blob: a50519db8eaf86a2a7e8fce5743621b4603f23d1 [file] [log] [blame]
Dominik Riebeling2a731e42006-06-04 17:16:24 +00001% $Id$ %
Michael DiFebbo1f085512006-09-10 19:03:52 +00002
Dominik Riebeling89a2a282006-06-06 17:42:27 +00003\warn{These instructions are preliminary and may contain errors!
4Please check the wiki for up-to-date and improved installation instructions!
5If you find errors you're of course welcomed to report them so we can fix it
6for the next daily builds.}
Dominik Riebeling2a731e42006-06-04 17:16:24 +00007
Michael DiFebboa120e5b2006-05-25 16:38:18 +00008 Installing the bootloader is the trickiest part of the installation.
Dominik Riebeling53254012006-10-10 13:21:09 +00009 \opt{ipodnano}{First, you need to find out which version of the Apple
10 firmware you're running. To do this, start the Apple firmware and go to
11 Settings screen. In the ``About'' screen you'll find the version number
12 of the Apple firmware. Depending on the version number the installation
13 is slightly different.}%
14
Michael DiFebbo95afcf52006-06-04 14:44:10 +000015 The process is different depending on your operating system, but before
Dominik Riebeling53254012006-10-10 13:21:09 +000016 starting, connect the \dap{} to the computer using either an USB
17 %\fixme{or Firewire?} % Firewire is currently not supported.
18 cable. Next, create a folder on the computer's hard drive and
Michael DiFebbo95afcf52006-06-04 14:44:10 +000019 download the following file to that folder:
Jonas Häggqvistb774d4e2006-07-30 18:52:17 +000020 \opt{ipodvideo}{\url{http://download.rockbox.org/bootloader/ipod/bootloader-video.bin}}
21 \opt{ipodnano}{\url{http://download.rockbox.org/bootloader/ipod/bootloader-nano.bin}}
Dominik Riebeling53254012006-10-10 13:21:09 +000022 \opt{ipodmini}{\url{http://download.rockbox.org/bootloader/ipod/bootloader-mini1g.bin} or
Dave Chapmandc708c32006-10-11 21:21:25 +000023 \url{http://download.rockbox.org/bootloader/ipod/bootloader-mini2g.bin} depending on which
Dominik Riebeling89a2a282006-06-06 17:42:27 +000024 generation your \dap{} is.\fixme{Describe how to identify 1/2G}}
Jonas Häggqvistb774d4e2006-07-30 18:52:17 +000025 \opt{ipodcolor}{\url{http://download.rockbox.org/bootloader/ipod/bootloader-color.bin}}
26 \opt{ipod4g}{\url{http://download.rockbox.org/bootloader/ipod/bootloader-4g.bin}}
Martin Arver5778dfb2006-08-25 08:59:25 +000027 \opt{ipod3g}{\url{http://download.rockbox.org/bootloader/ipod/bootloader-3g.bin}}
Michael DiFebbo95afcf52006-06-04 14:44:10 +000028
29 When that is done, proceed to the section below that matches the operating
30 system on the computer.
Michael DiFebbo95afcf52006-06-04 14:44:10 +000031 \note{These instructions all require you to have administrator rights
32 on your computer, regardless of the operating system.}
Dominik Riebeling89a2a282006-06-06 17:42:27 +000033 \note{Rockbox only works on FAT32 partitions (called ``Windows formatted'' by
34 Apple). So if your \dap{} is Mac formatted (HFS+), you should first convert
Michael DiFebbo95afcf52006-06-04 14:44:10 +000035 it to FAT32. Information on how to do this can be found on the Rockbox
36 website. \fixme{Include these instructions?}}
37
38\subsubsection{Windows users}
39\begin{enumerate}
40 \item Download the following two programs and save them in the folder just
41 created. These programs will be used in the next steps:
42 \begin{itemize}
Jonas Häggqvistb774d4e2006-07-30 18:52:17 +000043 \item \url{http://download.rockbox.org/bootloader/ipod/ipodpatcher.exe}
44 \item \url{http://download.rockbox.org/bootloader/ipod/ipod_fw.exe}
Michael DiFebbo95afcf52006-06-04 14:44:10 +000045 \end{itemize}
Martin Arver85709112006-08-15 10:53:14 +000046 \item Locate the \dap{} by opening a command window. You can do this by
Dominik Riebeling89a2a282006-06-06 17:42:27 +000047 clicking ``Start'', ``Execute'' and typing \fname{cmd}. Press Enter to
48 execute that command. Now change directory to the
Michael DiFebbo95afcf52006-06-04 14:44:10 +000049 folder you created and run the following commands:
Dominik Riebeling89a2a282006-06-06 17:42:27 +000050 \begin{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +000051 ipodpatcher 0
52 ipodpatcher 1
53 ipodpatcher 2
54 ipodpatcher 3
Dominik Riebeling89a2a282006-06-06 17:42:27 +000055 \end{code}
Dominik Riebeling70be09a2006-09-17 17:36:34 +000056 Keep increasing the number until the \dap{} is located.
Dominik Riebeling840b1c22006-07-10 07:04:43 +000057
Dominik Riebeling70be09a2006-09-17 17:36:34 +000058 The output for an unsuccessful attempt to contact the \dap{} looks like
59 this:
Dominik Riebeling840b1c22006-07-10 07:04:43 +000060 \begin{code}
Dominik Riebeling53254012006-10-10 13:21:09 +000061 C:\textbackslash{}rockbox>ipodpatcher 0
Dominik Riebeling840b1c22006-07-10 07:04:43 +000062 ipodpatcher v0.3 - (C) Dave Chapman 2006
63 This is free software; see the source for copying conditions. There is NO
64 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
65
66 [INFO] Reading partition table from \textbackslash\textbackslash{}.\textbackslash{}PhysicalDrive0
67 Drive is not an iPod, aborting
68 \end{code}
69
70 A successful connection to the \dap{} will look similar to this...
71 \begin{code}
72 C:\textbackslash{}rockbox>ipodpatcher 6
73 ipodpatcher v0.3 - (C) Dave Chapman 2006
74 This is free software; see the source for copying conditions. There is NO
75 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
76
77 [INFO] Reading partition table from \textbackslash\textbackslash{}.\textbackslash{}PhysicalDrive6
78 Part Start Sector End Sector Size (MB) Type
79 0 63 160649 78.4 Empty (0x00)
80 1 160650 7984304 3820.1 W95 FAT32 (0x0b)
81 \end{code}
82 Remember the number that corresponds to your \dap{} -- in the
Dominik Riebeling89a2a282006-06-06 17:42:27 +000083 following steps, \emph{N} should be replaced with the number just found.
84 \item Now, extract the firmware partition currently on the \dap{} with the
Michael DiFebbo95afcf52006-06-04 14:44:10 +000085 following command:
Dominik Riebeling89a2a282006-06-06 17:42:27 +000086 \begin{code}
87 ipodpatcher -r \emph{N} bootpartition.bin
88 \end{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +000089 \note{You should keep a safe backup of this \fname{bootpartition.bin} file
90 for use if you ever wish to either upgrade the Rockbox bootloader or
Dominik Riebeling89a2a282006-06-06 17:42:27 +000091 uninstall Rockbox from your Ipod}
Michael DiFebbo95afcf52006-06-04 14:44:10 +000092 \item Extract the Apple firmware from the partition image image just created:
Dominik Riebeling89a2a282006-06-06 17:42:27 +000093 \begin{code}
Dave Chapmane86fd3f2006-07-09 22:24:27 +000094 ipod_fw -o apple_os.bin -e 0 bootpartition.bin
Dominik Riebeling89a2a282006-06-06 17:42:27 +000095 \end{code}
Dominik Riebeling53254012006-10-10 13:21:09 +000096 \opt{ipodnano}{\note{The following step is only necessary if your Apple
97 firmware has version 1.2. If this doesn't apply to you, simply skip it.}}
98\optv{ipodvideo,ipodnano}{
99 \item
100 Similarly, extract the Broadcom firmware:
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000101 \begin{code}
102 ipod_fw -o apple_sw_5g_rcsc.bin -e 1 bootpartition.bin
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000103 \end{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000104}
Dominik Riebeling8c9e2252006-06-06 21:38:37 +0000105 \item Merge the Rockbox bootloader you downloaded previously with the Apple
Dominik Riebeling53254012006-10-10 13:21:09 +0000106 firm\-ware.%
Dominik Riebeling8c9e2252006-06-06 21:38:37 +0000107\optv{ipodnano}{
Dominik Riebeling53254012006-10-10 13:21:09 +0000108 If your firmware version is lower than 1.2 this works you need
109 this command:
Dominik Riebeling8c9e2252006-06-06 21:38:37 +0000110 \begin{code}
111 ipod_fw -g nano -o rockboot.bin -i apple_os.bin bootloader-nano.bin
112 \end{code}
Dominik Riebeling53254012006-10-10 13:21:09 +0000113 If your firmware version is 1.2 you need to use the following command
114 instead. Please note that the ``video'' is correct.
115 \begin{code}
116 ipod_fw -g video -o rockboot.bin -i apple_os.bin bootloader-nano.bin
117 \end{code}
Dominik Riebeling8c9e2252006-06-06 21:38:37 +0000118}
119\optv{ipodvideo}{
120 \begin{code}
121 ipod_fw -g video -o rockboot.bin -i apple_os.bin bootloader-video.bin
122 \end{code}
123}
124\optv{ipodmini}{
125 \begin{code}
126 ipod_fw -g mini -o rockboot.bin -i apple_os.bin bootloader-mini1g.bin
127 \end{code}
128 Or, if you have a 2G mini:
129 \begin{code}
130 ipod_fw -g mini -o rockboot.bin -i apple_os.bin bootloader-mini2g.bin
131 \end{code}
132}
133\optv{ipodcolor}{
134 \begin{code}
135 ipod_fw -g color -o rockboot.bin -i apple_os.bin bootloader-color.bin
136 \end{code}
137}
138\optv{ipod4g}{
139 \begin{code}
140 ipod_fw -g 4g -o rockboot.bin -i apple_os.bin bootloader-4g.bin
141 \end{code}
142}
143\item
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000144 Install the Rockbox-enabled firmware:
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000145 \begin{code}
146 ipodpatcher -w \emph{N} rockboot.bin
147 \end{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000148\end{enumerate}
149
Dominik Riebeling2a731e42006-06-04 17:16:24 +0000150Now you can proceed installing the firmware itself.
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000151
152\subsubsection{Mac OS X users}
153\begin{enumerate}
154 \item Download the following two programs and save them in the folder just
155 created. These programs will be used in the next steps:
156 \begin{itemize}
Jonas Häggqvistb774d4e2006-07-30 18:52:17 +0000157 \item \url{http://download.rockbox.org/bootloader/ipod/diskdump}
158 \item \url{http://download.rockbox.org/bootloader/ipod/ipod_fw}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000159 \end{itemize}
160 Start a Terminal and type navigate into the folder you created. Before
161 you can continue, you need to ensure that Mac OS knows that the
Dominik Riebeling2a731e42006-06-04 17:16:24 +0000162 \fname{ipod\_fw}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000163 and diskdump files you downloaded are executable programs. To do this,
164 type the following command:
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000165 \begin{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000166 chmod +x ipod_fw diskdump
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000167 \end{code}
168 \item Locate the \dap{} by running the following command:
169 \begin{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000170 mount
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000171 \end{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000172 The output will look something like this: \fixme{Add full example}
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000173 \begin{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000174 /dev/disk1s2 on /Volumes/DAVE_S IPOD 1 (local, nodev, nosuid)
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000175 \end{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000176 In this example, the \dap\ is located at /dev/disk1s2 Remember the
177 location of your \dap\ -- in the following steps, /dev/disk1s2 should be
178 replaced with the location just found.
179 \item Before continuing, the \dap\ must be ``unmounted'', which is
180 done with the following command:
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000181 \begin{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000182 diskutil unmount /dev/disk1s2
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000183 \end{code}
184 \item Now, extract the Apple firmware currently on the \dap{} with the
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000185 following command:
186 \note{The last part of the location is left out.}
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000187 \begin{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000188 ./diskdump -r /dev/disk1 bootpartition.bin
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000189 \end{code}
Dominik Riebeling2a731e42006-06-04 17:16:24 +0000190 \note{You should keep a safe backup of this \fname{bootpartition.bin} file
191 for use if you ever wish to either upgrade the Rockbox bootloader or
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000192 uninstall Rockbox from your iPod
193 }
194 \item Extract the Apple firmware from this partition image:
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000195 \begin{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000196 ./ipod_fw -o apple_os.bin -e 0 bootpartition.bin
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000197 \end{code}
Dominik Riebeling53254012006-10-10 13:21:09 +0000198 \opt{ipodnano}{\note{The following step is only necessary if your Apple
199 firmware has version 1.2. If this doesn't apply to you, simply skip it.}}
200\optv{ipodvideo,ipodnano}{
201 \item
202 Similarly, extract the Broadcom firmware:
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000203 \begin{code}
204 ./ipod_fw -o apple_sw_5g_rcsc.bin -e 1 bootpartition.bin
205 \end{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000206}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000207 \item Merge the Rockbox bootloader you downloaded previously with the Apple
Dominik Riebeling53254012006-10-10 13:21:09 +0000208 firm\-ware.%
Dominik Riebeling8c9e2252006-06-06 21:38:37 +0000209\optv{ipodnano}{
Dominik Riebeling53254012006-10-10 13:21:09 +0000210 If your firmware version is lower than 1.2 this works you need
211 this command:
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000212 \begin{code}
Dominik Riebeling8c9e2252006-06-06 21:38:37 +0000213 ./ipod_fw -g nano -o rockboot.bin -i apple_os.bin bootloader-nano.bin
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000214 \end{code}
Dominik Riebeling53254012006-10-10 13:21:09 +0000215 If your firmware version is 1.2 you need to use the following command
216 instead. Please note that the ``video'' is correct.
217 \begin{code}
218 ./ipod_fw -g video -o rockboot.bin -i apple_os.bin bootloader-nano.bin
219 \end{code}
Dominik Riebeling8c9e2252006-06-06 21:38:37 +0000220}
221\optv{ipodvideo}{
222 \begin{code}
223 ./ipod_fw -g video -o rockboot.bin -i apple_os.bin bootloader-video.bin
224 \end{code}
225}
226\optv{ipodmini}{
227 \begin{code}
228 ./ipod_fw -g mini -o rockboot.bin -i apple_os.bin bootloader-mini1g.bin
229 \end{code}
230 Or, if you have a 2G Mini:
231 \begin{code}
232 ./ipod_fw -g mini -o rockboot.bin -i apple_os.bin bootloader-mini2g.bin
233 \end{code}
234}
235\optv{ipodcolor}{
236 \begin{code}
237 ./ipod_fw -g color -o rockboot.bin -i apple_os.bin bootloader-color.bin
238 \end{code}
239}
240\optv{ipod4g}{
241 \begin{code}
242 ./ipod_fw -g 4g -o rockboot.bin -i apple_os.bin bootloader-4g.bin
243 \end{code}
244}
Martin Arver5778dfb2006-08-25 08:59:25 +0000245\optv{ipod3g}{
246 \begin{code}
247 ./ipod_fw -g 3g -o rockboot.bin -i apple_os.bin bootloader-3g.bin
248 \end{code}
249}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000250 \item
251 Install the Rockbox-enabled firmware:
252 \note{The last part of the location is left out.}
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000253 \begin{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000254 ./diskdump -w /dev/disk1 rockboot.bin
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000255 \end{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000256\end{enumerate}
257
Dominik Riebeling2a731e42006-06-04 17:16:24 +0000258Now, proceed with installing the firmware itself.
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000259
260\subsubsection{Linux users}
261\begin{enumerate}
262 \item Download the following and save it in the folder just
263 created:
264 \begin{itemize}
265 \item \url{http://www.rockbox.org/viewcvs.cgi/*checkout*/tools/ipod_fw.c}
266 \end{itemize}
267 Now compile it to an executable by opening a command prompt and changing
268 to the folder created previously. Thn run the following command:
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000269 \begin{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000270 gcc -o ipod_fw ipod_fw.c
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000271 \end{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000272 If you get the message that the command gcc is not found, you need to
273 install gcc. How to do this depends on your Linux distribution, and
274 you should consult its documentation for help on this.
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000275 \item Locate your Ipod by running the command \verb|dmesg|. In the output
276 something like the following should be seen:
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000277\begin{code}
278 usb 4-1: new high speed USB device using ehci_hcd and address 7
279 scsi4 : SCSI emulation for USB Mass Storage devices
280 usb-storage: device found at 7
281 usb-storage: waiting for device to settle before scanning
282 Vendor: Apple Model: iPod Rev: 1.62
283 Type: Direct-Access ANSI SCSI revision: 00
284 SCSI device sdb: 58605120 512-byte hdwr sectors (30006 MB)
285\end{code}
286 You need the device name of your \dap, which you can find in the last line.
287 In this example, the \dap\ is located on \fname{/dev/sdb}. In the following,
288 \fname{/dev/sdb} should be replaced with the location just found.
289 \item Run \verb|fdisk -l /dev/sdb|. Verify that the
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000290 output is similar to the one below:
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000291 \begin{code}
292 Device Boot Start End Blocks Id System
293 /dev/sdb1 1 10 80293+ 0 Empty
294 /dev/sdb2 11 3648 29222235 b W95 FAT32
295 \end{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000296 \item Back up the partition table using the following command:
297 \note{The last part of the location is left out.}
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000298 \begin{code}
299 dd if=/dev/\emph{sdb} of=mbr.bin count=1
300 \end{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000301
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000302 \item Now, extract the firmware partition currently on the \dap{} with the
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000303 following command:
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000304 \begin{code}
305 dd if=/dev/\emph{sdb1} of=bootpartition.bin
306 \end{code}
Dominik Riebeling2a731e42006-06-04 17:16:24 +0000307 \note{You should keep a safe backup of this \fname{bootpartition.bin} file
308 for use if you ever wish to either upgrade the Rockbox bootloader or
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000309 uninstall Rockbox from your Ipod
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000310 }
311 \item Extract the Apple firmware from this partition image:
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000312 \begin{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000313 ./ipod_fw -o apple_os.bin -e 0 bootpartition.bin
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000314 \end{code}
Dominik Riebeling53254012006-10-10 13:21:09 +0000315 \opt{ipodnano}{\note{The following step is only necessary if your Apple
316 firmware has version 1.2. If this doesn't apply to you, simply skip it.}}
317\optv{ipodvideo,ipodnano}{
318 \item
319 Similarly, extract the Broadcom firmware:
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000320 \begin{code}
321 ./ipod_fw -o apple_sw_5g_rcsc.bin -e 1 bootpartition.bin
322 \end{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000323}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000324
325 \item Merge the Rockbox bootloader you downloaded previously with the Apple
Dominik Riebeling53254012006-10-10 13:21:09 +0000326 firm\-ware.%
Dominik Riebeling8c9e2252006-06-06 21:38:37 +0000327\optv{ipodnano}{
Dominik Riebeling53254012006-10-10 13:21:09 +0000328 If your firmware version is lower than 1.2 this works you need
329 this command:
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000330 \begin{code}
Dominik Riebeling8c9e2252006-06-06 21:38:37 +0000331 ./ipod_fw -g nano -o rockboot.bin -i apple_os.bin bootloader-nano.bin
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000332 \end{code}
Dominik Riebeling53254012006-10-10 13:21:09 +0000333 If your firmware version is 1.2 you need to use the following command
334 instead. Please note that the ``video'' is correct.
335 \begin{code}
336 ./ipod_fw -g video -o rockboot.bin -i apple_os.bin bootloader-nano.bin
337 \end{code}
338
Dominik Riebeling8c9e2252006-06-06 21:38:37 +0000339}
340\optv{ipodvideo}{
341 \begin{code}
342 ./ipod_fw -g video -o rockboot.bin -i apple_os.bin bootloader-video.bin
343 \end{code}
344}
345\optv{ipodmini}{
346 \begin{code}
347 ./ipod_fw -g mini -o rockboot.bin -i apple_os.bin bootloader-mini1g.bin
348 \end{code}
349 Or, if you have a 2G Mini:
350 \begin{code}
351 ./ipod_fw -g mini -o rockboot.bin -i apple_os.bin bootloader-mini2g.bin
352 \end{code}
353}
354\optv{ipodcolor}{
355 \begin{code}
356 ./ipod_fw -g color -o rockboot.bin -i apple_os.bin bootloader-color.bin
357 \end{code}
358}
359\optv{ipod4g}{
360 \begin{code}
361 ./ipod_fw -g 4g -o rockboot.bin -i apple_os.bin bootloader-4g.bin
362 \end{code}
363}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000364 \item
365 Install the Rockbox-enabled firmware:
Dominik Riebeling89a2a282006-06-06 17:42:27 +0000366 \begin{code}
367 dd if=rockboot.bin of=/dev/\emph{sdb1}
368 \end{code}
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000369\end{enumerate}
Dominik Riebeling2a731e42006-06-04 17:16:24 +0000370Now you can install the firmware itself.
Michael DiFebbo95afcf52006-06-04 14:44:10 +0000371