Difference between revisions of "Talos II/Recovering corrupt U-boot via Serial Port"

From RCS Wiki
Jump to navigation Jump to search
(Created page with " = Serial port recovery of U-Boot: = ''This method was discovered by Centurion Dan as an alternative to pulling and reflashing the BMC SPI chip after a failed update had corr...")
 
(Redirected page to Debricking the BMC)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
+
#REDIRECT [[Debricking the BMC]]
= Serial port recovery of U-Boot: =
 
 
 
''This method was discovered by Centurion Dan as an alternative to pulling and reflashing the BMC SPI chip after a failed update had corrupted/wiped U-Boot''
 
 
 
Tools required:
 
[[Talos_II/Building_FAQ#BMC_serial_port_J7701|BMC serial port]]
 
Another computer with a serial port (usb to serial works fine) preferably running linux.
 
 
 
Software:
 
SOC Flash Utility from [https://www.aspeedtech.com/support.php Aspeed Technology's Support Page]: at least version [http://upload.aspeedtech.com/SOC/v11800.zip 1.18.00]
 
 
 
BMC Firmware bundle:
 
[[Talos_II/Firmware Firmware]] BMC [[:File:Talos_ii_openbmc_v1.07_bundle.tar.bz2| System Package 1.06 2a92dec044239591244b6ed69c3fac162a6b9ea4]]
 
 
 
 
 
Procedure:
 
 
 
:1) Unzip the SOC FLASH Utility on your other computer, and unzip the appropriate SOC Flash Utility bundle for that computer.
 
:2) Extract the BMC firmware bundle.
 
:3) Run the following command '''./socflash -s option=u comport="4" cs=0 if=image-u-boot gpio_b=S71 gpio_a=S70 option=f'''
 
::''- You can drop the'' '''option=f''' ''for a slower but verified write process''
 
::''- if your serial interface can handle the baudrate 921600 add the parameter:'' ''' baudrate=921600'''
 
::''- if you want to see what is going on, you can strace it by prepending:'' '''strace -e trace=open,close,read,write''' to the command above.
 
:4) Be Patient: it took me about 45 minutes to complete the flash process.
 
 
 
Notes:
 
- ''gpio_b=S71'' and ''gpio_a=S70'' are used to turn of the fpga watchdog timer before the flash process and then re-enables it after it's completed.
 

Latest revision as of 13:05, 2 March 2019

Redirect to: