Bembel-B Blog

2008/05/19

My 15th very own custom Rockbox build for Sansa e200

An updated build based on yesterdays Revision 17577 with my selected patches and USB Mass Storage support. I can’t remember any important changes with this build, except for the ones below.SanDisk Sansa e200

News

  • RockDoom and PictureFlow Plugins are working again (by dropping some patches)
  • Flashlight Plugin was renamed to Lamp (so you can delete the old flashlight.rock in the .rockbox/rocks directory)
  • Instrument Tuner Plugin (called Pitch) has been added this time

Removed Patches

  • doom_scroll3_sync20070915.patch – was crashing rockbox
  • pf_album_title_v3.diff – was crashing rockbox

Updated Patches

  • customlist_vp_v8c.diff
  • multifont_for_customlist-20080515.patch
  • playlist_folder-060508.patch
  • charge_e200_17423.diff

Download

Patch Log

FS#8799 – User definable list dimensions (custom list for viewports)
patch -p0 < /home/scheff/downloads/customlist_vp_v8c.diff

FS#4733 – Multifont
patch -p0 < /home/scheff/downloads/multifont_for_customlist-20080515.patch

FS#5697 – bmp resize patch
patch -p0 < /home/scheff/downloads/albumart-smooth_resize-080415.patch

FS#7661 – Make ID3 info screen more readable
patch -p0 < /home/scheff/downloads/expand_id3_screen_line_width.patch
**
Hunk #3 FAILED at 822.
1 out of 3 hunks FAILED — saving rejects to file apps/screens.c.rej
** no-brainer fix (function parameters changed)

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

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/backlight_fading_e200_17138.patch

FS#6884 – Sansa E200 m3u/m3u8 to pla playlist converter
patch -p0 < /home/scheff/downloads/sansa_playlist_converter_V3.3.diff
**
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED — saving rejects to file apps/plugins/CATEGORIES.rej
** no-brainer fix
**
playlist_converter.c:405: error: conflicting types for ‘plugin_start’
/home/scheff/src/rockbox-17577/apps/plugin.h:815: error: previous declaration of ‘plugin_start’ was here
make[2]: *** [/home/scheff/src/rockbox-17577/build/apps/plugins/playlist_converter.o] Error 1
** fix plugin_start paramters:

--- apps/plugins/playlist_converter.c.orig	2008-05-19 01:18:32.000000000 +0200
+++ apps/plugins/playlist_converter.c	2008-05-19 01:49:37.000000000 +0200
@@ -401,7 +401,7 @@
 }
 
 /* this is the plugin entry point */
-enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
+enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
 {
 
     rb = api;

FS#8070 – Sansa battery_bench plugin buffer overflow
patch -p0 < /home/scheff/downloads/batt_bench_v3.patch

FS#8363 – Charger configuration for Sansa e200/c200
patch -p0 < /home/scheff/downloads/charge_e200_17423.diff

FS#5555 – Record Button Configuration
patch -p0 < /home/scheff/downloads/rec_button_080325.patch
**
Hunk #1 FAILED at 1149.
1 out of 1 hunk FAILED — saving rejects to file apps/settings_list.c.rej
** Simply put the rejected code-block before CHOICE_SETTING. Eventually the new Study Mode will not be covered?

FS#7871 – Go to WPS from metadata viewer, pitchscreen and quickscreen for e200
patch -p0 < /home/scheff/downloads/play_to_wps_v2.diff

FS#8768 – Instrument tuner plugin
Following the HowTo at http://www.rockbox.org/twiki/bin/view/Main/HowtoWritePlugins
cp -p /home/scheff/downloads/pitch.c.080418-stevetuc apps/plugins/pitch.c
add pitch to apps/plugins/SOURCES and apps/plugins/CATEGORIES:

--- apps/plugins/CATEGORIES.orig	2008-05-19 01:19:04.000000000 +0200
+++ apps/plugins/CATEGORIES	2008-05-19 01:29:54.000000000 +0200
@@ -50,6 +50,7 @@
 pacbox,games
 pegbox,games
 pictureflow,demos
+pitch,apps
 plasma,demos
 playlist_converter,viewers
 pong,games
--- apps/plugins/SOURCES.orig	2008-05-19 01:18:32.000000000 +0200
+++ apps/plugins/SOURCES	2008-05-19 01:29:28.000000000 +0200
@@ -8,6 +8,7 @@
 jackpot.c
 logo.c
 mosaique.c
+pitch.c
 properties.c
 random_folder_advance_config.c
 rockblox.c

**
pitch.c:501: error: conflicting types for ‘plugin_start’
/home/scheff/src/rockbox-17577/apps/plugin.h:815: error: previous declaration of ‘plugin_start’ was here
make[2]: *** [/home/scheff/src/rockbox-17577/build/apps/plugins/pitch.o] Error 1
rm /home/scheff/src/rockbox-17577/build/apps/plugins/dict.elf /home/scheff/src/rockbox-17577/build/apps/plugins/credits.elf /home/scheff/src/rockbox-17577/build/apps/plugins/firmware_flash.elf /home/scheff/src/rockbox-17577/build/apps/plugins/chessclock.elf /home/scheff/src/rockbox-17577/build/apps/plugins/jackpot.elf /home/scheff/src/rockbox-17577/build/apps/plugins/logo.elf /home/scheff/src/rockbox-17577/build/apps/plugins/cube.elf /home/scheff/src/rockbox-17577/build/apps/plugins/battery_bench.elf /home/scheff/src/rockbox-17577/build/apps/plugins/mosaique.elf
make[1]: *** [rocks] Error 2
** fix plugin_start paramters:

--- apps/plugins/pitch.c.orig	2008-04-24 17:59:35.000000000 +0200
+++ apps/plugins/pitch.c	2008-05-19 01:46:23.000000000 +0200
@@ -497,7 +497,7 @@
 }
 #endif
 
-enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
+enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
 {
   (void)parameter;
   rb=api;
Advertisements

Leave a Comment »

No comments yet.

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: