Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Using the Upgrade CompactFlash Card

 

The 4-GB CompactFlash script shipped in the upgrade kit can be used to either (1) migrate a system running a previous operating system to CTPOS 7.0R1 and later, or (2) prepare a system for firstboot in CTPOS 7.0R1 or later.

The CompactFlash script runs an application that checks for the proper BIOS and upgrades the BIOS if necessary. The application checks for proper FPGAs on the cards and daughter cards installed and upgrades them as necessary.

When used to prepare a system for firstboot into CTPOS 7.0R1 or later, all cards and daughter cards intended to be run on the system should be installed before booting the flash for the first time.

If the system is migrating from an old CompactFlash card running CTPOS 4.6R7 or 5.4R3 through 5.4R6, the application transfers all necessary information from the old CompactFlash card to the new CompactFlash card and leaves the system in a state with all configured and activated circuits running.

Use one of the following procedures after completing either Upgrading with the PP310 Upgrade Kit or Upgrading with the PP332 Upgrade Kit.

Migrating from a Previous Operating System

You should see the following upgrade script output when you complete the steps described in Upgrading with the PP310 Upgrade Kit. The upgrade script output produced when you complete the steps described in Upgrading with the PP332 Upgrade Kit is very similar, and you must respond to the same prompts.

Note

The set and reboot for the BIOS appears only for the PP310 processor.

For the PP332 processor, the BIOS version is 2.14 and a BIOS upgrade is not required.

  1. Press Enter. For the PP310, the BIOS configuration is updated and the device reboots. The following upgrade script output is displayed for the PP310. The upgrade script output for the PP332 is very similar, and you must respond to the same prompts.
    Note

    For the PP332 processor, the BIOS version is 2.14 and a BIOS upgrade is not required.

  2. Enter y. The following output is displayed:
  3. Insert the old (256 MB) CompactFlash card into the CompactFlash adapter (see Figure 4).
    Figure 4: CompactFlash Adapter with CompactFlash Card Inserted
    CompactFlash Adapter
with CompactFlash Card Inserted
  4. Connect the adapter to the CTP2000 USB port.
  5. Press Enter to indicate that you are finished inserting the CompactFlash card into the adapter and connecting the adapter. Follow the onscreen instructions.
    Note

    For the PP332 processor, the BIOS version is 2.14 and a BIOS upgrade is not required.

  6. Press Enter to reboot the system.

Preparing a System for Firstboot Using CTPOS 7.0R1 and Later

You should see the following upgrade script output when you complete the steps described in Upgrading with the PP310 Upgrade Kit. The upgrade script output produced when you complete the steps described in Upgrading with the PP332 Upgrade Kit is very similar, and you must respond to the same prompts.

Note

The set and reboot for the BIOS appears only for the PP310 processor.

For the PP332 processor, the BIOS version is 2.14 and a BIOS upgrade is not required.

  1. Press Enter. The BIOS configuration is updated, the device reboots, and the following output is displayed:
    Note

    For the PP332 processor, the BIOS version is 2.14 and a BIOS upgrade is not required.

  2. Reboot the device. The following output is displayed:
  3. Enter n when you receive the following prompt (PP310 only):

    The upgrade continues to completion, displaying the following information:

  4. Press Enter to power off the system.

Creating Dual Image Partitioning and Upgrading One of the Images on CTP Node (CTP Menu)

CTPOS 9.0R1 and later releases support creating dual image partitioning on the CompactFlash card. Dual image on the CompactFlash contains two logical images, where the first image consists first five partitions (1,5,6,7,8) and the second image consists five partitions (1,9,10,11,12). The first partition (bootable) is common to both images. You can upgrade any one of the images anytime after creating the dual image partitioning.

The following are the prerequisites to create dual image partitioning on the CompactFlash card:

  • Use Secure Copy Protocol (SCP) to copy the dual_image_upgrade.sh script to the /tmp directory on the CTP node.

  • Change the dual_image_upgrade.sh script permission to 755 by executing chmod 755 /tmp/dual_image_upgrade.sh. Otherwise, the permission will be denied.

  • Run the dual_image_upgrade.sh script as root.

Note

The dual image upgrade feature is only supported on the CTP150 and CTP2000 (only PP332 and PP833 processors are supported, PP310 is not supported) platforms.

The dual image upgrade feature is supported on CTP 7.1R3, 7.2R1, and 7.3x releases. If you want to upgrade an older CTP, then you need to first upgrade to one of these releases.

To create dual image partitioning on the CompactFlash card, execute the ./dual_image_upgrade.sh -y script, where the -y option is used to start the dual image upgrade in non-interactive mode.

This creates the /mnt/ramdisk directory on RAM memory. You must now transfer your image archive CTPOS_9.0R1_partitions.tgz file to the /mnt/ramdisk directory, and then you have to execute this script again to complete the installation.

Note

Ensure that you have enough memory to store the image archive CTPOS_9.0R1_partitions.tgz file in /mnt/ramdisk (RAM). If the CTPOS_9.0R1_partitions.tgz file size is larger than the available RAM memory, you should not continue with this image upgrade process. Contact JTAC for assistance.

To upgrade the dual image using the CTP Menu:

  1. Download the image archive (CTPOS_9.0R1_partitions.tgz) file and copy it to the /mnt/ramdisk directory.
  2. Execute the ./dual_image_upgrade.sh script again for dual image upgrade.
  3. Enter y to reboot the system automatically.

    This successfully upgrades the second image partition with the image archive CTPOS_9.0R1_partitions.tgz file. You can now see dual entries in the GRUB menu, and you can select any one of the images from the GRUB menu during the bootup process.

Note

If the dual image upgrade fails multiple times, reboot the CTP node and then try upgrading the dual image again.

You can change the primary boot option for the dual image by selecting the 7) Dual Image Boot Operations option from the CTP Main Menu on the CTPOS 9.0R1 release.

Note

CTPOS 7.x release does not have the 7) Dual Image Boot Operations option in the CTP Main Menu. However, you can select or change the booting image from the GRUB menu during the CTPOS bootup process.

To configure dual image boot operations:

  1. Select 7) Dual Image Boot Operations from the CTP Main Menu.
  2. Select 1) Configure Primary Boot option for Dual Image from the Dual Image Boot Operations menu and then enter y to confirm the change.
  3. Enter y to set the existing secondary boot image as the primary boot image.
  4. Select 0) Back to Previous Menu from the Dual Image Boot Operations menu and then enter y to confirm the system reboot.