Factory rest

Abdallah
Member
Posts: 18
Joined: 03 Dec 2018 04:30

Factory rest

Post by Abdallah »

What is the CLI to make Factory rest to OS6465-p12?

Regards
Abdallah
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1896
Joined: 01 Jul 2008 10:51
Location: Germany

Re: Factory rest

Post by silvio »

delete the boot.cfg within the working and certified directory. Also you can delete all files direct within the flash-directory (f.e. boot.slot.cfg and swlog) and in the network folder (f.e. usertable.).
regards
Silvio
diagne21
Member
Posts: 2
Joined: 08 Aug 2020 11:08

Re: Factory rest

Post by diagne21 »

Hello,

I deleted the NOS.img file from my 6-port 6465 switch and I can't start it anymore thanks for your support

cordially
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1896
Joined: 01 Jul 2008 10:51
Location: Germany

Re: Factory rest

Post by silvio »

within the working and certified you should only delete the config-files = *.cfg (R6 switches: boot.cfg, R8-switches: vcsetup.cfg and vcboot.cfg). The Image-files (*.img) are necessary. But you can delete all other files within the switch.
regards
Silvio
diagne21
Member
Posts: 2
Joined: 08 Aug 2020 11:08

Re: Factory rest

Post by diagne21 »

Hello silvio,

I would like to know how to put the NOS.img file back.
Where I can download it.
Thank you

cordially
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1896
Joined: 01 Jul 2008 10:51
Location: Germany

Re: Factory rest

Post by silvio »

You need access to the business portal (for ALE partners only), or you ask the supplier of the switches (he should help you) or you can copy the file from an other OS6465 (via ftp, scp or USB).
BR Silvio
Fr_Luc
Member
Posts: 2
Joined: 15 Dec 2020 15:25

Re: Factory rest

Post by Fr_Luc »

Hello
I have the same problem.
I delete my Nos.img in the directory "working" and "certified" but i have a copy in a other directory "running".
I want to copy/move this file in the great directory.
But i can't do it with the Mini-boot Marvell.
I search the command.
Listen of the command help:
Marvell>> help

? - alias for 'help'

Creset - Creset - Run 'reset' or boot command in a loop, while counting.



SatR - Sample At Reset sub-system

active_units- print active units on board

allowRootAccess- allowRootAccess - Allow AOS access as root



base - print or set address offset

bdinfo - print Board Info structure

boot - boot default, i.e., run 'bootcmd'

bootd - boot default, i.e., run 'bootcmd'

bootelf - Boot from an ELF image in memory

bootm - boot application image from memory

bootp - boot image via network using BOOTP/TFTP protocol

bootvx - Boot vxWorks from an ELF image

bootz - boot Linux zImage image from memory

bubt - bubt - Burn an image on the Boot flash device.



chpart - change active partition

cmp - memory compare

coninfo - print console devices and information

cp - memory copy

cpss_env- set cpss environment variables permanently



crc32 - checksum calculation

ddrPhyRead- ddrPhyRead - Read DDR PHY register



ddrPhyWrite- ddrPhyWrite - Write DDR PHY register



dhcp - boot image via network using DHCP/TFTP protocol

diskboot- diskboot- boot from IDE device



dma - dma - Perform DMA using the XOR engine



echo - echo args to console

editenv - edit environment variable

eeprom - EEPROM sub-system

env - environment handling commands

exit - exit script

ext2load- load binary file from a Ext2 filesystem

ext2ls - list files in a directory (default /)

ext4load- load binary file from a Ext4 filesystem

ext4ls - list files in a directory (default /)

ext4write- create a file in the root directory

false - do nothing, unsuccessfully

fatinfo - print information about filesystem

fatload - load binary file from a dos filesystem

fatls - list files in a directory (default /)

fdt - flattened device tree utility commands

flash_part_print- flash_part_print - print spi/nand FLASH memory information



fpga_refresh- fpga_refresh - reload FPGA code



fsinfo - print information about filesystems

fsload - load binary file from a filesystem image

go - start application at address 'addr'

help - print command description/usage

i2c - I2C sub-system

ide - ide - IDE sub-system



iminfo - print header information for application image

imxtract- extract a part of a multi-image

ir - ir - reading and changing MV internal register values.



itest - return true/false on integer compare

loadb - load binary file over serial line (kermit mode)

