找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 6253|回复: 7

小白尝试编译7620 LEDE固件,怎么没网卡驱动?

[复制链接]
路由是路由宝MT7620A的,编译是默认的配置没只加了luci,启动有线、无线全没有,看TTL是启动了,这是为什么啊?求大神指点一下


  1. Boot and Recovery Environment for Embedded Devices
  2. Copyright (C) 2015 HackPascal <hackpascal@gmail.com>
  3. Build date 2015-09-21 [git-649aea1]
  4. Version 1.0 (r766)

  5. DRAM: 128MB
  6. Platform: MediaTek MT7620A ver 2, eco 6
  7. Board: Youku YK1
  8. Clocks: CPU: 580MHz, Bus: 193MHz
  9. Flash: Winbond W25Q256 (32MB) on rt2880-spi
  10. rt2880-eth: Using MAC address 54:36:9b:00:47:68
  11. eth0: MediaTek MT7620A built-in 5-port 10/100M switch

  12. Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0

  13. Press any key to interrupt autoboot ... 0   

  14. Trying to boot firmware from 0x00050000 in flash bank 0 ...
  15. Reading data into memory ...
  16. U-Boot firmware image header detected.
  17.     Image Name:   MIPS LEDE Linux-4.9.37
  18.     Data Size:    1349288 Bytes
  19.     Load Address: 80000000
  20.     Entry Point:  80000000
  21. Uncompressing data (LZMA) ... done.
  22. Flushing cache ... done.

  23. Starting kernel at 0x80000000...

  24. [    0.000000] Linux version 4.9.37 (zh@zh-To-be-filled-by-O-E-M) (gcc version 5.4.0 (LEDE GCC 5.4.0 r4622-9e64874) ) #0 Mon Jul 24 11:39:21 2017
  25. [    0.000000] Board has DDR2
  26. [    0.000000] Analog PMU set to hw control
  27. [    0.000000] Digital PMU set to hw control
  28. [    0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
  29. [    0.000000] bootconsole [early0] enabled
  30. [    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
  31. [    0.000000] MIPS: machine is YOUKU YK1
  32. [    0.000000] Determined physical RAM map:
  33. [    0.000000]  memory: 08000000 [url=home.php?mod=space&uid=162986]@[/url] 00000000 (usable)
  34. [    0.000000] Initrd not found or empty - disabling initrd
  35. [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
  36. [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  37. [    0.000000] Zone ranges:
  38. [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
  39. [    0.000000] Movable zone start for each node
  40. [    0.000000] Early memory node ranges
  41. [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
  42. [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
  43. [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
  44. [    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
  45. [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
  46. [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
  47. [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
  48. [    0.000000] Writing ErrCtl register=00021fb1
  49. [    0.000000] Readback ErrCtl register=00021fb1
  50. [    0.000000] Memory: 125404K/131072K available (3134K kernel code, 155K rwdata, 752K rodata, 176K init, 216K bss, 5668K reserved, 0K cma-reserved)
  51. [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  52. [    0.000000] NR_IRQS:256
  53. [    0.000000] CPU Clock: 580MHz
  54. [    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
  55. [    0.000000] systick: enable autosleep mode
  56. [    0.000000] systick: running - mult: 214748, shift: 32
  57. [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
  58. [    0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
  59. [    0.015457] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
  60. [    0.080616] pid_max: default: 32768 minimum: 301
  61. [    0.089921] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  62. [    0.102949] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  63. [    0.123587] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  64. [    0.143068] futex hash table entries: 256 (order: -1, 3072 bytes)
  65. [    0.155221] pinctrl core: initialized pinctrl subsystem
  66. [    0.166201] NET: Registered protocol family 16
  67. [    0.197353] rt2880_gpio 10000600.gpio: registering 24 gpios
  68. [    0.208393] rt2880_gpio 10000600.gpio: registering 24 irq handlers
  69. [    0.220974] rt2880_gpio 10000638.gpio: registering 16 gpios
  70. [    0.231960] rt2880_gpio 10000638.gpio: registering 16 irq handlers
  71. [    0.244504] rt2880_gpio 10000660.gpio: registering 32 gpios
  72. [    0.255483] rt2880_gpio 10000660.gpio: registering 32 irq handlers
  73. [    0.268015] rt2880_gpio 10000688.gpio: registering 1 gpios
  74. [    0.278820] rt2880_gpio 10000688.gpio: registering 1 irq handlers
  75. [    0.295008] clocksource: Switched to clocksource systick
  76. [    0.306788] NET: Registered protocol family 2
  77. [    0.316294] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
  78. [    0.330070] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
  79. [    0.342662] TCP: Hash tables configured (established 1024 bind 1024)
  80. [    0.355390] UDP hash table entries: 256 (order: 0, 4096 bytes)
  81. [    0.366919] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  82. [    0.379622] NET: Registered protocol family 1
  83. [    0.390496] rt-timer 10000100.timer: maximum frequency is 1220Hz
  84. [    0.403230] Crashlog allocated RAM at address 0x3f00000
  85. [    0.414671] workingset: timestamp_bits=30 max_order=15 bucket_order=0
  86. [    0.435593] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  87. [    0.447081] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
  88. [    0.475115] io scheduler noop registered
  89. [    0.482758] io scheduler deadline registered (default)
  90. [    0.493228] ralink-usb-phy usbphy: invalid resource
  91. [    0.503387] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
  92. [    0.517091] console [ttyS0] disabled
  93. [    0.524083] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
  94. [    0.543860] console [ttyS0] enabled
  95. [    0.543860] console [ttyS0] enabled
  96. [    0.557633] bootconsole [early0] disabled
  97. [    0.557633] bootconsole [early0] disabled
  98. [    0.577937] spi spi0.0: force spi mode3
  99. [    0.586451] m25p80 spi0.0: w25q256 (32768 Kbytes)
  100. [    0.595916] 4 ofpart partitions found on MTD device spi0.0
  101. [    0.606851] Creating 4 MTD partitions on "spi0.0":
  102. [    0.616411] 0x000000000000-0x000000030000 : "u-boot"
  103. [    0.628017] 0x000000030000-0x000000040000 : "u-boot-env"
  104. [    0.640512] 0x000000040000-0x000000050000 : "factory"
  105. [    0.652519] 0x000000050000-0x000002000000 : "firmware"
  106. [    2.644996] random: fast init done
  107. [    3.518902] 2 uimage-fw partitions found on MTD device firmware
  108. [    3.530732] 0x000000050000-0x0000001996e8 : "kernel"
  109. [    3.542304] 0x0000001996e8-0x000002000000 : "rootfs"
  110. [    3.554084] mtd: device 5 (rootfs) set to be root filesystem
  111. [    3.565997] 1 squashfs-split partitions found on MTD device rootfs
  112. [    3.578378] 0x0000003ca000-0x000002000000 : "rootfs_data"
  113. [    3.591418] libphy: Fixed MDIO Bus: probed
  114. [    3.600237] rt2880-pinmux pinctrl: pin io40 already requested by pinctrl; cannot claim for 10100000.ethernet
  115. [    3.619878] rt2880-pinmux pinctrl: pin-40 (10100000.ethernet) status -22
  116. [    3.633243] rt2880-pinmux pinctrl: could not request pin 40 (io40) from group ephy  on device rt2880-pinmux
  117. [    3.652663] mtk_soc_eth 10100000.ethernet: Error applying setting, reverse things back
  118. [    3.668460] mtk_soc_eth: probe of 10100000.ethernet failed with error -22
  119. [    3.682438] rt2880_wdt 10000120.watchdog: Initialized
  120. [    3.693693] NET: Registered protocol family 10
  121. [    3.707212] NET: Registered protocol family 17
  122. [    3.716191] 8021q: 802.1Q VLAN Support v1.8
  123. [    3.736962] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
  124. [    3.752020] Freeing unused kernel memory: 176K (803f4000 - 80420000)
  125. [    3.764706] This architecture does not have kernel memory protection.
  126. [    5.411990] init: Console is alive
  127. [    5.419099] init: - watchdog -
  128. [    6.670058] kmodloader: loading kernel modules from /etc/modules-boot.d/*
  129. [    6.937341] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
  130. [    6.953621] init: - preinit -
  131. Failed to connect to the switch. Use the "list" command to see which switches are available.
  132. Failed to connect to the switch. Use the "list" command to see which switches are available.
  133. Failed to connect to the switch. Use the "list" command to see which switches are available.
  134. Press the [f] key and hit [enter] to enter failsafe mode
  135. Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
  136. [    9.286189] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
  137. [    9.326897] urandom-seed: Seed file not found (/etc/urandom.seed)
  138. [    9.452793] procd: - early -
  139. [    9.459379] procd: - watchdog -
  140. [    9.861343] procd: - watchdog -
  141. [    9.867938] procd: - ubus -
  142. [    9.891533] procd: - init -
  143. Please press Enter to activate this console.
  144. [   10.237745] kmodloader: loading kernel modules from /etc/modules.d/*
  145. [   10.256574] ip6_tables: (C) 2000-2006 Netfilter Core Team
  146. [   10.277459] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
  147. [   10.293490] Backport generated by backports.git backports-20160324-13-g24da7d3c
  148. [   10.364051] ip_tables: (C) 2000-2006 Netfilter Core Team
  149. [   10.383826] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
  150. [   10.465448] xt_time: kernel timezone is -0000
  151. [   10.484922] PPP generic driver version 2.4.2
  152. [   10.496336] NET: Registered protocol family 24
  153. [   10.523092] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
  154. [   10.537563] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
  155. [   10.553026] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
  156. [   10.599473] kmodloader: done loading kernel modules from /etc/modules.d/*
  157. [   19.176032] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
  158. [   19.212649] jffs2_build_filesystem(): unlocking the mtd device... [   19.224701] done.
  159. [   19.228539] jffs2_build_filesystem(): erasing all blocks after the end marker... [  125.077706] random: crng init done
复制代码


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
 楼主| | 显示全部楼层
等待大神中……
回复

使用道具 举报

关注下。。。
回复

使用道具 举报

建议用LEDE稳定版,默认测试版,有时没什么问题,有时有问题,可能和补丁上传有关~
回复

使用道具 举报

 楼主| | 显示全部楼层
wifisky 发表于 2017-7-26 09:19
建议用LEDE稳定版,默认测试版,有时没什么问题,有时有问题,可能和补丁上传有关~

有稳定版的额源码吗?我在lede官方就找到这个https://git.lede-project.org/source.git
回复

使用道具 举报

502315278 发表于 2017-7-26 10:54
有稳定版的额源码吗?我在lede官方就找到这个https://git.lede-project.org/source.git

【大飞】LEDE编译笔记(一):稳定版源码分支切换:https://www.right.com.cn/forum/thread-216718-1-1.html
回复

使用道具 举报

 楼主| | 显示全部楼层
wifisky 发表于 2017-7-26 11:04
【大飞】LEDE编译笔记(一):稳定版源码分支切换:https://www.right.com.cn/forum/thread-216718-1-1.ht ...

好,谢谢,我试试,不过感觉不像源码的事,而是少编译或少修改了什么。。。。
回复

使用道具 举报

我的是bootloader data is corrupted   7620A

Boot and Recovery Environment for Embedded Devices
Copyright (C) 2017 HackPascal <hackpascal@gmail.com>
Build date 2017-09-21 [git-35a696e]
Version 1.1 (r1126)

Bootloader data is corrupted!

System halted.

4电源和4LAN灯全亮,这里说补一下,如果FLASH芯片焊反了,只有三个灯亮或只有一个电源灯亮。 拆机和下芯片前注意拍照留图用于回顾。

搞最后还得上编程器。。。

一周后——————————




EZP2020 ver2.0---编程器,真不贵(自贡的公司,某宝给的支持服务挺好),就是自动识别需要注意,我的是 W25Q256FV ,但自动识别成W25Q256了。
经过编程器折腾,风枪拆芯片(飞线不行,不认芯片。。。。),直接刷入 breed-mt7620-phicomm-psg1208.bin 对应breed成功。 注意校验写入,后来才发现我的win7写入校验后不对(本人的办公系统企业版本,可能有限制),系统并没有刷入固件,更换电脑win10搞定。 还有异常处,这个编程器 写入后 读取还是空芯片。。。用W25Q128FV 编写 W25Q256FVF0。完成
回复

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

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

GMT+8, 2024-5-16 15:44

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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