木鸟 发表于 2006-3-2 13:43:58

天天研究怎么刷FIRMWARE,来看看国外给路由器加SD

[这个贴子最后由木鸟在 2006/03/02 01:47pm 第 1 次编辑]

WRT54G v4 SD Mod

While trying to mod my WRT54G v4 with an SD card, I could not locate GPIO 5 which is needed for data input. After weeks of searching for GPIO 5 using the GPIO Utility, I decided to use GPIO 2 instead. Here is my pinout:
SD WRT54G v4
1 CS GPIO7 DMZ LED
2 DI GPIO2 White LED
3 VSS GND JP2 (9)
4 VDD PWR (3.3v) JP2 (1)
5 CLK GPIO3 Amber LED
6 VSS2 GND JP2 (10)
7 DO GPIO4 Cisco SW
I used an SD slot from SparkFun, and connected it up.. Here are the images:
http://support.warwick.net/~ryan/wrt54g-v4/HPIM3879.JPG
http://support.warwick.net/~ryan/wrt54g-v4/HPIM3881.JPG
http://support.warwick.net/~ryan/wrt54g-v4/HPIM3882.JPG

Then I had to compile the MMC Driver after modifying the following GPIO options:
&#35;define SD_DI (1 << 2)
&#35;define SD_DO (1 << 4)
&#35;define SD_CLK (1 << 3)
&#35;define SD_CS (1 << 7)
Which you can download the binary or source.

木鸟 发表于 2006-3-2 13:44:38

天天研究怎么刷FIRMWARE,来看看国外给路由器加SD

原文地址
http://support.warwick.net/~ryan/wrt54g-v4/v4_sd_done.html
其他改造介绍
http://wiki.openwrt.org/OpenWrtDocs

marcolin 发表于 2006-3-2 22:22:54

天天研究怎么刷FIRMWARE,来看看国外给路由器加SD

高手,看不懂英文阿,翻译一下拉

xjxsun 发表于 2006-3-3 07:36:45

天天研究怎么刷FIRMWARE,来看看国外给路由器加SD

果然厉害,就是成本有点大,现在猫便宜啊!

marcolin 发表于 2006-3-3 10:35:36

天天研究怎么刷FIRMWARE,来看看国外给路由器加SD

我不晓得加张SD卡上去是有什么作用
页: [1]
查看完整版本: 天天研究怎么刷FIRMWARE,来看看国外给路由器加SD