|
本帖最后由 hit00 于 2012-4-19 21:34 编辑
Ralink RT3050F/RT3052F强制开启32M SDRAM的U-boot修改版,SPI Flash适用,内容见附件(以下内容回复可见):
2012-03-16新增NOR Flash版本(附件回复可见):
SPI版本已经在我自己的Buffalo WCR-HP-GN路由器上测试OK,其他路由器不保证可用。
NOR版本已经在腾达W311R v1上测试OK,其他路由器不保证可用。
注意!一定把32M的SDRAM芯片换好再刷,在只有16M SDRAM的机器上用此U-boot极可能会变砖!
ps:刷新Bootloader有风险,本人不对变砖负责。各位动手之前请三思!!!
附上使用此U-boot后的DD-WRT启动信息:
LINUX started...
THIS IS ASIC
Linux version 2.6.23.17 (root@dd-wrt) (gcc version 4.5.4 20110526 (prerelease) (Linaro GCC 4.5-2011.06-0) ) #2657 Tue Dec 20 15:40:12 CET 2011
The CPU frequency set to 320 MHz
32M RAM Detected!
CPU revision is: 0001964c
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Built 1 zonelists in Zone order. Total pages: 8128
Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock4 rootfstype=squashfs noinitrd
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
cause = 90800060, status = 1100ff00
PID hash table entries: 128 (order: 7, 512 bytes)
calculating r4koff... 0030d400(3200000)
CPU frequency 320.00 MHz
Using 160.000 MHz high precision timer.
console [ttyS1] enabled
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 29588k/32768k available (1958k kernel code, 3180k reserved, 425k data, 112k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Generic PHY: Registered new driver
……
(以下省略)
用命令行查看内存使用情况:
root@DD-WRT:~# free
total used free shared buffers
Mem: 29700 13208 16492 0 1416
-/+ buffers: 11792 17908
Swap: 0 0 0
补充内容 (2012-5-21 12:15):
严重注意!HG255D用户不要刷本页提供的Uboot,否则极可能会变砖!!! |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
评分
-
查看全部评分
|