CDF Flash RAM Build/Install Instructions

This page contains instructions for rebuilding and installing new versions of the MVME 2301 VxWorks flash ram image. It is recommended that these procedures be done only by those who completely understand then. If an error is made, the board will have to be pulled from the crate and a complex recovery procedure performed in order to be made bootable again. This might be painful for a processor on the detector. So, Be Careful!

If the board is an MVME2304, as used in the SVX and SVT subsystems, then substitute mv2305-cdf for mv2301-cdf below.

DANGER: Loading the incorrect flavor kernel into an MVME will render it unuseable! You will then have to switch back to PPCbug or MOTload booter by changing the board boot jumpers and/or have to load the VxWorks kernel over the network temporarily. In some cases both boot RAMs can be erased, requiring a slow and expensive factory repair!

Instructions2300 *24005500 **
In the boot parameters, change the kernel file to:
and reboot the board
kernel/mv2301/v5_3c/vxWorks kernel/mv2400/v5_4a/vxWorks kernel/mv5500/v5_5la/nogigE/vxWorks
Log onto the board      
Set directory to kernel area cd "/cdf/onln/code/cdfprod"
cd "vxworks_kernel/mv2301/v5_3c"
cd "/cdf/onln/code/cdfprod"
cd "vxworks_kernel/mv2400/v5_4a"
cd "/cdf/onln/code/cdfprod"
cd "vxworks_kernel/mv5500/v5_5la/nogigE"
Load Flash RAM
This takes about 15 seconds.
Do not interrupt this process!
sysFlashProgramBootRom "vxWorks.st_rom" sysFlashProgramBootRom "vxWorks_romCompress.bin" mv5500FlashProgramModule "vxWorks_romCompress"
In the boot parameters, change the startup script to: boot/front-end/startup.cdf boot/front-end/startup.cdf boot/front-end/startup.5500.cdf
Reboot the board reboot reboot reboot

* NB: The following two crates require special kernels due to special hardware installed: b0inh00, b0cmp00 and svxinter require the pmc470.vxWorks.st_rom kernel and b0cmx00 requires the s16.vxWorks.st_rom kernel.

** NB: The nogigE directory specification indicates that the kernel files in that area do not support the 5500 gigabit ethernet spigot. Replace with gigE to access the kernel files that do contain gigabit ethernet support. Currently only Trigger Supervisor node b0tsi00 uses the gigabit ethernet interface.


Building a new flash ram image

To build a new version of vxWorks.st_rom suitable for installing in the flash ram:

Instructions23002400
Log into node b0vxworks as user cdfprod
Kernels must be built on a Sun machine
  
Setup vxworks setup -q ppc vxworks v5_3c setup -q mv2400 vxworks v5_5la
Set directory to kernel area cd ${WIND_BASE}/target/config/mv2301-cdf cd ${TOR_MV2400_DIR}/mv2400_vx/default
Set up CDF libraries source setup_cdf.csh source ../setup_cdf.csh
Build kernel ./makeall.csh make -f ../Makefile clean
make -f ../Makefile vxWorks_romCompress.bin

For mvme2305's substitute mvme2305 for mvme2301 above.

Burning a new flash ram image

To install a new version of vxWorks.st_rom into the flash ram:

Reverting to network booting

If for some reason it is desirable to revert to network booting:

Building MVME5500 kernels

The MVME5500 kernels are built starting from the Tornado v3 utility. Instructions can be found in the file:
mvppc-cdf/doc/mv5500_v5_5la.lis
in the CDF online CVS repository.


Last modified by W.Badgett 2006.02.02