I try to make 6900 boot from mini-boot but fail as I want to reset the user "admin" password to "swtich" again.
I want to access miniboot and remove the usertable file .
I find even I set bootflag to 0x1000 . The switch have not boot to mini0boot and continue to boot in normal ...Why ?? please advise ..
Code: Select all
U-Boot 2008.10 7.2.1.R02.266 (Jan 17 2012 - 01:46:47)
CPU0: 8572, Version: 2.1, (0x80e00021)
Core: E500, Version: 3.0, (0x80210030)
Clock Configuration:
CPU0:1200 MHz, CPU1:1200 MHz, CCB:400 MHz,
DDR:333.330 MHz (666.660 MT/s data rate) (Asynchronous),
LBC:50 MHz
L1: D-cache 32 kB enabled
I-cache 32 kB enabled
I2C1: 200 MHz, 200000 KHz
I2C2: 200 MHz, 200000 KHz
Board: OS6900-X20
I2C: Bus speed: 97656
ready
DRAM: Initializing....
No module at address addr 56
DDR: 2 GB
OS6900-X20 initializing devices
Expansion board 1 absent
Expansion board 2 absent
Fan tray Evacuating
PS1: Not inserted
PS2: Present: YM-2451CJR: Evacuating
EMP out of reset
Trident out of reset
FLASH: Bank 0, 30 MB, base address 0xF0000000
Bank 1, 2 MB, base address 0xFFE00000
Total size: 32 MB
L2: 1024 KB enabled
CPUs ready: CPU0 CPU1
Using default environment
eTSEC1 is in sgmii mode.
eTSEC2 is in sgmii mode.
eTSEC3 is in sgmii mode.
eTSEC4 is in sgmii mode.
PCIE3: Root Complex x2 lanes at (base address ff708000)
PCIE3 on bus 00 - 00
PCIE2: Root Complex x2 lanes at (base address ff709000)
PCIE2 on bus 01 - 01
PCIE1: Root Complex x4 lanes at (base address ff70a000)
Scanning PCI bus 03
03 00 14e4 b841 0200 00
PCIE1 on bus 02 - 03
Bus speed: 97656
In: serial
Out: serial
Err: serial
Net: eTSEC1: PHY is TBI <-> SerDes (ffff)
eTSEC2: PHY is TBI <-> SerDes (ffff)
eTSEC3: PHY is TBI <-> SerDes (ffff)
eTSEC4: PHY is Marvell 88E1111 (1410cc2)
eTSEC1, eTSEC2, eTSEC3, eTSEC4
IDE: Bus 0: OK
Device 0: Model: CF 2GB Firm: 20100924 Ser#: 2012A 0000000115
Type: Removable Hard Disk
Capacity: 2000.7 MB = 1.9 GB (4097520 x 512)
USB: scanning bus for devices... 1 USB Devices found
nvram baudrate is 9600
nvram netmask is 0.0.0.0
nvram ipaddr is 0.0.0.0
nvram gatewayip is 0.0.0.0
nvram current is certified
nvram next is certified
cf type is EXT2
Hit any key to stop autoboot: 0
To use the switch rescue procedure first make sure of the following:
- The Trescue.img file is located in the root directory of the
USB flash device
- The 6900 directory contains all the system files required to
revive the switch.
i.e. 6900/certified/<*.img boot.cfg>
on the USB flash device
- USB flash device is inserted into the CMM
Once the above requirements are met, issue the following command
at the prompt to start the rescue process:
=> run rescue
***** Using the rescue process WILL destroy all switch data *****
***** USE WITH EXTREME CAUTION *****
=> ls
Unknown command 'ls' - try 'help'
=> pwd
Unknown command 'pwd' - try 'help'
=>
=> pwd
Unknown command 'pwd' - try 'help'
=> help
? - alias for 'help'
allowRootAccess - Allow AOS access as root
as - assemble memory
autoscr - run script from memory
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
break - set or clear a breakpoint
Test board types
cmp - memory compare
coninfo - print console devices and information
continue- continue from a breakpoint
cp - memory copy
cpu - Multiprocessor CPU boot manipulation and release
crc32 - checksum calculation
diskboot- boot from IDE device
ds - disassemble memory
echo - echo args to console
erase - erase FLASH memory
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
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
flinfo - print FLASH memory information
gige_mii_read - read 98DX162 register over MII bus
gige_mii_read - read 98DX162 register over MII bus
gige_mii_write - write 98DX162 register over MII bus
go - start application at address 'addr'
help - print online help
i2c - I2C sub-system
i2c_8618_dump - dump PEX 8618 registers
i2c_8618_read - read PEX 8618 registers
i2c_8618_write - write to a PEX 8618 register
i2c_giga_config- setup default values in 98DX162
i2c_giga_eeprom_read - read 98DX162 eeprom
i2c_giga_eeprom_write - write 98DX162 eeprom
i2c_giga_read - read 98DX162 registers
i2c_giga_write - write 98DX162 registers
i2c_ps_read - read PMBUS code from power supply
i2c_smbus_read - read smbus device
i2c_smbus_write - write smbus device
icrc32 - checksum calculation
ide - IDE sub-system
iloop - infinite loop on address range
imd - i2c memory display
iminfo - print header information for application image
imls - list all images found in flash
imm - i2c memory modify (auto-incrementing)
imw - memory write (fill)
imxtract- extract a part of a multi-image
inm - memory modify (constant address)
interrupts - enable or disable interrupts
iprobe - probe to discover valid I2C chip addresses
irqinfo - print information about IRQs
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
next - single step execution, stepping over subroutines.
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
pci - list and access PCI Configuration Space
pci_rescan - re-enumerate PCI bus
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
rdump - Show registers.
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setAdminPasswordDefault - Reset AOS admin user password to default
set_tftp blksize - set tftp blksize
setenv - set environment variables
setexpr - set environment variable as the result of eval expression
showvar- print local hushshell variables
sleep - delay execution for some time
step - single step execution.
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
do_tsec_read - read specified TSEC bus at addr & reg
unreset_pcie - bring 8311 and 8618 out of reset
usb - USB sub-system
usbboot - boot from USB device
version - print monitor version
where - Print the running stack.
=> setenv bootflags 0x1000
=> saveenv
Saving Environment to Flash...
. done
Un-Protected 1 sectors
Erasing Flash...
. done
Erased 1 sectors
Writing to Flash... 9....8....7....6....5....4....3....2....1....done
. done
Protected 1 sectors
=> boot
þ
U-Boot 2008.10 7.2.1.R02.266 (Jan 17 2012 - 01:46:47)
CPU0: 8572, Version: 2.1, (0x80e00021)
Core: E500, Version: 3.0, (0x80210030)
Clock Configuration:
CPU0:1200 MHz, CPU1:1200 MHz, CCB:400 MHz,
DDR:333.330 MHz (666.660 MT/s data rate) (Asynchronous),
LBC:50 MHz
L1: D-cache 32 kB enabled
I-cache 32 kB enabled
I2C1: 200 MHz, 200000 KHz
I2C2: 200 MHz, 200000 KHz
Board: OS6900-X20
I2C: Bus speed: 97656
ready
DRAM: Initializing....
No module at address addr 56
DDR: 2 GB
OS6900-X20 initializing devices
Expansion board 1 absent
Expansion board 2 absent
Fan tray Evacuating
PS1: Not inserted
PS2: Present: YM-2451CJR: Evacuating
EMP out of reset
Trident out of reset
FLASH: Bank 0, 30 MB, base address 0xF0000000
Bank 1, 2 MB, base address 0xFFE00000
Total size: 32 MB
L2: 1024 KB enabled
CPUs ready: CPU0 CPU1
Using default environment
eTSEC1 is in sgmii mode.
eTSEC2 is in sgmii mode.
eTSEC3 is in sgmii mode.
eTSEC4 is in sgmii mode.
PCIE3: Root Complex x2 lanes at (base address ff708000)
PCIE3 on bus 00 - 00
PCIE2: Root Complex x2 lanes at (base address ff709000)
PCIE2 on bus 01 - 01
PCIE1: Root Complex x4 lanes at (base address ff70a000)
Scanning PCI bus 03
03 00 14e4 b841 0200 00
PCIE1 on bus 02 - 03
Bus speed: 97656
In: serial
Out: serial
Err: serial
Net: eTSEC1: PHY is TBI <-> SerDes (ffff)
eTSEC2: PHY is TBI <-> SerDes (ffff)
eTSEC3: PHY is TBI <-> SerDes (ffff)
eTSEC4: PHY is Marvell 88E1111 (1410cc2)
eTSEC1, eTSEC2, eTSEC3, eTSEC4
IDE: Bus 0: OK
Device 0: Model: CF 2GB Firm: 20100924 Ser#: 2012A 0000000115
Type: Removable Hard Disk
Capacity: 2000.7 MB = 1.9 GB (4097520 x 512)
USB: scanning bus for devices... 1 USB Devices found
nvram baudrate is 9600
nvram netmask is 0.0.0.0
nvram ipaddr is 0.0.0.0
nvram gatewayip is 0.0.0.0
nvram current is certified
nvram next is certified
cf type is EXT2
Hit any key to stop autoboot: 0
108372004 bytes read
WARNING: adjusting available memory to 30000000
## Booting kernel from FIT Image at 11000000 ...
Using 'config@1' configuration
Trying 'kernel@1' kernel subimage
Description: Rushmore CMM kernel
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x110000d4
Data Size: 108358595 Bytes = 103.3 MB
Architecture: PowerPC
OS: Linux
Load Address: 0x00000000
Entry Point: 0x00000000
Hash algo: crc32
Hash value: 5e06e6a0
Hash algo: sha1
Hash value: 5d4059cad2aa697b1705191d0ae9104ef175c7cb
Verifying Hash Integrity ... crc32+ sha1+ OK
## Flattened Device Tree from FIT Image at 11000000
Using 'config@1' configuration
Trying 'fdt@1' FDT blob subimage
Description: CMM Device Tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x17756dbc
Data Size: 12093 Bytes = 11.8 kB
Architecture: PowerPC
Hash algo: crc32
Hash value: 69202f33
Hash algo: sha1
Hash value: 8c561b885e886436059937592acadba37ba1be21
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x17756dbc
Uncompressing Kernel Image ... OK
Loading Device Tree to 0fffa000, end 0fffff3c ... OK
setup_arch: bootmem
arch: exit
[ 0.005368] Processor 1 found.
Starting 6900 Boot Process
FS is EXT2
Preparing Flash...
(none) login:
Sun Jun 29 11:44:21 : ChassisSupervisor Power Mgr info message:
+++ PS 2 is up
(none) login:
Sun Jun 29 11:44:22 : vcmCmm init info message:
+++ CMM:vcm_mip_eoic_cmm@500: Chassis mode is virtual-chassis (chassis 1) [L0]
Sun Jun 29 11:44:22 : ChassisSupervisor CS Main info message:
+++ Updating chassis ID to 1
Sun Jun 29 11:44:22 : ChassisSupervisor prbDB info message:
+++ PS 2,chassis_id 1 inserted
Alcatel-Lucent OS6900-X20 7.3.1.755.R01 Service Release, September 02, 2013.
Sun Jun 29 11:44:22 : ChassisSupervisor MipMgr info message:
+++ VRF:64501 created
Copyright(c), 1994-2012 Alcatel-Lucent. All Rights reserved.
JBYSW6901 login: