设为首页收藏本站

简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย

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

QQ登录

只需一步,快速开始

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

(求助)mt7620a问题

[复制链接]
发表于 2015-2-3 11:50 | 显示全部楼层 |阅读模式
纯官方最新代码。编译、下载后有线无线都不行。

官方的驱动现在到底能不能用?看到有人说行,有人说不行。

板子是16mFlash + 128mRam

按照这个帖子 https://www.right.com.cn/forum/thread-146738-1-1.html 改了target/linux/ramips/image/Makefile和target/linux/ramips/dts/MT7620a.dts还是不行。

请大家帮忙看看,多谢。

另外一个问题:ram是自动识别吗?为什么认出来32m?

---------------------------------------------------------------------------------------------------------------------------------------
Resetting...

U-Boot 1.1.4 (Nov 24 2014 - 13:41:49)

Ralink APSoC (MT7620 E2 ver 2, eco 6)

DRAM:  32 MB

Flash: Winbond W25Q128 (16 MB)


Clocks: CPU:600MHz, Bus:200MHz

In:    serial

Out:   serial

Err:   serial

Net:   rt2880_eth_initialize...

VLAN: None

Fetching MAC Address from 0xbc040028

eth0: 00:0c:43:76:20:77

eth0 up

eth0

Hit any key to stop autoboot:  1 \0x08\0x08\0x08 0

## Booting image at 9c050000 ...

   Image Name:   MIPS OpenWrt Linux-3.10.49

   Created:      2015-02-03   3:29:57 UTC

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    1103707 Bytes =  1.1 MB

   Load Address: 80000000

   Entry Point:  80000000

   Verifying Checksum at 0x9c050040 ... OK

   Uncompressing Kernel Image ... OK


Starting kernel ...


