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