6.20. [rom]
ROM file information and firmware upgrade function.
usr/config$ rom
ROM files updating commands
Usage:
rom [-print] [-app] [-boot] [-dsptest] [-dspcore] [-dspapp]
[-ht] [-method used] [-boot2m]
-s TFTP/FTP server ip -f filename
rom -print
-print show versions of rom files. (optional)
-app update main application code(optional)
-boot update main boot code(optional)
-boot2m update 2M code(optional)
-ht updata Hold Tone PCM file(optional)
-dsptest update DSP testing code(optional)
-dspcore update DSP kernel code(optional)
-dspapp update DSP application code(optional)
-s IP address of TFTP/FTP server (mandatory)
-f file name(mandatory)
-method download via TFTP/FTP (TFTP: mode=0, FTP: mode=1)
-ftp specify username and password for FTP
Note:
This command can run select one option in 'app', 'boot',
, 'dsptest', 'dspcore', and 'dspapp'.
Example:
rom -method 1
rom -ftp vwusr vwusr
rom -app -s 192.168.4.101 -f app.bin
Parameter Usage:
-print
Shows the current settings
-app
update application program code
-boot
update boot code
-boot2m
Includes APP and Boot code
-ht
updata Hold Tone PCM file(optional)
-dsptest
update DSP testing code(optional)
-dspcore
update DSP kernel code(optional)
-dspapp
update DSP application code(optional)
-s
To specify TFTP / FTP server IP address for upgrading
-f
To specify the target file name, this will replace the old one.
-method
To decide using TFTP or FTP as file transfer server.
TFTP = 0 , FTP = 1
-ftp
If users choose FTP in above item, it is necessary to specify
pre-defined username and password when upgrading files.
84