summaryrefslogtreecommitdiff
path: root/tools/fwpatcher
AgeCommit message (Collapse)Author
2020-11-16fwpatcher: fix compile errors and warnings on modern LinuxJames Buren
Change-Id: I87b71654ce8669904cfb587cb0673a46455bcbd1
2020-11-16update fwpatcher and rbutil checksums for iriver h1x0/h300 V8 bootloaderJames Buren
Change-Id: Icf6bc96889fbe682832a99882c5d66c832ffb2f7
2020-11-16rockbox: fix iriver firmware validation for larger bootloadersJames Buren
It turns out the code for the firmware size validation was incorrectly using the total length of the firmware file to check if it was too big for the flash rom which caused it to incorrectly flag larger bootloaders as too big even though they would still fit. As it happens this situation can only really arise after mkboot has been run on the decoded firmware image. Because mkboot writes the actual binary size to the ESTFBINR header we will be using that to check if the firmware image is too large for the flash rom. Now because this information is embedded in the decrypted / encrypted region we have to collect it as the region is processed so the validation is also moved to after the data processing loop. Change-Id: I8bfead73812fe4e59f08fbbe8956790604dcb4e2
2020-11-16fwpatcher: fix a few issues with the mksums.pl scriptJames Buren
First, the way it was invoking mkboot was no longer correct so it was not producing files used in the later commands. Second, support for the H300 1.31k firmware was added sometime ago but not to this script. Change-Id: I0e9c74a3b9f83ade8d01df0bebfe06f4d3b92ce4
2020-06-07misc: Remove all 'twiki' references in favor of up-to-date 'wiki' links.Solomon Peachy
(This migration happened over a decade ago!) Change-Id: Ib396414a16f2d763e549af49e3f3b03047dab49c
2013-10-01fwpatcher/rbutil - added support for H300 v1.31KLorenzo Miori
Change-Id: I4e0801f136f9b9e490209c0808eabfc334f46643 Reviewed-on: http://gerrit.rockbox.org/630 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com> Tested-by: Marcin Bukat <marcin.bukat@gmail.com>
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2006-04-04In fact there's a named constant for this value, use that instead.Jonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9491 a1c6a512-1295-4272-9138-f99709370657
2006-04-03Patch #5013 by Jonas Häggqvist - Fix spurious fwpatcher patching attemptsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9469 a1c6a512-1295-4272-9138-f99709370657
2006-01-12Script to create the MD5 sum files for fwpatcherLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8344 a1c6a512-1295-4272-9138-f99709370657
2006-01-12Added H300 1.30eu support for fwpatcherLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8343 a1c6a512-1295-4272-9138-f99709370657
2006-01-11H300 bootloader v5Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8340 a1c6a512-1295-4272-9138-f99709370657
2006-01-10H300 bootloader v4Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8327 a1c6a512-1295-4272-9138-f99709370657
2005-12-03H300 Bootloader v3Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8131 a1c6a512-1295-4272-9138-f99709370657
2005-12-02FWPatcher - added support for H1x0 v1.66 and H3x0 v1.29Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8123 a1c6a512-1295-4272-9138-f99709370657
2005-11-28FWPatcher now supports 1.28jp on the H300Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8095 a1c6a512-1295-4272-9138-f99709370657
2005-11-27H300 bootloader v2Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8079 a1c6a512-1295-4272-9138-f99709370657
2005-11-20Bootloader V6Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8009 a1c6a512-1295-4272-9138-f99709370657
2005-11-18Added H300 to the fwpatcher utilityLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7969 a1c6a512-1295-4272-9138-f99709370657
2005-07-22New MD5 sums for bootloader v5Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7221 a1c6a512-1295-4272-9138-f99709370657
2005-07-22Added version number to the fwpatcher buildLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7220 a1c6a512-1295-4272-9138-f99709370657
2005-07-15New MD5 sums for bootloader v4Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7154 a1c6a512-1295-4272-9138-f99709370657
2005-07-09Adapted fwpatcher to patch both H110/H115 and H120/H140 firmwares. Unpatched ↵Jens Arnold
firmwares are detected by md5sum, and the patched firmware's md5sum is compared to the matching entry, so it should be even more safe than before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7086 a1c6a512-1295-4272-9138-f99709370657
2005-06-22Should work on Windows 95/98/ME as well nowJonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6800 a1c6a512-1295-4272-9138-f99709370657
2005-06-12Command line support for fwpatcher by Dave Hooper.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6684 a1c6a512-1295-4272-9138-f99709370657
2005-06-02Checksums for bootloader v2Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6553 a1c6a512-1295-4272-9138-f99709370657
2005-05-21Check if the file could be modified, error if not.Jonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6501 a1c6a512-1295-4272-9138-f99709370657
2005-05-20build a non-unicode version tooDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6497 a1c6a512-1295-4272-9138-f99709370657
2005-05-20Checksums for rockboot version 1Jonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6495 a1c6a512-1295-4272-9138-f99709370657
2005-05-13New checksum for fixed mkboot routineJonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6465 a1c6a512-1295-4272-9138-f99709370657
2005-05-12Inserted Linus' mkboot.c fix.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6462 a1c6a512-1295-4272-9138-f99709370657
2005-05-12New iconJonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6458 a1c6a512-1295-4272-9138-f99709370657
2005-05-12file must match one checksum, not all of them :)Jonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6457 a1c6a512-1295-4272-9138-f99709370657
2005-04-28Doubled-checked checksums and added moreJonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6369 a1c6a512-1295-4272-9138-f99709370657
2005-04-25initial makefile, builds crosscompiled on Linux fineDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6353 a1c6a512-1295-4272-9138-f99709370657
2005-04-25Broken icon.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6352 a1c6a512-1295-4272-9138-f99709370657
2005-04-25GUI firmware patcher for windows.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6351 a1c6a512-1295-4272-9138-f99709370657