FreeCalypso > hg > fc-am-toolkit
view sh/c155-gen-fc-ffs-img @ 27:9e7ca43275eb
doc/Pirelli-VPM-howto: new article
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 12 Jun 2023 04:21:16 +0000 |
parents | 9d7d2fdc733b |
children |
line wrap: on
line source
#!/bin/sh # This shell script generates an fc-ffs.bin image specifically for FreeCalypso # on C155. The difference from C139 version is the bigger FFS geometry on this # phone model with 8 MiB flash. if [ $# != 2 ] then echo "usage: $0 rfbin-dir imei-file" 1>&2 exit 1 fi set -e # FIXME: using c139-gen-fc-ffs-tree script to populate the FFS content for # FC on C155 is OK for now, but we may need a different script in the future. c139-gen-fc-ffs-tree "$1" "$2" fc-ffs echo 'Generated file system tree in fc-ffs' tiffs-mkfs -f /fc-ffs 64x13 fc-ffs fc-ffs.bin echo 'Generated FFS image for FC firmware in fc-ffs.bin'