Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Bootloader
  • Assigned To No-one
  • Operating System Sansa e200
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 3
  • Private
Attached to Project: Rockbox
Opened by chrisjs169 - 2007-10-18
Last edited by jdgordon - 2007-10-20

FS#7990 - Disable OF database refresh

Disable the OF database refresh on the Sansa, for 1.02.18A. I'm sure it wouldn't be hard to disable the OF for the European firmware, but I haven't dumped the firmware for it. One problem that I'm not sure about fixing, is if a MicroSD card is inserted, the OF will still refresh.

I removed disable_rebuild from load_mi4_part, though I don't think this would cause problems, because the if (disable_rebuild) line has been replaced with #if defined(SANSA_E200).

Closed by  jdgordon
2007-10-20 10:01
Reason for closing:  Accepted

You probably expected this, but it doesn't work with 2.02.12a. So I updated to 1.02.18A, but unfortunately it didn't seem to make a difference either.

we only want it to skip the rebuild if usb started the OF because if it was started manually and it doesnt rebuild, you dont have your music.

This works for my Sansa e260 with firmware version 1.02.18A.

I removed the extraneous comma at the end of the firmware list.
Also I added a check on whether the bit actually needs changing, to avoid a disk write when it's not needed.

I can help figuring out the location of the database refresh bit for a couple of other firmwares.

jeton commented on 2007-10-19 22:16

It would be very good if you make this work with the European version. The OF refresh is very, very annoying…

So far, I flashed the following firmwares, located the database refresh bit and verified that db refresh was disabled:
01.02.15E
01.02.18A
01.02.18E
(It turns out all of the above have the database refresh bit at the same location)

It works for me, but someone on IRC reported it didn't work for them… Remember, this patch only prevents a refresh when it boots with the USB cable attached.

For those who find that it doesn't work: Are you using a good copy of the firmware, and the bootloader actually says something about the database refresh being disabled? If so, are you sure you don't have a MicroSD card inserted? I'm going to see if I can get a dump of the firmware with both the MicroSD card in and out, and see if there's a difference. I am on a Windows machine though - I have a copy of Linux on a usb drive though - so I'm not sure how easy it will be to get a dump.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing