CMU MK II Boot Project

From DDCIDeos
Jump to navigationJump to search

Support Honeywell in the verification of the DO-178B level A Boot for the MPC8270 prcessor on the CMU MKII platform.

Description

Our efforts are combined with their efforts, and documented on the CMU MKII Boot Project Page.

Required Tools

The CMU target and remote host workstation are rigged at DDC-I headquarters in Phoenix. To access the remote host, e.g. to use the emulator, you will need Windows Remote Desktop software.

Remote Desktop comes built into Windows XP Professional. If you're an Apple Mac user, you can download a free Remote Desktop client from Microsoft.

Process SNAFUs

  • PCR 5818 needs to be addressed as it is related to defective verification evidence.

How To

X9

Use the X9 server to reserve access to, power on and power off the CMU target and emulator.

Remote Host Access

Use Microsoft's remote desktop software.

  • Windows XP: Open Remote Desktop Connection by clicking Start, clicking Programs or All Programs, clicking Accessories, and then clicking Remote Desktop Connection.
  • Apple: Launch Remote Desktop

For either of the above, you'll need to enter either the remote host's hostname, or IP address.

  • HostName: HPDesk
  • IP Address: 10.0.1.115
  • password: Use your DDC-I domain name and password, e.g. DDCI\mdiethelm.

Note You will need to establish a VPN connection into DDC-I to access the remote host.

Remote Host Account Setup

After logging into the Remote Host, make sure you've done the following at least once.

  • Set your HOME environment variable via the control panel, e.g. c:\home\mdiethelm.
  • Installed the appropriate subversion configuration file.
$cd ~/.subversion
$svn cat https://deos.ddci.com/scm/Deos/maintainer-tools/subversion/deos-config/config > config
  • Fetched the CMU sources. While you will likely build boot and boot tests on your own workstation, fetching the sources onto the Remote Host will also enable you to build there as well. It will also allow for local access to the emulator scripts.
$cd ~/
$mkdir scm
$cd scm
$svn co https://deos.ddci.com/scm/Deos/products/bsp/cmu-mkii-plus/branches/mainline/ cmu-boot-mainline/
  • Go read the CMU Platform How To that was installed with the DESK.
$cygstart.exe $DESKHOME/Help/cmu-mkii-plus-platform-howto.htm

Remote Host Cygwin Setup

This section is only important if cygwin has not already been setup on the Remote Host.

See CMU Specific Cygwin How To

Running the Tests

NetBooter

This section is only important if X9 is not working.

The emulator and CMU targets are plugged into a net boot device that allows you to cycle their power remotely via the network.

To reboot, you'll need to Telnet into the net booter and tell it which 120 VAC "plug" to turn off and or on.

  • Host Name: DeosPower1
  • IP Address: 10.0.1.127
  • password: admin

Note You will need to establish a VPN connection into DDC-I to access the net booter.

$ telnet 10.0.1.127
Network Power Switch v2.03        Site: DeosPower1

Plug | Name             | Status  | Boot Delay | Password         | Default |
-----+------------------+---------+------------+------------------+---------+
 1   | CMU_28V_POWER    |   OFF   |   5  sec   | (none)           |   OFF   |
 2   | Emulator         |   ON    |   5  sec   | (none)           |   OFF   |
 3   | (none)           |   ON    |   5  sec   | (none)           |   ON    |
 4   | (none)           |   ON    |   5  sec   | (none)           |   ON    |
 5   | (none)           |   ON    |   5  sec   | (none)           |   ON    |
 6   | (none)           |   ON    |   5  sec   | (none)           |   ON    |
 7   | (none)           |   ON    |   5  sec   | (none)           |   ON    |
 8   | (none)           |   ON    |   5  sec   | (none)           |   ON    |
-----+------------------+---------+------------+------------------+---------+
"/H" for help.

Communication Settings:  9600,N,8,1
Modem Init. String:      ATE0M0Q1&C1&D2S0=1
Modem Disc. String:      (none)
MAC Address:             00-40-05-72-f6-5e
IP Address:              10.0.1.127            Disconnect Timeout:   30 Min
Subnet Mask:             255.255.255.0         Command Echo:         Off
Gateway Address:         10.0.1.1              Command Confirmation: On

NPS> 

CMU Power Supply

This section is only important if the CMU power supply needs to be manually restarted.

The external power supply for the CMU is an Agilent E3631A. Normally, it is left powered on as there is quite a process to initialize it to emit the voltages needed by the CMU. If power ever does get reset, here's the steps needed to reinitialize it.

The goal is to drive + and - 14 volts for a total of 28 volts DC.

  1. Remove either the red or black lead going to the CMU.
  2. Press the Power On/Off button.
  3. Press the Output On/Off switch. The display should read close to 0 volts.
  4. Press the Recall button. The display should show "Recall 1".
  5. Press the Recall button a second time. The display should now show "Done".
  6. Press the +25V button. The display should show close to +14 volts.
  7. Press the -25V. The display should show approximately -14 volts.
  8. Reinsert the lead you removed in the first step.
  9. Power on the CMU. It will take about five minutes for it to charge its internal capacitors and become useful.
  10. You're now good to go.

Philosophies

  • Procedures and other information related to the DDC-I environment are to be documented on this wiki page. Information related to development, debug, deployment, or verification of CMU Boot software should be documented within SCM.