How to restore the system (TL-ER6120) when the wrong firmware is updated?
ER6120(G) V2 FW1 updated the wrong firmware with ER6120(UN) V2 FW2.
And now the WAN port is not functioning.
I can login web page but cannot update any firmware again.
I can see console interface but cannot login(password incorrect ).
I can add a user through web page but still cannot login console.
HOW CAN I DO NOW?
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Hardware Version:
TL-ER6120G v2.0
Firmware Version:
2.0.4 Build 20200313 Rel.56019
Octeon evb7000_sff(ram)# reset
Enable the external watchdog to reboot!
Reset Flash0/Flash1
SPI stage 1 bootloader
SPI ID: ef:40:19:00:00
header found at offset 0x10000
Image 1.2: address: 0xffffffffc0000000, header length: 192, data length: 349328
Validating data...
Starting stage 1.5 bootloader at 0xffffffff81000000
early_board_init: Board type: EVB7000_SFF
U-Boot 2013.07 (Development build, svnversion: u-boot:3104:3289, exec:)-svn3055 (Build time: Jul 10 2018 - 15:58:23)
Rank(0) Rlevel Rank 0x1, 0x0045145145145145 : 5 5 5 5 5 5 5 5 5 (40)
Warning: Board descriptor tuple not found in eeprom, using defaults
EVB7000_SFF board revision major:1, minor:0, serial #: unknown
OCTEON CN7010-AAP pass 1.2, Core clock: 800 MHz, IO clock: 500 MHz, DDR clock: 667 MHz (1334 Mhz DDR)
Base DRAM address used by u-boot: 0x2fc00000, size: 0x400000
DRAM: 512 MiB
Disable watchdog! GPIO[8]=1
Clearing DRAM...... done
Using default environment
Hit any key to stop autoboot: 0
SF: Detected W25Q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
SF: Warning - Only lower 16MiB accessible, Full access #define CONFIG_SPI_FLASH_BAR
Found valid SPI bootloader at offset: 0x81000, size: 1276672 bytes
ERROR! CONFIG_SYS_FLASH_BASE address 0x1dc00000 does not match device tree range address 0x1f400000 for cs 0!
early_board_init():322 ...
U-Boot 2013.07 (Development build, svnversion: u-boot:3104:3289, exec:)-svn3055 (Build time: Jul 10 2018 - 16:08:00)
Using DRAM size from environment: 512 MBytes
DLM0:SGMII ports selected
CVMX_GSERX_DLMX_TX_AMPLITUDE ER7520G 000000000000417f (SDK 0000000000004141)
CVMX_GSERX_DLMX_TX_RESET ER7520G 0000000000000101
CVMX_GSERX_DLMX_TX_RESET ER7520G 0000000000000100
EVB7000_SFF board revision major:1, minor:0, serial #: unknown
OCTEON CN7010-AAP pass 1.2, Core clock: 800 MHz, IO clock: 500 MHz, DDR clock: 667 MHz (1334 Mhz DDR)
Base DRAM address used by u-boot: 0x2f000000, size: 0x1000000
DRAM: 512 MiB
Disable watchdog! GPIO[8]=1
Clearing DRAM...... done
SF: Detected W25Q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
Flash boot bus region not enabled, skipping NOR flash config
PCIe: Port 0 not in PCIe mode, skipping
PCIe: Port 1 not in PCIe mode, skipping
PCIe: Port 2 not in PCIe mode, skipping
PCI console init succeeded, 1 consoles, 1024 bytes each
Net: RTL8367S : SMI interface mdio-octeon0 *MUST* put bus into clause 22 mode *without* preamble.
octeon_eth_initialize called
octeon_eth_initialize: Calling cvmx_user_static_config()
octeon_eth_initialize: calling __cvmx_helper_init_port_valid()
Num interfaces: 5
Interface 0 is SGMII, ports: 1
pknd: 0
Setting up port: 0, int: 0, index: 0, device: octeth0
interface: 0, index: 0, phy mode: SGMII (sgmii)
Connecting MII phy bus: mdio-octeon0 (0), mode: sgmii, address: 29 to octeth0
octeon_eth_get_phy_info: Looking for ethernet@0
Generic 802.3 C22 phy reported for interface 0, index 0, port 0
Interface 4 is AGL, ports: 1
pknd: 24
Setting up port: 24, int: 4, index: 0, device: octeth1
interface: 4, index: 0, phy mode: AGL (rgmii)
octeon_setup_phy: No phy info for ipd port 24
octeth0octeon_eth_write_hwaddr: Interface not enabled, not setting MAC address
, octrgmii0octeon_eth_write_hwaddr: Interface not enabled, not setting MAC address
Type the command 'usb start' to scan for USB storage devices.
RTL8367S ###################################################
RTL8367S ###################################################
RTL8367S ###################################################
rtk_switch_init() BEGIN...
Switch probe : the chip is 0
rtk_port_macForceLinkExt_set(EXT_PORT0, MODE_EXT_SGMII, &mac_ability) , ret = 0
rtl8367c_setAsicReg(0x6601, 0x2) ret = 0
rtl8367c_setAsicReg(0x6602, 0x7180) ret = 0
rtl8367c_setAsicReg(0x6600, 0xc0) ret = 0
rtk_port_macForceLinkExt_set(EXT_PORT1, MODE_EXT_RGMII, &mac_ability) , ret = 0
rtk_port_phyEnableAll_set(DISABLED) ret = 0
## PHY_REG Read - PHY 0 CONTROL_REG 0x00001940 STATUS_REG 0x000079c9
## PHY_REG Read - PHY 1 CONTROL_REG 0x00001940 STATUS_REG 0x000079c9
## PHY_REG Read - PHY 2 CONTROL_REG 0x00001940 STATUS_REG 0x000079c9
## PHY_REG Read - PHY 3 CONTROL_REG 0x00001940 STATUS_REG 0x000079c9
## PHY_REG Read - PHY 4 CONTROL_REG 0x00001940 STATUS_REG 0x000079c9
#############led settings######################
#############led settings######################
rtk_switch_init() DONE.
RTL8367S ###################################################
RTL8367S ###################################################
RTL8367S ###################################################
Build Jul 10 2018 16:10:37
Hit any key to stop autoboot: 0
Octeon evb7000_sff(ram)#
Octeon evb7000_sff(ram)#
Octeon evb7000_sff(ram)# upgrade
Unknown command 'upgrade' - try 'help'
Octeon evb7000_sff(ram)# ?
? - alias for 'help'
askenv - get environment variables from stdin
base - print or set address offset
base64 - print or set address offset
bdinfo - print Board Info structure
bootelf - Boot from an ELF image in memory
bootloaderupdate- Update the bootloader in flash
bootloadervalidate- Validate the bootloader image
bootm - boot application image from memory
bootoct - Boot from an Octeon Executive ELF image in memory
bootoctelf - Boot a generic ELF image in memory. NOTE: This command does not
support simple executive applications, use bootoct for those.
bootoctlinux- Boot from a linux ELF image in memory
bootp - boot image via network using BOOTP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
bunzip - uncompress a bzip2 compressed memory region
cdp - Perform CDP network configuration
chpart - change active partition
cmp - memory compare
cmp64 - memory compare
coninfo - print console devices and information
cp - memory copy
cp64 - memory copy
crc32 - checksum calculation
ctrlc - disable ctrl+c commands
date - get/set/reset date & time
dhcp - boot image via network using DHCP/TFTP protocol
dns - lookup the IP of a hostname
dram - dramtest commands
echo - echo args to console
editenv - edit environment variable
eeprom - EEPROM sub-system
env - environment handling commands
erase - erase FLASH memory
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 /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatwrite - write file into a dos filesystem
fdt - flattened device tree utility commands
flinfo - print FLASH memory information
flush_dcache- Flushes and invalidates the data cache
flush_l2c - Flushes the L2 cache
freeprint - Print list of free bootmem blocks
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
gpio - input/set/clear/toggle gpio pins
grepenv - search environment variables
help - print command description/usage
i2c - I2C sub-system
imxtract - extract a part of a multi-image
inv_icache - Invalidates the instruction cache
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
loop64 - infinite loop on address range
ls - list files in a directory (default /)
md - memory display
md5sum - compute MD5 message digest
md64 - memory display
mdio - MDIO utility commands
meminfo - display memory information
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mm64 - memory modify (auto-incrementing address)
mtdparts - define flash/nand partitions
mtest - simple RAM read/write test
mtest_bit - simple RAM read/write test(only set a bit[0-31])
mtest_quick - simple RAM read/write test(pattern, ~pattern)
mw - memory write (fill)
mw64 - memory write (fill)
namedalloc - Allocate a named bootmem block
namedfree - Free a named bootmem block
namedprint - Print list of named bootmem blocks
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
nm64 - memory modify (constant address)
nmi - Generate a non-maskable interrupt
octbootbus - print boot bus parameters
octreginfo - print register information
octwd - Starts the OCTEON watchdog
pci - list and access PCI Configuration Space
ping - send ICMP ECHO_REQUEST to network host
printenv - print environment variables
protect - enable or disable FLASH write protection
qlm - Octeon QLM debug function (dangerous - remove from final product)
read64 - read 64 bit word from 64 bit address (deprecated)
read64b - read 8 bit word from 64 bit address (deprecated)
read64l - read 32 bit word from 64 bit address (deprecated)
read64s - read 16 bit word from 64 bit address (deprecated)
reset - Perform RESET of the CPU
rtk_asic_reg- RTK asic register commands
rtk_phy_reg - RTK phy register commands
rtk_port_stat- RTK Port MIB counter commands
rtk_smi_debug- RTK SMI debug
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
saves - save S-Record file over serial line
setenv - set environment variables
setexpr - set environment variable as the result of eval expression
sf - SPI flash sub-system
sha1sum - compute SHA1 message digest
sleep - delay execution for some time
source - run script from memory
sspi - SPI utility command
strings - display strings
tftp - alias for tftpboot command (deprecated)
tftpboot - boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
tftpsrv - act as a TFTP server and boot the first received file
time - run commands and summarize execution time
tlv_eeprom - EEPROM data parsing
unlzma - uncompress a lzma compressed memory region
unzip - unzip a memory region
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
write64 - write 64 bit word to 64 bit address (deprecated)
write64b - write 8 bit word to 64 bit address (deprecated)
write64l - write 32 bit word to 64 bit address (deprecated)
write64s - write 16 bit word to 64 bit address (deprecated)
Octeon evb7000_sff(ram)#
- Copy Link
- Report Inappropriate Content
It seems to be the fault of the size of the firmware memory.
And the switch chip is also different and disabled.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 1190
Replies: 2
Voters 0
No one has voted for it yet.