找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3936|回复: 1

固件(开发编译)向的大神请进,求教RTL8672方案刷后网口不通该如何解决

[复制链接]
发表于 2015-11-19 18:54 | 显示全部楼层 |阅读模式
本帖最后由 flyfishcn 于 2015-11-19 19:06 编辑

手里有个电信ADSL猫,中兴的H108L很久以来都闲置着,配置如下:
CPU: RTL8672
无线芯片:RTL8188RE
交换机芯片:RTL8305N
现在的情况是:找到方案最解决的一款是:Huawei HG526  恰巧发现这款已经有大神编译出来支持的固件了,刷完之后能正常进入op系统,无线芯片虽然和HG526不同但是能正常使用,但是网口全都不能用.插线灯不亮,电脑网卡显示断开.进uboot时网口是正常的,怀疑是固件中驱动的问题,但在OP系统中又能看到eth0和eth0_sw0-sw3网卡.自己折腾了几天也没搞懂该怎么弄

我对linux下的驱动不熟悉,求教该如何能让网口正常工作?需要重新编译系统吗?还有不知道这个平台的固件该如何编译,参考了google到的教程,但是在编译时target找不到和Realtek家相关的.小弟纯新手,目的是为思考,盼有大神能不吝赐教.万分感谢.



下面上TTL信息


  1. persist 2011.06-rc2 (Sep 19 2012 - 13:00:55)

  2. Board: RTL8672 mips CPU: RTL8672 proc_id=0xcf01
  3. DRAM:  32 MiB
  4. *** Warning - bad CRC, using default environment

  5. In:    serial
  6. Out:   serial
  7. Err:   serial
  8. ## Booting kernel from Legacy Image at bd040000 ...
  9.    Image Name:   Multi-FW
  10.    Created:      2014-06-10   6:48:54 UTC
  11.    Image Type:   MIPS Linux Multi-File Image (uncompressed)
  12.    Data Size:    3965408 Bytes = 3.8 MiB
  13.    Load Address: 00000000
  14.    Entry Point:  00000000
  15.    Contents:
  16.       Image 0: 2543616 Bytes = 2.4 MiB
  17.       Image 1: 1421780 Bytes = 1.4 MiB
  18.    Verifying Checksum ... OK
  19. ## Loading init Ramdisk from multi component Legacy Image at bd040000 ...
  20.    Uncompressing Kernel Image ... OK

  21. Starting kernel ...

  22. Linux version 2.6.19-g526b1fa2-dirty (arrow@uhome) (gcc version 3.4.6-1.3.6) #618 Tue Jun 10 14:47:18 CST 2014
  23. CPU revision is: 0000ff00
  24. Determined physical RAM map:
  25. memory: 02000000 @ 00000000 (usable)
  26. User-defined physical RAM map:
  27. memory: 02000000 @ 00000000 (usable)
  28. Built 1 zonelists.  Total pages: 8128
  29. Kernel command line: console=ttyS0,115200 mem=32M root=31:3
  30. root_dev_setup 222 line:31:3
  31. Primary instruction cache 16kB, linesize 16 bytes.
  32. Primary data cache 8kB, linesize 16 bytes.
  33. Synthesized TLB refill handler (17 instructions).
  34. Synthesized TLB load handler fastpath (31 instructions).
  35. Synthesized TLB store handler fastpath (31 instructions).
  36. Synthesized TLB modify handler fastpath (25 instructions).
  37. PID hash table entries: 128 (order: 7, 512 bytes)
  38. Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
  39. Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
  40. Memory: 23124k/32768k available (3904k kernel code, 9644k reserved, 884k data, 124k init, 0k highmem)
  41. Mount-cache hash table entries: 512
  42. Checking for 'wait' instruction...  disabled.
  43. IMEM section size = 0x9978
  44. NET: Registered protocol family 16
  45. SCSI subsystem initialized
  46. usbcore: registered new interface driver usbfs
  47. usbcore: registered new interface driver hub
  48. usbcore: registered new device driver usb
  49. Sangoma WANPIPE Router v1.1 (c) 1995-2000 Sangoma Technologies Inc.
  50. NET: Registered protocol family 2
  51. IP route cache hash table entries: 256 (order: -2, 1024 bytes)
  52. TCP established hash table entries: 1024 (order: 0, 4096 bytes)
  53. TCP bind hash table entries: 512 (order: -1, 2048 bytes)
  54. TCP: Hash tables configured (established 1024 bind 512)
  55. TCP reno registered
  56. Realtek GPIO Driver for Flash Reload Default
  57. NET: Registered protocol family 21
  58. squashfs: version 3.2 (2007/01/02) Phillip Lougher
  59. Registering mini_fo version $Id$
  60. JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
  61. io scheduler noop registered
  62. io scheduler anticipatory registered
  63. io scheduler deadline registered
  64. io scheduler cfq registered (default)
  65. Serial: 8250/16550 driver $Revision: 1.4 $ 1 ports, IRQ sharing disabled
  66. netlog start
  67. serial8250: ttyS0 at MMIO 0x0 (irq = 12) is a 16550A
  68. PPP generic driver version 2.4.2
  69. NET: Registered protocol family 24
  70. 8139cp Ethernet driver v0.0.7 (Feb 27, 2002)
  71. eth0: RTL-8139C+ at 0xb8018000, 00:00:00:01:00:02, IRQ 26
  72. RTL8672 NIC100 Probing..
  73. eth0_sw0: RTL-8305 at port 0
  74. eth0_sw1: RTL-8305 at port 1
  75. eth0_sw2: RTL-8305 at port 2
  76. eth0_sw3: RTL-8305 at port 3
  77. eth phy patch done!
  78. RTL8192C/RTL8188C driver version 1.1 (2010-03-31/2010-09-28)
  79. =====>>INSIDE rtl8192cd_init_one <<=====
  80. vendor_deivce_id=819110ec
  81. _
  82. =====>>EXIT rtl8192cd_init_one <<=====
  83. =====>>INSIDE rtl8192cd_init_one <<=====
  84. =====>>EXIT rtl8192cd_init_one <<=====
  85. =====>>INSIDE rtl8192cd_init_one <<=====
  86. =====>>EXIT rtl8192cd_init_one <<=====
  87. =====>>INSIDE rtl8192cd_init_one <<=====
  88. =====>>EXIT rtl8192cd_init_one <<=====
  89. =====>>INSIDE rtl8192cd_init_one <<=====
  90. =====>>EXIT rtl8192cd_init_one <<=====
  91. flash device: 0x400000 at 0xbd000000
  92. SFCR:0xb8001200 SFCSR:0xb8001208 SFDR:0xb800120c
  93. can not get SPI chip driver!


  94. MXIC matched!!get SPI chip driver!
  95. Physically mapped flash: Found an alies 0x1000000 for the chip at 0x0, mxic device detect.
  96. Creating 5 MTD partitions on "Physically mapped flash":
  97. 0x00000000-0x00020000 : "boot"
  98. 0x00020000-0x00040000 : "nvram"
  99. 0x00040000-0x00600000 : "fwmtd"
  100. 0x0004004c-0x005fffbe : "rootfs"
  101. mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
  102. 0x00600000-0x007c0000 : "rootfs_data"
  103. disable USB phy 0
  104. rtl8672-ehci rtl8672-ehci.0: EHCI Host Controller
  105. rtl8672-ehci rtl8672-ehci.0: new USB bus registered, assigned bus number 1
  106. rtl8672-ehci rtl8672-ehci.0: irq 10, io mem 0xb8021000
  107. rtl8672-ehci rtl8672-ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
  108. usb usb1: configuration #1 chosen from 1 choice
  109. hub 1-0:1.0: USB hub found
  110. hub 1-0:1.0: 2 ports detected
  111. rtl8672-ohci rtl8672-ohci.0: OHCI Host Controller
  112. rtl8672-ohci rtl8672-ohci.0: new USB bus registered, assigned bus number 2
  113. rtl8672-ohci rtl8672-ohci.0: irq 10, io mem 0xb8020000
  114. usb usb2: configuration #1 chosen from 1 choice
  115. hub 2-0:1.0: USB hub found
  116. hub 2-0:1.0: 2 ports detected
  117. dwc_otg: version 2.60a 22-NOV-2006
  118. DWC_otg: OTG Device not found ! Bad value for SNPSID: 0x00000000
  119. Initializing USB Mass Storage driver...
  120. usbcore: registered new interface driver usb-storage
  121. USB Mass Storage support registered.
  122. u32 classifier
  123.     Actions configured
  124. ip_conntrack version 2.4 (256 buckets, 2048 max) - 216 bytes per conntrack
  125. ip_conntrack_pptp version 3.1 loaded
  126. ip_conntrack_ipsec loaded
  127. ip_nat_pptp version 3.0 loaded
  128. ip_tables: (C) 2000-2006 Netfilter Core Team
  129. TCP cubic registered
  130. Realtek SD2-FastPath v1.00beta_2.4.26-uc0
  131. /proc/FastPath created
  132. Realtek MCast FastPath
  133. /proc/mc_FastPath created
  134. NET: Registered protocol family 1
  135. NET: Registered protocol family 17
  136. Bridge firewalling registered
  137. NET: Registered protocol family 8
  138. NET: Registered protocol family 20
  139. ATM OAM F5 initialized.
  140. ATM OAM F4 initialized.
  141. Enable 8671G 1 function
  142. Enable 8671 0 function
  143. Enable 8672 function
  144. ratm: RTL8670 SAR v0.0.2 (Jun 17, 2003)
  145. /proc/AUTO_PVC_SEARCH created
  146. SQUASHFS v2.0: patch superblock-inode-number from 0xc1 to 0x132476
  147. VFS: Mounted root (squashfs filesystem) readonly.
  148. Freeing unused kernel memory: 124k freed
  149. Warning: unable to open an initial console.
  150. EHCI: port status=0x00001000
  151. - preinit -
  152. Press the [f] key and hit [enter] to enter failsafe mode
  153. - regular preinit -
  154. switching to jffs2
  155. mini_fo: using base directory: /
  156. mini_fo: using storage directory: /overlay
  157. - init -

  158. init started: BusyBox v1.19.4 ()

  159. Please press Enter to activate this console. sysinit: Thu Sep  8 15:45:00 UTC 2011

  160. _
  161. val=4
  162. ===> LoadFirmware()
  163. <=== LoadFirmware()
  164. val=c6
  165. eth0: Promiscuous mode enabled.
  166. device eth0 entered promiscuous mode
  167. br-lan: port 1(eth0) entering learning state
  168. _
  169. _
  170. val=c4
  171. ===> LoadFirmware()
  172. <=== LoadFirmware()
  173. val=c6
  174. device wlan0 entered promiscuous mode
  175. br-lan: port 2(wlan0) entering learning state
  176. br-lan: topology change detected, propagating
  177. br-lan: port 1(eth0) entering forwarding state
  178. sysinit: brctl: bridge br-lan: Device or resource busy

  179. sysinit: killall: mpoad: no process killed

  180. br-lan: topology change detected, propagating
  181. br-lan: port 2(wlan0) entering forwarding state
  182. PVC Number = 2. Set Desc number per VC = 62

  183. InitAdslMode....

  184. InitAdsl
  185. sysinit: ifconfig: nas_0_8_35: error fetching interface information: Device not found

  186. fixme atm_find_ci in sar_open!
  187. ratm(itf 0): open 8.35
  188. create: ch0 (8/35) 6000,0
  189. sar_close
  190. ATM OAM F5 initialized.
  191. ATM OAM F4 initialized.
  192. Enable 8671G 1 function
  193. Enable 8671 0 function
  194. Enable 8672 function
  195. create: ch0 (8/35) 6000,0
  196. applying workaround...done
  197. sysinit: nas_0_8_35 Link encap:Ethernet  HWaddr 00:00:01:00:00:00  

  198. sysinit:           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

  199. sysinit:           RX packets:0 errors:0 dropped:0 overruns:0 frame:0

  200. sysinit:           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

  201. sysinit:           collisions:0 txqueuelen:1000

  202. sysinit:           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

  203. sysinit: ifconfig nas_0_8_35 up with mac 00:26:ab:0d:b9:0d

  204. sysinit: ifconfig: nas_1_0_32: error fetching interface information: Device not found

  205. fixme atm_find_ci in sar_open!
  206. ratm(itf 0): open 0.32
  207. create: ch1 (0/32) 6000,0
  208. sar_close
  209. sar_close
  210. ATM OAM F5 initialized.
  211. ATM OAM F4 initialized.
  212. Enable 8671G 1 function
  213. Enable 8671 0 function
  214. Enable 8672 function
  215. create: ch0 (8/35) 6000,0
  216. create: ch1 (0/32) 6000,0
  217. applying workaround...done
  218. sysinit: nas_1_0_32 Link encap:Ethernet  HWaddr 00:00:01:00:00:00  

  219. sysinit:           BROADCAST MULTICAST  MTU:1500  Metric:1

  220. sysinit:           RX packets:0 errors:0 dropped:0 overruns:0 frame:0

  221. sysinit:           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

  222. sysinit:           collisions:0 txqueuelen:1000

  223. sysinit:           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

  224. sysinit: ifconfig nas_1_0_32 up with mac 00:6d:7f:ce:9f:ee

  225. sysinit: Loading defaults

  226. sysinit: iptables: No chain/target/match by that name.

  227. sysinit: iptables: No chain/target/match by that name.

  228. sysinit: iptables: No chain/target/match by that name.

  229. sysinit: Loading synflood protection

  230. sysinit: Adding custom chains

  231. sysinit: Loading zones

  232. sysinit: Loading forwardings

  233. sysinit: Loading rules

  234. sysinit: Loading redirects

  235. sysinit: Loading includes

  236. sysinit: Optimizing conntrack

  237. sysinit: Loading interfaces

  238. sysinit: iptables v1.4.10: Bad MARK value "1/0xff"

  239. sysinit: Try `iptables -h' or 'iptables --help' for more information.

  240. sysinit: iptables v1.4.10: Bad MARK value "1/0xff"

  241. sysinit: Try `iptables -h' or 'iptables --help' for more information.

  242. sysinit: iptables v1.4.10: Bad MARK value "3/0xff"

  243. sysinit: Try `iptables -h' or 'iptables --help' for more information.

  244. sysinit: iptables v1.4.10: Bad MARK value "2/0xff"

  245. sysinit: Try `iptables -h' or 'iptables --help' for more information.

  246. sysinit: iptables v1.4.10: Bad MARK value "2/0xff"

  247. sysinit: Try `iptables -h' or 'iptables --help' for more information.

  248. sysinit: iptables: No chain/target/match by that name.

  249. sysinit: iptables: No chain/target/match by that name.

  250. sysinit: iptables v1.4.10: Bad MARK value "0/0xff"

  251. sysinit: Try `iptables -h' or 'iptables --help' for more information.

  252. sysinit: iptables v1.4.10: Bad MARK value "0/0xff"

  253. sysinit: Try `iptables -h' or 'iptables --help' for more information.

  254. sysinit: iptables v1.4.10: Bad MARK value "2/0xff"

  255. sysinit: Try `iptables -h' or 'iptables --help' for more information.

  256. sysinit: iptables v1.4.10: Bad MARK value "1/0xff"

  257. sysinit: Try `iptables -h' or 'iptables --help' for more information.

  258. sysinit: iptables v1.4.10: Bad MARK value "4/0xff"

  259. sysinit: Try `iptables -h' or 'iptables --help' for more information.

  260. sysinit: iptables v1.4.10: Bad MARK value "4/0xff"

  261. sysinit: Try `iptables -h' or 'iptables --help' for more information.

  262. sysinit: iptables v1.4.10: Bad MARK value "1/0xff"

  263. sysinit: Try `iptables -h' or 'iptables --help' for more information.

  264. sysinit: iptables v1.4.10: Bad MARK value "1/0xff"

  265. sysinit: Try `iptables -h' or 'iptables --help' for more information.




  266. BusyBox v1.19.4 () built-in shell (ash)
  267. Enter 'help' for a list of built-in commands.

  268. - W I R E L E S S    F R E E D O M -
  269. - rtl8672  (v, a, t, s) MIPS go on -
  270. - persist                   create -
  271. ------------------------------------
  272. root@rtl8672:/#
复制代码


发表于 2019-10-29 11:00 | 显示全部楼层
这个搞好了么
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-6-7 08:53

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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