[Barefoot] OpenBMC upgrade procedures Follow
Purpose:
This post shows the procedures to upgrade OpenBMC.
Model:
- DCS800 - Wedge100BF-32X
- DCS801 - Wedge100BF-32QS
- DCS802 - Wedge100BF-65X
- DCS810 - AS9516-32D
Preparation:
A. Personal computer
B. OpenBMC image
- Download the OpenBMC 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
- WinSCP
Procedure:
Step1. Copy BMC image to DUT by SCP
1) Confirm MGMT port ifconfig of DUT BMC.
2) Transmit new BMC 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 BMC image to DUT via SCP. Username/Password: root/0penBmc)
Step 2. Install new BMC image
1) Confirm original BMC version and built date.
cat /etc/issue
cat /etc/version
2) Check MTD configuration
cat /proc/mtd
3) Install new BMC image <filename> to MTD (flash0)
flashcp -v flash-mavericks /dev/mtd5
4) Reboot BMC to finish the installation.
reboot
* Do not power off DUT during installation.
(After copy BMC image to DUT BMC by SCP)
root@bmc:~# ls
flash-mavericks
root@bmc:~#
(Confirm original BMC version)
root@bmc:~# cat /etc/issue
OpenBMC Release 1.0.0.13
root@bmc:~# cat /etc/version
201811261457
root@bmc:~#
(Check MTD configuration)
root@bmc:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00060000 00010000 "u-boot"
mtd1: 00020000 00010000 "env"
mtd2: 00280000 00010000 "kernel"
mtd3: 00c00000 00010000 "rootfs"
mtd4: 01100000 00010000 "data0"
mtd5: 02000000 00010000 "flash0"
root@bmc:~#
(Install new BMC image to MTD(flash0) and reboot DUT to finish the installation)
root@bmc:~# flashcp -v flash-mavericks /dev/mtd5
Erasing block: 264/264 (100%)
Writing kb: 16845/16845 (100%)
Verifying kb: 16845/16845 (100%)
root@bmc:~# reboot
… (Omit reboot and log-in messages)
(Confirm version number again)
root@bmc:~# cat /etc/issue
OpenBMC Release 1.0.0.14
root@bmc:~# cat /etc/version
201905311505
root@bmc:~#
Comments
0 comments
Please sign in to leave a comment.