N305RE 升级 64MB RAM

N305RE 升级 64MB RAM

前言

看此篇文章时,请确定您理解以下相关资讯

文章介绍升级的过程有极大的硬体损坏、软体变砖的风险,请自行评估是否有能力完成再执行。

升级RAM

首先将原本的DDR 32MB(16Mx16bitsx4banks)记忆体更换为DDR 64MB(32Mx16bitsx4banks)。此次使用是从笔记型电脑上拆下来的颗粒NT5DS32M16BS-6K

NT5DS32M16BS-6K

使用热风枪、烙铁相关工具将记忆体置换成64MB。

连接Debug Console

路由器在接近出货或开发时,会利用串列传轮的方式将路由器开机内容输出,拆开N305RE后就能看到已经焊好的连接线

连接线请使用3.3V相位输出的串列连接线,然后将GND相接、RX接连接线的TXTX接连接线的RX后,在电脑上开启串列埠应用程式后将机器上电,之后就能看到输出的画面

CFE version 5.100.138.3 based on BBP 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Mon May  2 16:06:18 KST 2011 (bcm5357@localhost.localdomain)
Copyright (C) 2000-2008 Broadcom Corporation.

Init Arena
Init Devs.
Boot partition size = 131072(0x20000)
Found an ST compatible serial flash with 64 64KB blocks; total size 4MB
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.100.138.3
CPU type 0x19749: 300MHz
Tot mem: 32768 KBytes

Device eth0:  hwaddr B8-55-10-E9-28-5A, ipaddr 192.168.0.1, mask 255.255.255.0
        gateway not set, nameserver not set

进入CFE

先按下CTR+C之后将机器上电,CFE侦测到此按键会进入命令模式

CFE version 5.100.138.3 based on BBP 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Mon May  2 16:06:18 KST 2011 (bcm5357@localhost.localdomain)
Copyright (C) 2000-2008 Broadcom Corporation.

Init Arena
Init Devs.
Boot partition size = 131072(0x20000)
Found an ST compatible serial flash with 64 64KB blocks; total size 4MB
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.100.138.3
CPU type 0x19749: 300MHz
Tot mem: 32768 KBytes

Device eth0:  hwaddr B8-55-10-E9-28-5A, ipaddr 192.168.0.1, mask 255.255.255.0
        gateway not set, nameserver not set
Startup canceled
CFE> ^C
CFE> ^C
CFE> 

查看NVRAM讯息

CFE> nvram show
:
:
sdram_config=0x103
:
:
:

修改记忆体参数,注意!注意!注意!修改此参数如果不正确时,CFE会变砖

CFE> nvram set sdram_config=0x003
*** command status = 0
CFE> 

修改后请务必查看参数是否正确变更

CFE> nvram show
:
:
sdram_config=0x003
:
:
:

确定变更为0x003之后,执行储档动作,写入flash

CFE> nvram commit
*** command status = 0
CFE> 

重新开机,确认记忆体正确识别

CFE> reboot
Decompressing...done


CFE version 5.100.138.3 based on BBP 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Mon May  2 16:06:18 KST 2011 (bcm5357@localhost.localdomain)
Copyright (C) 2000-2008 Broadcom Corporation.

Init Arena
Init Devs.
Boot partition size = 131072(0x20000)
Found an ST compatible serial flash with 64 64KB blocks; total size 4MB
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.100.138.3
CPU type 0x19749: 300MHz
Tot mem: 65536 KBytes

Device eth0:  hwaddr B8-55-10-E9-28-5A, ipaddr 192.168.0.1, mask 255.255.255.0
        gateway not set, nameserver not set