[Barefoot] BIOS upgrade procedures Follow
Purpose:
This post shows the procedures to upgrade BIOS on Wedge100BF-series and AS9516-32D.
Model:
- DCS800 - Wedge100BF-32X
- DCS801 - Wedge100BF-32QS
- DCS802 - Wedge100BF-65X
- DCS810 - AS9516-32D
Preparation:
A. Personal computer
B. BIOS image
- Download the BIOS 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. USB-stick
- USB-stick with FAT32 format
Procedure:
Step1. Put upgrade files in USB-stick and insert it to switch
1) Make sure your USB-stick format is FAT32.
2) Copy upgrade files (PCOM-B634VG-Barefoot_R100E1.bin, Update.efi) to USB-stick.
3) Insert USB-stick in the switch.
Step 2. Enter UEFI: Built-in EFI shell
1) Reboot COM-E via openBMC, use command
root@bmc:~#wedge_power.sh off
root@bmc:~#wedge_power.sh on; sol.sh
2) Click "ESC" when prompt as below
At "Save & Exit" page, choose [Built-in EFI shell]
Step 3. Enter commands to upgrade BIOS
1) Check your USB code
2) Enter upgrade commands
For Wedge100BF-series:
Shell> fs0:
fs0:\> Update.efi
For AS9516-32D
Shell> fs1:
fs1:\> Update.efi PCOM-B700VG-Barefoot_0_0_4.BIN /P /B /K /ME
Step 4. Reboot COM-E
When the system finishes the upgrade, back to openBMC reset COM-E or cold reboot(unplug and replug the power cord) the switch.
Reset COM-E via openBMC by the following commands.
root@bmc:~#wedge_power.sh off
root@bmc:~#wedge_power.sh on; sol.sh
Warning!!!
Please DO NOT exit EFI shell and select "Save Changes and Reset" option from BIOS.
Step 5. Confirm BIOS version
1) You can check when boot COM-E as below
2) Or you can enter ONIE > Rescue mode use below command check
ONIE:/ # dmidecode -t bios
...
BIOS Information
Vendor: American Megatrends Inc.
Version: R1.00.E1
Comments
2 comments
Could'nt get into BIOS, when sol.sh is run, it throws an error "g_cdc gadget: high speed config #1:CDC Composite(ECM+ACM)"
Problem above solved in #17976.
Configured baud rate mismatch cause this problem.
Please sign in to leave a comment.