Rockbox Development > Starting Development and Compiling

Problem with customizing e200 bootloader

(1/2) > >>

cpchan:
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

Bagder:
Are you using and is it detecting one of the three supported firmware versions?

cpchan:

--- 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?

--- End quote ---

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

Charles

Llorean:
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.

cpchan:

--- 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.

--- End quote ---

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: ---int load_mi4_part(unsigned char* buf, struct partinfo* pinfo,
                  unsigned int buffer_size, bool disable_rebuild)
--- End code ---

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

Navigation

[0] Message Index

[#] Next page

Go to full version