loads - load S-Record file over serial line

loadx - load binary file over serial line (xmodem mode)

loady - load binary file over serial line (ymodem mode)

loop - infinite loop on address range

ls - list files in a directory (default /)

map - map - Display address decode windows



md - memory display

me - me - PCIe master enable



mm - memory modify (auto-incrementing address)

mmc - MMC sub system

mmcinfo - display MMC info

mp - mp - map PCIe BAR



mtdburn - Burn a Linux image and Filesystem` on the NAND/SPI flash.



mtdparts- define flash/nand partitions

mtest - simple RAM read/write test

mvsource- mvsource - Burn a script image on flash device.



mw - memory write (fill)

nand - NAND sub-system

nboot - boot from NAND device

nm - memory modify (constant address)

pci - list and access PCI Configuration Space

pciePhyRead- phyRead - Read PCI-E Phy register



pciePhyWrite- pciePhyWrite - Write PCI-E Phy register



phyRead - phyRead - Read Phy register



phyWrite- phyWrite - Write Phy register



ping - send ICMP ECHO_REQUEST to network host

printenv- print environment variables

pxe - commands to get and boot from pxe files

qsgmii_sel- Select SFP or QSGMII modes on bc2.



rcvr - rcvr - Start recovery process (with TFTP server)



reset - Perform RESET of the CPU

resetenv- resetenv - Erase environment sector to reset all variables to default.



run - run commands in an environment variable

saveenv - save environment variables to persistent storage

scsi - SCSI sub-system

scsiboot- boot from SCSI device

se - se - PCIe Slave enable



setAdminPasswordDefault- setAdminPasswordDefault - Reset AOS admin user password to default



setenv - set environment variables

sf - SPI flash sub-system

sg - sg - scanning the PHYs status



showvar - print local hushshell variables

sleep - delay execution for some time

smiscan - smiscan - Scan for marvell smi devices.



source - run script from memory

sp - scan and detect all devices on PCI-e interface

sspi - SPI utility command

switchRegRead- switchRegRead - Read switch register, using Address completion



switchRegWrite- switchRegWrite - Write to switch register, using Address completion



sysboot - command to get and boot from syslinux files

temp - temp - Display the device temperature.



tempCmd0- tempCmd - This command allocated for monitor extinction



tempCmd1- tempCmd - This command allocated for monitor extinction



tempCmd2- tempCmd - This command allocated for monitor extinction



tempCmd3- tempCmd - This command allocated for monitor extinction



test - minimal test like /bin/sh

tftpboot- boot image via network using TFTP protocol

training- training - prints the results of the DDR3 Training.



trainingStability- training - prints the results of the DDR3 Training.



true - do nothing, successfully

ts_report- ts_report - report touch screen coordinate



ts_test - ts_test - test touch screen



ubi - ubi commands

ubifsload- load file from an UBIFS filesystem

ubifsls - list files in a directory

ubifsmount- mount UBIFS volume

ubifsumount- unmount UBIFS volume

usb - USB sub-system

usbboot - boot from USB device

version - print monitor, compiler and linker version

whoAmI - - reading CPU ID
Or maybe they are another solution with a USB key ?
Fr_Luc
Member
Posts: 2
Joined: 15 Dec 2020 15:25

Re: Factory rest

Post by Fr_Luc »

Ok i find a solution.

We need to have an other switch 6465 and copy "certified" and "working" in a USB key.
You can get the Nrescue file in an other topic.

When your USB key is good. Put him in your switch.
Turn on, when you see "Marvell>>"
write "run rescue"
Yes for the first question and No after.

When you switch is rebooted
write"boot"
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1896
Joined: 01 Jul 2008 10:51
Location: Germany

Re: Factory rest

Post by silvio »

thanks for find the correct solution by yourself.
Meantime I have checked if there is another way to copy files within the boot menu. But I didn't find any possible command. So the disaster recovery (like written very often here in the forum) is the onliest way.
regards
Silvio
mmankollari
Member
Posts: 4
Joined: 14 Oct 2021 03:55

Re: Factory rest

Post by mmankollari »

Hello,
I wanted to ask if there is any link to download the Nrescue.img file for the OmniSwitch 6465.
My switch keeps rebooting and I can't find this file anywhere so I can reset it by using "run rescue" command.
Thank you in advance!
Post Reply

Return to “OmniSwitch 6465”