找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3907|回复: 12

求助大神,wrt1900acv1一刷机就挂……

[复制链接]
本帖最后由 瘋ń尐 于 2017-5-24 22:01 编辑

求助大神,wrt1900acv1一刷机就挂……各种版本都试过了,都一样
root@LEDE_R5:~# fw_printenv boot_part
boot_part=2
root@LEDE_R5:~# fw_setenv boot_part 1
root@LEDE_R5:~# cd /tmp
root@LEDE_R5:/tmp#
root@LEDE_R5:/tmp# sysupgrade -F -n -v factory.bin
killall: watchdog: no process killed
Sending TERM to remaining processes ... logd rpcd netifd uhttpd vsftpd smbd nmbd vlmcsd ntpd dnsmasq crond adbyby adbyby ubusd askfirst luci sh dynamic_dns_luc nslookup
Sending KILL to remaining processes ... askfirst
Switching to ramdisk...
Performing system upgrade...
Unlocking kernel2 ...

Writing from <stdin> to kernel2 ...     
cannot find ubi mtd partition rootfs2
libubi: error!: "/dev/" is not a character device
ubiupdatevol: error!: error while probing "/dev/"
              error 22 (Invalid argument)
sysupgrade successful
umount: can't unmount /dev/pts: Resource busy
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy

Connection closed by foreign host.

Disconnected from remote host(路由) at 20:15:16.
大神们帮我看看到底哪个步骤出问题了,感谢!
这是刚刚TTL线刷的感觉成功了

Marvell>> setenv ipaddr 192.168.1.1
Marvell>> setenv netmask 255.255.255.0
Marvell>> setenv serverip 192.168.1.3
Marvell>> run flash_pri_image
mvNetaSpeedDuplexSet
Using egiga0 device
TFTP from server 192.168.1.3; our IP address is 192.168.1.1
Filename 'blk-mamba.128mb.img'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########
done
Bytes transferred = 10616832 (a20000 hex)

NAND erase: device 0 offset 0xa00000, size 0x4000000
Erasing at 0x49e0000 -- 100% complete.
OK

NAND write: device 0 offset 0xa00000, size 0xa20000
10616832 bytes written: OK
Marvell>> reset
resetting ...

BootROM 1.20
Booting from NAND flash
Step 1: First phase of PEX-PIPE Configuration
Step 2: Configure the desire PIN_PHY_GEN
Step 3 QSGMII enable
Step 4: Configure SERDES MUXes
Step 5: Activate the RX High Impedance Mode
Step 6: [PEX-Only] PEX-Main configuration (X4 or X1)
Step 6.2: [PEX-Only] PCI Express Link Capabilities
Step 7: [PEX-X4 Only] To create PEX-Link
Steps 7,8,9,10 and 11
Steps 12: [PEX-Only] Last phase of PEX-PIPE ConfigurationSteps 13: Wait 15ms before checking resultsSteps 14: [PEX-Only]  In order to configureSteps 15: [PEX-Only]  In order to configureSteps 16: [PEX-Only] Training Enablestep 17: max_if= 0x7
step 17:  PEX0  pexUnit= 0
PEX0 : Detected No Link. Status Reg(0x00041A64) = 0x00000000
step 17:  PEX1  pexUnit= 0
step 17:  PEX2  pexUnit= 0
PEX2 : Detected No Link. Status Reg(0x00049A64) = 0x00000000
step 17:  PEX3  pexUnit= 0
PEX3 : Detected No Link. Status Reg(0x0004DA64) = 0x00000001
step 17:  PEX4  pexUnit= 1
PEX4 : Detected No Link. Status Reg(0x00081A64) = 0x00000001
step 17:  PEX5  pexUnit= 1
PEX5 : Detected No Link. Status Reg(0x00085A64) = 0x00000001
step 17:  PEX6  pexUnit= 1
PEX6 : Detected No Link. Status Reg(0x00089A64) = 0x00000001
                                                            DDR3 Training Sequence - Ver 4.5.DDR3 Training Sequence - Static MC Init
DDR3 Training Sequence - HW Training Procedure
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
BootROM: Image checksum verification PASSED

__   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_
        | | | |___|  _ \ / _ \ / _ \| __|
        | |_| |___| |_) | (_) | (_) | |_
         \___/    |____/ \___/ \___/ \__|
** LOADER **


U-Boot 2011.12 (Feb 06 2014 - 17:14:13) Marvell version: v2011.12 2013_Q1.2

Boot version:v1.3.25

Board: RD-AXP-GP rev 1.0
SoC:   MV78230 B0
       running 2 CPUs
       Custom configuration
CPU:   Marvell PJ4B (584) v7 (Rev 2) LE
       CPU 0
       CPU    @ 1200 [MHz]
       L2     @ 600 [MHz]
       TClock @ 250 [MHz]
       DDR    @ 600 [MHz]
       DDR 32Bit Width, FastPath Memory Access
       DDR ECC Disabled
DRAM:  256 MiB

Map:   Code:            0x0fea7000:0x0ff5e2d4
       BSS:             0x0ffefd80
       Stack:           0x0f9a6ef8
       Heap:            0x0f9a7000:0x0fea7000

NAND:  Spansion 1Gb(ID=F101) 128 MiB
MMC:   MRVL_MMC: 0
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
nand_read_bbt: Bad block at 0x000005540000


#### auto_recovery ####
[u_env] get auto_recovery == yes
[u_env] get auto_recovery == yes
[u_env] get boot_part == 2
[u_env] get boot_part_ready == 3
auto_recovery enabled:1, boot_part:2, boot_part_ready:3

[boot_count_read] block:0x140000, size:256KB, records:128
[boot_count_read_record] boot_count:3, next_record:57

[auto_recovery_init] BOOT_COUNT_TO_RECOVERY
[boot_count_write] erase:0, auto_recovery->block_offset:0x140000

Updating boot_count ...
[boot_count_write] offset:0x15C800 , length:2048
done

PEX 0.0(0): Detected No Link.
PEX 0.1(1): Root Complex Interface, Detected Link X1, GEN 1.1
PEX 0.2(2): Detected No Link.
PEX 0.3(3): Detected No Link.
PEX 1.0(4): Detected No Link.
PEX 1.1(5): Detected No Link.
PEX 1.2(6): Detected No Link.

boot_end Offset: 0x100000
u_env_off Offset: 0x100000
s_env_off Offset: 0x140000
devinfo Offset: 0x900000

===================
total_badCount: 0
boot_badCount: 0
u_env_badCount: 0
s_env_badCount: 0
buff_badCount: 0
===================

FPU initialized to Run Fast Mode.
USB 0: Host Mode
USB 1: Host Mode
USB 2: Device Mode
Modules Detected:
mvEthE6171SwitchBasicInit finished
Net:   mvSysNetaInit enter
set port 0 to rgmii enter
set port 1 to rgmii enter
egiga0 [PRIME], egiga1
modify Phy Status
Saving Environment to NAND...
Erasing Nand...
Writing to Nand... done
#### auto_recovery:1 ####
auto_recovery_check changes bootcmd: run nandboot
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x5a00000, size 0x400000
4194304 bytes read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!


 楼主| 来自手机 | 显示全部楼层
是不是一定要ttl线才能刷
回复

使用道具 举报

本帖最后由 dobetter 于 2017-5-24 09:51 编辑

试试这个呢:
sysupgrade -v -F -f backup.tar.gz lede-mvebu-linksys-wrt1900ac-squashfs-sysupgrade.bin


当我没说,估计你用这个办法还是一样!
回复

使用道具 举报

不好意思水个贴,穷疯了对不起,。。
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
dobetter 发表于 2017-5-24 09:50
试试这个呢:
sysupgrade -v -F -f backup.tar.gz lede-mvebu-linksys-wrt1900ac-squashfs-sysupgrade.bin ...

我晚上回去试试,感谢!
回复

使用道具 举报

是收的洋垃圾吗?
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
silent_x83 发表于 2017-5-24 12:40
是收的洋垃圾吗?

差不多吧,
回复

使用道具 举报

factory.bin? 官方固件是么
回复

使用道具 举报

闪存芯片有问题吧
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
bobogdst 发表于 2017-5-24 15:37
factory.bin? 官方固件是么

官方,第三方都试过
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
laoma348 发表于 2017-5-24 15:46
闪存芯片有问题吧

那要换芯片吗?它还有一个分区是好的。能不能在上面直接升级呢
回复

使用道具 举报

 楼主| | 显示全部楼层
折腾死我了.这难受
回复

使用道具 举报


要么闪存有问题

要么是nandboot参数被动过了

我当时收的洋垃圾就是 后来把参数改回来就好了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-12 07:31

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表