R T M 3 2 0 4 G P S T i m i n g M o d u l e U s e r M a n u a l
26
C H A P T E R T H R E E
27
R T M 3 2 0 4 G P S T i m i n g M o d u l e U s e r M a n u a l
C O N T R O L A N D S T A T U S C O M M A N D S
updaterootflag
This command allows the user to update the configuration of the Linux bootloader after a new root
file system image has been uploaded to the UPGRADE root file system partition,
/dev/rootfs_1
of the
RTM3204 FLASH disk. It may also be used to reset the default back to the FACTORY root file sys-
tem partition. Refer to
Appendix B - Upgrading the Firmware
for detailed instructions for perform-
ing the upgrade procedure. One argument is accepted, whose value is either 0 or 1, causing a flag to
be set that will indicate to the bootloader which root file system image should be loaded by default.
If an argument value of 2 is given, then the currently configured default root file system is shown.
Set:
updaterootflag 1
RTM3204/Tycho response:
UPGRADE is the default root file system.
Query:
updaterootflag 2
RTM3204/Tycho response:
UPGRADE is the default root file system.
upgradegps
This script allows the user to upgrade the GPS subsystem firmware. It requires one argument: the
path to the binary file to be uploaded to the GPS engine. It issues the commands over the serial
port to the GPS subsystem that are needed to start the X-modem file transfer, and then displays
the responses from the GPS subsystem to the console. When the X-modem ‘C’ character appears,
indicating that the GPS subsystem is ready to receive the file, you must hit the <ENTER> key, and
the transfer will begin. After about one minute, it should complete, at which point you should see the
GPS subsystem boot messages appear on the console. From these, you will be able to verify that the
firmware was successfully upgraded.
In the example console output below, lines which begin with “---” are generated by the
upgradegps
script. All other lines are from the GPS subsystem, with the exception of the shell message indicat-
ing that the process
cat < /dev/arm_user
has been terminated, which is normal. In this example,
the ‘C’ character was received three times before the user hit the <ENTER> key to begin the transfer.
The last three lines are the boot messages that are sent by the GPS subsystem as it comes up. The
firmware version should match that of the binary file that was uploaded. See
Performing the GPS
Upgrade
in
Appendix B - Upgrading the Firmware
for more information.
Set:
upgradegps /tmp/6010-0020-000.bin
RTM3204/Tycho response:
---When you see the `C` character, hit <enter> to begin the upload.
Waiting for download using XMODEM 128 or XMODEM 1K (both with CRC).
Control X will abort download.
CCC
---Starting file upload, should take about 60 seconds...
/sbin/upgradegps: line 26: 27618 Terminated cat </dev/arm_user
---You should see the GPS subsystem startup message now. If not, you
---may need to check your binary file and re-perform the procedure.
Tempus Bootloader 6010-0050-000 v 1.00 - May 28 2004 17:31:05
FW 6010-0020-000 v 1.00 - Aug 18 2004 10:47:41
FPGA 6020-0005-000 v 0202
Summary of Contents for RTM3204
Page 1: ...Smarter Timing Solutions RTM3204 GPS Timing Module User Manual...
Page 2: ......
Page 6: ...R T M 3 2 0 4 G P S T i m i n g M o d u l e U s e r M a n u a l...
Page 26: ...R T M 3 2 0 4 G P S T i m i n g M o d u l e U s e r M a n u a l 16 C H A P T E R T W O...
Page 40: ...R T M 3 2 0 4 G P S T i m i n g M o d u l e U s e r M a n u a l 30 A P P E N D I X A...
Page 46: ...R T M 3 2 0 4 G P S T i m i n g M o d u l e U s e r M a n u a l 36 A P P E N D I X B...
Page 52: ...R T M 3 2 0 4 G P S T i m i n g M o d u l e U s e r M a n u a l 42 A P P E N D I X C...
Page 56: ...R T M 3 2 0 4 G P S T i m i n g M o d u l e U s e r M a n u a l 46 A P P E N D I X D...
Page 62: ...R T M 3 2 0 4 G P S T i m i n g M o d u l e U s e r M a n u a l 52 A P P E N D I X F...
Page 65: ......