The BR6104 is based on the ADM5106 SoC (ARM7TDMI) and Broad Net Technology real-time OS (SOHO.BIN).
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 the missing USB parts and have a full BR6104KP model. The instructions are there. Edimax BR6104K/KP is rebranded Sweex LB000021 so PCBs are identical (PCB REV B. uses one DRAM chip, REV A two ones).
The BR6104KP 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 for usb root device). The 6104KP model is not sold in the UK, possibly due to problems gaining approval/certification.
The BR6104P is based on the ADM5106 ARM7 SoC.
The BR6104S is based on the Samsung ARM SoC.
The BR6104W is based on the ARM7 SoC.
The BR6014Wg 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 WN360g, which based on the Intersil / GlobespanVirata / Conexant PRISM GT chipset.
Routers's PCB has a place for the second MiniPCI slot, but socket is not soldered.
The BR6104WP is based on ARM7 CPU.
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
The EW-7203APg access point is based on the Marvell 88W8515 SoC (ARM9 core) and Marvell 88W8000G WiFi.
Adding a serial port
On the BR6104K/KP 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 (pins are same as MAX232) + 4x100nF. Works in range 3V-5V. You can use 3.3V power for MAX3232 from the board.
Set you terminals' speed to 115200 (8N1). When powering up 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 preceded by a 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. A CSYS header consists of 12 bytes: "CSYS\x00\x00\x50\x80" (8 bytes) followed by the length of the kernel (4-byte word, little-endian).
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.
ADM5120 supports MIPS EJTAG 2.6. Edimax 6104K/6104KP has standart 14-pin EJTAG header (unsoldered). JTAG pinout for the BR6104Wg is unknown.
Some models were observed to display an username/password prompt on the serial console after booting. If username "super" and password "@gogolinux" is entered, it drops to a shell.
My PS-3205U likes more username "edimax" with password "software01". I've found it easily by applying "strings AP/mkimg/image/bin/setup". As you can see, the /bin/setup program is the one you talk to at /dev/ttyS1.
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://obm.edimax.com.tw/Edimax-Tools.tgz Toolchains
- Modify Edimax BR-6104K / Sweex LB000021 firmware
- Edimax BR-6104K / Sweex LB000021 Forum
- Edimax BR6104 overview Flash format, Serial console, e.t.c. (Cyrillic!)
- How to add USB by Jeroen Domburg
- Boot from USB Flash Device by Jeroen Domburg
- The german Magazine elektor did publish an Article about hacking the SWEEX-Router
- English page on the Elektor SWEEX-Router project
- Midge is a linux OpenWRT-like mini-distribution for ADM5120 based routers , such as Edimax BR-6104K
- AMiLDA is a user-friendly distribution that supports the BR-6104K(p) and others
- A straightforward guide to getting a 2.6 kernel up and running using buildroot