找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 7039|回复: 4

[linux] 想把硬路由换个LINUX系统的来看看

[复制链接]
发表于 2006-4-21 20:24:21 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
http://www.linux-mips.org/wiki/BR6104#BR6104Wg
The Edimax BR is a family of a small broadband router. Some of them uses MIPS32-based SoC: ADM5120 or RTL8181 and runs MIPS Linux.

Table of contents [showhide]  
1 Devices

1.1 BR6104
1.2 BR6104K
1.3 BR6104KP
1.4 BR6104P
1.5 BR6104S
1.6 BR6104W
1.7 BR6104WB
1.8 BR6104WG
1.9 BR6104Wg
1.10 BR6104WP
1.11 PS-3205U
1.12 EW-7207APg


2 Adding a serial port

3 Linux support

4 External links

[edit]Devices
[edit]BR6104
The BR6104 (http://www.edimax.com/html/english/products/BR-6104.htm) is based on the ADM5106 SoC (ARM7TDMI) and Broad Net Technology real-time OS (SOHO.BIN).

[edit]BR6104K
The BR6104K (http://www.edimax.com/html/english/products/BR-6104K.htm) is based on the ADM5120P (PQFP). It has one WAN Ethernet port and a 4 port LAN switch. The firmware contains the usual: Linux, Firewall, NAT, dhcp client and server, etc.

BR6104K is actually the same model as BR6104KP, but without USB connector, 48MHz oscillator e.t.c. soldered on the board, and without printer support in the firmware. It is possible to add missed USB parts and have a full BR6104KP model. The instructions are there (http://sprite.student.utwente.nl ... 021/usb_tutorial/). Edimax BR6104K/KP is rebranded Sweex LB000021 (http://www.sweex.com/product.asp?pid=302) so PCBs are identical (PCB REV B. uses one DRAM chip, REV A two ones).



[edit]BR6104KP
The BR6104KP (http://www.edimax.nl/html/english/products/BR-6104KP.htm) is the same as the BR6104K but has two USB 1.1 master ports that can be used to connect a printer and use it as a print server. Also you can use USB Flash disk for root filesystem (needed patch (http://www.lammerts.org/software ... storage-root.patch) for usb root device).



[edit]BR6104P
The BR6104P (http://www.edimax.com/html/english/products/BR-6104P.htm) is based on the ADM5106 ARM7 SoC.

[edit]BR6104S
The BR6104S (http://www.edimax.com/html/english/products/BR-6104S.htm) is based on the Samsung ARM SoC.

[edit]BR6104W
The BR6104W (http://www.edimax.com.tw/html/english/products/BR-6104W.htm) is based on the ARM7 SoC.

[edit]BR6104WB
The BR6104WB (http://www.edimax.nl/html/english/products/BR-6104WB.htm) is based on the Realtec RTL8181 SoC.

[edit]BR6104WG
The BR6104WG (http://www.edimax.com.tw/download/datasheet/BR-6104WG_c.pdf) is based on the WavePlus WP3210 (125MHz MIPS R3000).

[edit]BR6104Wg
The BR6014Wg (http://www.edimax.nl/html/english/products/BR-6104Wg.htm) is based on the ADM5120 (BGA) and has one WAN port and 4 port LAN swith. Additionally, it has a WiFi 802.11G MiniPCI card: AirVast (http://www.airvast.com/) WN360g, which based on the Intersil / GlobespanVirata / Conexant PRISM GT chipset.

NMX-WB04G and ConceptronicC54BRS4 are clones of the BR6104Wg.

Routers's PCB has a place for the second MiniPCI slot, but socket is not soldered.



[edit]BR6104WP
The BR6104WP (http://www.edimax.com/html/english/products/BR-6104WP.htm) is based on ARM7 CPU.

[edit]PS-3205U
The PS-3205U (http://www.edimax.nl/html/english/products/PS-3205U.htm) uses the ADM5120 in BGA package. A SuperIO chip is used to bring out a parallel port, sacificing the access to the 4-Port switch. A MiniPCI socket is also provided.



[edit]EW-7207APg
The EW-7207APg (http://www.edimax.nl/html/english/products/EW-7207APg.htm) Access Point uses ADM5120. It has a 5-port LAN swith and 802.11g interface.

Board seems to be the same as BR6104Wg with INPROCOMM IPN2220 mini-PCI card inserted.



Serial console is on J2 (Gnd, Tx, Rx) and 3.3V on J3. Pins must be soldered. 115200Bd 8N1

[edit]Adding a serial port
On the board there is a 8pin connector called JP2 that can be used as serial port. You can connect a serial level shifter (such as the MAX232 familly) to these pins.

Its pins are:

1.RX 2.+3.3V
3.nc 4.nc
5.nc 6.nc
7.TX 8.GND
Use the 3.3V as supply for the MAX chip, don't use the 5V from the USB. (You wan't to convert to the processors' levels, not the USBs')

Use MAX3232 (http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1068/ln/en) (pins are same as MAX232) + 4x100nF. Works in range 3V-5V. You can use 3.3V power for MAX3232 from the board.

It is possible to use Siemens mobile phone datacable (http://www.meshcube.org/meshwiki/ModifiedMobileSerCable) as converter. And its possible to use solutions (http://www.nslu2-linux.org/wiki/HowTo/AddASerialPort) like on the 3.3V TTL serial Port of the Linksys NSLU2

Set you terminals' speed to 115200 (8N1). When powering press SPACE three times to get into the boot menu.

ADM5120 Boot:                                                                  
                                                                              
                                                                              
                                                                              
Linux Loader Menu                                                              
====================                                                           
(a) Download vmlinuz to flash ...                                             
(b) Download vmlinuz to sdram (for debug) ...                                 
(c) Exit                                                                       
                                                                              
Please enter your key :
Here you can choose to:

Upload new firmware to Flash (option a), this might be dangerous. Image must be with CSYS header.
Upload new vmlinuz to RAM (option b), nice for trying your own. Image must be usual vmlinuz.
Exit (option c), continue to load the vmlinuz already in Flash.
The uploading is done with the XModem protocol.

Tip: I experienced a lot of problems with the XModem transfers, which seemed to have something to do with the start of the transfer. For me, it helps to type some junk into the router, before starting up the XModem protocol. So I type "a" for upload to flash, then hold the arrow-up key for a couple of seconds, then start the transfer. However, this might be voodoo, your mileage may vary.

[edit]Linux support
Edimax recently released the sources to their kernel sources (2.4.18) and other tools such as Busybox.

http://www.edimax.co.uk/download/Linux-SC.zip (slow as hell)
http://www.edimax.at/download/Linux-SC.zip
http://obm.edimax.com.tw/Edimax-GPL.tgz
http://obm.edimax.com.tw/Edimax-Tools.tgz Toolchains
[edit]External links
Modify Edimax BR-6104K / Sweex LB000021 firmware (http://www.norocketscience.com/router/)
Edimax BR-6104K / Sweex LB000021 Forum  (http://www.norocketscience.com/forum/)
Edimax BR6104 overview (http://vlad.org.ua/adm5120/) Flash format, Serial console, e.t.c. (Cyrillic!)
How to add USB (http://sprite.student.utwente.nl ... 0021/usb_tutorial/) by Jeroen Domburg
Boot from USB Flash Device (http://sprite.student.utwente.nl ... s/lb000021/rootfs/) by Jeroen Domburg
The german Magazine elektor did publish an Article about hacking the SWEEX-Router (http://www.elektor.de/Default.as ... =5550682&PN=On)
English page on the Elektor SWEEX-Router project (http://sunspot.co.uk/Projects/Sweex.htm)
Midge is a linux OpenWRT-like mini-distribution for ADM5120 based routers (http://midge.vlad.org.ua/wiki/) , such as Edimax BR-6104K
AMiLDA is a user-friendly distribution that supports the BR-6104K(p) and others (http://www.amilda.org/)
Retrieved from "http://www.linux-mips.org/wiki/BR6104"

[ 本帖最后由 gztcy 于 2006-4-21 20:39 编辑 ]
routeros
发表于 2006-4-22 09:36:35 | 显示全部楼层
楼主要说什么呢?
是个专用系统。
routeros
回复

使用道具 举报

 楼主| 发表于 2006-4-24 13:39:14 | 显示全部楼层

回复 #2 liufirst 的帖子

就是把自己的硬路由改为LINUX系统啊.它里边有提供系统核心文件啊
http://www.linux-mips.org/wiki/BR6104#BR6104Wg
routeros
回复

使用道具 举报

发表于 2006-4-27 20:12:45 | 显示全部楼层
硬路由的硬件培植一般都不高,不如找一台高性能PC。
routeros
回复

使用道具 举报

发表于 2006-4-28 10:17:18 | 显示全部楼层
好像不错,可惜是鸟文
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-6-2 10:22 , Processed in 0.055523 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表