取消
显示结果 
搜索替代 
您的意思是: 
cancel
12463
查看次数
0
有帮助
11
回复

思科的1852 AP 固件丢失,停在uboot,请问如何把固件重新写入?

cloudq
Level 1
Level 1

U-Boot 2012.07 (btldr release 21) (Aug 19 2015 - 10:57:19)
This product contains some software licensed under the
"GNU General Public License, version 2" provided with
ABSOLUTELY NO WARRANTY under the terms of
"GNU General Public License, version 2", available here:
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
DRAM: 1 GiB
NAND (ONFI): Detected SPANSION S34MS02G1 [256 MiB]
SF: Detected Macronix MX25U3235F [4 MiB]
MFG data loaded
Scanning shenv data blocks
Total valid parts=4
Active shenv part[1:0], write_counter=7
PCI0 Link Intialized
PCI1 Link Intialized
Net:
PHY ID = 0x4dd074, eth0 found AR8033 PHY
PHY ID = 0x4dd074, eth1 found AR8033 PHY
Valid I2C chip addresses: 51 52
GPIO 7: Pull High detected...
Power Type: 802.3at POE detected...
Image start 0x45000000 size 0x00138000
Key start 0x45138000 size 0x00000230
Sinature start 0x45138230 size 0x00000180
Signature returns 0
BL signing verification success, continue to run...
Auto boot mode, use bootipq directly
Hit ESC key to stop autoboot: 0
(RNAQ-C7) # ?
? - alias for 'help'
base - print or set address offset
bootipq - bootipq from flash device
chpart - change active partition
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
echo - echo args to console
env - environment handling commands
ethreg - ethreg - Switch/PHY Reg rd/wr utility
exit - exit script
false - do nothing, unsuccessfully
go - start application at address 'addr'
help - print command description/usage
i2c - I2C sub-system
iminfo - print header information for application image
imxtract- extract a part of a multi-image
ipq_nand- Switch between SBL and Linux kernel page layout.
loadb - load binary file over serial line (kermit mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing address)
mtdparts- define flash/nand partitions
mtest - simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
nm - memory modify (constant address)
pci - list and access PCI Configuration Space
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
printmfgenv- Print manufacture information data
printshenv- printshenv- print shared environment variables
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
saveshenv- saveshenv - save shared environment variables to persistent storage
setenv - set environment variables
setshenv- setshenv - set shared environment variables
sf - SPI flash sub-system
showvar - print local hushshell variables
smeminfo- print SMEM FLASH information
source - run script from memory
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
true - do nothing, successfully
ubi - ubi commands
usb - USB sub-system
verify_bl- Cisco Bootloader signature verify
verify_lx- Cisco Image signature verify
version - print monitor, compiler and linker version
(RNAQ-C7) # tftpboot AIR-AP1850-K9-8-5-135-0.tar
Full duplex link
Port:2 speed 1000Mbps
Using eth0 device
TFTP from server 192.168.1.7; our IP address is 192.168.1.1
Filename 'AIR-AP1850-K9-8-5-135-0.tar'.
Load address: 0x44000000
Loading: #################################################################
...
#################################################################
#################################################
done
Bytes transferred = 45557760 (2b72800 hex)
(RNAQ-C7) #

11 条回复11

xilang2000
Level 1
Level 1
可以尝试格式化flash,重新下载固件刷入。
固件更改成默认的名称。我的1702是格式化固件刷成功的

cloudq
Level 1
Level 1
xilang2000 发表于 2019-1-11 08:41
可以尝试格式化flash,重新下载固件刷入。
固件更改成默认的名称。我的1702是格式化固件刷成功的

你说这些必须系统能启动完毕,我这直接进入uboot了

18653465190
Spotlight
Spotlight
我是来跟着学习的。

Rockyw
Spotlight
Spotlight
楼主可以参考一下下面的文档
Solved: COS AP upgrade image in u-boot mode
https://community.cisco.com/t5/wireless-and-mobility/cos-ap-upgrade-image-in-u-boot-mode/td-p/3702611
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rockyw | If it solves your problem, please mark as answer. Thanks !

Rockyw
Spotlight
Spotlight
这一篇文档也可以参考一下
Bootloop in 1852i after firmware upgrade
https://community.cisco.com/t5/wireless-and-mobility/bootloop-in-1852i-after-firmware-upgrade/td-p/3399946
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rockyw | If it solves your problem, please mark as answer. Thanks !

cloudq
Level 1
Level 1
Rocky 发表于 2019-1-16 23:04
这一篇文档也可以参考一下
Bootloop in 1852i after firmware upgrade
https://community.cisco.com/t5/w ...

按照说明把ap1g4 renamed to part.bin
(RNAQ-C7) # bootipq tftp
Specified BOOT: part1
Booting from tftp
Full duplex link
Port:2 speed 1000Mbps
Using eth0 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.1
Filename 'part.bin'.
Load address: 0x45000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#####################################################
done
Bytes transferred = 42762240 (28c8000 hex)
Image start 0x45000000 size 0x00000400
Key start 0x45000400 size 0x00000230
Sinature start 0x45000630 size 0x00000180
Signature returns -2
Image signing verification failure, not allowed to run...
exit not allowed from main input shell.
(RNAQ-C7) #

cloudq
Level 1
Level 1
Rocky 发表于 2019-1-16 23:04
这一篇文档也可以参考一下
Bootloop in 1852i after firmware upgrade
https://community.cisco.com/t5/w ...

非常感谢您提供的文档,但作者最后都没成功写入flash

Rockyw
Spotlight
Spotlight
cloudq 发表于 2019-1-18 08:56
非常感谢您提供的文档,但作者最后都没成功写入flash

第一篇文档呢?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rockyw | If it solves your problem, please mark as answer. Thanks !

cloudq
Level 1
Level 1
第一篇文档他直接就没升级,最后就不了了之了,第二篇文档时切换到另外一个part就是用另外一个固件启动的,我这是两个固件全失效了

ericxue37118
Level 1
Level 1
这个最后解决了么,我也遇到这个问题求解

fangzhiwei
Spotlight
Spotlight
xilang2000 发表于 2019-1-11 08:41
可以尝试格式化flash,重新下载固件刷入。
固件更改成默认的名称。我的1702是格式化固件刷成功的

你是怎么操作的,4个1852E,有2个突然无法注册到控制器,转换到胖AP,完了不断重启,现在想返回capwap模式。
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接