blob: 5952c167db4038c2a8702e19a8ed00ebc9c50925 [file] [log] [blame]
Will Robertson8a3c77e2008-05-09 07:08:18 +00001% $Id$
2
Alex Parker1c722042009-02-21 19:47:28 +00003\warn{Before starting this procedure, ensure that you have a copy
4of the original \playerman{} firmware. Without this, it is
Alex Parker7d56bf42009-10-19 18:15:10 +00005\emph{not} possible to uninstall Rockbox. It is also needed if you want to
6install the dual-boot bootloader. The \playerman{}
Alex Parker1c722042009-02-21 19:47:28 +00007firmware can be downloaded from
8\url{http://www.tacp.toshiba.com/tacpassets-images/firmware/MESV12US.zip}.\\}
Alex Parker7d56bf42009-10-19 18:15:10 +00009The single-boot bootloader can only boot Rockbox, whereas the dual-boot
10bootloader can boot both Rockbox and the \playerman{} firmware.
11The single-boot bootloader boots Rockbox more quickly if you no longer need
12access to the \playerman{} firmware.\\
Alex Parker1c722042009-02-21 19:47:28 +000013
Will Robertson8a3c77e2008-05-09 07:08:18 +000014Installing the bootloader is only needed once. It involves replacing the
Alex Parker1c722042009-02-21 19:47:28 +000015existing firmware file on your \dap{} with another version.
16When running the original \playerman{} firmware (a version of Windows CE), it is
17only possible to connect the \dap{} to a PC in ``MTP mode'', which hides
18the actual content of your \daps{} disk and provides restricted access
19to its contents.
20In reality, the \daps{} hard disk contains two partitions, a small
Andree Buschmann6a960372010-05-09 21:03:30 +000021(150~MB) ``firmware partition'' containing the \daps{} firmware (operating
Alex Parker1c722042009-02-21 19:47:28 +000022system), and a second ``data partition'' containing your media files. The main
23firmware file in the bootloader partition is called \fname{nk.bin}, and
24this is the file that is loaded into RAM (by the \daps{} ROM-based
25bootloader) and executed when your \dap{} is powered on.
26
27\subsubsection{Bootloader installation from Windows}
28
29\begin{enumerate}
Alex Parker8dc70842009-02-22 14:18:18 +000030
31\item Attach your \dap{} to your computer.
32
33\item Download \fname{beastpatcher.exe} from
Alex Parker7d56bf42009-10-19 18:15:10 +000034\download{bootloader/toshiba/gigabeat-s/beastpatcher/win32/beastpatcher.exe}
35and then perform one of the following, depending on whether you want single
36or dual-boot.
Alex Parker8dc70842009-02-22 14:18:18 +000037
Michael Chicoinea2d82122009-11-30 01:08:15 +000038\begin{description}
39\item [Single Boot.] Run \fname{beastpatcher.exe}. You should see some
Alex Parker7d56bf42009-10-19 18:15:10 +000040information displayed about
Alex Parker8dc70842009-02-22 14:18:18 +000041your \dap{} and a message asking you if you wish to install the Rockbox
42bootloader. Press i followed by ENTER, and beastpatcher will
43install the bootloader. After a short time you should see the message
Alex Parkerb2ee0ce2009-11-01 17:29:13 +000044``[INFO] Bootloader installed successfully''. Press ENTER again to exit
Alex Parker8dc70842009-02-22 14:18:18 +000045beastpatcher.
46
Michael Chicoinea2d82122009-11-30 01:08:15 +000047\item [Dual Boot.] Inside the \fname{MESV12US.zip} file you downloaded earlier
Alex Parkerea669d72009-11-07 12:31:32 +000048you should find an \fname{.iso} file. Using e.g. 7zip
49(\url{http://www.7-zip.org} you can extract an \fname{.exe} file from this
50\fname{.iso} file. Using 7zip again, extract the \playerman{} firmware file
51\fname{nk.bin} from the \fname{.exe} file and place it in the same
Alex Parker7d56bf42009-10-19 18:15:10 +000052directory as \fname{beastpatcher.exe}. Open a command prompt and navigate
53to this directory, and then type the following commands:
54
55\begin{code}
56 beastpatcher -d nk.bin
57\end{code}
58
59After a short time you should see the message
Alex Parkerb2ee0ce2009-11-01 17:29:13 +000060``[INFO] Bootloader installed successfully''. Press ENTER again to exit
Alex Parker7d56bf42009-10-19 18:15:10 +000061beastpatcher.
Michael Chicoinea2d82122009-11-30 01:08:15 +000062\end{description}
Alex Parker7d56bf42009-10-19 18:15:10 +000063
Alex Parkerb2ee0ce2009-11-01 17:29:13 +000064\item After a successful installation, you need to disconnect your \dap{} from
65USB, and then immediately reconnect it. It should reboot then enter the Rockbox
66bootloader ``USB Mass Storage'' mode, which exposes your \daps{} disk to your
67computer as a standard USB Mass Storage device.
Alex Parker1c722042009-02-21 19:47:28 +000068\end{enumerate}
69
Alex Parker8dc70842009-02-22 14:18:18 +000070\subsubsection{Bootloader installation from Mac OS X}
71\begin{enumerate}
72\item Attach your \dap{} to your computer.
73
74\item Download and open beastpatcher.dmg from
Alex Parker99e492e2009-10-30 21:15:49 +000075\download{bootloader/toshiba/gigabeat-s/beastpatcher/macosx/beastpatcher.dmg}
76and then perform one of the following,
Alex Parker7d56bf42009-10-19 18:15:10 +000077depending on whether you want single or dual-boot.
Alex Parker8dc70842009-02-22 14:18:18 +000078
Michael Chicoinea2d82122009-11-30 01:08:15 +000079\begin{description}
80\item [Single Boot.] Double-click on the beastpatcher icon. You can also
Alex Parker7d56bf42009-10-19 18:15:10 +000081drag the beastpatcher icon to a location on your hard drive and launch
82it from the Terminal. If all has gone well, you should see some
Alex Parker8dc70842009-02-22 14:18:18 +000083information displayed about your \dap{} and a message asking you if you
84wish to install the Rockbox bootloader. Press i followed by ENTER, and
85beastpatcher will now install the bootloader. After a short time you
86should see the message ``[INFO] Bootloader installed successfully''
87followed by some error messages that you can safely ignore. Press
88ENTER again to exit beastpatcher and then quit the Terminal application.
89
Michael Chicoinea2d82122009-11-30 01:08:15 +000090\item [Dual Boot.] Inside the \fname{MESV12US.zip} file you downloaded earlier
Alex Parkerea669d72009-11-07 12:31:32 +000091you should find an \fname{.iso} file. Using e.g. 7zip
92(\url{http://www.7-zip.org} you can extract an \fname{.exe} file from this
93\fname{.iso} file. Using 7zip again, extract the \playerman{} firmware file
94\fname{nk.bin} from the \fname{.exe} file and place it in the same
95directory as \fname{beastpatcher}. Open a terminal window and type the
Alex Parker7d56bf42009-10-19 18:15:10 +000096following command:
97
98\begin{code}
99 ./beastpatcher -d nk.bin
100\end{code}
Michael Chicoinea2d82122009-11-30 01:08:15 +0000101\end{description}
Alex Parker7d56bf42009-10-19 18:15:10 +0000102
Alex Parker8dc70842009-02-22 14:18:18 +0000103\item After a successful installation, your \dap{} will immediately turn off.
104Turn it on again, and (because it is still connected to your Mac)
105it will enter the Rockbox bootloader's
106``USB Mass Storage'' mode, which exposes your \daps{} disk to your computer
107as a standard USB Mass Storage device.
108\end{enumerate}
109
110\subsubsection{Bootloader installation from Linux}
Alex Parker1c722042009-02-21 19:47:28 +0000111
112\begin{enumerate}
Alex Parker8dc70842009-02-22 14:18:18 +0000113
114\item Download beastpatcher from
Alex Parker7d56bf42009-10-19 18:15:10 +0000115\download{bootloader/toshiba/gigabeat-s/beastpatcher/linux32x86/beastpatcher}
116(32-bit x86 binary) or
117\download{bootloader/toshiba/gigabeat-s/beastpatcher/linux64amd64/beastpatcher}
Alex Parker8dc70842009-02-22 14:18:18 +0000118(64-bit amd64 binary). You can save this anywhere you wish, but the next
119steps will assume you have saved it in your home directory.
120
Alex Parker7d56bf42009-10-19 18:15:10 +0000121\item Attach your \dap{} to your computer and then perform one of the following,
122depending on whether you want single or dual-boot.
Alex Parker8dc70842009-02-22 14:18:18 +0000123
Michael Chicoinea2d82122009-11-30 01:08:15 +0000124\begin{description}
125\item [Single Boot.] Open up a terminal window and type the following commands:
Alex Parker8dc70842009-02-22 14:18:18 +0000126
Alex Parker1c722042009-02-21 19:47:28 +0000127\begin{code}
Alex Parker8dc70842009-02-22 14:18:18 +0000128 cd $HOME
129 chmod +x beastpatcher
130 ./beastpatcher
Alex Parker1c722042009-02-21 19:47:28 +0000131\end{code}
Alex Parker8dc70842009-02-22 14:18:18 +0000132
Alex Parker7d56bf42009-10-19 18:15:10 +0000133If all has gone well, you should see some information displayed about
Alex Parker8dc70842009-02-22 14:18:18 +0000134your \dap{} and a message asking you if you wish to install the Rockbox
135bootloader. Press i followed by ENTER, and beastpatcher will now install the
136bootloader. After a short time you should see the message ``[INFO] Bootloader
137installed successfully'' followed by some error
138messages that you can safely ignore. Press ENTER again to exit beastpatcher.
139
Michael Chicoinea2d82122009-11-30 01:08:15 +0000140\item [Dual Boot.] Inside the \fname{MESV12US.zip} file you downloaded earlier
Alex Parkerea669d72009-11-07 12:31:32 +0000141you should find an \fname{.iso} file. Using e.g. 7zip
142(\url{http://www.7-zip.org} you can extract an \fname{.exe} file from this
143\fname{.iso} file. Using 7zip again, extract the \playerman{} firmware file
144\fname{nk.bin} from the \fname{.exe} file and place it in the same
Alex Parker7d56bf42009-10-19 18:15:10 +0000145directory as \fname{beastpatcher}. Open a terminal window and type the
146following commands:
147
148\begin{code}
149 cd $HOME
150 chmod +x beastpatcher
151 ./beastpatcher -d nk.bin
152\end{code}
153
154After a short time you should see the message
155``[INFO] Bootloader installed successfully'' followed by some error
156messages that you can safely ignore. Press ENTER again to exit
157beastpatcher.
Michael Chicoinea2d82122009-11-30 01:08:15 +0000158\end{description}
Alex Parker7d56bf42009-10-19 18:15:10 +0000159
Alex Parker8dc70842009-02-22 14:18:18 +0000160\item After a successful installation, your \dap{} will immediately turn off.
161Turn it on again, and (because it is still connected to your PC)
162it will enter the Rockbox bootloader's
Alex Parker1c722042009-02-21 19:47:28 +0000163``USB Mass Storage'' mode, which exposes your \daps{} disk to your computer
164as a standard USB Mass Storage device.
Alex Parker1c722042009-02-21 19:47:28 +0000165
Michael Chicoine35f07852009-11-29 23:19:53 +0000166\end{enumerate}