Forum Discussion

JosephI's avatar
JosephI
Tutor
Mar 12, 2024
Solved

Recover from uboot interface on M4300-52G GSM4352S

When setting up a set of stacked network switches, one switch hung and did not reboot correctly.  Upon inspection of the console port the switch seems to be sitting at a uboot interface as shown:   ...
  • JosephI's avatar
    Mar 12, 2024

    I will add that after pushing enter at the final state above I get this prompt:

    Operational code Startup Rev: 8.2

    Operational code Startup -- Utility Menu

    1 - Start Operational code Application
    2 - Load Code Update Package
    3 - Load Configuration
    4 - Select Serial Speed
    5 - Retrieve Error Log
    6 - Erase Current Configuration
    8 - Select Boot Method
    9 - Activate Backup Image
    10 - Start Diagnostic Application
    11 - Reboot
    12 - Erase All Configuration Files
    13 - Start Password Recovery

    Q - Quit from Operational code Startup

    Select any of above (options or Q):

     

    Rebooting at this stage will put me back into the uboot setup...

     

    However if I first do a (2) and type in the same TFTP server info it seems to do a "Code Update"

    Code update instructions found!

    Critical components modified -- system reboot recommended!

    Reboot? (Y/N): y

     

    Rebooting...

    syncing filesystems....This may take a few moments
    Rebooting system!
    The system is going down NOW!
    Sent SIGTERM to all processes
    Sent SIGKILL to

    U-Boot 2012.10-00258-g1c5018dfe9 (Jul 26 2019 - 11:17:57)VerNo=1.0.0.15

     

    + + Uncompressing Kernel Image ... Checking for application
    Extracting application from .stk file...done.
    Loading Operational code...U-boot upgrade required. Initiating BootCode Update on image1....Extracting components. Please wait...
    Integrity-checking components. Please wait...
    Erasing /dev/mtd0...
    Flashing /dev/mtd0...
    Done.
    done
    Rebooting the system now

    syncing filesystems....This may take a few moments
    Rebooting system!
    The system is going down NOW!
    Sent SIGTERM to all processes
    Sent SIGKILL to

    U-Boot 2012.10-00261-g7910a15be9 (May 13 2022 - 15:39:37)VerNo=1.0.0.17

     

    + + Uncompressing Kernel Image ... Checking for application
    Extracting application from .stk file...done.
    Loading Operational code...done.
    Extracting Original AVUI package...
    Extracting discAgent package...
    Extracting restAgent package.Uncompressing apps.lzma

    Validating the backup image:image2 failed. stkRC: 2
    DMA pool size: 16777216
    hpc - No stack ports. Starting in stand-alone mode.

    started!

    (Unit 1)>

     

     

    So I think I may have solved my own issue.  I will leave this here as hopefully help to others.

     

    Thanks.

NETGEAR Academy

ProSupport for Business