Buffalo WBMR-G54
The Buffalo WBMR-G54 is a residential ADSL2+ router modem with 4 Fast Ethernet ports and a 802.11b/g access point.
Supported Versions
| Version/Model | Launch Date | S/N | OpenWrt Version Supported | Model Specific Notes |
|---|---|---|---|---|
| v1 | - | - | 12.09 | - |
Hardware Highlights
| CPU | Ram | Flash | Network | USB | Serial | JTag |
|---|---|---|---|---|---|---|
| Infineon PSB7300AZDW@150MHz | 16MiB | 4MiB | 4 x 1 | No | Yes | ? |
Installation
Use the Attitude Adjustment (12.09) generic image for the TI AR7 chips (openwrt-ar7-squashfs.bin).
Flash Layout
Please check out the article Flash Layout. It contains an example and a couple of explanations.
OEM easy installation
OEM installation using the FTP method
It is advised to first take a look at this document regarding flashing a generic device to understand the general concepts. If the device is connected via the serial port (see the Serial section of this page), more information about the process can be seen.
This process becomes easier to perform if the serial connection of the device is connected to the computer, this way the process can be monitored.
The bootloader of the WBMR-G54, Adam2, waits for 7 seconds before starting to load the operating system:
ADAM2 Revision 0.22.02_b04_Mar 9 2005 (C) Copyright 1996-2003 Texas Instruments Inc. All Rights Reserved. (C) Copyright 2003 Telogy Networks, Inc. Usage: setmfreq [-d] [-s sys_freq, in MHz] [cpu_freq, in MHz] Memory optimization Complete! Adam2_AR7RD > Press any key to abort OS load, or wait 7 seconds for OS to boot...
This countdown is stopped if a key is pressed through the serial connection, or if an FTP session is initiated to the device.
Specific values you need
| Adam2 bootloader default IPv4 address | 192.168.1.1 |
| Adam2 bootloader FTP user | adam2 |
| Adam2 bootloader FTP password | adam2 |
| FTP client IPv4 address (your computer) | Anything in the 192.168.1.0/24 range* |
* of course, your computer must not have the same IP address as the router, so anything between 192.168.1.2 and 192.168.1.254 is fine
Procedure
1) Power off the device
Simply unplug it.
2) Set your computer's Ethernet connection at 10 Mb/s, half duplex.
For some reason, it seems that setting this configuration leads to more probable flashing success. In any case, it will only slow down things a little bit. In Windows, this can be done in the Control Panel. In GNU/Linux distributions, install the "ethtool" package and issue, as root:
ethtool -s eth0 speed 10 duplex half
If you are using another interface (eth1, eth2, …) just replace eth0 with your settings.
3) Configure your computer's network device
Use the values above and apply them to your network card. For instance in GNU/Linux, as root:
ifconfig eth0 192.168.1.10/24
4) Go to the directory where the .img file is
In GNU/Linux, for instance:
cd /home/mysuer/Downloads
5) Power on the device and initiate an FTP session.
For some unknown reason it seems that in GNU/Linux the process is more prone tu succeed if the FTP session is initiated as root, so log in as root (issue the "su" command or "sudo su", according to your system.
Plug in the power supply to turn on the router. Then you have 7 seconds to start the FTP session:
ftp 192.168.1.1
If the FTP session is correctly initialized, you will be prompted for the username:
Connected to 192.168.1.1. 220 ADAM2 FTP Server ready. Name (192.168.1.1:user):
Type "adam2" and press Enter. You will be prompted for the password: type "adam2" and press Enter:
Connected to 192.168.1.1. 220 ADAM2 FTP Server ready. Name (192.168.1.1:user): adam2 331 Password required for adam2. Password: ***** 230 User adam2 successfully logged in. Remote system type is UNIX.
Now you have an FTP session established with the router.
6) Upload the firmware
To start uploading the firmware, issue these commands:
quote "SETENV mtd1,0x90010000,0x903f0000" quote "MEDIA FLSH" binary debug hash put "openwrt-ar7-squashfs.bin" "openwrt-ar7-squashfs.bin mtd4"
The process should look like this:
ftp> quote "SETENV mtd1,0x90010000,0x903f0000" 200 SETENV command successful ftp> quote "MEDIA FLSH" 200 Media set to FLSH. ftp> binary 200 Type set to I. ftp> debug Debugging on (debug=1). ftp> hash Hash mark printing on (1024 bytes/hash mark). ftp> put "openwrt-ar7-squashfs.bin" "openwrt-ar7-squashfs.bin mtd4" local: trunk-web.bin remote: openwrt-ar7-squashfs.bin mtd4 ---> PORT 192,168,1,100,179,221 200 Port command successful. ---> STOR openwrt-ar7-squashfs.bin mtd4
Now the firmware is being uploaded to the flash memory of the router. The process takes around one minute
7) Wait for the firmware to be written to the flash
After one minute of uploading and writing the firmware to the flash memory, the router starts to check it. The FTP transfer window will start showing lots of
#, like this:
150 Opening BINARY mode data connection for file transfer. ################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################ 226 Transfer complete. 2883588 bytes sent in 38.27 secs (73.6 kB/s)
If after 2 or 3 minutes you see no hashes, just a few of them appear but they stop without printing the "226 Transfer complete." message, then something wrong happened (most probably, the image you tried to upload was not the right one). Go to step 1 and repeat the process, double checking you are uploading the right file. Retrying should not damage the device nor brick it.
If you see all the hashes and the "226 Transfer complete." message, the firmware has been successfully uploaded. The device should reboot itself immediately, but you can issue the following commands to reboot it and terminate the FTP session:
quote REBOOT quit
After flashing the firmware and rebooting the device, do not change the IP address on the computer. In a minute or so you should be able to ping 192.168.1.1.
Upgrading OpenWrt
LuCI Web Upgrade Process
Terminal Upgrade Process
Bootlogs
OEM bootlog
OEM bootlog not available!
OpenWrt bootlog
0.000000] Linux version 3.3.8 (lino@ris) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Mar 3 21:03:17 CET 2013
[ 0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: ar7-gpio
[ 0.000000] ar7-gpio: registered 32 GPIOs
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00018448 (MIPS 4KEc)
[ 0.000000] TI AR7 (TNETD7300), ID: 0x0005, Revision: 0x22
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 01000000 @ 14000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00014000 -> 0x00015000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00014000 -> 0x00015000
[ 0.000000] On node 0 totalpages: 4096
[ 0.000000] free_area_init_node: node 0, pgdat 9439cac0, node_mem_map 943f8000
[ 0.000000] Normal zone: 32 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 4064 pages, LIFO batch:0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
[ 0.000000] Kernel command line: console=ttyS0,38400n8 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes
[ 0.000000] Memory: 12120k/16384k available (2328k kernel code, 4264k reserved, 347k data, 168k init, 0k highmem)
[ 0.000000] NR_IRQS:256
[ 0.000000] Clocks: prediv: 1, postdiv: 1, mul: 10
[ 0.000000] Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.090000] Mount-cache hash table entries: 512
[ 0.110000] NET: Registered protocol family 16
[ 0.160000] bio: create slab
Basic configuration
Specific Configuration
Interfaces
Switch Ports (for VLANs)
Failsafe mode
Buttons
→ hardware.button on howto use and configure the hardware button(s).
The Linksys WRT54GL has one button on the back, labeled "Reset".
Hardware
Info
| Architecture: | MIPS |
| Vendor: | Texas Instruments |
| Bootloader: | Adam2 |
| System-On-Chip: | MIPS AR7 |
| CPU/Speed | Infineon PSB7300AZDW (apparently, equivalent to TNETD7300AZDW) |
| Flash-Chip: | Samsung K8D3216UBC |
| Flash size: | 8192 KiB |
| RAM: | 16 MiB |
| Wireless: | ? |
| Ethernet: | Infineon ADM6996Mwith vlan support swconfig |
| Internet: | ADSL2+ |
| USB: | No |
| Serial: | Yes |
| JTAG: | ? |
Photos
Model Number
Front:
Photo of front of the casing
Back:
Photo of back of the casing
Opening the case
Note: This will void your warranty!
- To remove the cover do a/b/c
Main PCB
Photo of PCB
Serial
This device has a 5-pins header providing a serial port, labeled JP6. The pins are, left to right:
Pin 1 → RXD (data from outside to the board) Pin 2 → ? (unknown, probably not used) Pin 3 → VCC (+3.3 V) Pin 4 → GND (ground) Pin 5 → TXD (data from the board to the outside)
The communication settings of the serial port are 38400 bps, 8 stop bits, 1 bit of parity, no hardware control flow, no software control flow.
The serial port can not be directly connected to a PC serial port, due to the different voltages they use. To connect the board to a computer via the serial port, a TTL to RS232 voltage level converter is required. There are many USB to TTL adaptors available, like those based on the MAX232 or the CP210 chips.
The port.serial page features general information about the serial port, serial port cables, etc.
The following picture shows the serial console pins connected to a USB to TTL adaptor.
JTAG
There are several points in the board that might correspond to the JTAG pins, but no information is available about them.
Debricking
Hardware mods
The Mini PCI wireless card that comes with the device is protected by a metal case, which is soldered to the board. This piece can be removed, freeing the card. To do so, the four pins that go through the board must be desoldered. A regular 25 watts soldering iron is enough to do it, but using a [[http://en.wikipedia.org/wiki/Desoldering|desoldering pump] makes the process easier.
The following three images show the location of the 4 points that must be unsolder to remove the metal case.
Tags
toh/buffalo/wbmr-g54.txt · Last modified: 2013/06/15 19:55 by lorema
This text is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.




