![]() |
|
||||
LynxOS Installation Guide |
Installing LynxOS PowerPC Native Development Systems
Starting Installation
To install LynxOS onto a hard disk, it must first be booted from the ODE
CD-ROM.
After LynxOS is booted, the installit script must be executed by entering installit at the command prompt.
During the installation process, the installit script gathers information about the installation system hardware and software by presenting several menus for the user to respond to. The user may quit the installation at any time by selecting Q in any of the menus, or by typing Ctrl-C on the keyboard. However, if the installation is interrupted before successful completion, the user must re-enter the installit command and begin the installation again.
Installing a LynxOS PowerPC Native Development System
LynxOS supports more than one type of PowerPC processor. Each CPU / board has its own firmware prompt. The differences in the installation procedure for LynxOS are described in the board-specific sections of this chapter.
For locating information that details installation for a specific board, use the following table:
Additional Boards may be supported. See the respective Board Support Guide for installation and configuration information.
Default Console
A PowerPC system needs either a VGA terminal connected to a video port or a terminal connected to the serial (COM1) port to serve as the console. By default, LynxOS performs an auto-detection test for the VGA terminal at boot time. If a VGA terminal is not found, the COM1 port becomes the console.
By default, the console type is "dumb" when it comes up. However, it can be set to the appropriate type using an export command or by modifying the /etc/ttys file.
For example, type the following to use the export command:
This assumes the user has a vt100 terminal. The user can also enter this command in the startup file.
To modify /etc/ttys for the same terminal type as the console, use a text editor to make the following changes:
Installing onto Motorola PrPMC800 Boards
The PrPMC800 processor board is a PMC card that connects to a PPMCBASE board, deriving its clock from the PPMCBASE board. The PrPMC800 board operates in Monarch or non-Monarch mode, depending on the PMC slot of the PPMCBASE board it is connected to.
When connected to the Monarch slot, the board can access the PCI bus and can be booted from the network, disk, flash or cPCI backplane. When connected to the non-Monarch slot, the board can only be booted from flash or a KDI download from the Monarch board.
This section contains the steps for installing and booting the PrPMC800 BSP. Before proceeding with the installation, the user must have a LynxOS cross development host system with which to create a bootable image.
Once the PrPMC800 card is booted with this image, a LynxOS image can be copied to disk, if there is one connected to the second PMC slot. The board can then boot directly from the disk.
Alternatively, a bootable disk can be created by copying the LynxOS image and BSP to any PReP partitioned disk, and connecting that disk to the base board.
Cross Development Kit Installation
Users do not need to build separate kernels or KDIs for Monarch and non-Monarch operations of the board. The BSP is source and binary compatible for either mode.
Installing the PrPMC800 BSP
Insert the PrPM800 BSP CD in the cross development system. Untar the LynxOS and PrPMC800 BSP images in the same directory where the cross development system is installed.
The example in the LynxOS Installation guide uses the directory /usr/lynx/<release_num>/<target>, where <release_num> is the release number of LynxOS, and <target> is the target processor of the host.
The following example provides command line installation instructions for a a Linux Cross development System:
This extracts the complete LynxOS environment and the BSP-specific files to the cross development directory.
Creating a Kernel downloadable Image (KDI)
Refer to the LynxOS User's Guide for instructions on how to create a Kernel Downloadable Image (KDI). No special steps are required for making KDIs for the PrPMC800 board.
The PrPMC800 board can boot the same KDI in both Monarch and
non-Monarch modes.
Booting the KDI using TFTP Boot
The following steps are for booting a LynxOS KDI using PrPMC800's
PPCBUG firmware:Copy the KDI to default tftpboot location on the TFTP server machine. At the PPCBUG prompt of the PrPMC800 board, use the following command:
The CLUN and DLUN ( 0 0 ) above refer to the DEC ethernet controller on the PPMCBASE board. 172.17.3.15 is the IP address used for the PrPMC800 board. 172.17.3.14 is the IP address for the TFTP server.
Booting PrPMC800 in non-Monarch Mode from Flash
The following steps can be used to burn a KDI image on to the flash on PrPMC800 board and then use this image to boot the card in non-Monarch mode.
(Do not to use the address range 0xF0000000 to 0xF0200000, because this is where the PPCBUG resides on PrPMC800. Also, this command line assumes that tftpboot dumps the KDI at address 0x1F0000. If this address is different, then supply the same in the above command line).
- Remove the card from the Monarch slot and insert it in the non-Monarch slot.
- Type the following command:
Uninstallation
To uninstall the build environment, delete the BSP directory.
Installing onto Motorola PrPMC600
Use the following instructions to install the PrPMC600 BSP.
Installing the PrPMC600 BSP
Insert the PrPM600 BSP CD in the cross development system. Untar the LynxOS and PrPMC600 BSP images in the same directory where the cross development system is installed.
The example in the LynxOS Installation guide uses the directory /usr/lynx/<release_num>/<target>, where <release_num> is the release number of LynxOS, and <target> is the target processor of the host.
The following example provides command line installation instructions for a Linux cross development system:
This extracts the complete LynxOS environment and the BSP-specific files to the cross development directory.
Creating a Kernel downloadable Image (KDI)
Refer to the LynxOS User's Guide for instructions on how to create a Kernel Downloadable Image. No special steps are required for making KDIs for the PrPMC600 board.
Booting the KDI using TFTP Boot
The following steps are for booting a LynxOS KDI using PrPMC600's
PPCBUG firmware:Copy the KDI to default tftpboot location on the TFTP server machine. At the PPCBUG prompt of the PrPMC600 board, use the following command:
The CLUN and DLUN ( 0 0 ) above refer to the Pro100 ethernet controller on the PPMCBASE board. 172.17.3.15 is the IP address used for the PrPMC600 board. 172.17.3.14 is the IP address for the TFTP server.
Uninstallation
To uninstall the build environment, delete the BSP directory.
Installing onto Motorola MVME Boards
The real-time clock is disabled on new Motorola MVME boards. If the user has a new board, the real-time clock must be enabled before installing LynxOS.
To enable the Motorola real-time clock, use the following instructions:
- Use the set command at the PPC1-Bug (firmware) prompt to set the time, enabling the clock (Note that the PPC1-Bug prompt reflects the MVME platform.):
The following commands assume that the CDROM device is at SCSI ID 6:
- Insert the CDROM and power up the computer.
- Press the Break or Esc key to enable the PPC1-Bug monitor.
- Enter the following command at the PPC1-Bug prompt:
If the CDROM device is at another SCSI ID, use the ioi command to determine the correct arguments for pboot. Consult the Motorola
PPC1-Bug documentation for more information.
Note: At this time, the preboot prompt is displayed on the console. For more information on the preboot command, see "Booting LynxOS" .
If the SCSI ID is not 6, change the root file system using the R command, and boot with the correct SCSI ID. For example:
- After LynxOS boots, start the installation utility by entering the installit command at the root (#) prompt.
- Navigate through the menus and change the settings to match the hardware configuration. Some screens have help topics that provide additional information about available options; refer to "Using installit" for more information.
- The installed system must be rebooted. If the firmware is set to autoboot from the disk where LynxOS is installed, then the secondary installation starts. Otherwise, the user must use the appropriate boot command to boot from the disk.
For example, assuming that LynxOS is installed on the hard disk with SCSI ID 0 and partition b, the following commands should be used to reboot (note that the first command is a firmware command, and the second is a preboot command):
Installing onto Thales VMPCxx Boards
The following commands assume that the CDROM device is at SCSI ID 6.
- Insert the CDROM and power up the computer.
- Press any key to stop autoboot and enter the firmware.
- Boot VMPCxx from the CD-ROM as follows:
where <SCSI_ID> is the SCSI ID of the CD-ROM.
Note: At this time, the preboot prompt is displayed on the console. For more information on the preboot command, see "Booting LynxOS" .
If the SCSI ID is not 6, use the R command to set the root file system, and boot from the proper SCSI ID.
- After LynxOS boots, start the installation utility by entering the command installit at the prompt.
- Navigate through the menus and change the settings to match the hardware configuration. Some screens have help topics that provide additional information about the available options. See "Using installit" for further information.
- The installed system must be rebooted. If the firmware is set to autoboot from the disk where LynxOS is installed, then the secondary installation starts. Otherwise, the user must use the appropriate boot command to boot from the disk.
For example, assuming that LynxOS is installed on a hard disk with SCSI ID 0 and partition b, the following commands are used. (Note that the first command is a firmware command, and the second is a preboot command.):
Optional Software Installation
Additional components can be installed after the LynxOS ODE installation is complete. Some additional components include:
To install any or all of these additional components on a UNIX-hosted system, use the following instructions:
Additional tools, such as LynxInsure++, TotalView, or SpyKer include separate documentation that describes their installation procedure.
![]() LynuxWorks, Inc. 855 Branham Lane East San Jose, CA 95138 http://www.lynuxworks.com 1.800.255.5969 |
![]() |
![]() |
![]() |
![]() |