Download Meridian Precision GPS TimeBase User Manual

Transcript
U P G R A D I N G T H E F I R M WA R E
Recovering from a
Failed Upgrade
To restore your Meridian to a bootable state using the factory root file system, you must use the serial
I/O port and re-boot the Meridian by cycling the power. For setup details refer to sections Connect
the Serial I/O Port and Test the Serial I/O Port in Chapter 2 - Basic Installation. When you have
connected your terminal to the serial I/O port, apply power to the Meridian.
Pay close attention to the terminal window while the unit is re-booting. After the Linux bootloader
displays the message
To override and boot the FACTORY partition type ‘FACTORY’ within 5 seconds...
you must begin typing “factory” within five seconds to let the bootloader know that you are going to
override the default root file system. After you hit <enter> the bootloader will boot the factory root
file system. Watch the rest of the boot process to make sure that you have successfully recovered. If
the system boots normally, then you should resolve the problems with the previous upgrade and reperform it.
Performing the Linux
Kernel Upgrade
If you want to upgrade your kernel to the IPv6-capable one then you must first be sure that your root
file system is version 2.60 or later.
To upgrade your kernel, log in as the root user to the Meridian using the local console serial I/O port,
telnet or ssh and perform these operations:
If you are using ftp to perform the upgrade, transfer the previously downloaded file using binary
transfer mode from the remote host to a temporary location on your Meridian using FTP (substitute
the name of the kernel image that you are installing for newkernelimage): Issue these commands
from the console of your Meridian:
ftp remote_host
bin
get newkernelimage /tmp
quit
{perform ftp login on remote host}
{set transfer mode to binary}
{transfer the file}
{close the ftp session after transfer }
If you are using ssh, you may open a command window on the remote computer and securely transfer the root file system image using scp from the remote computer to your Meridian. A command
like this should be used:
scp –p newkernelimage [email protected]:/tmp
The kernel upgrade utility is executed with a single argument passed on the command line: the path
to the previously uploaded kernel image file. For example:
upgradekernel /tmp/newkernelimage
The kernel upgrade utility verifies the integrity of the file, reads the kernel version information, presents it to you and asks you to verify before replacing the old kernel image. If you verify, it will then
63
Meridian User Manual