The Edimax BR-6104K/BR-6104KP is a router based on Infineon's ADM5120P SoC. The CPU has a MIPS32 core (little endian). These devices have 16MiB of RAM, 2MiB of flash memory, 2 USB ports (BR-6104KP), a WAN port, and 4 ethernet ports.
|Version/Model||S/N||OpenWrt Version Supported||Model Specific Notes|
|Rev. A||-||Backfire trunk||-|
|4Kc@175MHz/227MIPS||16MB||2MB||4 x 1||Yes||Yes||Yes|
Currently, the only way to install OpenWrt is to build Backfire and transfer the resulting image to the router via serial port. Please consult here (Midge). Here is a good HOWTO on installing a serial port. USB rootfs see: USB-rootfs on boot on Edimax BR-6104KP (ADM5120) [WORKS]. A better way for external rootfs is to use the block-extroot package. Although the small flash will cause some trouble, when using ext2/3/4 on the external storage. In order to get the rootfs_data partition created in the flash (jffs2, which needs at least 5 eraseblocks), which is essential for pivoting /overlay or root using block-mount, the firmware image should not exceed a size of 1 769 472 bytes. In that case, the rootfs_data partition will have a free capacity of approximately 130 kB, which is just sufficient to install kmod-scsi-core and kmod-usb-storage. Everything else essentially necessary to get the filesystem mounted, has to be compiled into the firmware image. To achieve this, busybox normally has to be stripped down (unnecessary stuff, like ipv6, telnetd, traceroute, ntpd, dhcpd) - a full busybox can be installed to the external storage afterwards.
|Bootloader: Edimax type bootloader|
|CPU Speed: 175 Mhz|
|Flash size: 2 MiB|
|RAM: 16 MiB|
|Ethernet: Embedded ethernet switch engine|
- To remove the cover simply remove the screws on the bottom cover
The main PCB of BR-6104K with modifications. USB components were filled in and quick hack of +5V USB power supply added which virtually made it to work like BR-6104KP. Also the second serial port was connected to JP2 connector (no 3.3V to RS232 level converter shown).
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 family) 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 want to convert to the processors' levels, not the USBs')
ADM5120 supports MIPS EJTAG 2.6. Edimax 6104K/6104KP has standard 14-pin EJTAG header (unsoldered).
See port.jtag for more JTAG details.
The admswconfig tool configures the internal switch. Instead of using the tool manually, the switch can be configured using the "config switch" section in /etc/config/network.
Example: The following configuration separates WAN and LAN
#### VLAN configuration config switch option eth0 "1 2 3 4" option eth1 "0" option eth2 "" option eth3 "" option eth4 ""
The default network configuration is:
|Interface Name||Description||Default configuration|
|eth0||LAN ports (1 to 4)||None|
|eth1||WAN port (0)||DHCP|
Routers may come with identical MAC addresses, use "option macaddr " inside the /etc/config/network file to change the default MAC.
Numbers 1-4 are Ports 1-4 as labeled on the unit, number 0 is the Internet (WAN) on the unit.
If you forgot your password, broken one of the startup scripts, firewalled yourself or corrupted the JFFS2 partition, you can get back in by using OpenWrt's failsafe mode.
NOTE: The root file system in failsafe mode is the SquashFS partition mounted in readonly mode. To switch to the normal writable root file system run mount_root and make any changes. Run mount_root now.
- Forgot/lost your password and you like to set a new one
- Forgot the routers IP address
uci get network.lan.ipaddr
- You accidentally run 'ipkg upgrade' or filled up the flash by installing to big packages (clean the JFFS2 partition and start over)
mtd -r erase rootfs_data If you are done with failsafe mode power cycle the router and boot in normal mode.
The Edimax BR-6104KP has one reset button. The reset button is software controlled (/dev/switch), see http://www.agri-vision.nl/CMS/index.php?option=com_content&task=view&id=35&Itemid=63 for a script using the button.
Link to Generic basic config secion
- Similar Hardware Omnima Embedded Controller
- See Adm5120 at linux-mips.org for a list of more similar devices
- See also Mikrotik RouterBoards, they are based on ADM5120P SoC and have working OpenWRT support.
toh/edimax/br-6104kp.txt · Last modified: 2012/11/13 22:15 by mbs