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