From 525252393718a74dd38895a1a945fa4cbf223bbd Mon Sep 17 00:00:00 2001 From: James Buren Date: Mon, 16 Nov 2020 14:02:58 +0000 Subject: 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 --- tools/fwpatcher/mksums.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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`; -- cgit v1.2.3