[    0.000000] Linux version 3.10.49 (root@xc-ThinkPad-Edge-E130) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44162) ) #16 Tue Feb 3 11:29:30 CST 2015
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: Ralink MT7620A ver:2 eco:6
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is Ralink MT7620a + MT7610e evaluation board
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28960k/32768k available (2451k kernel code, 3808k reserved, 603k data, 208k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 600MHz
[    0.000000] Calibrating delay loop... 398.13 BogoMIPS (lpj=1990656)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 512
[    0.080000] pinctrl core: initialized pinctrl subsystem
[    0.090000] NET: Registered protocol family 16
[    0.470000] bio: create slab <bio-0> at 0
[    0.480000] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.490000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.500000] PCI host bridge to bus 0000:00
[    0.510000] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    0.520000] pci_bus 0000:00: root bus resource [io  0x10160000-0x1016ffff]
[    0.530000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.540000] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[    0.550000] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[    0.560000] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff]
[    0.570000] pci 0000:01:00.1: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.580000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.580000] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x201fffff]
[    0.590000] Switching to clocksource MIPS
[    0.600000] NET: Registered protocol family 2
[    0.600000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.610000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.620000] TCP: Hash tables configured (established 512 bind 512)
[    0.640000] TCP: reno registered
[    0.640000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.650000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.670000] NET: Registered protocol family 1
[    0.680000] rt-timer 10000100.timer: maximum frequncy is 2441Hz
[    0.700000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.720000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.740000] msgmni has been set to 56
[    0.740000] io scheduler noop registered
[    0.750000] io scheduler deadline registered (default)
[    0.760000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.780000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.790000] console [ttyS0] enabled, bootconsole disabled
[    0.790000] console [ttyS0] enabled, bootconsole disabled
[    0.820000] m25p80 spi32766.0: found w25q128, expected en25q64
[    0.830000] m25p80 spi32766.0: w25q128 (16384 Kbytes)
[    0.840000] 4 ofpart partitions found on MTD device spi32766.0
[    0.850000] Creating 4 MTD partitions on "spi32766.0":
[    0.860000] 0x000000000000-0x000000030000 : "u-boot"
[    0.870000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.890000] 0x000000040000-0x000000050000 : "factory"
[    0.900000] 0x000000050000-0x000001000000 : "firmware"
[    0.910000] 0x00000015d79b-0x000001000000 : "rootfs"
[    0.920000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.950000] mtd: device 4 (rootfs) set to be root filesystem
[    0.960000] mtd: partition "rootfs_data" created automatically, ofs=0x7f0000, len=0x810000
[    0.970000] 0x0000007f0000-0x000001000000 : "rootfs_data"
[    0.990000] libphy: mdio: probed
[    1.000000] ralink_soc_eth 10100000.ethernet: connected port 4 to PHY at mdio-bus:04 [uid=03a2940d, driver=Generic PHY]
[    1.020000] ralink_soc_eth 10100000.ethernet: connected port 5 to PHY at mdio-bus:05 [uid=0000ffff, driver=Generic PHY]
[    1.040000] ralink_soc_eth 10100000.ethernet: loaded mt7620 driver
[    1.060000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[    1.070000] rt3xxx-usbphy usbphy.3: loaded
[    1.080000] rt2880_wdt 10000120.watchdog: Initialized
[    1.090000] TCP: cubic registered
[    1.100000] NET: Registered protocol family 17
[    1.110000] 8021q: 802.1Q VLAN Support v1.8
[    1.130000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.140000] Freeing unused kernel memory: 208K (802fc000 - 80330000)
procd: Console is alive
procd: - watchdog -
[    5.180000] usbcore: registered new interface driver usbfs
[    5.190000] usbcore: registered new interface driver hub
[    5.200000] usbcore: registered new device driver usb
[    5.210000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.230000] ehci-platform: EHCI generic platform driver
[    5.440000] rt3xxx-usbphy usbphy.3: remote usb device wakeup disabled
[    5.450000] rt3xxx-usbphy usbphy.3: UTMI 16bit 30MHz
[    5.460000] ehci-platform 101c0000.ehci: EHCI Host Controller
[    5.470000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    5.490000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    5.520000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    5.530000] hub 1-0:1.0: USB hub found
[    5.540000] hub 1-0:1.0: 1 port detected
[    5.550000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.560000] ohci-platform 101c1000.ohci: Generic Platform OHCI Controller
[    5.570000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    5.590000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    5.660000] hub 2-0:1.0: USB hub found
[    5.670000] hub 2-0:1.0: 1 port detected
procd: - preinit -
[    6.180000] 8021q: adding VLAN 0 to HW filter on device eth0
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.030000] ralink_soc_eth 10100000.ethernet eth0: port 4 link up (10Mbps/Half duplex)
[    8.040000] ralink_soc_eth 10100000.ethernet eth0: port 5 link up (10Mbps/Half duplex)
jffs2 is not ready - marker found
procd: - early -
procd: - watchdog -
[   10.030000] ralink_soc_eth 10100000.ethernet eth0: port 4 link down
[   10.040000] ralink_soc_eth 10100000.ethernet eth0: port 5 link down
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[   11.460000] NET: Registered protocol family 10
[   11.480000] Initializing XFRM netlink socket
[   11.490000] NET: Registered protocol family 15
[   11.500000] tun: Universal TUN/TAP device driver, 1.6
[   11.510000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   11.550000] nf_conntrack version 0.5.0 (455 buckets, 1820 max)
[   11.600000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.620000] Netfilter messages via NETLINK v0.30.
[   11.630000] ip_set: protocol 6
[   11.670000] u32 classifier
[   11.680000]     input device check on
[   11.690000]     Actions configured
[   11.700000] Mirror/redirect action on
[   11.710000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[   11.730000] Backport generated by backports.git backports-20140320-37-g5c33da0
[   11.750000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.800000] xt_time: kernel timezone is -0000
[   11.840000] cfg80211: Calling CRDA to update world regulatory domain
[   11.850000] cfg80211: World regulatory domain updated:
[   11.860000] cfg80211:  DFS Master region: unset
[   11.870000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   11.890000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   11.900000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   11.920000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   11.940000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[   11.950000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   11.970000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   11.980000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   12.000000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   12.060000] PPP generic driver version 2.4.2
[   12.080000] NET: Registered protocol family 24
[   12.130000] rt2800_wmac 10180000.wmac: failed to load eeprom property
[   12.140000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
procd: Could not[   12.190000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Error - Failed to request EEPROM.
find firmware /[   12.210000] rt2800_wmac: probe of 10180000.wmac failed with error -2
lib/firmware/soc_wmac.eeprom
[   22.220000] 8021q: adding VLAN 0 to HW filter on device eth0
[   22.230000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   22.260000] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[   22.290000] device eth0.1 entered promiscuous mode
[   22.300000] device eth0 entered promiscuous mode
[   22.310000] ralink_soc_eth 10100000.ethernet eth0: port 4 link up (10Mbps/Half duplex)
[   22.360000] ralink_soc_eth 10100000.ethernet eth0: port 5 link up (10Mbps/Half duplex)
[   22.400000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   22.450000] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   24.310000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   24.360000] br-lan: port 1(eth0.1) entered forwarding state
[   24.370000] br-lan: port 1(eth0.1) entered forwarding state
[   24.380000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   24.390000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   24.440000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   26.370000] br-lan: port 1(eth0.1) entered forwarding state
[   37.810000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   37.840000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   37.850000] jffs2_build_filesystem(): erasing all blocks after the end marker... procd: Instance mcproxy::instance1 s in a crash loop 6 crashes, 0 seconds since last crash
procd: Instance pim6sd::instance1 s in a crash loop 6 crashes, 0 seconds since last crash
procd: Instance dnsmasq::instance1 s in a crash loop 6 crashes, 0 seconds since last crash
done.
[   72.960000] jffs2: notice: (1327) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
procd: Not starting instance igmpproxy::instance1, an error was indicated
procd: - init complete -



BusyBox v1.22.1 (2015-02-01 02:21:35 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Barrier Breaker, r44162)
-----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/#

只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2015-2-3 14:34 | 显示全部楼层
U-boot内存不对,先把U-boot整清楚,否则引导时传给内核的参数可能也有问题,内存识别在新版本的u-boot是自动识别的
但在老版本的代码里面是通过代码设置的
修改 /etc/config/wireless文件里面的使能
disable 1
改为diaable 0
试试看
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
头像被屏蔽
发表于 2015-2-3 14:37 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2015-2-3 15:55 | 显示全部楼层
多谢回复!
但我用原厂sdk编出来的版本是ok的,原厂sdk编译的时候可以设置ram大小。
uboot用的是一样的,没动过,版本是1.1.4,是否说明问题不在uboot?

现在还没时间去研究uboot,也不敢动,万一变砖就不好收场了{:soso_e101:}。
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2015-2-4 13:56 | 显示全部楼层
继续求救。

有线可以了。可以进luci。

今天又更新了openwrt代码,mt7620的make选项有一些改动。无线还是不行。

Resetting...



U-Boot 1.1.4 (Nov 24 2014 - 13:41:49)


Ralink APSoC (MT7620 E2 ver 2, eco 6)

DRAM:  32 MB

Flash: Winbond W25Q128 (16 MB)


Clocks: CPU:600MHz, Bus:200MHz

In:    serial

Out:   serial

Err:   serial

Net:   rt2880_eth_initialize...

VLAN: None

Fetching MAC Address from 0xbc040028

eth0: 00:0c:43:76:20:77

eth0 up

eth0

Hit any key to stop autoboot:  1 \0x08\0x08\0x08 0

## Booting image at 9c050000 ...

   Image Name:   MIPS OpenWrt Linux-3.14.30

   Created:      2015-02-04   5:38:26 UTC

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    1105261 Bytes =  1.1 MB

   Load Address: 80000000

   Entry Point:  80000000

   Verifying Checksum at 0x9c050040 ... OK

   Uncompressing Kernel Image ... OK


Starting kernel ...


[    0.000000] Linux version 3.14.30 (xc@xc-ThinkPad-Edge-E130) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44249) ) #3 Wed Feb 4 13:38:06 CST 2015
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: Ralink MT7620A ver:2 eco:6
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is Ralink MT7620a + MT7610e evaluation board
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29012K/32768K available (2399K kernel code, 123K rwdata, 488K rodata, 180K init, 184K bss, 3756K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 600MHz
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.000000] genirq: Flags mismatch irq 7. 00014600 (timer) vs. 00014600 (systick)
[    0.010000] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
[    0.050000] pid_max: default: 32768 minimum: 301
[    0.050000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060000] pinctrl core: initialized pinctrl subsystem
[    0.070000] NET: Registered protocol family 16
[    0.330000] PCI host bridge /pcie@10140000 ranges:
[    0.330000]  MEM 0x0000000020000000..0x000000002fffffff
[    0.340000]   IO 0x0000000010160000..0x000000001016ffff
[    0.340000] bio: create slab <bio-0> at 0
[    0.350000] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.350000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.360000] PCI host bridge to bus 0000:00
[    0.360000] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    0.370000] pci_bus 0000:00: root bus resource [io  0x10160000-0x1016ffff]
[    0.370000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.380000] pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
[    0.380000] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[    0.390000] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[    0.390000] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff]
[    0.400000] pci 0000:01:00.1: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.400000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.410000] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x201fffff]
[    0.410000] pci 0000:00:00.0: card - bus=0x0, slot = 0x0 irq=0
[    0.420000] pci 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4
[    0.420000] pci 0000:01:00.1: card - bus=0x1, slot = 0x0 irq=4
[    0.430000] Switched to clocksource systick
[    0.430000] NET: Registered protocol family 2
[    0.450000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.450000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.470000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.490000] TCP: reno registered
[    0.490000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.490000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.490000] NET: Registered protocol family 1
[    0.490000] rt-timer 10000100.timer: maximum frequency is 2441Hz
[    0.490000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.490000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.490000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.490000] msgmni has been set to 56
[    0.490000] io scheduler noop registered
[    0.490000] io scheduler deadline registered (default)
[    0.490000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.490000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a 16550A
[    0.490000] console [ttyS0] enabled
[    0.490000] console [ttyS0] enabled
[    0.490000] bootconsole [early0] disabled
[    0.490000] bootconsole [early0] disabled
[    0.490000] m25p80 spi32766.0: found w25q128, expected en25q64
[    0.490000] m25p80 spi32766.0: w25q128 (16384 Kbytes)
[    0.490000] 4 ofpart partitions found on MTD device spi32766.0
[    0.490000] Creating 4 MTD partitions on "spi32766.0":
[    0.490000] 0x000000000000-0x000000030000 : "u-boot"
[    0.490000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.490000] 0x000000040000-0x000000050000 : "factory"
[    0.490000] 0x000000050000-0x000000fb0000 : "firmware"
[    0.820000] 2 uimage-fw partitions found on MTD device firmware
[    0.840000] 0x000000050000-0x00000015ddad : "kernel"
[    0.850000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.880000] 0x00000015ddad-0x000000fb0000 : "rootfs"
[    0.890000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.920000] mtd: device 5 (rootfs) set to be root filesystem
[    0.920000] 1 squashfs-split partitions found on MTD device rootfs
[    0.940000] 0x000000380000-0x000000fb0000 : "rootfs_data"
[    0.950000] ralink_soc_eth 10100000.ethernet (unregistered net_device): port 1 link up (100Mbps/Full duplex)
[    0.980000] libphy: mdio: probed
[    0.980000] ralink_soc_eth 10100000.ethernet: connected port 4 to PHY at mdio-bus:04 [uid=03a2940d, driver=Generic PHY]
[    1.010000] ralink_soc_eth 10100000.ethernet: connected port 5 to PHY at mdio-bus:05 [uid=0000ffff, driver=Generic PHY]
[    1.030000] ralink_soc_eth 10100000.ethernet: loaded mt7620 driver
[    1.040000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[    1.060000] rt3xxx-usbphy usbphy.3: loaded
[    1.060000] rt2880_wdt 10000120.watchdog: Initialized
[    1.080000] TCP: cubic registered
[    1.080000] NET: Registered protocol family 17
[    1.080000] 8021q: 802.1Q VLAN Support v1.8
[    1.110000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.130000] Freeing unused kernel memory: 180K (802f3000 - 80320000)
procd: Console is alive
procd: - watchdog -
[    5.720000] usbcore: registered new interface driver usbfs
[    5.730000] usbcore: registered new interface driver hub
[    5.730000] usbcore: registered new device driver usb
[    5.730000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.730000] ehci-platform: EHCI generic platform driver
[    6.170000] rt3xxx-usbphy usbphy.3: remote usb device wakeup disabled
[    6.200000] rt3xxx-usbphy usbphy.3: UTMI 16bit 30MHz
[    6.200000] ehci-platform 101c0000.ehci: EHCI Host Controller
[    6.220000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    6.230000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    6.270000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    6.270000] hub 1-0:1.0: USB hub found
[    6.290000] hub 1-0:1.0: 1 port detected
[    6.290000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.310000] ohci-platform: OHCI generic platform driver
[    6.320000] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    6.340000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    6.340000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    6.430000] hub 2-0:1.0: USB hub found
[    6.430000] hub 2-0:1.0: 1 port detected
procd: - preinit -
[    7.890000] 8021q: adding VLAN 0 to HW filter on device eth0
[    7.930000] random: mktemp urandom read with 77 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    9.980000] ralink_soc_eth 10100000.ethernet eth0: port 4 link up (10Mbps/Half duplex)
[    9.990000] ralink_soc_eth 10100000.ethernet eth0: port 5 link up (10Mbps/Half duplex)
jffs2 is not ready - marker found
procd: - early -
procd: - watchdog -
procd: - ubus -[   11.290000] ralink_soc_eth 10100000.ethernet eth0: port 4 link down

