changeset 41:c56a4b0bcf38

winebuild.sh, copyout.sh: build MFW version by default
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Thu, 05 Nov 2015 01:47:57 +0000
parents 58d50d1f238d
children fa6b0576202d
files g23m/copyout.sh g23m/winebuild.sh
diffstat 2 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/g23m/copyout.sh	Thu Nov 05 01:31:02 2015 +0000
+++ b/g23m/copyout.sh	Thu Nov 05 01:47:57 2015 +0000
@@ -9,13 +9,13 @@
 # image that can be flashed starting at 0x10000, using our
 # compal-flash-boot-for-fc.bin as the bootloader.
 
-if [ "$1" = mfw -o "$1" = 2092 ]
+if [ "$1" = aci -o "$1" = 2091 ]
 then
+	mmi_type=aci
+	mmi_abbr=ac
+else
 	mmi_type=mfw
 	mmi_abbr=mf
-else
-	mmi_type=aci
-	mmi_abbr=ac
 fi
 
 long_name=gsm_${mmi_abbr}_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0
@@ -24,10 +24,13 @@
 set -e
 mkdir -p $out
 
+echo copying $out
 for ft in m0 map out
 do
 	cp -p __out__/$long_name/bin/$long_name.$ft $out/$out.$ft
 done
 cp -p __out__/$long_name/bin/str2ind.tab $out
+echo converting from m0 to binary
 mokosrec2bin $out/$out.m0 $out/$out.fullbin FF
 dd if=$out/$out.fullbin of=$out/$out.progbin bs=65536 skip=1
+echo $out is ready
--- a/g23m/winebuild.sh	Thu Nov 05 01:31:02 2015 +0000
+++ b/g23m/winebuild.sh	Thu Nov 05 01:47:57 2015 +0000
@@ -12,7 +12,7 @@
 then
 	config="$1"
 else
-	config=2091
+	config=2092
 fi
 
 set -x