summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-08-21 15:14:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-08-21 15:14:21 +0000
commit9913913d8373a1f12f26ec3c2d315f85e5e28e7e (patch)
treeb69a5c7d3fb39570ed360badc7b4ca41116ec485 /tools
parent5d6f6259ee50bf24a75071c82c365937d74c5165 (diff)
downloadrockbox-9913913d8373a1f12f26ec3c2d315f85e5e28e7e.tar.gz
rockbox-9913913d8373a1f12f26ec3c2d315f85e5e28e7e.zip
fix the H10 5GB mi4 creation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10677 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/mkmi4.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/mkmi4.sh b/tools/mkmi4.sh
index 00fee9bdfa..004c01305f 100755
--- a/tools/mkmi4.sh
+++ b/tools/mkmi4.sh
@@ -58,12 +58,15 @@ fi
58 58
59case $target in 59case $target in
60 e200) 60 e200)
61 sign="yes"
61 tea=sansa 62 tea=sansa
62 ;; 63 ;;
63 h10) 64 h10)
65 sign="yes"
64 tea=20gc_eng 66 tea=20gc_eng
65 ;; 67 ;;
66 h10_5gb) 68 h10_5gb)
69 buildopt="-2"
67 tea=default 70 tea=default
68 ;; 71 ;;
69 *) 72 *)
@@ -91,10 +94,12 @@ fi
91 94
92# build a 010301 version 95# build a 010301 version
93#echo "$tool build $input $output.raw" 96#echo "$tool build $input $output.raw"
94$tool build $input $output.raw 97$tool build $buildopt $input $output.raw
95# encrypt 98# encrypt
96#echo "$tool encrypt $output.raw $output.encrypt $tea" 99#echo "$tool encrypt $output.raw $output.encrypt $tea"
97$tool encrypt $output.raw $output.encrypt $tea 100$tool encrypt $output.raw $output.encrypt $tea
98# sign 101# sign
99#echo "$tool sign $output.encrypt $output" 102if test -n "$sign"; then
100$tool sign $output.encrypt $output 103 #echo "$tool sign $output.encrypt $output"
104 $tool sign $output.encrypt $output
105fi