Flash MCU from BMC
IGX BMC can flash the MCU Firmware and upgrade the MCU. To flash MCU, you need to follow below steps,
Go to the mcu-flash directory.
root@mgx-3809:~# cd /etc/smcu-flash
Copy the MCU firmware file from the package to BMC using scp.
Stop the console service.
root@mgx-3809:~# systemctl stop obmc-console\\@ttyS2.service
Flash MCU firmware and provide the MCU firmware file path.
./flash_tc39x.py <serial port> 921600 <FW File>
Example:
root@mgx-3809:~# ./flash_tc39x.py ttyS2 921600 ./P3740_TC39x_Aurix.hex
Start the console service when you have finished mcu-flash.
systemctl start obmc-console\\@ttyS2.service
Reset SMCU:
root@mgx-3809:~# cd /etc/smcu-flash root@mgx-3809:/etc/smcu-flash# ./smcu-flash.sh smcu_reset