This KB describes how to upgrade the RE CPLD firmware in MX304 device.
An MX304 may become unresponsive - aka RE freeze. The freeze requires two upgrades:
1. Point A) RE Boot CPLD - This upgrade improves the resiliency when there is a single voltage rail failure on the RE.
2. Point B) TI Power Controller Programming update - resolves the cause of the RE becoming unresponsive, described in KB75545 [juniper.net] (https://supportportal.juniper.net/s/article/MX304-single-Routing-Engine-CPU-Voltage-Controller-Firmware-Upgrade-Procedure)
A) Updating RE CPLD on RE0 and RE1
The RE CPLD upgrade is being done on the self-RE. i.e. when the commands (re_fpga -t bugatti_recpld_p_v0108.jed) is executed in RE0, it writes to the RE0’s CPLD flash memory. Similarly, when executed on RE1, it is updated on the RE1’s CPLD flash memory.
A1) Login to RE0
A-2) Login to Linux
root@:~ # vhclient -s
Last login: Mon Apr 3 23:44:40 2023 from 192.168.1.2
root@local-node:~#
A-3) Check re_cpld version,
root@local-node:~# re_fpga -V
FPGA version : 0x107
Board Name : Unknown
A-4) If it is 0x107, update the RE cpld by copying the image to Linux and updating it.
it it is 0x108, you do not need to proceed this update process
root@local-node:~# scp [email protected]:/var/tmp/bugatti_recpld_p_v0108.jed .
bugatti_recpld_p_v0108.jed 100% 1428KB 108.2MB/s 00:00
root@local-node:~# re_fpga -t bugatti_recpld_p_v0108.jed
Programming Config Flash.......................
Number of pages written 4500
A power cycle to the RE0 is needed for this update to take effect, which will be done part of updating the TI firmware later on point B via KB75545 [juniper.net] for Single RE systems or via KB75656 [juniper.net] for Dual RE systems.