Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: adding another OF database rebuild byte to the e200 bl

Re: adding another OF database rebuild byte to the e200 bl

From: Barry Wardell <barry.wardell_at_gmail.com>
Date: Sat, 19 May 2007 16:33:32 +0100

It was just a single byte in the other versions that changed from 0 to
1 (so possibly just a single bit). That includes the 1.00.12E
firmware, which I think is just the European version of your
(American) 1.00.12 firmware. I would expect a very similar structure
between the two. This page:
http://www.rockbox.org/twiki/bin/view/Main/SansaE200FirmwarePartition
has a breakdown of the firmware partition structure that I know of so
far. As you can see from that page, the database rebuild flag is just
a part of the NVPARAMS section of the partition. There's lots of other
stuff in that section such as resume info, etc, so some of that may
change between boots too. I guess it's just a matter of trial and
error, there are only 3 bytes so it shouldn't take too long.

On 5/19/07, Jonathan Gordon <jdgordy_at_gmail.com> wrote:
> hey,
> OK, so the other e200 I have here does actually have a different OF
> from he 2 we know the locations of the byte to change.
> I've done the two dumps and used got the diff, but I cant remember
> what the previous diffs looked like so cant actually add it to the
> BL... did they all have 3 bytes changed?
>
> So, first the diff of the relevant part of the dumps...
> --- rbdump.txt 2007-05-20 00:37:17.000000000 +1000
> +++ usbconnection.txt 2007-05-20 00:35:38.000000000 +1000
> @@ -317010,11 +316990,8 @@
> 007839c0 14 00 00 00 ec 37 00 00 05 00 00 00 00 00 00 00 |.....7..........|
> 007839d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
> 007839e0 00 00 00 00 00 00 00 00 00 00 00 00 13 00 00 00 |................|
> -007839f0 14 00 00 00 1c 38 00 00 05 00 00 00 00 00 00 00 |.....8..........|
> +007839f0 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
> 00783a00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
> -00783a10 00 00 00 00 00 00 00 00 00 00 00 00 13 00 00 00 |................|
> -00783a20 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
> -00783a30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
> *
> 00800000 19 37 46 93 d1 a9 c3 2d c3 87 d0 a6 2d 99 0e ac |.7F....-....-...|
> 00800010 ab a1 55 0f e8 86 09 9e b7 95 e1 c0 c2 32 68 68 |..U..........2hh|
>
> The OF version string: PP5022AF-05.51-S301-00.12-S301.00.12A-D
>
> and attached is the updated bootloader to handle adding new OF's more
> easily. (also a change to e200-buttons.c to get buttons working in the
> BL again, although, enabling the interupts would be better probbaly?)
>
> I'm going to bed, have fun at devcon :)
>
>
Received on 2007-05-19


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa