1
0
Fork 0
forked from len0rd/rockbox
foxbox/rbutil
Rafaël Carré ff6b0425e4 mkamsboot/rbutil/amsinfo : do not try to detect the model of a given Sansa AMS OF
The field we thought was representative of the model is not, it has
changed in the past for fuzev1 and fuzev2.
For example the value 0x23 is found in 2 old fuzev1 OF versions, and in
the c200v2 OF

The only reliable way to detect the model of a given OF is by using the
built-in list of md5sums.

Modify mkamsboot and rbutilqt to load the rockbox bootloader first, and
then check if the model in the bootloader corresponds to the model of
the known md5sum of the given OF.

That way we can continue to present the user with a list of known OF
versions in case the OF is unknown to mkamsboot

Also explicit the dependency of main.c on mkamsboot.h in case the
prototypes change
Correct the header's description not updated in r21648

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26248 a1c6a512-1295-4272-9138-f99709370657
2010-05-24 10:06:52 +00:00
..
chinachippatcher Fix ccpmp.bin backup in ChinaChippatcher (thanks to Aaron DeMille) 2009-09-14 12:29:34 +00:00
e200rpatcher Small tweaks to r21778/r21779 - use -p for both mkdir and cp commands in dmg creation rule 2009-07-11 22:50:22 +00:00
ipodpatcher Implement ipod_scsi_inquiry() on OS X. 2010-01-30 17:02:37 +00:00
mkamsboot mkamsboot/rbutil/amsinfo : do not try to detect the model of a given Sansa AMS OF 2010-05-24 10:06:52 +00:00
mkmpioboot fix libmkmpioboot.a building. 2010-05-05 19:45:08 +00:00
mktccboot Make lipo calls silent. 2009-12-13 21:30:28 +00:00
rbutilqt mkamsboot/rbutil/amsinfo : do not try to detect the model of a given Sansa AMS OF 2010-05-24 10:06:52 +00:00
sansapatcher Always format error message using ANSI functions to get rid of type-punning when building with rbutil. 2009-12-09 19:04:02 +00:00
tools Allow the bin2c output filename stem to contain a path. 2009-11-07 20:03:32 +00:00
INSTALL rbutil: change the binary name here too. Thanks to PyroBor for finding that. 2010-05-11 17:41:35 +00:00
rbutil.pro rbutil: added a main .pro file. 2007-09-02 18:19:03 +00:00