Use the following command-line instructions to update CX7 to the latest firmware.
Use this documentation to perform the following tasks:
Open the console by following the instructions in MCU / Orin UART Access.
Stop the fan control service by running the following code.
ubuntu@jetson:~$ sudo su root@jetson:/home/ubuntu# systemctl stop nvfancontrol
Use the following procedure to update your CX7 firmware. The latest CX7 firmware file is part of the IGX BSP, and you can reflash CX7 from BMC.
The update can take 10-15 minutes or longer.
Save the IP address of your BMC as an environment variable by running the following code. Replace
<BMC_IP>
with your IP address, for example 192.168.1.110.export bmc=<BMC_IP>
Log into your BMC and save your access token as an environment variable by running the following code. Change
<BMC_Password>
to your password.export token=`curl -k \ -H "Content-Type: application/json" \ -X POST https://$bmc/login \ -d '{"username": "root", "password": "<BMC_Password>"}' | grep token | awk '{print $2;}' | tr -d '"'`
To start the update run the following code. You save the task id as an environment variable so that you can check the status of the update in the following step.
export task_id=`curl -k \ -H "X-Auth-Token:$token" \ -H "Content-Type: application/octet-stream" \ -X POST https://$bmc/redfish/v1/UpdateService \ -T "<path to the CX7 PLDM package>"`
To check the status of the update run the following code. After the update is done, the task status is
completed
.curl -k \ -H "X-Auth-Token:$token" \ -X GET https://$bmc/redfish/v1/TaskService/Tasks/$task_id
After the CX7 firmware update is complete, restart the fan control service by running the following code.
root@jetson:/home/ubuntu# sudo systemctl restart nvfancontrol