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
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Problem with customizing e200 bootloader
« previous next »
  • Print
Pages: [1]

Author Topic: Problem with customizing e200 bootloader  (Read 2108 times)

Offline cpchan

  • Member
  • *
  • Posts: 198
Problem with customizing e200 bootloader
« on: July 14, 2007, 05:52:54 PM »
Hello all:

I am trying to build a bootloader for the e200 that skips rebuilding the db in the OF. I have set the bool value of "disable_rebuild" to "true" in the call to the function load_mi4_part.  However, the OF keep rebuilding the DB. What am I doing wrong?

Charles
« Last Edit: July 14, 2007, 06:19:06 PM by cpchan »
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: Problem with customizing e200 bootloader
« Reply #1 on: July 14, 2007, 06:46:51 PM »
Are you using and is it detecting one of the three supported firmware versions?
Logged

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: Problem with customizing e200 bootloader
« Reply #2 on: July 14, 2007, 07:43:22 PM »
Quote from: Bagder on July 14, 2007, 06:46:51 PM
Are you using and is it detecting one of the three supported firmware versions?

Yes, just to be double sure, I reinstalled 1.01.11A.

Charles
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Problem with customizing e200 bootloader
« Reply #3 on: July 14, 2007, 09:52:07 PM »
Do you have a MicroSD card in? If so, try restarting a few times without it. Someone theorized that the MicroSD card insertion may be a separate trigger for a scan.
Logged

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: Problem with customizing e200 bootloader
« Reply #4 on: July 14, 2007, 10:52:27 PM »
Quote from: Llorean on July 14, 2007, 09:52:07 PM
Do you have a MicroSD card in? If so, try restarting a few times without it. Someone theorized that the MicroSD card insertion may be a separate trigger for a scan.

No, I don't have a MicroSD card. The bootloader in the precompiled sansapatcher linked from  this site will trigger a db rebuild in the OF if something changed. Everyone hates that and I am trying to build a version that will skip the rebuild. If you look at this function:

Code: [Select]
int load_mi4_part(unsigned char* buf, struct partinfo* pinfo,
                  unsigned int buffer_size, bool disable_rebuild)

in main-pp.c, by setting "disable_rebuild" to "true" when calling the function is suppose to stop the rebuild, but it is not doing it.  ???

Charles
Logged

Offline chrisjs169

  • Member
  • *
  • Posts: 95
Re: Problem with customizing e200 bootloader
« Reply #5 on: July 14, 2007, 11:34:43 PM »
Just as a thought, when this was originally figured out, weren't we still using OF.bin?  I'm not sure where exactly the Rockbox bootloader is being stored, but is it possible it's changing the offset?
Logged

Offline digerati1338

  • Member
  • *
  • Posts: 60
  • Geek Genius
Re: Problem with customizing e200 bootloader
« Reply #6 on: July 15, 2007, 08:59:23 PM »
I'm still using OF.bin as a matter of fact out of pure laziness.  But if you would like me to try your bootloader with OF.bin I could test it for you.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Problem with customizing e200 bootloader
 

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

Page created in 0.092 seconds with 14 queries.