找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 38029|回复: 60

小度路由(7620A)研究贴,有兴趣可参加

[复制链接]
MT7620N好像没什么搞,小度出了MT7620A,OP官网最早就支持A,N也就是刚出,但还不能支持国内的型号(要自行修改代码),就买了一台回来研究。拆开板很干净,高集成都是这样,有5G芯片空位。第一步刷OPENWRT,失败ING。第二步,升128M内存,中行ING。

接上TTL线:
Ralink UBoot Version: 4.1.2.0
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Nov  1 2013  Time:13:49:26
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

##### The CPU freq = 580 MHZ ####
estimate memory size =64 Mbytes

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.                                           0

3: System Boot system code via Flash.
## Booting image at bc040000 ...
raspi_read: from:40000 len:40
   Image Name:   Ai-BR
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    5019591 Bytes =  4.8 MB
   Load Address: 80000000
   Entry Point:  8000c310
raspi_read: from:40040 len:4c97c7
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 8000c310) ...
## Giving linux memsize in MB, 64

Starting kernel ...


LINUX started...

THIS IS ASIC
Linux version 2.6.36 (chris@ubuntu-dt) (gcc version 3.4.2) #2 Wed Dec 4 17:18:29 CST 2013

The CPU feqenuce set to 580 MHz

MIPS CPU sleep mode enabled.
PCIE: bypass PCIe DLL.
PCIE: Elastic buffer control: Addr:0x68 -> 0xB4
disable all power about PCIe
CPU revision is: 00019650 (MIPS 24Kc)
Determined physical RAM map:
memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS1,57600n8 root=/dev/ram0 console=ttyS0
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Writing ErrCtl register=0000000c
Readback ErrCtl register=0000000c
Memory: 56176k/65536k available (4354k kernel code, 9360k reserved, 808k data, 3404k init, 0k highmem)
NR_IRQS:128
MTK/Ralink System Tick Counter init... cd:804f1e78, m:214748, s:32
console [ttyS1] enabled
Calibrating delay loop... 386.04 BogoMIPS (lpj=772096)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource Ralink external timer
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1


写入OPENWRT固件出错:
TIMEOUT_COUNT=10,Load address: 0x80a00000
Loading: Got ARP REPLY, set server/gtwy eth addr (bc:5f:f4:77:cc:a8)
Got it
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################
done
Bytes transferred = 3407876 (340004 hex)
NetBootFileXferSize= 00340004
raspi_read: from:20000 len:10000
Erasing SPI Flash...
raspi_erase: offs:20000 len:10000
.
Writing to SPI Flash...
raspi_write: to:20000 len:10000
.
done
Automatic boot of image at addr 0x80A00000 ...
## Booting image at 80a00000 ...
   Image Name:   MIPS OpenWrt Linux-3.10.21
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1041827 Bytes = 1017.4 kB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64

Starting kernel ...