[   11.310000] ralink_soc_eth 10100000.ethernet eth0: port 5 link down
procd: - init -
Please press Enter to activate this console.
[   13.330000] NET: Registered protocol family 10
[   13.340000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.360000] Loading modules backported from Linux version master-2014-11-04-0-gf3660a2
[   13.380000] Backport generated by backports.git backports-20141023-2-g4ff890b
[   13.400000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.420000] nf_conntrack version 0.5.0 (456 buckets, 1824 max)
[   13.460000] xt_time: kernel timezone is -0000
[   13.510000] cfg80211: Calling CRDA to update world regulatory domain
[   13.520000] cfg80211: World regulatory domain updated:
[   13.540000] cfg80211:  DFS Master region: unset
[   13.540000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   13.560000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   13.580000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   13.600000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   13.600000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   13.600000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   13.600000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   13.600000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   13.600000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   13.600000] PPP generic driver version 2.4.2
[   13.600000] NET: Registered protocol family 24
[   13.600000] rt2800_wmac 10180000.wmac: failed to load eeprom property
[   13.600000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
[   13.600000] rt2800_wmac 10180000.wmac: Direct firmware load failed with error -2
[   13.600000] rt2800_wmac 10180000.wmac: Falling back to user helper
procd: Could not[   13.600000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Error - Failed to request EEPROM.
find firmware /[   13.600000] rt2800_wmac: probe of 10180000.wmac failed with error -2
lib/firmware/soc_wmac.eeprom
[   19.990000] random: nonblocking pool is initialized
[   22.190000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   22.230000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   22.250000] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   22.390000] 8021q: adding VLAN 0 to HW filter on device eth0
[   22.390000] device eth0.1 entered promiscuous mode
[   22.410000] device eth0 entered promiscuous mode
[   22.460000] br-lan: port 1(eth0.1) entered forwarding state
[   22.470000] br-lan: port 1(eth0.1) entered forwarding state
[   23.100000] ralink_soc_eth 10100000.ethernet eth0: port 4 link up (10Mbps/Half duplex)
[   23.100000] ralink_soc_eth 10100000.ethernet eth0: port 5 link up (10Mbps/Half duplex)
[   24.470000] br-lan: port 1(eth0.1) entered forwarding state
[  108.710000] done.
[  108.730000] jffs2: notice: (854) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
procd: - init complete -



BusyBox v1.22.1 (2015-02-04 12:30:07 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
CHAOS CALMER (Bleeding Edge, r44249)
-----------------------------------------------------
  * 1 1/2 oz Gin            Shake with a glassful
  * 1/4 oz Triple Sec       of broken ice and pour
  * 3/4 oz Lime Juice       unstrained into a goblet.
  * 1 1/2 oz Orange Juice
  * 1 tsp. Grenadine Syrup
-----------------------------------------------------
root@OpenWrt:/#
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2015-2-4 14:53 | 显示全部楼层
搞定了。多谢 andy_wsj 的回复 和 981213 的帖子 !

eeprom load出错的问题:
在openwrt/target/linux/ramips/dts下的对应文件中添加
wmac@10180000 {
    ralink,mtd-eeprom = <&factory 0>;
};
就行了,参考rt-n14u.dts。

再在luci中enable一下wireless就行了。

eeprom改了之后,系统中/etc/config/下才有了wireless文件,否则是没有的。


最后,128m的ram还是只认出来32m,怎么解?

点评

/target/linux/ramips/dts/下的什么目录呢,在那个文件里添加那个呢,求解下  详情 回复 发表于 2015-10-20 13:32
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2015-2-27 14:27 | 显示全部楼层
       您好! 我是上海米聘猎头tina,目前我们正在为上海的大型手机ODM公司急招高级路由器软件工程师职位,以下是这些职位的说明, 请查阅。
      
         有兴趣考虑的话可以加我工作q(2851539925)详聊!或周围有合适的朋友还请您帮忙推荐下的,谢谢,期待您的回复!

高级路由器软件工程师

工作职责:
1.路由器底层软件系统架构实现
2.驱动开发与调试
3.路由器应用层功能研发,上层应用接口支持
4.协议栈维护
5.编写相关开发文档
基本要求:
1.精通c/c++开发,熟悉多线程、多进程编程,熟练使用嵌入式Linux操作系统,
2.具有MT7620平台开发经验
3.熟悉内核裁剪,熟悉Makefile/SHELL编程,熟悉网络编程
4.熟悉无线路由web认证技术,对嵌入式脚本语言熟悉;
5.熟悉DHCP,DNS,PPPoE,UPnP,RIP,IGMP,QoS,VLAN,STP等网络协议
6.易沟通,勇于担当,有良好的团队合作意识。
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2015-10-20 13:32 | 显示全部楼层
raidercodebear 发表于 2015-2-4 14:53
搞定了。多谢 andy_wsj 的回复 和 981213 的帖子 !

eeprom load出错的问题:

/target/linux/ramips/dts/下的什么目录呢,在那个文件里添加那个呢,求解下
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

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

本版积分规则

关闭

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

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

查看 »

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

GMT+8, 2025-6-23 10:50

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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

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