找回密码
 注册

QQ登录

只需一步,快速开始

楼主: luzaiguang

新手刷机必读,正确刷机方法总结

  [复制链接]
发表于 2013-12-9 16:20:03 | 显示全部楼层
手头有台大亚 DB120-B1 ,主芯片是BCM6358UKFBG UG0913 P11 914606 01 ,闪存是MX S084239 29LV128DBT2C-90Q 2Y621100 。
原来一直用电信官方固件,但因为跟三星手机有无线兼容问题,无法自动获取IP地址,就想刷个好的固件,日前找了个db120-openwrt.org_.cn-10.03.336-DIY-mini-0916 的不带CFE固件,开机按RESET不放红灯长亮方法在浏览器下刷入,重启正常,又因为失去ADSL内置功能,就又在坛上找了个网友上传的官方固件:v3.1-128k.BIN v3.1-CFE-128k.BIN两个固件。WEB下刷入那个不带CFE的,然后就一直重启,但是还可以进入CFE。请教各位高手们,怎样用TTL线救回呢?还是用回电信官方固件好吧。
发表于 2013-12-9 16:20:26 | 显示全部楼层
TTL线进入正常,返回信息如下:
CFE version 1.0.37-10.3 for BCM96358 (32bit,SP,BE)
Build Date: Thu Feb 12 13:10:57 CST 2009 (root@localhost.localdomain)
Copyright (C) 2000-2006 Broadcom Corporation.

Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.
Parallel flash device: name MX29LV320T, id 0x227a, size 16384KB
Flash Layout: Boot[0,0xbe000000] Kern[9,0xbe020000]
              AuxFS[197,0xbebe0000] Misc[260,0xbefd0000] PSI[262,0xbeff0000]
Flash RootFS Partition Length: 12320768
CFE using EMAC 0
Auto-negotiation timed-out
10 MB Half-Duplex (assumed)
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
CPU running TP0
Total memory: 33554432 bytes (32MB)

Total memory used by CFE:  0x80401000 - 0x805285D0 (1209808)
Initialized Data:          0x8041E210 - 0x8041FDF0 (7136)
BSS Area:                  0x8041FDF0 - 0x804265D0 (26592)
Local Heap:                0x804265D0 - 0x805265D0 (1048576)
Stack Area:                0x805265D0 - 0x805285D0 (8192)
Text (code) segment:       0x80401000 - 0x8041E210 (119312)
Boot area (physical):      0x00529000 - 0x00569000
Relocation Factor:         I:00000000 - D:00000000

Board IP address                  : 192.168.1.1:ffffff00  
Host IP address                   : 192.168.1.159  
Gateway IP address                :   
Run from flash/host (f/h)         : h  
Default host run file name        : 308nfs6358  
Default host flash file name      : bcm963xx_fs_kernel  
Boot delay (0-9 seconds)          : 1  
Boot image (0=latest, 1=previous) : 0  
Board Id (0-2)                    : 96358VW2  
Number of MAC Addresses (1-32)    : 24  
Base MAC Address                  : 00:1e:40:e5:c4:ed  
PSI Size (1-64) KBytes            : 24  
Flash Block Size (1-128) in KBytes: 128  
Auxillary File System Size Percent: 25  
Main Thread Number [0|1]          : 0  

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from latest image (0xbe020000) ...
Code Address: 0x80010000, Entry Address: 0x80259018
Decompression OK!
Entry at 0x80259018
Closing network.
Starting program at 0x80259018
Linux version 2.6.8.1 (root@dhcppc2) (gcc version 3.4.2) #1 Mon Jul 14 00:04:40 EDT 2008
Parallel flash device id 227a is not supported.
Readjusting rootfs partition to block 0 at offset 1107296256

*** Board is not initialized properly ***

prom init
CPU revision is: 0002a010
Determined physical RAM map:
memory: 01fa0000 @ 00000000 (usable)
On node 0 totalpages: 8096
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 4000 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: root=31:0 ro noinitrd console=ttyS0,115200
brcm mips: enabling icache and dcache...
Primary instruction cache 32kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 16kB 2-way, linesize 16 bytes.
PID hash table entries: 128 (order 7: 1024 bytes)
Using 150.000 MHz high precision timer.
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 29420k/32384k available (1909k kernel code, 2920k reserved, 426k data, 76k init, 0k highmem)
Calibrating delay loop... 299.00 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Checking for 'wait' instruction...  unavailable.
NET: Registered protocol family 16
Computing partition layout for flash of size[-1] sectors[-1]
Flash not used for Auxillary File System
Partition ROOTFS_KRN [0x00000000,         -1] Blks[  0:  -1 ..  -2]
SubPartition Image 1 [0x00000000,          0] Blks[  0:  -1 ..  -2]
SubPartition Image 2 [0x00000000,          0] Blks[  0:  -1 ..  -2]
Blk# BlkOff Blks BlkSize AvailSize   MemStart     MemLen Partition Name
   0   1408   -1      -1        -1 0x00000580       1024 BOOTLOADER
  -1      0    0      -1        -1 0x00000000         -1 ROOTFS_KRN
  -1      0    0       0         0 0x00000000          0 JFFS_AUXFS
  -1 4294942719    0      -1        -1 0xffff9fff      24576 PERSISTMEM 2
  -1      0    0      -1        -1 0x00000000     -24577 LOG_SCRPAD
  -1 4294942719    0      -1        -1 0xffff9fff      24576 PERSISTMEM
No flash for scratch pad!
No flash for log sector!
Blk# BlkOff Blks  MemLen Partition Name
   0   1408    1    1024 NVRAM
  -1 4294942719    0   24576 Config 2
   0      0    0       0 Log
   0      0    0       0 Scratch PAD
  -1 4294942720    0   24576 Config 1
Can't analyze prologue code at 801ebe04
SCSI subsystem initialized
usbcore: registered new driver hub
Skipping PCI bus scan due to resource conflict
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
PPP generic driver version 2.4.2
NET: Registered protocol family 24
Using noop io scheduler
bcm963xx_mtd driver v2.0
Failed to read image tag from flash
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
brcmboard: brcm_board_init entry
ERROR - Invalid number of MAC addresses (537010176) is configured.
Serial: BCM63XX driver $Revision: 3.00 $
ttyS0 at MMIO 0xfffe0100 (irq = 10) is a BCM63XX
ttyS1 at MMIO 0xfffe0120 (irq = 11) is a BCM63XX
u32 classifier
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
Ebtables v2.0 registered
NET: Registered protocol family 8
NET: Registered protocol family 20
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Cannot open root device "31:0" or unknown-block(31,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(31,0)
<0>Rebooting in 1 seconds..
至此无限重启。
发表于 2014-1-13 00:00:43 | 显示全部楼层


看看学习下。。
发表于 2014-1-21 02:26:40 | 显示全部楼层
好帖子。一定要好好读读!!!1
发表于 2014-4-12 01:41:07 | 显示全部楼层
不错,很详细{:soso_e104:}
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|宽带技术网 |网站地图

粤公网安备 44152102000001号

GMT+8, 2024-5-21 14:11 , Processed in 0.024056 second(s), 4 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

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