[Wedge100BF-series] CPLD upgrade procedures Follow
Purpose:
This post shows the procedures to upgrade CPLD.
Model:
Wedge100BF-32X/65X/32QS
Preparation:
A. Personal computer
B. CPLD image
- Download the CPLD image for your own device.
- Reference: How to download the current firmware?
C. Serial Console cable:
- A cable which attached in the original box.
D. Console terminal
- Putty,Teraterm,SecureCRT,etc...
E. Transport protocol tool
- OpenSSH
Procedure:
Step1. Copy CPLD image to DUT by SCP
1) Confirm MGMT port ifconfig of DUT BMC.
2) Transmit new CPLD image to DUT BMC via MGMT port with SCP.
root@bmc:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 3C:2C:99:EC:59:6B
inet addr:188.188.184.100 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::3e2c:99ff:feec:596b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:562 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:3
root@bmc:~#
Transmit new CPLD image to DUT via SCP. Username/Password: root/0penBmc)


Step 2. Install CPLD image
1) Confirm original CPLD version
65X Upper Board CPLD version (32X/32QS device skip this command)
root@bmc:~# cpld_rev.sh upper sys
65X Lower Board / 32X/32QS CPLD version
root@bmc:~# cpld_rev.sh lower sys
2) Install CPLD image
65X Upper Board CPLD Code (32X/32QS device skip this command)
root@bmc:~# cpld_upgrade.sh upper sys upper_cpld_v10p3.jbc
65X Lower Board / 32X/32QS CPLD Code
root@bmc:~# cpld_upgrade.sh lower sys lower_cpld_v10p3.jbc
* The method is only for OpenBMC version 1.0.0.13 and above.
* Do not power off DUT during installation.
* There's a bug in OpenBMC version v01.10.00, the CPLD file name need to be renamed to "WEDGE_32X_SYSCPLD.jbc" for 32X/32QS as a workaround. It'll be fixed in next version.
* System shall reboot automatically after updating lower CPLD code. If update 65X upper board CPLD code only, need reboot system manually to finish the updating procedure.
For example:
… (Omit boot up and log-in messages)
(Copy CPLD code to BMC by SCP)
root@bmc:~# ls
lower_cpld_v10p3.jbc upper_cpld_v10p3.jbc
root@bmc:~#
(Confirm original CPLD code version)
root@bmc:~# cpld_rev.sh upper sys
10.1
root@bmc:~# cpld_rev.sh lower sys
10.1
root@bmc:~# cpld_upgrade.sh upper sys upper_cpld_v10p3.jbc
Jam STAPL ByteCode Player Version 2.2
Copyright (C) 1998-2001 Altera Corporation
(...omitted)
Finished Upper SYSCPLD upgrade: Pass
root@bmc:~#
(Upgrade lower CPLD code)
root@bmc:~# cpld_upgrade.sh lower sys lower_cpld_v10p3.jbc
Jam STAPL ByteCode Player Version 2.2
Copyright (C) 1998-2001 Altera Corporation
(switch auto reboot)
DRAM Init-DDR3
… (Omit reboot and log-in messages)
(Confirm version number again)
root@bmc:~# cpld_rev.sh lower sys
10.3
root@bmc:~# cpld_rev.sh upper sys
10.3
root@bmc:~#
Comments
0 comments
Please sign in to leave a comment.