SLS Pismo: Updating firmwares
Jump to navigation
Jump to search
cxmanage and ipmitool
- The Calxeda/SLS version of
ipmitoolmust be installed for this process to work. cxmanagemust be installed for this to work.- For further information, see here.
Check the current running node firmware
cxmanage -a info <node0_ecme_address>:
[root@pxe boston_arm_scripts]# cxmanage -a info 172.28.101.0
Getting IP addresses...
1 successes | 0 errors | 0 nodes left | .
Discovered the following IP addresses:
172.28.101.0
172.28.101.1
. . .
172.28.101.46
172.28.101.47
Getting info...
48 successes | 0 errors | 0 nodes left | .
[ Info from 172.28.101.0 ]
Hardware version : Foxconn Gaia SoC X01
Firmware version : ECX-2000-v2.6.7-dirty
ECME version : v2.6.7-dirty
CDB version : v2.6.7-dirty
Stage2boot version : v2.6.7-dirty
Bootlog version : v2.6.7-dirty
A15boot version : v2.6.7
Uboot version : cx_v2.6.7
Ubootenv version : cx_v2.6.7
DTB version : v3.8-rc4_cx_2013.06.28-10-g324a0
Node EEPROM version : Unknown
Node EEPROM config : 0
Slot EEPROM version : Unknown
Slot EEPROM config : 0
PMIC version : 193
. . .
[ Info from 172.28.101.47 ]
Hardware version : Foxconn Gaia SoC X01
Firmware version : ECX-2000-v2.6.7-dirty
ECME version : v2.6.7-dirty
CDB version : v2.6.7-dirty
Stage2boot version : v2.6.7-dirty
Bootlog version : v2.6.7-dirty
A15boot version : v2.6.7
Uboot version : cx_v2.6.7
Ubootenv version : cx_v2.6.7
DTB version : v3.8-rc4_cx_2013.06.28-10-g324a0
Node EEPROM version : Unknown
Node EEPROM config : 0
Slot EEPROM version : Invalid Image
Slot EEPROM config : -1
PMIC version : 193
[root@pxe boston_arm_scripts]#Update node firmware
cxmanage -a fwupdate package <firmware_filename> <node0_ecme_address>:
[root@pxe ~]# cxmanage -a fwupdate package /root/boston_arm_scripts/sls/ECX-2000_update-gaia-v2.6.9rc1.tar.gz 172.28.101.0
Getting IP addresses...
1 successes | 0 errors | 0 nodes left | .
Discovered the following IP addresses:
172.28.101.0
172.28.101.1
. . .
172.28.101.46
172.28.101.47
NOTE: Please check node count! Ensure discovery of all nodes in the cluster. Power cycle your system if the discovered node count does not equal nodes in your system.
Discovered 48 nodes. Continue? (y/n) y
Checking hosts...
48 successes | 0 errors | 0 nodes left | .
Updating firmware...
0 successes | 0 errors | 48 nodes left | .
Log saved to /root/.cxmanage/logs/172.28.101.23/20151207175610-fwupdate.log
1 successes | 0 errors | 47 nodes left | ...
Log saved to /root/.cxmanage/logs/172.28.101.14/20151207175610-fwupdate.log
. . .
Log saved to /root/.cxmanage/logs/172.28.101.32/20151207175610-fwupdate.log
48 successes | 0 errors | 0 nodes left | ...
Command completed successfully.
[root@pxe ~]#N.B. - The nodes must be power-cycled for this update to take effect.
Reset network fabric to factory defaults
[root@pxe ~]# ipmitool -U admin -P admin -H 172.28.101.0 cxoem fabric config factory_default
[root@pxe ~]# ipmitool -U admin -P admin -H 172.28.101.0 cxoem fabric config update_configConfirm new firmware is active
- Use
cxmanageto check the running firmware:
[root@pxe ~]# cxmanage -a info 172.28.101.0
Getting IP addresses...
1 successes | 0 errors | 0 nodes left | .
Discovered the following IP addresses:
172.28.101.0
172.28.101.1
. . .
172.28.101.46
172.28.101.47
Getting info...
44 successes | 0 errors | 0 nodes left | ..
[ Info from 172.28.101.0 ]
Hardware version : Foxconn Gaia SoC X01
Firmware version : ECX-2000-v2.6.9rc1
ECME version : v2.6.9rc1
CDB version : v2.6.9rc1
Stage2boot version : v2.6.9rc1
Bootlog version : v2.6.9rc1
A15boot version : v2.6.7
Uboot version : cx_v2.6.7
Ubootenv version : cx_v2.6.7
DTB version : v3.8-rc4_cx_2013.06.28-10-g324a0
Node EEPROM version : Unknown
Node EEPROM config : 0
Slot EEPROM version : Unknown
Slot EEPROM config : -1
PMIC version : 193
. . .
[ Info from 172.28.101.47 ]
Hardware version : Foxconn Gaia SoC X01
Firmware version : ECX-2000-v2.6.9rc1
ECME version : v2.6.9rc1
CDB version : v2.6.9rc1
Stage2boot version : v2.6.9rc1
Bootlog version : v2.6.9rc1
A15boot version : v2.6.7
Uboot version : cx_v2.6.7
Ubootenv version : cx_v2.6.7
DTB version : v3.8-rc4_cx_2013.06.28-10-g324a0
Node EEPROM version : Unknown
Node EEPROM config : 0
Slot EEPROM version : Invalid Image
Slot EEPROM config : -1
PMIC version : 193
[root@pxe ~]#