summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Buren <braewoods+rb@braewoods.net>2020-11-16 14:02:58 +0000
committerJames Buren <braewoods+rb@braewoods.net>2020-11-16 14:05:17 +0000
commit525252393718a74dd38895a1a945fa4cbf223bbd (patch)
tree17ca1f9d93b725f67947c41e4dac99eb1fdb9a25
parentc79ddb6bf44f7a83decb91056f4ab5788828eada (diff)
downloadrockbox-525252393718a74dd38895a1a945fa4cbf223bbd.tar.gz
rockbox-525252393718a74dd38895a1a945fa4cbf223bbd.zip
fwpatcher: fix a few issues with the mksums.pl script
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
-rwxr-xr-xtools/fwpatcher/mksums.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/fwpatcher/mksums.pl b/tools/fwpatcher/mksums.pl
index 99786fe161..98a02c15e3 100755
--- a/tools/fwpatcher/mksums.pl
+++ b/tools/fwpatcher/mksums.pl
@@ -39,7 +39,7 @@ sub mksumfile {
if($model < 300) {
foreach("1.63eu","1.63k", "1.63us", "1.65eu","1.65k", "1.65us",
"1.66eu", "1.66k", "1.66us", "1.66jp") {
- `../mkboot $orig_path/h1xx/$_/ihp_$model.bin bootloader-h$model.bin ihp_$model.bin`;
+ `../mkboot -h100 $orig_path/h1xx/$_/ihp_$model.bin bootloader-h$model.bin ihp_$model.bin`;
`../scramble -iriver ihp_$model.bin ihp_$model.hex`;
$origsum = `md5sum $orig_path/h1xx/$_/ihp_$model.hex`;
chomp $origsum;
@@ -52,7 +52,7 @@ sub mksumfile {
}
} else {
foreach("1.28eu", "1.28k", "1.28jp", "1.29eu", "1.29k", "1.29jp",
- "1.30eu") {
+ "1.30eu", "1.31k") {
`../mkboot -h300 $orig_path/h3xx/$_/H$model.bin bootloader-h$model.bin H$model.bin`;
`../scramble -iriver H$model.bin H$model.hex`;
$origsum = `md5sum $orig_path/h3xx/$_/H$model.hex`;