comparison sh/c139-gen-fc-ffs-img @ 19:2299f1ebbfd2

c139-gen-fc-* shell scripts: add explanatory comments
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 10 Jun 2023 23:20:44 +0000
parents c8ad6188b9ed
children
comparison
equal deleted inserted replaced
18:c8ad6188b9ed 19:2299f1ebbfd2
1 #!/bin/sh 1 #!/bin/sh
2
3 # This shell script generates an fc-ffs.bin image specifically for FreeCalypso
4 # on C139. It contains hard-coded FFS geometry of 64x7 (correct for 4 MiB
5 # flash only, FC Tourmaline), and it invokes c139-gen-fc-ffs-tree script to
6 # populate the FFS content. The latter script is intended to be C139-specific:
7 # it uses aud-c139 audio mode config files, and in the future it will also
8 # populate PWT buzzer melodies that aren't applicable to other C1xx targets
9 # (too small FFS on C11x and no buzzer on C155).
2 10
3 if [ $# != 2 ] 11 if [ $# != 2 ]
4 then 12 then
5 echo "usage: $0 rfbin-dir imei-file" 1>&2 13 echo "usage: $0 rfbin-dir imei-file" 1>&2
6 exit 1 14 exit 1