找回密码
 立即注册
img_loading
智能检测中

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888广告投放联系QQ68610888
查看: 3799|回复: 3

WAG325N用JTAG线刷CFE的诡异现象!!!!

[复制链接]
发表于 2011-2-16 22:05 | 显示全部楼层 |阅读模式
用JTAG线刷6358公版CFE1.0.37-11.3,64KB刷了177S,速度太慢了,最奇怪的是刷完后用TTL线查看,还是原来的CFE!!没刷成功
然后直接用BRJTAG清除CFE和NVRAM,都显示成功,再用TTL线查看还是老样子!!等于没清除!!

太奇怪了,
下面是BRJTAG清除的记录:
D:\jtag>brjtag -erase:cfe
        ===============================================
         Broadcom EJTAG Debrick Utility v1.9o-hugebird
        ===============================================
Probing bus ... Done
Detected IR Length is 5
CPU assumed running under BIG endian
CPU Chip ID: 00000110001101011000000101111111 (0635817F)
*** Found a Broadcom manufactured BCM6358 REV 01 CPU ***
    - EJTAG IMPCODE ....... : 00000000100000011000100100000100 (00818904)
    - EJTAG Version ....... : 1 or 2.0
    - EJTAG DMA Support ... : Yes
    - EJTAG Implementation flags: R4k MIPS16 MIPS32
Issuing Processor / Peripheral Reset ... Done
Enabling Memory Writes ... Done
Halting Processor ... <rocessor did NOT enter Debug Mode!> ... Done
Clearing Watchdog ... Done
Loading CPU Configuration Code ... Skipped
Detecting Flash Base Address...
Read MPI register value : 1F80000A
MPI register show Flash Access Base Addr : 1F800000
Probing Flash at Address: 0x1F800000 ...
Detected Chip ID (VenIDevID = 007F : 227E)
*** Found a CFI Compatiable Flash Chip from EON
    - Flash Chip Window Start .... : 1F800000
    - Flash Chip Window Length ... : 00800000
    - Selected Area Start ........ : 1F800000
    - Selected Area Length ....... : 00040000
*** You Selected to Erase the CFE.BIN ***
=========================
Erasing Routine Started
=========================
Total Blocks to Erase: 4
Erasing block: 1 (addr = 1F800000)...Done
Erasing block: 2 (addr = 1F810000)...Done
Erasing block: 3 (addr = 1F820000)...Done
Erasing block: 4 (addr = 1F830000)...Done
=========================
Erasing Routine Complete
=========================
elapsed time: 2 seconds

*** REQUESTED OPERATION IS COMPLETE ***

D:\jtag>brjtag -erase:nvram
        ===============================================
         Broadcom EJTAG Debrick Utility v1.9o-hugebird
        ===============================================
Probing bus ... Done
Detected IR Length is 5
CPU assumed running under BIG endian
CPU Chip ID: 00000110001101011000000101111111 (0635817F)
*** Found a Broadcom manufactured BCM6358 REV 01 CPU ***
    - EJTAG IMPCODE ....... : 00000000100000011000100100000100 (00818904)
    - EJTAG Version ....... : 1 or 2.0
    - EJTAG DMA Support ... : Yes
    - EJTAG Implementation flags: R4k MIPS16 MIPS32
Issuing Processor / Peripheral Reset ... Done
Enabling Memory Writes ... Done
Halting Processor ... <rocessor did NOT enter Debug Mode!> ... Done
Clearing Watchdog ... Done
Loading CPU Configuration Code ... Skipped
Detecting Flash Base Address...
Read MPI register value : 1F80000A
MPI register show Flash Access Base Addr : 1F800000
Probing Flash at Address: 0x1F800000 ...
Detected Chip ID (VenIDevID = 007F : 227E)
*** Found a CFI Compatiable Flash Chip from EON
    - Flash Chip Window Start .... : 1F800000
    - Flash Chip Window Length ... : 00800000
    - Selected Area Start ........ : 1FFF0000
    - Selected Area Length ....... : 00010000
