找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3358|回复: 2

以读写形式挂载 realrootfs 导致 flash 被破坏,求固件修复。

[复制链接]
发表于 2015-7-8 13:31:57 | 显示全部楼层 |阅读模式
本帖最后由 铁拳 于 2015-7-9 21:59 编辑
" W. v4 P" u) C# A& _. z. u$ h# K! @( I5 L, i, I( w+ c
烽火 AN5006-02-A EPON 光猫,不带 WiFi,也不带语音,用 CFE -i 将猫里原有的数据清掉了,之后启动时加载快结束时会死机,反复折腾,最终 mount -w 将 realrootfs 挂载后,编辑过程中死机,导至 CRC Wrong 以及部份内容丢失,网上没找到厂商的 rom,请各位大师帮忙分析一下看看有没有可以替代的固件,谢谢!

% ^. A2 r& B. f/ x
HELO
CPUI
L1CI
PLLI
PMCB
HELO
CPUI
L1CI
4.1403-1.0.38-117.80
DRAM
----
PHYS
ZQDN
PHYE
DINT
TST1
TST2
PASS
----
ZBSS
MAIN
ENTR
SP01
SP02
FPS0
NAN7
BT00
0001
NAN7
BT00
0001
NAN3
RFS1
NAN5
PASS
Base:4.14_03
CFEversion 1.0.38-117.80 for BCM96838 (32bit,SP,BE)
BuildDate: Sat Mar 22 22:10:31 CST 2014 (hehulin@pon.twsh.com)
Copyright(C) 2000-2013 Broadcom Corporation.
ChipID: BCM68385_B0, MIPS: 240MHz, DDR: 333MHz, Bus: 240MHz
RDP:400MHz
MainThread: TP0
TotalMemory: 134217728 bytes (128MB)
BootAddress: 0xbfc00000
NANDflash device: name Spansion S34ML01G1, id 0x01f1 block 128KB size 131072KB
ddr_tm_base_address= 0xa0800000
BoardIP address                  :192.168.1.1:ffffff00
HostIP address                   : 192.168.1.100
GatewayIP address                :
Runfrom flash/host/tftp (f/h/c)  : f
Defaulthost run file name        : vmlinux
Defaulthost flash file name      :bcm963xx_fs_kernel
Bootdelay (0-9 seconds)          : 1
Defaulthost ramdisk file name    :
Defaultramdisk store address     :
BoardId (0-35)                   :968385PVSFUEPON
Numberof MAC Addresses (1-32)    : 11
BaseMAC Address                  :xx:xx:xx:xx:xx:xx
PSISize (1-128) KBytes            : 128
EnableBackup PSI [0|1]           : 1
SystemLog Size (0-256) KBytes    : 64
FlashBlock Size (1-128) in KBytes: 128
AuxillaryFile System Size Percent: 0
MainThread Number [0|1]          : 0
ProductcodeClass                 : 0x00010015
ProductcodeHwInfo                : 0x08800000
ProductcodePortMap               : 0x00000000
ProductcodeExtend                : 0x00000000
GPONSerial Number                :"TWSHXXXXXXXX"
GPONPassword                     :"          "
CTGPON LOID                      : ""
CTGPON Password                  :""
MCmemory allocation (MB)          : 0
TMmemory allocation (MB)          : 0
VoiceBoard Configuration (0-0)   : LE9540
ProductClass                      : AN5006-02-A
WlSsid                            :
WlKey                             :
UserPass                          : xxxxx
DeviceId                          : XXXXXXXXXXXXXXXXX
FactorycfgFlg                     : 0
CreatingCPU ring for queue number 0 with 32 packets descriptor=0x8066c810
Done initializing Ring 0 Base=0xa220f730KEnd=0xa220f930K calculated entries= 32 RDD Base=0x0220f730Kdescriptor=0x8066c810
OpenPHY 1 on MAC 0 : link state = Down
OpenPHY 2 on MAC 1 : link state = Down
***Press any key to stop auto run (1 seconds) ***
Autorun second count down: 0
BootingFrom Image (0xc3880000) ...
DecompressionOK!
Entryat 0x803cbb70
Closingnetwork.
rdd_ring_destroy
Starting program at 0x803cbb70
Linuxversion 3.4.11-rt19 (hehulin@pon.twsh.com) (gcc version 4.6.2 (Buildroot2011.11) ) #6 SMP PREEMPT Sat Mar 22 22:26:40 CST 2014
BCMFlash API. Flash device is not found.
968385PVSFUEPONprom init
CPUrevision is: 0002a080 (Broadcom BMIPS4350)
Determinedphysical RAM map:
memory: 01400000 @ 06c00000 (reserved)
memory: 00400000 @ 06800000 (reserved)
memory: 06800000 @ 00000000 (usable)
Initrdnot found or empty - disabling initrd
ZonePFN ranges:
  DMA     0x00000000 -> 0x00001000
  Normal  0x00001000 -> 0x00006800
Movablezone start PFN for each node
Earlymemory PFN ranges
    0: 0x00000000 -> 0x00006800
Onnode 0 totalpages: 26624
free_area_init_node:node 0, pgdat 804e6810, node_mem_map 81000000
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 176 pages used for memmap
  Normal zone: 22352 pages, LIFO batch:3
PERCPU:Embedded 7 pages/cpu @810d3000 s5088 r8192 d15392 u32768
pcpu-alloc:s5088 r8192 d15392 u32768 alloc=8*4096
pcpu-alloc:[0] 0 [0] 1
Built1 zonelists in Zone order, mobility grouping on.  Total pages: 26416
Kernelcommand line: root=mtd:ImageA rw rootfstype=jffs2  irqaffinity=0
PIDhash table entries: 512 (order: -1, 2048 bytes)
Dentrycache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cachehash table entries: 8192 (order: 3, 32768 bytes)
Primaryinstruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
Primarydata cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
Memory:100024k/106496k available (3879k kernel code, 6472k reserved, 1077k data, 220kinit, 0k highmem)
Preemptiblehierarchical RCU implementation.
NR_IRQS:256
console[ttyS0] enabled
Allocatingmemory for DSP module core and initialization code
AllocatedDSP module memory - CORE=0x0 SIZE=0, INIT=0x0 SIZE=0
Calibratingdelay loop... 237.05 BogoMIPS (lpj=118528)
pid_max:default: 32768 minimum: 301
Mount-cachehash table entries: 512
--KernelConfig--
  SMP=1
  PREEMPT=1
  DEBUG_SPINLOCK=0
  DEBUG_MUTEXES=0
