diff options
author | James Buren <braewoods+rb@braewoods.net> | 2020-11-16 14:02:58 +0000 |
---|---|---|
committer | James Buren <braewoods+rb@braewoods.net> | 2020-11-16 14:05:17 +0000 |
commit | 525252393718a74dd38895a1a945fa4cbf223bbd (patch) | |
tree | 17ca1f9d93b725f67947c41e4dac99eb1fdb9a25 /tools | |
parent | c79ddb6bf44f7a83decb91056f4ab5788828eada (diff) | |
download | rockbox-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
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/fwpatcher/mksums.pl | 4 |
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 { | |||
39 | if($model < 300) { | 39 | if($model < 300) { |
40 | foreach("1.63eu","1.63k", "1.63us", "1.65eu","1.65k", "1.65us", | 40 | foreach("1.63eu","1.63k", "1.63us", "1.65eu","1.65k", "1.65us", |
41 | "1.66eu", "1.66k", "1.66us", "1.66jp") { | 41 | "1.66eu", "1.66k", "1.66us", "1.66jp") { |
42 | `../mkboot $orig_path/h1xx/$_/ihp_$model.bin bootloader-h$model.bin ihp_$model.bin`; | 42 | `../mkboot -h100 $orig_path/h1xx/$_/ihp_$model.bin bootloader-h$model.bin ihp_$model.bin`; |
43 | `../scramble -iriver ihp_$model.bin ihp_$model.hex`; | 43 | `../scramble -iriver ihp_$model.bin ihp_$model.hex`; |
44 | $origsum = `md5sum $orig_path/h1xx/$_/ihp_$model.hex`; | 44 | $origsum = `md5sum $orig_path/h1xx/$_/ihp_$model.hex`; |
45 | chomp $origsum; | 45 | chomp $origsum; |
@@ -52,7 +52,7 @@ sub mksumfile { | |||
52 | } | 52 | } |
53 | } else { | 53 | } else { |
54 | foreach("1.28eu", "1.28k", "1.28jp", "1.29eu", "1.29k", "1.29jp", | 54 | foreach("1.28eu", "1.28k", "1.28jp", "1.29eu", "1.29k", "1.29jp", |
55 | "1.30eu") { | 55 | "1.30eu", "1.31k") { |
56 | `../mkboot -h300 $orig_path/h3xx/$_/H$model.bin bootloader-h$model.bin H$model.bin`; | 56 | `../mkboot -h300 $orig_path/h3xx/$_/H$model.bin bootloader-h$model.bin H$model.bin`; |
57 | `../scramble -iriver H$model.bin H$model.hex`; | 57 | `../scramble -iriver H$model.bin H$model.hex`; |
58 | $origsum = `md5sum $orig_path/h3xx/$_/H$model.hex`; | 58 | $origsum = `md5sum $orig_path/h3xx/$_/H$model.hex`; |