heziguo 发表于 2013-7-30 21:11:49

中兴H108L自动识别内存大小?搞不懂

今天闲的没事就折腾了下扔那的一台中兴H108L,刚好手上有几颗三星 K4H511638J-LCCC(64MB),就把原装的32MB给换了,今天一看TTL,嘿我一跳,固件什么都没改,可是居然可以自动识别出来,可是RTL8672貌似最大只支持32MB,搞不懂了,看打印信息boot para cksum OK!
bootPara.runmode=3
SDRAM MTCR0: 0x548b0000
rowcnt=2, colcnt=2, bankcnt=1, buswidth=1, memsize=64MB
CPU revision is: 0000ff00
Determined physical RAM map:
memory: 04000000 @ 00000000 (usable)
Built 1 zonelists.Total pages: 16256
Kernel command line: console=ttyS0,115200 root=31:4
Primary instruction cache 16kB, linesize 16 bytes.
Primary data cache 8kB, linesize 16 bytes.
Synthesized TLB refill handler (17 instructions).
Synthesized TLB load handler fastpath (31 instructions).
Synthesized TLB store handler fastpath (31 instructions).
Synthesized TLB modify handler fastpath (25 instructions).
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 56008k/65536k available (3856k kernel code, 9464k reserved, 860k data, 140k init, 0k highmem)
Mount-cache hash table entries: 512Memory: 56008k/65536k available (3856k kernel code, 9464k reserved, 860k data, 140k init, 0k highmem)
这是不是代表总内存是64MB啊?
还有# cd /usr
# ls
bin    localsbin
# cd sbin
# ls
# cd ..
# cd bin
# ls
[      free   killalltest   top      wget
env      fuser    passwd   tftp   uptime
# cd free
cd: 118: can't cd to free
# free
            total         used         free       shared      buffers
Mem:      56212      23232      32980            0         2840
Swap:            0            0            0
Total:      56212      23232      32980
# 貌似这上面也写的是64MB的求解啊!

YES东 发表于 2013-7-31 21:07:01

已经识别到64M内存了。

heziguo 发表于 2013-8-1 23:04:58

YES东 发表于 2013-7-31 21:07
已经识别到64M内存了。

可是为何我都没改里面的东西,为何会自动识别啊?
为何其它的不用这个 命令呢?

zhjook 发表于 2013-8-1 23:28:02

芯片本身都是有识别码的

heziguo 发表于 2013-8-2 18:09:12

zhjook 发表于 2013-8-1 23:28
芯片本身都是有识别码的

那为何像HG320之类的要把0x104改为0X144才能识别啊
页: [1]
查看完整版本: 中兴H108L自动识别内存大小?搞不懂