找回密码
 注册

QQ登录

只需一步,快速开始

楼主: xhh2001

[BCM6358]大亚DB120-WG的折腾从BCM公版-OPENWRT-电信E家

  [复制链接]
 楼主| 发表于 2010-11-5 11:34:10 | 显示全部楼层
附一个刷了DSL-2760U 1.04后的TTL 启动信息:

  1. CFE version 1.0.37-10.3 for BCM96358 (32bit,SP,BE)
  2. Build Date: 二  1月 29 07:41:15 CST 2008 (root@ZTJ)
  3. Copyright (C) 2000-2006 Broadcom Corporation.
  4. Boot Address 0xbe000000
  5. Initializing Arena.
  6. Initializing Devices.
  7. Parallel flash device: name AM29LV320MT|S29GL128-A, id 0x2201, size 16384KB
  8. Flash Layout: Boot[0,0xbe000000] Kern[1,0xbe020000]
  9.               AuxFS[95,0xbebe0000] Misc[126,0xbefc0000] PSI[127,0xbefe0000]
  10. Flash RootFS Partition Length: 12320768
  11. Auto-negotiation timed-out
  12. 10 MB Half-Duplex (assumed)
  13. CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
  14. CPU running TP0
  15. Total memory: 33554432 bytes (32MB)
  16. Total memory used by CFE:  0x80401000 - 0x805285A0 (1209760)
  17. Initialized Data:          0x8041DD30 - 0x8041FDC0 (8336)
  18. BSS Area:                  0x8041FDC0 - 0x804265A0 (26592)
  19. Local Heap:                0x804265A0 - 0x805265A0 (1048576)
  20. Stack Area:                0x805265A0 - 0x805285A0 (8192)
  21. Text (code) segment:       0x80401000 - 0x8041DD30 (118064)
  22. Boot area (physical):      0x00529000 - 0x00569000
  23. Relocation Factor:         I:00000000 - D:00000000
  24. Board IP address                  : 192.168.1.1:ffffff00  
  25. Host IP address                   : 192.168.1.20  
  26. Gateway IP address                :   
  27. Run from flash/host (f/h)         : h  
  28. Default host run file name        : vmlinux  
  29. Default host flash file name      : bcm963xx_fs_kernel  
  30. Boot delay (0-9 seconds)          : 1  
  31. Board Id (0-9)                    : 96358VW2  
  32. Number of MAC Addresses (1-32)    : 24  
  33. Base MAC Address                  : 00:12:34:56:78:90  
  34. PSI Size (1-64) KBytes            : 24  
  35. Flash Block Size (1-128) in KBytes: 128  
  36. Auxillary File System Size Percent: 25  
  37. Main Thread Number [0|1]          : 0  
  38. *** Press any key to stop auto run (1 seconds) ***
  39. Auto run second count down: 0
  40. Booting from only image (0xbe020000) ...
  41. Code Address: 0x80010000, Entry Address: 0x8031e000
  42. Decompression OK!
  43. Entry at 0x8031e000
  44. Closing network.
  45. Starting program at 0x8031e000
  46. Linux version 2.6.21.5 (lijf@deb-vm) (gcc version 4.2.3) #7 Sun Sep 5 13:52:39 CST 2010
  47. Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB
  48. 96358VW2 prom init
  49. CPU revision is: 0002a010
  50. Determined physical RAM map:
  51. memory: 01fa0000 @ 00000000 (usable)
  52. On node 0 totalpages: 8096
  53.   DMA zone: 32 pages used for memmap
  54.   DMA zone: 0 pages reserved
  55.   DMA zone: 4064 pages, LIFO batch:0
  56.   Normal zone: 31 pages used for memmap
  57.   Normal zone: 3969 pages, LIFO batch:0
  58. Built 1 zonelists.  Total pages: 8033
  59. Kernel command line: root=31:0 ro noinitrd console=ttyS0,115200
  60. brcm mips: enabling icache and dcache...
  61. Primary instruction cache 32kB, physically tagged, 2-way, linesize 16 bytes.
  62. Primary data cache 16kB, 2-way, linesize 16 bytes.
  63. Synthesized TLB refill handler (21 instructions).
  64. Synthesized TLB load handler fastpath (33 instructions).
  65. Synthesized TLB store handler fastpath (33 instructions).
  66. Synthesized TLB modify handler fastpath (32 instructions).
  67. PID hash table entries: 128 (order: 7, 512 bytes)
  68. Using 150.000 MHz high precision timer.
  69. Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
  70. Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
  71. Memory: 28676k/32384k available (2236k kernel code, 3708k reserved, 888k data, 96k init, 0k highmem)
  72. KLOB Pool 1 Initialized: 1048576 bytes <0x80c00000 ... 0x80d00000>
  73. Calibrating delay loop... 297.98 BogoMIPS (lpj=148992)
  74. Mount-cache hash table entries: 512
  75. NET: Registered protocol family 16
  76. Total Flash size: 16384K with 128 sectors
  77. File system address: 0xbe020100
  78. registering PCI controller with io_map_base unset
  79. SCSI subsystem initialized
  80. usbcore: registered new interface driver usbfs
  81. usbcore: registered new interface driver hub
  82. usbcore: registered new device driver usb
  83. BLOG v1.0 Initialized
  84. NET: Registered protocol family 8
  85. NET: Registered protocol family 20
  86. Time: MIPS clocksource has been installed.
  87. NET: Registered protocol family 2
  88. IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
  89. TCP established hash table entries: 1024 (order: 1, 8192 bytes)
  90. TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
  91. TCP: Hash tables configured (established 1024 bind 1024)
  92. TCP reno registered
  93. squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
  94. squashfs: LZMA suppport for slax.org by jro
  95. NTFS driver 2.1.28 [Flags: R/W].
  96. fuse init (API version 7.8)
  97. io scheduler noop registered (default)
  98. PPP generic driver version 2.4.2
  99. PPP Deflate Compression module registered
  100. PPP BSD Compression module registered
  101. MPPE/MPPC encryption/compression module registered
  102. NET: Registered protocol family 24
  103. bcm963xx_mtd driver v1.0
  104. PCI: Enabling device 0000:00:0a.0 (0000 -> 0002)
  105. PCI: Setting latency timer of device 0000:00:0a.0 to 64
  106. ehci_hcd 0000:00:0a.0: EHCI Host Controller
  107. ehci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 1
  108. ehci_hcd 0000:00:0a.0: irq 18, io mem 0xfffe1300
  109. ehci_hcd 0000:00:0a.0: USB f.f started, EHCI 1.00, driver 10 Dec 2004
  110. usb usb1: configuration #1 chosen from 1 choice
  111. hub 1-0:1.0: USB hub found
  112. hub 1-0:1.0: 2 ports detected
  113. ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
  114. PCI: Enabling device 0000:00:09.0 (0000 -> 0002)
  115. PCI: Setting latency timer of device 0000:00:09.0 to 64
  116. ohci_hcd 0000:00:09.0: OHCI Host Controller
  117. ohci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 2
  118. ohci_hcd 0000:00:09.0: irq 13, io mem 0xfffe1400
  119. usb usb2: configuration #1 chosen from 1 choice
  120. hub 2-0:1.0: USB hub found
  121. hub 2-0:1.0: 2 ports detected
  122. usbcore: registered new interface driver usblp
  123. drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
  124. brcmboard: brcm_board_init entry
  125. Serial: BCM63XX driver $Revision: 3.00 $
  126. ttyS0 at MMIO 0xfffe0100 (irq = 10) is a BCM63XX
  127. ttyS1 at MMIO 0xfffe0120 (irq = 11) is a BCM63XX
  128. bcmxtmrt: Broadcom BCM6358A1 ATM Network Device v0.1 Sep  5 2010 13:51:14
  129. TCP cubic registered
  130. Initializing XFRM netlink socket
  131. NET: Registered protocol family 1
  132. NET: Registered protocol family 17
  133. NET: Registered protocol family 15
  134. Ebtables v2.0 registered
  135. 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
  136. All bugs added by David S. Miller <davem@redhat.com>
  137. VFS: Mounted root (squashfs filesystem) readonly.
  138. Freeing unused kernel memory: 96k freed
  139. init started:  BusyBox v1.00 (2010.09.05-05:52+0000) multi-call binary

  140. BusyBox v1.00 (2010.09.05-05:52+0000) Built-in shell (ash)
  141. Enter 'help' for a list of built-in commands.
  142. -sh: can't access tty; job control turned off
  143. Loading drivers and kernel modules...
  144. mknod: /var/fuse: File exists
  145. pktflow: module license 'Proprietary' taints kernel.
  146. Broadcom Packet Flow Cache learning via BLOG enabled.
  147. Created Proc FS /procfs/fcache
  148. Constructed Broadcom Packet Flow Cache v0.1 Feb 26 2009 14:21:08
  149. bcmxtmcfg: bcmxtmcfg_init entry
  150. adsl: adsl_init entry
  151. Broadcom BCMPROCFS v1.0 initialized
  152. Broadcom BCM6358A1 Ethernet Network Device v0.3 Aug 17 2010 15:57:41
  153. Config Internal PHY Through MDIO
  154. BCM63xx_ENET: Auto-negotiation timed-out
  155. BCM63xx_ENET: 10 MB Half-Duplex (assumed)
  156. eth0: MAC Address: 00:12:34:56:78:90
  157. Broadcom BCM6358A1 Ethernet Network Device v0.3 Aug 17 2010 15:57:41
  158. KLOB extended to 2 pools
  159. KLOB extended to 3 pools
  160. KLOB extended to 4 pools
  161. Config Ethernet Switch Through MDIO Pseudo PHY Interface
  162. ethsw: found bcm5325e!
  163. dgasp: kerSysRegisterDyingGaspHandler: eth1 registered
  164. eth1: MAC Address: 00:12:34:56:78:91
  165. KLOB extended to 5 pools
  166. Broadcom BCM6358A1 USB Network Device v0.4 Aug 17 2010 15:57:46
  167. usb0: MAC Address: 00 12 34 56 78 92
  168. usb0: Host MAC Address: 00 12 34 56 78 93
  169. PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
  170. PCI: Setting latency timer of device 0000:00:01.0 to 64
  171. wl: srom not detected, using main memory mapped srom info (wombo board)
  172. wl0: wlc_attach: MAC addr from system pool. id:0x776c0000
  173. wl0: MAC Address: 00:12:34:56:78:94
  174. wl0: Broadcom BCM4318 802.11 Wireless Controller 5.10.85.0.cpe4.402.8
  175. dgasp: kerSysRegisterDyingGaspHandler: wl0 registered
  176. proc file create OK for wireless lan.
  177. eth1 Link UP.
  178. ===== Release Version 4.02L.03 (build timestamp 100817_1558) =====
  179. wl_cnt= 1
  180. ifconfig: br0: error fetching interface information: Device not found
  181. ifconfig: br0: error fetching interface information: Device not found
  182. rut_restartSamba: enter
  183. rut_stopSamba: enter
  184. rut_stopSamba: Smbd has not been started yet
  185. .rut_stopSamba: Nmbd has not been started yet
  186. .rut_startSamba: status = disable netBiosName=bezeq directoryName =bezeq utf8DirName=bezeq charset=utf8
  187. rut_startSamba: samba disable,don't start samba
  188. device eth0 is not a slave of br0
  189. device eth0 entered promiscuous mode
  190. br0: port 1(eth0) entering learning state
  191. br0: topology change detected, propagating
  192. br0: port 1(eth0) entering forwarding state
  193. device eth1 is not a slave of br0
  194. device eth1 entered promiscuous mode
  195. br0: port 2(eth1) entering learning state
  196. br0: topology change detected, propagating
  197. br0: port 2(eth1) entering forwarding state
  198. KLOB extended to 6 pools
  199. device usb0 is not a slave of br0
  200. device usb0 entered promiscuous mode
  201. br0: port 3(usb0) entering learning state
  202. br0: topology change detected, propagating
  203. br0: port 3(usb0) entering forwarding state
  204. WLmngr Daemon is running
  205. optarg=0 shmId=0
  206. I am open &async_queue = 0xc00367c0<3>kill_fasync: bad magic number in fasync_struct!
  207. wlButtonInit open gpio_fasync
  208. success
  209. Pasync_queue->magic = 0x4601
  210. device wl0 is not a slave of br0
  211. device wl0 entered promiscuous mode
  212. br0: port 4(wl0) entering learning state
  213. br0: topology change detected, propagating
  214. br0: port 4(wl0) entering forwarding state
  215. BcmAdsl_Initialize=0xC0074608, g_pFnNotifyCallback=0xC0094414
  216. pSdramPHY=0xA1FFFFF8, 0x1B777C 0xDEADBEEF
  217. AdslCoreSharedMemInit: shareMemAvailable=3552
  218. AdslCoreHwReset:  AdslOemDataAddr = 0xA1FF3FD4
  219. dgasp: kerSysRegisterDyingGaspHandler: dsl0 registered
  220. KLOB extended to 7 pools
  221. KLOB extended to 8 pools
  222. bcmxtmrt: MAC address: 00 12 34 56 78 95
  223. Plugin rp-pppoe.so loaded.
  224. RP-PPPoE plugin version 3.3 compiled against pppd 2.4.3
  225. recovered previous ppp session info ppp0(0018820b6110/2293)
  226. ip_tables: (C) 2000-2006 Netfilter Core Team
  227. Line 0: xDSL G.994 training
  228. device wl0 left promiscuous mode
  229. br0: port 4(wl0) entering disabled state
  230. device wl0 is not a slave of br0
  231. device wl0 entered promiscuous mode
  232. br0: port 4(wl0) entering learning state
  233. br0: topology change detected, propagating
  234. br0: port 4(wl0) entering forwarding state
  235. interface wl0.1 does not exist!
  236. interface wl0.2 does not exist!
  237. interface wl0.3 does not exist!
  238. Virtual device wl0 asks to queue packet!
  239. Setting SSID "---------"
  240. Setting SSID "wl0_Guest1"
  241. Setting SSID "wl0_Guest2"
  242. Setting SSID "wl0_Guest3"
  243. br0: port 4(wl0) entering disabled state
  244. wlctl: Unsupported
  245. br0: port 4(wl0) entering learning state
  246. br0: topology change detected, propagating
  247. br0: port 4(wl0) entering forwarding state
  248. device wl0 left promiscuous mode
  249. br0: port 4(wl0) entering disabled state
  250. device wl0 is not a slave of br0
  251. device wl0 entered promiscuous mode
  252. br0: port 4(wl0) entering learning state
  253. br0: topology change detected, propagating
  254. br0: port 4(wl0) entering forwarding state
  255. device wl0.1 is not a slave of br0
  256. device wl0.2 is not a slave of br0
  257. device wl0.3 is not a slave of br0
  258. Line 0: ADSL G.992 started
  259. Line 0: ADSL G.992 channel analysis
  260. Line 0: ADSL G.992 message exchange
  261. Line 0: ADSL link up, Path 0, us=637, ds=6143
  262. (ssk) xDSL link up, Connection Type: ATM
  263. PPP: ppp0 Start to connect ...
  264. delay_run start
  265. Initializing USB Mass Storage driver...
  266. usbcore: registered new interface driver usb-storage
  267. USB Mass Storage support registered.
  268. saving ppp session info ppp0(0018820b6110/2ebb)
  269. Using interface ppp0
  270. Connect: ppp0 <--> atm0
  271. Couldn't increase MTU to 1500
  272. Couldn't increase MRU to 1500
  273. Couldn't increase MRU to 1500
  274. CHAP authentication succeeded: Authentication success,Welcome!
  275. peer from calling number 00:18:82:0B:61:10 authorized
  276. local  IP address 119.*.*.*
  277. remote IP address 119.*.*.*
  278. primary   DNS address 58.20.127.238
  279. secondary DNS address 58.20.127.170
  280. PPP: ppp0 Connection Up.
  281. Netfilter messages via NETLINK v0.30.
  282. nf_conntrack version 0.5.0 (253 buckets, 2024 max)
  283. Primary DNS server = 58.20.127.238
  284. Secondary DNS server = 58.20.127.170
  285. All services associated with ppp0 are activated.
复制代码

发表于 2010-11-5 20:30:48 | 显示全部楼层
终于看完了,收藏,有好多固件的链接\(^o^)/~
发表于 2010-11-5 22:54:09 | 显示全部楼层
LZ太强悍了! 牛
图文并茂!真不错
发表于 2010-11-8 21:45:39 | 显示全部楼层
不知道到底刷哪个好

发表于 2010-11-9 21:54:10 | 显示全部楼层
楼主太强了,不顶不行
发表于 2010-11-12 03:57:35 | 显示全部楼层
楼主能不能总结一下,拿个DB120-GW来,要怎么判断哪种情况必须用TTL线刷,哪种可以只用网线刷呢?能用楼主目前最满意的DLINK固件:DLINK 2740B 3.03 来说明一下吗?
 楼主| 发表于 2010-11-12 08:41:29 | 显示全部楼层
回复 lxyzzzg 的帖子

一般来说,DB120-WG 刷固件,有带CFE 的和不带CFE 的两种,刷了带CFE 的固件后,都要用TTL线进行BOARD ID 等参数的设置。不带CFE 的固件也有和CFE 固件版本的配合问题,部分也要修改参数,像DLINK 2740B 系列的固件,一定要把BOARD ID 改为9358GW 才行,而其他电信原版、BCM公版、DSL-2650和2760U、USR9113 等BOARD ID 要改为9358VW2 才行。

为了保险,还是要在TTL线刷才安全,能了解设备启动情况,便于判断和处理故障。能直接能WEB刷的固件还是很少。
发表于 2010-11-12 14:11:11 | 显示全部楼层
回复 xhh2001 的帖子

老大解释很清楚,谢谢。TTL线一定要用USB的吗,能用交换机Console线(RJ-45toDB-9)改吗?
发表于 2010-11-12 19:59:38 | 显示全部楼层
顶顶~~我的RG100A-AA刷死了
发表于 2010-11-15 14:46:44 | 显示全部楼层
把能刷的都刷完了,看你还折腾什么?

*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

粤公网安备 44152102000001号

GMT+8, 2024-5-16 07:14 , Processed in 0.026534 second(s), 3 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

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