icx7250 firmware recovery failed
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2020 05:03 PM
Last night try to recovery my icx7250 but failed , so help need.
the problem are
1 when use update_primary and boot primary ,uboot can't find primary and sencondary flash(no current device selected) ,output as following.
2 when use tftpboot, uboot said Wrong Image Format for tftpboot command
could anyone help me recovery this switch ?
ICX7250-Boot> printenv
baudrate=9600
ipaddr=172.21.6.124
serverip=172.21.7.253
netmask=255.255.0.0
ver=10.1.01T215 (Oct 30 2014 - 17:38:34)
Environment size: 149/16380 bytes
ICX7250-Boot>
ICX7250-Boot> show_image
===========================
Primary : no current device selected
EMPTY
Secondary: no current device selected
EMPTY
===========================
try boot from tftpboot also failed
the problem are
1 when use update_primary and boot primary ,uboot can't find primary and sencondary flash(no current device selected) ,output as following.
2 when use tftpboot, uboot said Wrong Image Format for tftpboot command
could anyone help me recovery this switch ?
ICX7250-Boot> printenv
baudrate=9600
ipaddr=172.21.6.124
serverip=172.21.7.253
netmask=255.255.0.0
ver=10.1.01T215 (Oct 30 2014 - 17:38:34)
Environment size: 149/16380 bytes
ICX7250-Boot>
ICX7250-Boot> show_image
===========================
Primary : no current device selected
EMPTY
Secondary: no current device selected
EMPTY
===========================
ICX7250-Boot>setenv netmask 255.255.255.0
ICX7250-Boot> setenv serverip 192.168.1.12
ICX7250-Boot> setenv image_name SPR08080e.bin
ICX7250-Boot> saveenv
ICX7250-Boot> update_primary
Updating PRIMARY image over TFTP
Using bcmiproc_eth-0 device
TFTP from server 192.168.1.12; our IP address is 192.168.1.49
Filename 'SPR08080e.bin'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################
done
Bytes transferred = 29826604 (1c71e2c hex)
no current device selected
TFTP to Flash Done.ICX7250-Boot> boot_primary
Error: The header crc ffffffff and the calculated crc 4007851a mismatch
Fatal: Firmware integrity checksum failed
Booting image from Primary
no current device selected
Wrong Image Format for bootm command
ERROR: can't get kernel image!try boot from tftpboot also failed
ICX7250-Boot> tftpboot Using bcmiproc_eth-0 device TFTP from server 192.168.1.12; our IP address is 192.168.1.49 Filename 'SPR08080e.bin'. Load address: 0x61007dc0
donedone Bytes transferred = 29826604 (1c71e2c hex) Wrong Image Format for tftpboot command ERROR: can't get kernel image!
Loading: ################################################################# ################################################################# ################################################################# ################################################################# #################
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2020 06:30 PM
The problem appears to most likely be your bootrom is
ver=10.1.01T215 (Oct 30 2014 - 17:38:34)
I would find a much older version probably something like SPF08060x.bin and see if you can unbrick it with that.
When you do your upgrade, always upgrade only one (1) of the flash slots at once, and ensure to upgrade the bootrom at the same time.
With newer builds it is automated via UFI install packages and before that there was manifest files.
***
I did not go through the steps of trying to actually recover a 7xxx to test it because I am working from home now and do not have one with me, but it appears that your TFTP transfer was likely successful.
I am not sure what TFTP tool you use, but my personal preference is Ttftp64 by Ph. Jounin for things like this. It ALWAYS works for sending images, recoveries, uploading/downloading startup-configs, booting via TFTP over the network etc. It has NEVER let me down in any of those use-cases.
That said, I do not think the TFTP transfer was likely the issue.
ver=10.1.01T215 (Oct 30 2014 - 17:38:34)
I would find a much older version probably something like SPF08060x.bin and see if you can unbrick it with that.
When you do your upgrade, always upgrade only one (1) of the flash slots at once, and ensure to upgrade the bootrom at the same time.
With newer builds it is automated via UFI install packages and before that there was manifest files.
***
I did not go through the steps of trying to actually recover a 7xxx to test it because I am working from home now and do not have one with me, but it appears that your TFTP transfer was likely successful.
I am not sure what TFTP tool you use, but my personal preference is Ttftp64 by Ph. Jounin for things like this. It ALWAYS works for sending images, recoveries, uploading/downloading startup-configs, booting via TFTP over the network etc. It has NEVER let me down in any of those use-cases.
That said, I do not think the TFTP transfer was likely the issue.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2020 08:43 AM
thanks a lot , download 8.0.60 and 8.0.40 , update_primary still show no current device selected.
8.0.60 can't boot from tftpboot , 8.0.40 make progress but still fail ,what your advice ?
ICX7250-Boot> setenv image_name SPR08040.bin
ICX7250-Boot> tftpboot
Using bcmiproc_eth-0 device
TFTP from server 192.168.2.12; our IP address is 192.168.2.11
Filename 'SPR08040.bin'.
Load address: 0x61007dc0
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
####################
done
Bytes transferred = 24136349 (1704a9d hex)
## Booting kernel from Legacy Image at 61007fc0 ...
Image Name: Image
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 24135773 Bytes = Load Address: 61008000
Entry Point: 61008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP: uncompress, out-of-mem or overwrite error - must RESET board to recover
resetting ...
8.0.60 can't boot from tftpboot , 8.0.40 make progress but still fail ,what your advice ?
ICX7250-Boot> setenv image_name SPR08040.bin
ICX7250-Boot> tftpboot
Using bcmiproc_eth-0 device
TFTP from server 192.168.2.12; our IP address is 192.168.2.11
Filename 'SPR08040.bin'.
Load address: 0x61007dc0
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
####################
done
Bytes transferred = 24136349 (1704a9d hex)
## Booting kernel from Legacy Image at 61007fc0 ...
Image Name: Image
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 24135773 Bytes = Load Address: 61008000
Entry Point: 61008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP: uncompress, out-of-mem or overwrite error - must RESET board to recover
resetting ...
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2020 08:53 AM
dear NETWizz , for the "GUNZIP: uncompress, out-of-mem or overwrite error - must RESET board to recover resetting ... error " do I need try 8.0.30 or you have better advices?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2020 08:57 AM
I am honestly not sure. Presumably whatever version comes with the boot rom 10.1.01 packaged with it. Probably the original code on the device before you upgraded the unit.
Also, what TFTP server are you running?
Also, what TFTP server are you running?