*** You Selected to Erase the NVRAM.BIN ***
=========================
Erasing Routine Started
=========================
Total Blocks to Erase: 1
Erasing block: 128 (addr = 1FFF0000)...Done
=========================
Erasing Routine Complete
=========================
elapsed time: 0 seconds

*** REQUESTED OPERATION IS COMPLETE ***


下面是TTL的启动结果:
CFE version 1.0.37-5.4 for BCM96358 (32bit,SP,BE)
Build Date: 浜?11鏈? 7 17:06:48 CST 2006 (wanles@localhost.localdomain)
Copyright (C) 2000-2005 Broadcom Corporation.
Boot Address 0xbf800000
Initializing Arena.
Initializing Devices.
Parallel flash device: name EON FLASH, id 0x0000, size 8192KB
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 33554432 bytes (32MB)
Total memory used by CFE:  0x80401000 - 0x80527450 (1205328)
Initialized Data:          0x8041D1C0 - 0x8041EBD0 (6672)
BSS Area:                  0x8041EBD0 - 0x80425450 (26752)
Local Heap:                0x80425450 - 0x80525450 (1048576)
Stack Area:                0x80525450 - 0x80527450 (8192)
Text (code) segment:       0x80401000 - 0x8041D1BC (115132)
Boot area (physical):      0x00528000 - 0x00568000
Relocation Factor:         I:00000000 - D:00000000
Board IP address                  : 192.168.1.1  
Host IP address                   : 192.168.1.100  
Gateway IP address                :   
Run from flash/host (f/h)         : f  
Default host run file name        : vmlinux  
Default host flash file name      : bcm963xx_fs_kernel  
Boot delay (0-9 seconds)          : 1  
Board Id Name                     : 96358GW  
Psi size in KB                    : 24
Number of MAC Addresses (1-32)    : 10  
Base MAC Address                  : 00:1d:7e:ad:fd:ad  
Ethernet PHY Type                 : Internal
Memory size in MB                 : 32
CMT Thread Number                 : 0
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Code Address: 0xFF00FF45, Entry Address: 0xc0959e00
Failed on decompression.  Corrupted image?
web info: Waiting for connection on socket 0.
CFE>

是不是这个猫的CFE储存地址和常见的不一样啊??

请大家帮看看,给点建议,我都不知道该怎么办了

我想刷WHOLEFLASH,中途停止,验证一下,看看能不能把CFE刷掉,但是不太敢刷了,第一,时间太长了,按这个速度算得6个多小时,第二,万一真的刷掉了,这个CFE的备份我还没有(虽然用JTAG备份过,但是我怀疑根本没有备份成功),就只能刷WHOLEFLASH了,而且官方的固件我也不知道里面有没有CFE,如果没有的话,刷WHOLEFLASH估计也还是砖头一块。
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应。胡乱输入灌水等操作将会被封禁ID。
 楼主| 发表于 2011-2-17 10:21 | 显示全部楼层
顶上去
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应。胡乱输入灌水等操作将会被封禁ID。
发表于 2011-7-18 17:01 | 显示全部楼层
我没用过brjtag,不过看起来和urjtag很象。
wag325n的flash是8M,但是没有做好映射:flash的offset 0 没有映射到0xbfc00000;
所以wag325n的cfe在flash offset 0x400000的位置,不同于其他类型的bcm6358(比如rg100aa的cfe就在flash的offset 0 位置)
如果要更新cfe,不知道你刷的offset是否在0x400000位置
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应。胡乱输入灌水等操作将会被封禁ID。
发表于 2011-11-10 08:49 | 显示全部楼层
可能是JTAG有问题
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应。胡乱输入灌水等操作将会被封禁ID。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛

只谈技术、莫论政事!切勿转播谣言!为了你也为了他人。
只谈技术、莫论政事!(点击见详情) 切记不要随意传播谣言,把自己的日子过安稳了就行,为了自己好也为了大家好。 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。

查看 »

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

GMT+8, 2025-7-14 14:20

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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

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