找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4894|回复: 3

mt7620n MTD 分区失败,求解!

[复制链接]

[    0.000000] Linux version 3.14.27 (root@localhost.localdomain) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43872) ) #18 Fri Jan 9 17:48:54 CST 2015
[    0.000000] Board has NetShare SDRAM
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: Ralink MT7620N ver:2 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is Netshare NR410
[    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: root=/dev/mtdblock2 console=ttyS0,115200 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=0007fe73
[    0.000000] Readback ErrCtl register=0007fe73
[    0.000000] Memory: 28572K/32768K available (2841K kernel code, 116K rwdata, 528K rodata, 152K init, 185K bss, 4196K reserved)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 580MHz
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.000000] genirq: Flags mismatch irq 7. 00014600 (timer) vs. 00014600 (systick)
[    0.000000] Calibrating delay loop... 766.77 BogoMIPS (lpj=3833856)
[    0.040000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.040000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050000] pinctrl core: initialized pinctrl subsystem
[    0.050000] NET: Registered protocol family 16
[    0.070000] bio: create slab <bio-0> at 0
[    0.070000] cfg80211: Calling CRDA to update world regulatory domain
[    0.080000] Switched to clocksource systick
[    0.080000] NET: Registered protocol family 2
[    0.080000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.100000] TCP: reno registered
[    0.110000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.120000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.120000] NET: Registered protocol family 1
[    0.120000] rt-timer 10000100.timer: maximum frequency is 2441Hz
[    0.140000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.140000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.140000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.160000] msgmni has been set to 55
[    0.170000] io scheduler noop registered
[    0.170000] io scheduler deadline registered (default)
[    0.170000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.190000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a 16550A
[    0.190000] console [ttyS0] enabled
[    0.190000] console [ttyS0] enabled
[    0.190000] bootconsole [early0] disabled
[    0.190000] bootconsole [early0] disabled
[    0.210000] physmap platform flash device: 00400000 at 1f000000
[    0.220000] physmap-flash physmap-flash.0: map_probe failed
[    0.230000] TCP: cubic registered
[    0.230000] NET: Registered protocol family 17

我发现应该是映射的起始地址不对,但我不知道该怎么改,是怎样计算出来的,求解!
[    0.230000] 8021q: 802.1Q VLAN Support v1.8
[    0.250000] VFS: Cannot open root device "mtdblock2" or unknown-block(0,0): error -6
[    0.250000] Please append a correct "root=" boot option; here are the available partitions:
[    0.250000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[  108.100000] random: nonblocking pool is initialized
我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
帮帮忙,各位牛人们!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
哇咔咔,还是自己解决了,内核里的MTD配置有问题,可以看看这篇文章里的MTD配置,http://www.cnitblog.com/eleader/archive/2008/09/05/48759.html
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

这个有点难,没有看到,尤其是命令行,都不知道为什么MTD0什么的从什么地方开始,什么地方结束,有没有LINUX入门的文章,或者谁出个改路由器固件的全面点的文章,大家学习一下。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2024-5-7 03:00

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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