cancel
Showing results for 
Search instead for 
Did you mean: 

ICX 7150-C12 Updates cause broken sectors.

kc_luchsinger
New Contributor III
I'm trying to update an ICX7150-C12 with a newer firmware.  It's currently running 8.0.61a, and I am aware upgrading past this requires that you load both the firmware & the eUFI image, which I have done.  I can get the switch to update (on the Secondary Flash) and it seems to take the install as well as the reimage, but when you try to boot to secondary, it gives me a notice that it's "Skipping Bad Block", as seen below.  I've included my whole boot sequence here, as there's likely information in here about where my problem is occurring.  I'm upgrading via TFTP, and I have tried multiple different versions of firmware, with identical results.  I've also tried copying the primary flash back over to the secondary and starting from scratch to no avail.  Can anyone shed some light on this?

Booting image from Secondary

 

NAND read: device 0 offset 0x4000000, size 0x2000000

Skipping bad block 0x05a00000

Skipping bad block 0x05b00000

 33554432 bytes read: OK

## Loading kernel from FIT Image at 70000200 ...

   Using 'conf@1' configuration

   Trying 'kernel@2' kernel subimage

     Description:  Ruckus Linux MN VER=08.0.90e

     Type:         Kernel Image

     Compression:  lzma compressed

     Data Start:   0x7024fa00

     Data Size:    2401142 Bytes = 2.3 MiB

     Architecture: ARM

     OS:           Linux

     Load Address: 0x61008000

     Entry Point:  0x61008000

     Hash algo:    crc32

     Hash value:   8399a11a

## Loading kernel from FIT Image at 70000200 ...

   Using 'conf@1' configuration

   Trying 'kernel@2' kernel subimage

     Description:  Ruckus Linux MN VER=08.0.90e

     Type:         Kernel Image

     Compression:  lzma compressed

     Data Start:   0x7024fa00

     Data Size:    2401142 Bytes = 2.3 MiB

     Architecture: ARM

     OS:           Linux

     Load Address: 0x61008000

     Entry Point:  0x61008000

     Hash algo:    crc32

     Hash value:   8399a11a

   Verifying Hash Integrity ... crc32+ OK

## Loading ramdisk from FIT Image at 70000200 ...

   Using 'conf@1' configuration

   Trying 'ramdisk@1' ramdisk subimage

     Description:  Ramdisk -rootfs

     Type:         RAMDisk Image

     Compression:  lzma compressed

     Data Start:   0x704a072c

     Data Size:    23816895 Bytes = 22.7 MiB

     Architecture: ARM

     OS:           Linux

     Load Address: 0x00000000

     Entry Point:  0x00000000

     Hash algo:    crc32

     Hash value:   e786d75c

   Verifying Hash Integrity ... crc32+ OK

## Loading fdt from FIT Image at 70000200 ...

   Using 'conf@1' configuration

   Trying 'fdt@3' fdt subimage

     Description:  Flattened Device Tree blob

     Type:         Flat Device Tree

     Compression:  uncompressed

     Data Start:   0x7049e4d4

     Data Size:    8607 Bytes = 8.4 KiB

     Architecture: ARM

     Hash algo:    crc32

     Hash value:   6fc9a37b

   Verifying Hash Integrity ... crc32+ OK

   Loading fdt from 0x7049e4d4 to 0x65008000

   Booting using the fdt blob at 0x65008000

   Uncompressing Kernel Image ... OK

   Using Device Tree in place at 65008000, end 6500d19e

 

Starting kernel ...

 

Mounting file system...

booting with 4.4 kernel

NAND Type: Micron NAND 2GiB (x 1)

PLATFORM MN

dd cmd: UBI

Config partition mounted

Resource partition is mounted!!

Please download UFI image to install packages

/etc/process_packages.sh: line 148: can't create /.pkg/error.log: nonexistent directory

Package installation is incomplete, related functionalities may not be available

dhcpd executable file is not present.

Starting up system statistics daemon...

Starting systatsd done

Starting up health monitor daemon...

Log Level 7: Daemonized systatsd

Systatsd Logging Env is not set, initializing loglevel to: 7

Setting connection to systemlogger

Starting hmond done

Hmond Logging Env is not set, initializing loglelvel to: I

Setting connection to systemlogger

Backup is fine

Kernel crashdump is disabled.

dma_mem_base: 0x96000000, dma_mem_len: 0x8000000, warm_mem_base: 0x9f500000, warm_mem_len: 0xb00000

Creating TUN device

Starting TPM Infra

Group tss and User tss created

kernel.hostname = localhost

hostname set to localhost

Starting TCSD Daemon

TCSD Up and Running

Enabling time stamp.

Starting the FastIron.

USER=root

HOME=/

GCOV_PREFIX=/fast_iron

ethaddr=60:9c:9f:e6:2d:f9?

TERM=vt102

PATH=/sbin:/usr/sbin:/bin:/usr/bin

crashkernel=64M@0x70000000

ip=172.21.28.103:172.21.7.249::255.255.0.0:MN:eth0:off

SHELL=/bin/sh

PWD=/

i2c-0   i2c             Broadcom iProc I2C adapter              I2C adapter    2

i2c-1   i2c             Broadcom iProc I2C adapter              I2C adapter    2

FIPS Disabled:PORT NOT DISABLED

platform type 90

OS>

Loaded Image SPS08090e from Sec Built on (UTC): Tue Nov 19 12:27:26 2019

Enabling Console Logging

 

Installed  CPLD Version  0x4:0x7

Recommended CPLD Version 0x4:0xa

Upgrading CPLD to 0x4:0xa

 

CPLD is upgraded Successfully !!!

!!WARNING: System is going to Power Cycle to load new CPLD !!

 

 CPLD is upgraded Successfully !!!sil_ramfs_creat: Failed to create file /var/log/pdc/pdc_errorlog.txt

 

Could not create ramfs file!

pdc_errorlog

Could not open ramfs file!

fitrace_tmp.errorlogUpgrade from pre 8.0.80 image. Dual mode to VLAN config upgrade needed

Hotplugger Daemon Initialized ..

External USB disk is not mounted or plugged in.

Stopping health monitor daemon...

Stopped health monitor daemon

Sent SIGTERM to all processese = 116Stopping system statist

Sent SIGKILL to all processes

Requesting system reboot

[   73.820342] reboot: Restarting system

[   73.864242] Asserting GHPIO[7] reset sequence from Kernel ...

3 REPLIES 3

steven_johnson_
New Contributor II
I know that when I upgraded my firmware I had to upgrade to 8.0.80e (non-UFI) first. It appears that you tried to upgrade to 8.0.90eUFI (correct me if I am wrong).

Try downloading 8.0.80e and load the non-UFI image first. Then you should be able to upgrade to a UFI image after that.

Here are the files I upgraded using:
Boot image: 08080e\ICX7150\Boot\mnz10114.bin
Firmware image: 08080e\ICX7150\Images\SPR08080e.bin

Commands to load from a USB flash drive (your file paths could be different):
copy disk0 flash 08080e/ICX7150/Images/SPR08080e.bin primary
copy disk0 flash 08080e/ICX7150/Boot/mnz10114.bin bootrom

kc_luchsinger
New Contributor III
Just tried to load 8.0.80e with identical results.  

kc_luchsinger
New Contributor III
I lied!  That seemed to do it, I just forgot to load the boot image!  Thanks!