Knowledge Search


×
 

Boot loader and u-boot upgrade from JunOS shell may fail in some SRX650

  [KB16248] Show Article Properties


Summary:
Some SRX650 devices may have incorrect u-boot and boot loader address programmed. This will cause u-boot and loader upgrade from JunOS shell to fail.
U-boot and loader upgrade addresses will need to be corrected to successfully upgrade u-boot and boot loader in these SRX650s.
Symptoms:
U-boot and boot loader upgrade from JunOS shell may be fail in SRX650 with the following error message.

root@% bootupgrade -u /boot/uboot -l /boot/loader
Error: upgrade address wrong 0xbfe00000
0xbfc00000 0
Solution:
To successfully upgrade u-boot and boot loader in affected devices, upgrade addresses will need to be corrected. These addresses are different in different SRX platforms and this issue only affects some SRX650. No other platform is affected.

To correct u-boot upgrade address for SRX650 set nvram env "boot.upgrade.uboot" to the following value.

nvram setenv boot.upgrade.uboot 0xbf400000

To correct boot loader upgrade address for SRX650 set nvram env "boot.upgrade.loader" to the following value.

nvram setenv boot.upgrade.loader 0xbf600000

These values can be verified using the following commands:

root@% nvram getenv boot.upgrade.uboot
boot.upgrade.uboot=0xbf400000

root@% nvram getenv boot.upgrade.loader
boot.upgrade.loader=0xbf600000

SRX650 will need to be rebooted for the env variables to take affect. After reboot of the device u-boot and loader upgrade from JunOS shell using "bootupgrade" will be successful.

Note that if CRC error is seen when entering nvram commands, then also add below step. At shell prompt issue the following two commands and then try bootupgrade again.

kenv boot.upgrade.uboot=0xbf400000
kenv boot.upgrade.loader=0xbf600000

Related Links: