NAT MCH Firmware Notes by Mark Dobson (copied from CERN Twiki)
The majority of NAT MCHs came with firmware version V2.15 which is very buggy. There issues with powering of various items in the crate and also the DHCP mode is broken.
The latest firmware which seems to work fine is V2.17. It has working DHCP, has the powering issues fixed and has extra features and commands to for example reset the power to the MMC of a particular slot (contact Kristian Harder if you have questions related to this). This version also allows SSH access (overcomes the limit of only one connection to the MCH with telnet).
The firmware can be updated in the MCHs either via the web interface or via TFTP. The TFTP method is recommended.
On the MCH command line (after login in to the MCH), run the following command:
update_firmware
, and at the prompt enter the TFTP location of the firmware file:
- For P5:
10.176.29.122:/NAT_MCH/bin/mch_fw_v2_17.bin
- For 904:
10.192.33.21:/NAT_MCH/bin/mch_fw_v2_17.bin
After the update finishes reboot the MCH with the
reboot
command.
Notes on Programming NAT MCH at 904 using Web Interface Method
904 is not using the same network hierarchy as P5, so initially we cannot use the TFTP method above.
These are the steps that I followed to update the firmware for a crate at 904. An MCH at IP address 192.168.1.44 on hcal904daq01.cms904:
1. Copy NAT MCH firmware zip file to local machine. I copied this from Mark Dobson's home directory on cms904usr: ~mdobson/NAT_MCH_firmware_2_17.zip
A copy of NAT MCH firmware version 2.17 copied here:
http://ohm.bu.edu/~dzou/MCH/NAT_MCH_firmware_2_17.zip
2. Unpack zip file. For password, please contact Marc Dobson (
marc.dobson@cern.ch)
3. Tunnel to remote machine on network with MCH. (Will include description of tunneling set up)
4. Connect to remote machine (hcal904daq01.cms904) assigning connect to a local port
5. Configure local browser to have a soxy proxy on the assigned port
6. Enter MCH IP address into address bar. Enter mch username and pwd (default user: root, default pwd: nat)
7. Upload mch firmware tar file (e.g. mch_fw_v2_17_webupdate.tar)
8. Click "Update"
9. WAIT UNTILUPDATE HAS COMPLETED
10. Reboot MCH
--
DavidZou - 30 Jun 2015