How to check CPLD and TI/TPS firmware version on MX304.
This is to check the firmware version only.
Please refer TSB70732 [juniper.net] to upgrade firmware procedure on dual RE of MX304
and refer TSB70807 [juniper.net] to upgrade firmware procedure on single RE of MX304.
**** Way to check CPLD firmware version:
If the FPGA version is not 0x108, then need to upgrade CPLD firmware.
Login to RE0 or RE1
Login to Linux
root@:~ # vhclient -s
Last login: Mon Apr 3 23:44:40 2023 from 192.168.1.2
root@local-node:~#
Check re_cpld version,
root@local-node:~# re_fpga -V
FPGA version : 0x107. <<<<< this needs to be upgraded, 0x108 is the fixed firmware version
Board Name : Unknown
**** Way to check TI/TPS firmware version:
If the register is not 0x36, then need to upgrade TI/TPS firmware:
Please note:MX304 shipped after 2023-05-08 do not need to apply this TI/TPS fix as the required firmware has been installed from the factory.
To check firmware on RE0:
Check if RE0 is master. If RE0 is not master, force RE0 to become master with the help of command:
> request chassis routing-engine master acquire
Login to RE0
Enter into VMhost
# vhclient -s
Stop the LCMD and SPMBPFE on RE
root@jtac-mx-bugatti-proto-r2002-re0-node:~# systemctl stop lcmd
root@jtac-mx-bugatti-proto-r2002-re0-node:~# systemctl stop spmbpfe
Execute below commands to read the TI/TPS firmware version:
root@jtac-mx-bugatti-proto-r2002-re0-node:~# fpga-app chassisd i2c 20 w 0 80 0x71 0 1 1
root@jtac-mx-bugatti-proto-r2002-re0-node:~# fpga-app chassisd i2c 20 r 0 80 0x60 0x9B 3
(sample output below which shows problematic/older TI/TPS firmware version)
Bugatti cb fpga ioctl func ..41
Data read from i2c: 0x2 0x56 0x32 << 0x56 0x32 is the problematic version
Data read from i2c: 0x2 0x56 0x36 << 0x56 0x36 is the latest firmware version (with fix)
To check firmware on RE1:
Check if RE1 is master. If RE1 is not master, force RE1 to become master with the help of command:
Login to RE1
root@jtac-mx-bugatti-proto-r2002-re0-node:~# fpga-app chassisd i2c 20 w 0 81 0x71 0 1 1
root@jtac-mx-bugatti-proto-r2002-re0-node:~# fpga-app chassisd i2c 20 r 0 81 0x60 0x9B 3