[    0.000000] Linux version 3.10.21 (dari@ubuntu) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r39056) ) #2 Mon Dec 16 22:06:05 CST 2013
[    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:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is Buffalo WHR-300HP2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    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: 16256
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00040000
[    0.000000] Readback ErrCtl register=00040000
[    0.000000] Memory: 61576k/65536k available (2348k kernel code, 3960k reserved, 567k data, 220k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] CPU Clock: 580MHz
[    0.000000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 512
[    0.070000] pinctrl core: initialized pinctrl subsystem
[    0.080000] NET: Registered protocol family 16
[    0.100000] bio: create slab <bio-0> at 0
[    0.110000] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.120000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.130000] rt2880_gpio 10000660.gpio: registering 32 gpios
[    0.140000] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[    0.150000] Switching to clocksource MIPS
[    0.160000] NET: Registered protocol family 2
[    0.170000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.180000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.190000] TCP: Hash tables configured (established 512 bind 512)
[    0.210000] TCP: reno registered
[    0.210000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.220000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.240000] NET: Registered protocol family 1
[    0.250000] rt-timer 10000100.timer: maximum frequncy is 2441Hz
[    0.270000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.280000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.310000] msgmni has been set to 120
[    0.310000] io scheduler noop registered
[    0.320000] io scheduler deadline registered (default)
[    0.330000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.360000] console [ttyS0] enabled, bootconsole disabledirq = 20) is a 16550A
[    0.360000] console [ttyS0] enabled, bootconsole disabled
[    0.390000] m25p80 spi32766.0: found mx25l6405d, expected en25q64
[    0.400000] m25p80 spi32766.0: mx25l6405d (8192 Kbytes)
[    0.410000] 5 ofpart partitions found on MTD device spi32766.0
[    0.420000] Creating 5 MTD partitions on "spi32766.0":
[    0.430000] 0x000000000000-0x000000030000 : "u-boot"
[    0.440000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.450000] 0x000000040000-0x000000050000 : "factory"
[    0.470000] 0x000000050000-0x000000700000 : "firmware"
[    0.480000] 0x000000700000-0x000000800000 : "usercfg"
[    0.490000] gsw: setting port4 to ephy mode
[    0.500000] (unregistered net_device): port 2 link up (100Mbps/Full duplex)
[    0.520000] ralink_soc_eth 10100000.ethernet: loaded mt7530 driver
[    0.530000] eth0: done loading
[    0.540000] rt3xxx-usbphy ubsphy.3: loaded
[    0.540000] rt2880_wdt 10000120.watchdog: Initialized
[    0.560000] TCP: cubic registered
[    0.560000] NET: Registered protocol family 17
[    0.570000] 8021q: 802.1Q VLAN Support v1.8
[    0.580000] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    0.600000] Please append a correct "root=" boot option; here are the available partitions:
[    0.610000] 1f00             192 mtdblock0  (driver?)
[    0.620000] 1f01              64 mtdblock1  (driver?)
[    0.630000] 1f02              64 mtdblock2  (driver?)
[    0.640000] 1f03            6848 mtdblock3  (driver?)
[    0.650000] 1f04            1024 mtdblock4  (driver?)
[    0.660000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
本帖最后由 gz828 于 2013-12-18 22:18 编辑

拆DDR2内存芯片测试BA2信号点正常,说明是支持128M,256M内存芯片,以后改要商又多一条出路。 马上换上128M内存,正常开机,但不认128M内存,很正常。下一步看哪位大侠编译出支持128M的UBOOT出来了,有了可以第一时间联系我测试,呵呵!
上图~




用了INTEL老大的UBOOT,直接认出128M内存


原厂固件不支持64M内存,只能上OP了








本帖子中包含更多资源

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

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 200420154 于 2013-12-18 16:47 编辑

所谓的A与N感觉没什么区别,A支持更多接口,可以带千兆的有线,5G wifi,SD卡,支持更高内存,封装不一样。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

lintel 发表于 2013-12-18 17:29
http://downloads.openwrt.org.cn/PandoraBox/BR100

砖家,永远是对的...
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

其实我只想你们撸个百度下载出来试一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

其实我已经刷了 就是 第一次玩 OpenWrt 不太会用
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
上16m FLASH成功!下一步上256M内存

点评

楼主,请教一下,我的百度br100上16m的flash还是只能识别到8m,用的lintel的uboot和pandorabox  详情 回复 发表于 2014-12-13 19:42
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

一片256的内存要30RMB了吧。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报


好吧,我也来凑热闹了。
128M,256M uboot也算编译出来了。正在移植httpd:

本帖子中包含更多资源

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

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

huangfc_1 发表于 2013-12-21 23:07
好吧,我也来凑热闹了。
128M,256M uboot也算编译出来了。正在移植httpd:

大师就是牛逼啊 这么吊的玩意也弄出来了,就是还没有牛逼的固件 内存大了 能干啥用
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

小乖乖 发表于 2013-12-21 23:46
大师就是牛逼啊 这么吊的玩意也弄出来了,就是还没有牛逼的固件 内存大了 能干啥用

装13意义大于实际意义吧  当然 稳定性还是有提高滴 以后可能应用越来越多 内存自然就i越大越好了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

mexia 发表于 2013-12-22 00:02
装13意义大于实际意义吧  当然 稳定性还是有提高滴 以后可能应用越来越多 内存自然就i越大越好了

目前木有完美固件! 无线无法中继的问题一直未解决
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

楼主,来个小度编程器固件
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

huangfc_1 发表于 2013-12-21 23:07
好吧,我也来凑热闹了。
128M,256M uboot也算编译出来了。正在移植httpd:

7620A不是580MHz的么?超频了?

点评

可以600mhz  详情 回复 发表于 2015-1-14 12:11
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-28 05:49

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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