comparison rvinterf/etmsync/fsio.help @ 596:3a9b8f9c7225

fc-fsio help: cleandir and rm-subtree additions documented
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 04 Feb 2020 06:10:55 +0000
parents f315cdb1555f
children 28d58a8cd704
comparison
equal deleted inserted replaced
595:e6fe9d25377a 596:3a9b8f9c7225
1 === main 1 === main
2 === all 2 === all
3 The following commands are available: 3 The following commands are available:
4 4
5 cleandir Clean FFS directory
5 cpout Copy content out of device FFS to host file system 6 cpout Copy content out of device FFS to host file system
6 cpout-file Copy out a single file 7 cpout-file Copy out a single file
7 dieid Retrieve Calypso die ID via ETM query 8 dieid Retrieve Calypso die ID via ETM query
8 exec Execute a command script 9 exec Execute a command script
9 exit Exit from fc-fsio 10 exit Exit from fc-fsio
21 pirelli-get-imei Retrieve factory IMEI on Pirelli DP-L10 22 pirelli-get-imei Retrieve factory IMEI on Pirelli DP-L10
22 pirelli-magnetite-init Initialize FFS for FC Magnetite fw on Pirelli target 23 pirelli-magnetite-init Initialize FFS for FC Magnetite fw on Pirelli target
23 preformat Preformat FFS on device (dangerous!) 24 preformat Preformat FFS on device (dangerous!)
24 readlink Raw interface to ffs_readlink() API call 25 readlink Raw interface to ffs_readlink() API call
25 rm Delete FFS object 26 rm Delete FFS object
27 rm-subtree Delete FFS directory subtree
26 set-imeisv Write /etc/IMEISV or /pcm/IMEI file 28 set-imeisv Write /etc/IMEISV or /pcm/IMEI file
27 set-pcm-string Write /pcm/CGxx files 29 set-pcm-string Write /pcm/CGxx files
28 set-rfcap Write /gsm/com/rfcap file 30 set-rfcap Write /gsm/com/rfcap file
29 stat Raw interface to ffs_xlstat() API call 31 stat Raw interface to ffs_xlstat() API call
30 symlink Create a symlink in device FFS 32 symlink Create a symlink in device FFS
38 To get help on any command, type help and the command keyword. 40 To get help on any command, type help and the command keyword.
39 41
40 The RTOS environment inside GSM device firmwares with which this utility 42 The RTOS environment inside GSM device firmwares with which this utility
41 communicates has no notion of a current directory, hence all target side 43 communicates has no notion of a current directory, hence all target side
42 FFS pathnames must be absolute. 44 FFS pathnames must be absolute.
45
46 === cleandir
47 cleandir ffs-pathname
48
49 This command deletes all files and subdirectories contained in the named FFS
50 directory, leaving an empty directory; the named FFS directory must exist.
51
52 This command is primarily intended for cleaning out the /mmi directory when
53 experimenting with different UI firmware versions, or after loading AT command
54 modem firmware into a device which previously ran some fw version with UI layers
55 included.
43 56
44 === cpout 57 === cpout
45 cpout target-pathname host-pathname 58 cpout target-pathname host-pathname
46 59
47 This command copies a single file, a directory subtree or the complete device 60 This command copies a single file, a directory subtree or the complete device
215 this ffs_remove() API call. 228 this ffs_remove() API call.
216 229
217 If the -f option is given, the condition where the object to be deleted does not 230 If the -f option is given, the condition where the object to be deleted does not
218 exist is treated as not-an-error; all other errors are still reported. 231 exist is treated as not-an-error; all other errors are still reported.
219 232
233 === rm-subtree
234 rm-subtree [-f] ffs-pathname
235
236 This command deletes an entire subtree of directories and files in the target
237 device FFS, starting with the specified pathname which must be a directory, not
238 a regular file or symlink. It is an approximate equivalent of rm -r in UNIX.
239
240 If the -f option is given, the condition where the top directory to be deleted
241 does not exist is treated as not-an-error; all other errors are still reported.
242
220 === set-imeisv 243 === set-imeisv
221 set-imeisv fc XXXXXXXX-YYYYYY-ZZ # write /etc/IMEISV 244 set-imeisv fc XXXXXXXX-YYYYYY-ZZ # write /etc/IMEISV
222 set-imeisv pcm XXXXXXXX-YYYYYY-ZZ # write /pcm/IMEI 245 set-imeisv pcm XXXXXXXX-YYYYYY-ZZ # write /pcm/IMEI
223 246
224 This command sets the IMEISV to be used for GSM operation and stores it either 247 This command sets the IMEISV to be used for GSM operation and stores it either