BroadcomLogger v0.1 Mar 21 2014 21:27:44
CPUrevision is: 0002a080 (Broadcom BMIPS4350)
Primaryinstruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
Primarydata cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
Broughtup 2 CPUs
NET:Registered protocol family 16
TotalFlash size: 0K with -1 sectors
registeringPCI controller with io_map_base unset
bio:create slab <bio-0> at 0
SCSIsubsystem initialized
usbcore:registered new interface driver usbfs
usbcore:registered new interface driver hub
usbcore:registered new device driver usb
PCIhost bridge to bus 0000:00
pci_bus0000:00: root bus resource [mem 0xeff00000-0xefffffff]
pci_bus0000:00: root bus resource [io 0xf1000000-0xf100ffff]
bcmhs_spibcmhs_spi.1: master is unqueued, this is deprecated
skbFreeTaskcreated successfully
BLOGv3.0 Initialized
BLOGRule v1.0 Initialized
BroadcomIQoS v0.1 Mar 21 2014 21:35:00 initialized
Switchingto clocksource MIPS
NET:Registered protocol family 2
IProute cache hash table entries: 1024 (order: 0, 4096 bytes)
TCPestablished hash table entries: 4096 (order: 3, 32768 bytes)
TCPbind hash table entries: 4096 (order: 3, 32768 bytes)
TCP:Hash tables configured (established 4096 bind 4096)
TCP:reno registered
UDPhash table entries: 128 (order: 0, 4096 bytes)
UDP-Litehash table entries: 128 (order: 0, 4096 bytes)
NET:Registered protocol family 1
PCI:CLS 0 bytes, default 16
init_bcm_tstamp:unhandled mips_hpt_freq=120000000, adjust constants in bcm_tstamp.c
bcm_tstampinitialized, (hpt_freq=120000000 2us_div=120 2ns_mult=0 2ns_shift=0)
squashfs:version 4.0 (2009/01/31) Phillip Lougher
jffs2:version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.
fuseinit (API version 7.18)
msgmnihas been set to 195
ioscheduler noop registered (default)
brd:module loaded
loop:module loaded
bcm963xx_mtddriver
Failedto read image tag from flash
BroadcomDSL NAND controller (BrcmNand Controller)
mtd->oobsize=0,mtd->eccOobSize=0
NAND_CS_NAND_XOR=00000000
B4:NandSelect=40000001, nandConfig=15162400, chipSelect=0
brcmnand_read_id:CS0: dev_id=01f1001d
After:NandSelect=40000001, nandConfig=15162400
Blocksize=00020000, erase shift=17
NANDConfig: Reg=15162400, chipSize=128 MB, blockSize=128K, erase_shift=11
busWidth=1,pageSize=2048B, page_shift=11, page_mask=000007ff
timing1not adjusted: 6574845b
timing2not adjusted: 00001e96
BrcmNANDmfg 1 f1 SPANSION_S30ML01GP_08 128MB on CS0
FoundNAND on CS0: ACC=f7441010, cfg=15162400, flashId=01f1001d, tim1=6574845b,tim2=00001e96
BrcmNANDversion = 0x80000500 128MB @00000000
brcmnand_scan:B4 nand_select = 40000001
brcmnand_scan:After nand_select = 40000001
handle_acc_control:default CORR ERR threshold  1 bits
ACC:16 OOB bytes per 512B ECC step; from ID probe: 16
page_shift=11,bbt_erase_shift=17, chip_shift=27, phys_erase_shift=17
BrcmNAND controller version = 5.0 NAND flash size 128MB @18000000
ECClayout=brcmnand_oob_bch4_2k
brcmnand_scan:  mtd->oobsize=64
brcmnand_scan:oobavail=35, eccsize=512, writesize=2048
brcmnand_scan,eccsize=512, writesize=2048, eccsteps=4, ecclevel=4, eccbytes=7
-->brcmnand_default_bbt
brcmnand_default_bbt:bbt_td = bbt_slc_bch4_main_descr
Badblock table Bbt0 found at page 0000ffc0, version 0x01 for chip on CS0
Badblock table 1tbB found at page 0000ff80, version 0x01 for chip on CS0
brcmnand_reset_corr_threshold:default CORR ERR threshold  1 bits forCS0
brcmnand_reset_corr_threshold:CORR ERR threshold changed to 3 bits for CS0
brcmnandCET:Status -> Deferred
Creating8 MTD partitions on "brcmnand.0":
0x000003c80000-0x000007500000: "ImageA"
0x000007700000-0x000007a00000: "ctadmin"
0x000007a00000-0x000007e00000: "Config"
0x000007500000-0x000007600000: "Env"
0x000007600000-0x000007700000: "EnvB"
0x000000400000-0x000003c80000: "ImageB"
0x000000000000-0x000000400000: "Boot"
0x000007e00000-0x000007f00000: "SECTION_EGIS"
PPPgeneric driver version 2.4.2
PPPBSD Compression module registered
PPPDeflate Compression module registered
NET:Registered protocol family 24
ehci_hcd:USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ohci_hcd:USB 1.1 'Open' Host Controller (OHCI) Driver
usbcore:registered new interface driver usblp
i2c/dev entries driver
brcmboard:brcm_board_init entry
#################EnteringboardLedInit(void)###########
###########twboard:brcm_board_init entry###########
Serial:BCM63XX driver $Revision: 3.00 $
MagicSysRq enabled (type ^ h for list of supported commands)
ttyS0at MMIO 0xb4e00500 (irq = 9) is a BCM63XX
ttyS1at MMIO 0xb4e00520 (irq = 10) is a BCM63XX
GACTprobability NOT on
Mirror/redirectaction on
netem:version 1.3
u32classifier
    input device check on
    Actions configured
TCP:cubic registered
NET:Registered protocol family 10
IPv6over IPv4 tunneling driver
NET:Registered protocol family 17
InitializingMCPD Module
Ebtablesv2.0 registered
ebt_timeregistered
ebt_ftosregistered
ebt_wmm_markregistered
L2TPcore driver, V2.0
PPPoL2TPkernel driver, V2.0
8021q:802.1Q VLAN Support v1.8
VFS:Mounted root (jffs2 filesystem) on device 31:0.
Freeingunused kernel memory: 220k freed
initstarted: BusyBox v1.17.2 (2013-09-06 14:52:42 CST)
startingpid 263, tty '/dev/ttyS0': '/bin/mountfs'
inquerymode
BUTTON:SzBoardId is [968385PVSFUEPON]
LED:SzBoardId is [968385PVSFUEPON]
C1KLED driver is registered.
==============EnteringLOS Led Slow blink==================
==============      Leaving LOS Led      ==================
jffs2:Empty flash at 0x00100828 ends at 0x00101000
jffs2:notice: (282) check_node_data: wrong data CRC in data node at 0x002c59cc: read0xcb0913ca, calculated 0x58263f20.
Mountingfilesystems...
Configuringsystem...
mountconfig partition OK
SF_SetFeatureStr:Set feature(uplink_type) to epon
ACTIVEIMG=1
/usr/local/bin/update_backup_img_ver.sh:line 12: syntax error: unexpected "fi"
Loadingdrivers and kernel modules...
......
发表于 2015-7-9 19:03:03 | 显示全部楼层
一看,又是同维代工的。
发表于 2015-7-12 18:27:55 | 显示全部楼层
楼主好厉害
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

粤公网安备 44152102000001号

GMT+8, 2024-5-7 10:54 , Processed in 0.024000 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

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