Download Tycho GPS Frequency Reference User Manual

Transcript
APPENDIX B
erase the old image and write the new one in its place. The erase and write operation takes about 10
seconds.
CAUTION
A power failure during the kernel erase and write operation would render your unit unbootable. It is
highly advisable to plug your unit into a UPS while performing the kernel upgrade.
Performing the GPS
Upgrade
To perform this upgrade, log in as the root user to the Tycho using either the local console serial I/O
port, telnet or ssh and perform these operations:
Change the working directory to the /tmp directory:
cd /tmp
If you are using ftp to perform the upgrade, transfer the previously downloaded file using binary
transfer mode from the remote host to the working directory, /tmp (substitute the name of the GPS
subsystem image that your are installing for gpsupgrade.bin):
ftp remote_host
bin
get gpsupgrade.bin
quit
{perform ftp login on remote host}
{set transfer mode to binary}
{transfer the file}
{close the ftp session after the transfer }
If you are using ssh, you may open another command window on the remote computer and securely
transfer the GPS subsystem image to the /tmp directory using scp from the remote computer. A command like this could be used:
scp –p gpsupgrade.bin [email protected]:/tmp
Now issue the following command to the Tycho console to initiate the upload:
upgradegps /tmp/gpsupgrade.bin
This command is a script that performs the file transfer to the GPS engine. It first tells the GPS engine to enter the ‘waiting for download’ mode, and then prompts you with this line
---When you see the `C` character, hit <enter> to begin the upload.
Then it echos the serial port characters sent by the GPS engine to the console. You should next see
this message from the GPS engine:
Waiting for download using XMODEM 128 or XMODEM 1K (both with CRC).
Control X will abort download.
After about 3 seconds, you should see a capital ‘C’ character appear. When you do, hit the <enter>
key. Now the script will initiate the XMODEM file transfer and display this message to the console:
42
Ty c h o G P S U s e r M a n u a l