Hello,
After a power drop, noticed connections loses from WIFI. This was attributed to ruckus and tried to follow the instructions here.https://community.ruckuswireless.com/t5/RUCKUS-Support-for-Lennar-Homes/How-to-solve-the-routing-code-issue-in-your-ICX7150-Switch/m-p/47335#M1800
On running the command `“boot system flash primary yes”, primary partition never switched as it couldn't find the kernel image. Here are the logs I see when running the command -
NAND read: device 0 offset 0x0, size 0x2000000
5 ecc_errors after reading 18b8000:18b9800
iproc_nand_read_page returned 2
NAND read from offset 0 failed -22
0 bytes read: ERROR
## Loading kernel from FIT Image at 70000200 ...
Bad FIT kernel image format!
ERROR: can't get kernel image!
could not boot from primary, no valid image; trying to boot from secondary
device 0 offset 0x0, size 0xc0000
BOOTING image from Secondary
On running the `show version`, it is still on "Secondary SPR08080d".

how do I go about fixing the "primary" image and make a fix that doesn't need such fixes in future?