Bembel-B Blog

2007/09/23

My very own first custom Rockbox build for Sansa e200

I’m really impressed by the Rockbox software and its team! Adds so much value to my beloved SanDisk Sansa e200 MP3 Player! Until today I was using the vanilla (unpatched) releases of their firmware, but now I found the time to build Rockbox with some patches like Album Art support. Here’s a short summary of my efforts and a download of that build.

SanDisk Sansa e200

UPDATE: Take a peek at my latest additions including Rockbox builds in my Rockbox category

First of all I set up the cross compiling environment on my Ubuntu Linux box using the rockboxdev.sh included in the Rockbox sources. The wiki holds very usefull documentation about this, esp. CrossCompiler and SimpleGuideToCompiling.

Looking at the Rockbox Themes, I figured out what patches besides the Album Art patch would be required, to get the enhanced While Playing Screens (WPS). So I simply took a look at list of patches included in the custom builds that were referred to, which are mschneider’s “M-Build”, Cpchan’s build, and maxwen0’s patch series. I dropped some of which I didn’t like and needed and combined the other ones into my own patch selection.

I got the sources via SVN tagged as Revision 14817. So, as the code changes, your results will likely differ from mine. I’ll post the corrections of the patches tomorrow or so, as I’m a bit short on time and don’t really know how to best provide them. So here’s the list of the patches and their status, which would have to be applied in that particular order.

FS#3045 – Album art display on WPS
patch -p0 < /home/scheff/downloads/album_art_20070919.patch

FS#5697 – bmp resize patch
patch -p1 < /home/scheff/downloads/bmpresize-20070624.patch

FS#7542 – This patch moves all the playlist creation from the root dir to the PLAYLISTS directory.
patch -p0 < /home/scheff/downloads/playlist_folder.patch

FS#7538 – Custom user splash screen.
patch -p0 < /home/scheff/downloads/custom_splashV7.1.2.diff
** BUILD FAILS **
CC misc.c
misc.c: In function ‘show_splash’:
misc.c:931: error: too few arguments to function ‘read_bmp_file’
misc.c:937: error: too few arguments to function ‘read_bmp_file’
make[1]: *** [/home/scheff/src/rockbox-14817/build/apps/misc.o] Error 1
make: *** [build] Fehler 2
** skip **

FS#7565 – support for the TPA tag
patch -p1 < /home/scheff/downloads/50-id3TPA.patch

FS#6800 – Sansa e200 backlight behaviour
patch -p0 < /home/scheff/downloads/lcddimmer20070915.patch

FS#6796 – Put ymargin into scrollinfo
patch -p1 < /home/scheff/downloads/ymargin-scrollinfo_20070728.patch

FS#2954 – Scrolling text margin for the wps
patch -p0 < /home/scheff/downloads/scroll-margins_20070915.patch
** FAILS **
patching file apps/screen_access.c
Hunk #1 FAILED at 47.
Hunk #2 FAILED at 133.
2 out of 2 hunks FAILED — saving rejects to file apps/screen_access.c.rej
** manually fixed / backup .orig2 **

FS#4733 – Multifont
patch -p1 < /home/scheff/downloads/multifont_complete-20070831.patch
** FAILS **
patching file apps/screen_access.c
Hunk #1 FAILED at 52.
Hunk #2 FAILED at 138.
2 out of 2 hunks FAILED — saving rejects to file apps/screen_access.c.rej
** manually fixed / backup .orig3 **

FS#5899 – Custom List/Menu x/y coordinates and width
patch -p0 < /home/scheff/downloads/custom_list_position-20070622.patch
** FAILS **
patching file apps/gui/quickscreen.c
Hunk #1 FAILED at 72.
Hunk #2 FAILED at 87.
Hunk #3 FAILED at 109.
3 out of 3 hunks FAILED — saving rejects to file apps/gui/quickscreen.c.rej
** manually fixed / backup .orig2 **

FS#5900 – Custom WPS Line with x/y/width coordinates and font face/color settings
patch -p1 < /home/scheff/downloads/customline-20070915.patch
** FAILS **
patching file apps/screen_access.c
Hunk #1 FAILED at 49.
Hunk #2 FAILED at 101.
Hunk #3 FAILED at 138.
Hunk #4 FAILED at 193.
4 out of 4 hunks FAILED — saving rejects to file apps/screen_access.c.rej
patching file apps/screen_access.h
Hunk #1 FAILED at 73.
1 out of 2 hunks FAILED — saving rejects to file apps/screen_access.h.rej
** manually fixed / backup .orig4 and orig2**

FS#4988 – Optionally keep backlight on while plugins are running
patch -p0 < /home/scheff/downloads/plugin-backlight_070303.patch

FS#7286 – correct DC-bias for output signals (dsp, test_codec)
patch -p0 < /home/scheff/downloads/dc_bias_v3.patch
** FAILS **
** skip **

Recording Enhancements Pack
patch -p0 < /home/scheff/downloads/recordingenhancementspack.patch
** FAILS **
** skip **

FS#6960 – Random (album) selection in Database
patch -p0 < /home/scheff/downloads/random_album.patch

FS#6884 – Sansa E200 m3u/m3u8 to pla playlist converter
patch -p0 < /home/scheff/downloads/sansa_Playlist_converter_V3.1.diff

FS#7114 – HTML_Parser. Creates a txt file readable in the viewer
patch -p0 < /home/scheff/downloads/HTML_ParserV1.6.diff
** FAILS **
patching file apps/plugins/CATEGORIES
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED — saving rejects to file apps/plugins/CATEGORIES.rej
patching file apps/plugins/viewers.config
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED — saving rejects to file apps/plugins/viewers.config.rej
** manually fixed / backup .orig2 **

FS#6505 – Slider progressbar
patch -p0 < /home/scheff/downloads/progressbar_slider_20070622.patch
** FAILS **
patching file apps/gui/wps_parser.c
Hunk #1 FAILED at 287.
Hunk #2 succeeded at 503 (offset 7 lines).
Hunk #3 succeeded at 1179 (offset 68 lines).
1 out of 3 hunks FAILED — saving rejects to file apps/gui/wps_parser.c.rej
** manually fixed / backup .orig2 **

You can download that build from box.net to try it on your Sansa e200. The original patches can also be downloaded from my box.net share. As I already mentioned, the corrected patches will follow soon. For now I’ll provide the diffs for the manually fixed source; that’s the diff between the original source and the state after patching and manually fixing. So, rock on! :)

ChangeLog

[070923: Add diffs for manually fixed sources. Complete some jumbled sentence.]
[070925: Use direct download links via box.net lite]
[080120: Links to Rockbox category. Update pointing to latest builds.]
[2009-04-26: Fix box.net links.]

Advertisements

1 Comment »

  1. Nice Build. Thanks.

    Comment by TouchDownTD — 2007/10/20 @ 12:11 | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: