|
本帖最后由 瘋ń尐 于 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!
|
|