Difference between revisions of "Host Computer Configuration"

From New IAC Wiki
Jump to navigation Jump to search
Line 111: Line 111:
 
  MVME6100> tftpGet -cCLIENT_IP_ADDRESS -sSERVER_IP_ADDRESS -fFILENAME
 
  MVME6100> tftpGet -cCLIENT_IP_ADDRESS -sSERVER_IP_ADDRESS -fFILENAME
  
CLIENT_IP_ADDESS is the IP address of the computer receiving the file
+
CLIENT_IP_ADDESS is the IP address of the computer receiving the file <br>
SERVER_IP_ADDRESS is the IP address of the computer hosting the file (by default tftp uses the subdirectory /tftpboot)
+
SERVER_IP_ADDRESS is the IP address of the computer hosting the file (by default tftp uses the subdirectory /tftpboot) <br>
 +
 
 +
 
 +
MVME6100> tftpGet -c134.50.3.216 -s134.50.3.210 -fboot6100_122.bin
 +
Network Loading from: /dev/enet0
 +
Loading File: boot6100_122.bin
 +
Load Address: 006B7000
 +
Download Buffer Size = 00200000
 +
 
 +
Client IP Address      = 134.50.3.216
 +
Server IP Address      = 134.50.3.210
 +
Gateway IP Address    = 134.50.3.253
 +
Subnet IP Address Mask = 255.255.255.0
 +
 
 +
Network File Load in Progress...
 +
 
 +
Bytes Received =&594768, Bytes Loaded =&594768
 +
Bytes/Second  =&594768, Elapsed Time =1 Second(s)
  
 
=== Flash the RAM with the program===
 
=== Flash the RAM with the program===

Revision as of 20:30, 20 August 2007

MVME 6100
ROC1 ethernet address: 0001AF1998B5
ROC1 ethernet address: 0001AF1998B6
MPC7457 RISC G4 processor (PPC family)

Install tftp onto the Linux host computer

For CentOS I used yum

yum install tftp
yum install tftp-server

then I looked in the file

/etc/xinitd.d/tftp
  1. default: off
  2. description: The tftp server serves files using the trivial file transfer \
  3. protocol. The tftp protocol is often used to boot diskless \
  4. workstations, download configuration files to network-aware printers, \
  5. and to start the installation process for some operating systems.
service tftp

{

       socket_type             = dgram
       protocol                = udp
       wait                    = yes
       user                    = root
       server                  = /usr/sbin/in.tftpd
       server_args             = -s /tftpboot
       disable                 = yes
       per_source              = 11
       cps                     = 100 2
       flags                   = IPv4

}

to see how tftp was configured by default. The file tell me that the tftp files should be located in the subdirectory

/tftpboot


turn the server on

/sbin/chkconfig tftp on

Download files from JLAB

I downloaded the boot file and VXworks kernel from JLAB

/site/coda/kern/5.5/boot/boot6100_122.bin  
/site/coda/kern/5.5/vx6100_v4.1 

Debug Connector

I then used the serial port on the host computer to interface with the MVME6100 via the "DEBUG" port. The debug port took an RJ45 standard cable so I got and RJ45-DB9 converter. This seemed to work out of the box. Just in case I ever need to make my own connector record the pinouts below.


Information below is Table 5-11 pg 92 of this reference

ROC Pin# DB9 Pin # DB9 shell Signal
1 1 Blue DCD (Carrier Detect)
2 7 Orange RTS (Request to Send)
3 5 Black GNDC
4 3 Red TX (Transmit)
5 2 Green RX (Recieve)
6 5 Yellow GNDC
7 8 Brown CTS (Clear to Send)
8 4 White DTR (Data Terminal Ready)

Basic commands

setting the time

The command below will print the help screen for the time set command

he set

for example

MVME6100> set -t082604163100
MVME6100> time
THU AUG 26 16:31:02.00 2004

Ping another computer to check network

MVME6100> ping -c134.50.3.216 -s134.50.3.210
Client (Source) IP Address      = 134.50.3.216
Server (Destination) IP Address = 134.50.3.210
Server/Host Found, E-Address    = 0030487A9468
170 (128+42) bytes from 134.50.3.210: icmp_seq=0 time=179 us
Packets Transmitted =1, Packets Received =1, Packets Lost =0 (0%)
Round-Trip Min/Avg/Max = 179/179/179 uS


show the flash memory

MVME6100> flashShow


Load in the VxWorks boot kernel

MVME6100> tftpGet -cCLIENT_IP_ADDRESS -sSERVER_IP_ADDRESS -fFILENAME

CLIENT_IP_ADDESS is the IP address of the computer receiving the file
SERVER_IP_ADDRESS is the IP address of the computer hosting the file (by default tftp uses the subdirectory /tftpboot)


MVME6100> tftpGet -c134.50.3.216 -s134.50.3.210 -fboot6100_122.bin Network Loading from: /dev/enet0 Loading File: boot6100_122.bin Load Address: 006B7000 Download Buffer Size = 00200000

Client IP Address = 134.50.3.216 Server IP Address = 134.50.3.210 Gateway IP Address = 134.50.3.253 Subnet IP Address Mask = 255.255.255.0

Network File Load in Progress...

Bytes Received =&594768, Bytes Loaded =&594768 Bytes/Second =&594768, Elapsed Time =1 Second(s)

Flash the RAM with the program

>MVME6100>flashProgram -d/dev/flash0 -o03f00100 -nfff00


After flashing you flip dipswitch #2 on S4 fo off and powercycle