Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASR920 ROMMON upgrade support #8

Open
falz opened this issue May 22, 2020 · 0 comments
Open

ASR920 ROMMON upgrade support #8

falz opened this issue May 22, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@falz
Copy link

falz commented May 22, 2020

Splitting off from issue 7 is the ability to upgrade ROMMON, in this case for ASR920. Consider this a feature request.

ROMMON on asr920 is a separate package to install. Cisco's docs are poor, but imply that it should be upgraded, so it seems that it may fit with this project. If not, feel free to WONTFIX.

Checking ROMMON version
Confusingly, checking ROMMON version is available in at least three commands. It's "15.6(10r)S" in the output below:

r-asr920-lab#show rom-monitor r0
System Bootstrap, Version 15.6(10r)S, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2016 by cisco Systems, Inc.
r-asr920-lab#show rom-monitor rp active
System Bootstrap, Version 15.6(10r)S, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2016 by cisco Systems, Inc.
r-asr920-lab#show platform
Chassis type: ASR-920-4SZ-A
 
Slot      Type                State                 Insert time (ago)
--------- ------------------- --------------------- -----------------
 0/0      2xGE-4x10GE-FIXED   ok                    5d14h        
R0        ASR-920-4SZ-A       ok, active            5d14h        
F0                            ok, active            5d14h        
P0        ASR920-PSU0         ps, fail              never        
P1        ASR920-PSU1         ok                    never        
P2        ASR920-FAN          ok                    never        
 
Slot      CPLD Version        Firmware Version                       
--------- ------------------- ---------------------------------------
R0        19052043            15.6(10r)S
F0        19052043            15.6(10r)S

Upgrading ROMMON
Upgrade procedure is to place the new rommon file on disk, and then run an upgrade command.

copy http://<url>/asr920_15_6_32r_s_rommon.pkg bootflash:
upgrade rom-monitor filename bootflash:asr920_15_6_32r_s_rommon.pkg all

This command takes about a minute to run, then requests a reload. Note that we have done this AND an IOS upgrade in the same reload and it seems fine, so no separate reload for this seems to be required.

r-asr920-lab#upgrade rom-monitor filename bootflash:asr920_15_6_32r_s_rommon.pkg all
 
Upgrade rom-monitor on Route-Processor 0
 
Target copying rom-monitor image file
unlock rommon partition
Checking upgrade image...
1966080+0 records in
3840+0 records out
1966080 bytes (2.0 MB, 1.9 MiB) copied, 4.4175 s, 445 kB/s
Upgrade image MD5 signature is 40966c321c22ab1671ab5617c4ce3b79
Burning upgrade partition...
1966080+0 records in
1966080+0 records out
1966080 bytes (2.0 MB, 1.9 MiB) copied, 29.0814 s, 67.6 kB/s
Checking upgrade partition...
1966080+0 records in
1966080+0 records out
1966080 bytes (2.0 MB, 1.9 MiB) copied, 23.0408 s, 85.3 kB/s
Upgrade flash partition MD5 signature is 40966c321c22ab1671ab5617c4ce3b79
ROMMON upgrade complete.
To make the new ROMMON permanent, you must restart the RP.
 
r-asr920-lab#

For the sake of completeness or for any others reading this, the serial console will show this type of output while booting, which indicates success. This doesn't add much time to the already excruciatingly long boot time of this platform.

System Bootstrap, Version 15.6(10r)S, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2016 by cisco Systems, Inc.
Compiled Thu 24-Mar-16 15:38 by alnguyen
Boot ROM1
Last reset cause: RSP-Board
Rommon upgrade requested
Flash upgrade reset 1 in progress
.......
 
System Bootstrap, Version 15.6(32r)S, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2018 by cisco Systems, Inc.
Compiled Thu 30-Aug-18 06:23 by pallavik
*Upgrade in progress* Boot ROM0
Last reset cause: BootRomUpgrade
 
@austind austind added the enhancement New feature or request label May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants