comparison sh/c139-gen-fc-ffs-img @ 18:c8ad6188b9ed

add c139-gen-fc-* shell script hierarchy
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 10 Jun 2023 08:16:10 +0000
parents
children 2299f1ebbfd2
comparison
equal deleted inserted replaced
17:632d62e5efb4 18:c8ad6188b9ed
1 #!/bin/sh
2
3 if [ $# != 2 ]
4 then
5 echo "usage: $0 rfbin-dir imei-file" 1>&2
6 exit 1
7 fi
8
9 set -e
10
11 c139-gen-fc-ffs-tree "$1" "$2" fc-ffs
12
13 echo 'Generated file system tree in fc-ffs'
14
15 tiffs-mkfs -f /fc-ffs 64x7 fc-ffs fc-ffs.bin
16
17 echo 'Generated FFS image for FC firmware in fc-ffs.bin'