Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansa e200 Bootloader + USB
« previous next »
  • Print
Pages: [1]

Author Topic: Sansa e200 Bootloader + USB  (Read 3066 times)

Offline MGSoto

  • Member
  • *
  • Posts: 4
Sansa e200 Bootloader + USB
« on: April 15, 2009, 02:14:15 AM »
Rockbox works fine and great, however, when I use a USB cable to charge the device (As in using the supplied USB cable and running only electricity through it) from it's off state, the boot load will run, the screen will turn a scan-line white, and then boot into the OF. Normally this isn't too big of a deal, but I want to use car adapter mode, and this obviously becomes a problem. I've tried using the RButil to reinstall the loader, but nothing helps. Any ideas?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa e200 Bootloader + USB
« Reply #1 on: April 15, 2009, 02:15:30 AM »
You can grab a bootloader off filespray that will boot into rockbox when you plug in.
Logged

Offline MGSoto

  • Member
  • *
  • Posts: 4
Re: Sansa e200 Bootloader + USB
« Reply #2 on: April 15, 2009, 08:11:44 PM »
Thanks for the tip, I'll give it a try once I get around to installing cygwin + tools. I tried downloading an older version of rockbox and tested to see if that fixed it, but unfortunately it didn't. I'm thinking it has something to do with the boot loader. I've also noticed that by holding select and viewing the loading process, the CRCs are different from when I turn it on by battery vs plugged in...
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa e200 Bootloader + USB
« Reply #3 on: April 15, 2009, 08:17:44 PM »
Quote from: MGSoto on April 15, 2009, 08:11:44 PM
I'm thinking it has something to do with the boot loader.

Isn't this what I just told you?

Quote from: MGSoto on April 15, 2009, 08:11:44 PM
I've also noticed that by holding select and viewing the loading process, the CRCs are different from when I turn it on by battery vs plugged in...

It would be surprising if the OF and rockbox binaries had the same CRCs!
Logged

Offline MGSoto

  • Member
  • *
  • Posts: 4
Re: Sansa e200 Bootloader + USB
« Reply #4 on: April 15, 2009, 08:27:28 PM »
Quote from: saratoga on April 15, 2009, 08:17:44 PM
Quote from: MGSoto on April 15, 2009, 08:11:44 PM
I'm thinking it has something to do with the boot loader.

Isn't this what I just told you?
Well, yes, I'm just not sure how using a patch that appears to modify the rockbox source files somehow manages to modify the bootloader as well. Unless I completely missed something in Filespray and I'm not looking at the right patch.

Quote from: saratoga on April 15, 2009, 08:17:44 PM
Quote from: MGSoto on April 15, 2009, 08:11:44 PM
I've also noticed that by holding select and viewing the loading process, the CRCs are different from when I turn it on by battery vs plugged in...

It would be surprising if the OF and rockbox binaries had the same CRCs!

I was assuming that the boot loader attempts to load rockbox, fails, and then falls back to the OF.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa e200 Bootloader + USB
« Reply #5 on: April 15, 2009, 08:44:13 PM »
Quote from: MGSoto on April 15, 2009, 08:27:28 PM
Well, yes, I'm just not sure how using a patch that appears to modify the rockbox source files somehow manages to modify the bootloader as well. Unless I completely missed something in Filespray and I'm not looking at the right patch.

Well I'm not sure what patch you're looking at, but the bootloader is part of the rockbox source (see the /bootloader folder).

Hopefully you're looking at the recent patch proposed (but not accepted) for 3.2 that changes the bootloaders to boot rockbox on USB insert.

Quote from: MGSoto on April 15, 2009, 08:27:28 PM
I was assuming that the boot loader attempts to load rockbox, fails, and then falls back to the OF.

No, it never tries to load rockbox.  The current bootloader defaults to the OF on USB insert (you can see this yourself by plugging in a USB cable, you'll end up in the OF not Rockbox).
Logged

Offline MGSoto

  • Member
  • *
  • Posts: 4
Re: Sansa e200 Bootloader + USB
« Reply #6 on: April 15, 2009, 09:07:42 PM »
Quote from: saratoga on April 15, 2009, 08:44:13 PM
Well I'm not sure what patch you're looking at, but the bootloader is part of the rockbox source (see the /bootloader folder).

Hopefully you're looking at the recent patch proposed (but not accepted) for 3.2 that changes the bootloaders to boot rockbox on USB insert.
I was actually talking about the patch itself, it doesn't touch the bootloader folder. (6654 for patch in question)

Quote from: saratoga on April 15, 2009, 08:44:13 PM
No, it never tries to load rockbox.  The current bootloader defaults to the OF on USB insert (you can see this yourself by plugging in a USB cable, you'll end up in the OF not Rockbox).
Okay, that makes more sense.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa e200 Bootloader + USB
« Reply #7 on: April 15, 2009, 09:24:58 PM »
Quote from: MGSoto on April 15, 2009, 09:07:42 PM
I was actually talking about the patch itself, it doesn't touch the bootloader folder. (6654 for patch in question)

That patch is:

1)  Many years older then USB support on the PP
2)  Already accepted in SVN

And yes, it does touch the bootloader!

Ok I'll do this for you.  The 3.2 bootloader task is "FS#9955 - Bootloaders for 3.2".  Just install the binary there.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansa e200 Bootloader + USB
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.067 seconds with 15 queries.