P3898 Switch Firmware Management
The following table describes p3898 switch firmware versions:
Platform | Version | Firmware Name | Function Supported |
---|---|---|---|
P3898 | 5.1.1 | P3898-switch-fw.v5.01.01.bin | AVNU CDS 1.6 PTP enabled as per role described in PTP Section |
Switch Firmware Update from Orin
Its possible to update the p3898 switch firmware from Orin through the
nv_3898_switch_ota.sh
script packaged in the filesystem. The
salient feature of update process is as below:
Feature | Description | Invocation |
---|---|---|
Auto Update | Same as above. And if update required, then also update Switch FW | sudo /bin/bash /etc/systemd/scripts/nv_3898_switch_ota.sh --autoupdate |
Check Update | Check if update is required for Switch FW by comparing flashed FW version with Switch FW present in /lib/firmware/3898_ethernet/ | sudo /bin/bash /etc/systemd/scripts/nv_3898_switch_ota.sh --checkupdate |
Force Update | Accepts FW filename as argument and do forceful update of Switch FW |
sudo /bin/bash /etc/systemd/scripts/nv_3898_switch_ota.sh --forceupdate <FW file name> For example: sudo /bin/bash /etc/systemd/scripts/nv_3898_switch_ota.sh --forceupdate P3898-switch-fw.v5.01.01.bin |
Print Current Version | Print Current Switch FW version | sudo /bin/bash /etc/systemd/scripts/nv_3898_switch_ota.sh --printversion |
- Switch firmware files must be placed at path
/lib/firmware/3898_ethernet/
. - Switch firmware files must follow the naming convention
P3898-switch-fw.vX.YY.ZZ.bin/img
, whereX
is the major number,YY
is the minor number ,andZZ
is the revision number. - The p3898 switch OTA systemd service (nv_3898_switch_ota.service) currently checks for updates and prints the information on the console. Automatic update of switch firmware is not enabled as it takes more time (around 5 minutes).
- User are required to update the switch firmware by using the Auto Update command listed above if an update is required.
- Newly installed firmware only takes effect only after the board is power cycled.