blob: 989878e36a50b93eef2e28a1733f3a3db9726f8b [file] [log] [blame]
Nils Wallménius5412b7e2007-03-15 08:47:25 +00001% $Id$ %
Dave Chapmanf2ca1e82007-09-22 21:28:43 +00002\opt{e200}{\fixme{NOTE: These instructions will not work on the
3``Rhapsody'' version of the E200 series (also known as E200R). Please
4follow the instructions at
5\url{http://www.rockbox.org/twiki/bin/view/Main/SansaE200RInstallation}.}}
Dave Chapmane6588112007-09-15 18:14:49 +00006
Marianne Arnoldf8da8982007-09-30 22:04:51 +00007In order to make your \playertype{} load and execute the Rockbox firmware you
Barry Wardell8986cb72007-03-23 17:06:29 +00008have just installed, you will need to install the Rockbox
9bootloader. Unless bugs are found in the bootloader code, or
10significant new feature are added, you will only have to perform this
11step once.
Dominik Riebeling2b174172007-03-12 18:19:42 +000012
Marianne Arnoldf8da8982007-09-30 22:04:51 +000013These steps use the sansapatcher tool. Source code is available in the Rockbox
14SVN repository (\url{http://svn.rockbox.org/viewvc.cgi/trunk/rbutil/sansapatcher/}).
Barry Wardell8986cb72007-03-23 17:06:29 +000015
16\subsubsection{Bootloader installation from Windows}
Dominik Riebeling2b174172007-03-12 18:19:42 +000017
18\begin{enumerate}
Barry Wardell8986cb72007-03-23 17:06:29 +000019
20\item Make sure you are logged into your computer as Administrator, or a
21user with Administrator privileges and connect your \dap{}.
22
23\item Download sansapatcher.exe from
Dave Chapmanf2ca1e82007-09-22 21:28:43 +000024\download{bootloader/sandisk-sansa/sansapatcher/win32/sansapatcher.exe}
Barry Wardell8986cb72007-03-23 17:06:29 +000025and run it.
26
27\item If all has gone well, you should see some information displayed about
Marianne Arnoldf8da8982007-09-30 22:04:51 +000028your \playertype{} and a message asking you if you wish to install the Rockbox
Barry Wardell8986cb72007-03-23 17:06:29 +000029bootloader. Press i followed by ENTER, and sansapatcher will now
30install the bootloader. After a short time you should see the message
31``[INFO] Bootloader installed successfully.'' Press ENTER again to exit
32sansapatcher.
33
34\item Disconnect your \dap{} in the usual way. The bootloader is now installed.
35
Dominik Riebeling2b174172007-03-12 18:19:42 +000036\end{enumerate}
37
Barry Wardell8986cb72007-03-23 17:06:29 +000038\subsubsection{Bootloader installation from Mac OS X}
39
40\begin{enumerate}
41
42\item Attach your \dap{} to your Mac and wait for its icon to appear in
43Finder.
44
45\item\label{subsec:macos_umount} Open up Disk Utility
46(in Applications $\rightarrow$ Utilities) and click
Marianne Arnoldf8da8982007-09-30 22:04:51 +000047on the name of your \dap{} (e.g. Sansa \opt{e200}{e280}\opt{c200}{c250})
48in the list on the left pane. Then click on the ``unmount'' icon at the top.
49\warn{Do \emph{not} click on the ``eject'' icon.}
Barry Wardell8986cb72007-03-23 17:06:29 +000050
51\item Download and open sansa.dmg from
Dave Chapmanf2ca1e82007-09-22 21:28:43 +000052\download{bootloader/sandisk-sansa/sansapatcher/macosx/sansapatcher.dmg}
Barry Wardell8986cb72007-03-23 17:06:29 +000053and then double-click on the sansapatcher icon inside.
54
Marianne Arnoldf8da8982007-09-30 22:04:51 +000055\item If all has gone well, you should see some
Barry Wardell8986cb72007-03-23 17:06:29 +000056information displayed about your \dap{} and a message asking you if you
57wish to install the Rockbox bootloader. Press i followed by ENTER, and
58sansapatcher will now install the bootloader. After a short time you
59should see the message ``[INFO] Bootloader installed successfully.'' Press
60ENTER again to exit sansapatcher and then quit the Terminal application.
61
62\item \warn{If you received a ``Resource busy'' error from
63sansapatcher, then this means you didn't complete step
64\ref{subsec:macos_umount}. Go back to Disk Utility, unmount your
65\dap{} and then run sansapatcher again.}
66
67\item Your \dap{} will now automatically reconnect itself to your Mac.
68Wait for it to connect, and then eject and unplug it in the normal way.
69
70\end{enumerate}
71
72\subsubsection{Bootloader installation from Linux}
73
74\begin{enumerate}
75
76\item Download sansapatcher from
Dave Chapmanf2ca1e82007-09-22 21:28:43 +000077\download{bootloader/sandisk-sansa/sansapatcher/linux32x86/sansapatcher} (32-bit x86
78binary) or \download{bootloader/sandisk-sansa/sansapatcher/linux64amd64/sansapatcher}
Barry Wardell8986cb72007-03-23 17:06:29 +000079(64-bit amd64 binary). You can save this anywhere you wish, but the next
80steps will assume you've saved it in your home directory.
81
82\item Attach your \dap{} to your computer.
83
84\item Open up a terminal window and type the following commands:
85
86\begin{code}
87 cd $HOME
88 chmod +x sansapatcher
89 ./sansapatcher
90\end{code}
91
92\warn{You may need to be the root user in order for sansapatcher to have
93sufficient permission to perform raw disk access to your \dap{}.}
94
95\item If all has gone well, you should see some information displayed about
Marianne Arnoldf8da8982007-09-30 22:04:51 +000096your \playertype{} and a message asking you if you wish to install the Rockbox
Barry Wardell8986cb72007-03-23 17:06:29 +000097bootloader. Press i followed by ENTER, and sansapatcher will now install the
98bootloader. After a short time you should see the message ``[INFO] Bootloader
99installed successfully.'' Press ENTER again to exit sansapatcher.
100
101\item Disconnect your \dap{} in the usual way. The bootloader is now installed.
102
103\end{enumerate}