Open-Mesh.com OM2P

High Power 802.11n Mini Router including hardware watchdog, passive 12-18v (NON 802.3af) POE support, dual Ethernet Ports

Supported Versions

Nothing specific available on hardware revision

Hardware Highlights

CPU Ram Flash Network USB Serial JTag
Atheros AR7240 rev 2 MIPS 24Kc V7.4 64MiB 16MiB 2 ports No Yes TBD

Installation

The following are the steps required to build an OM2P build environment. Fortunately openmesh.com/cloudtrax provides a networking flash tool with makes flashing new versions quite foolproof. Also the original OEM firmware can be reflashed with that tool in case of problems.

1. Install and update CentOS

2. Create openwrt user

  useradd -m openwrt

3. Add password for user openwrt

  passwd openwrt

4. Install any missing packages:

  yum -y install minicom lrzsz gawk flex ncurses-devel subversion expect git zlib-devel gcc-c++ gmp gmp-devel unzip wget

5. Switch to the openwrt user

  su -l openwrt

6. Checkout OpenWRT (trunk):

  svn co svn://svn.openwrt.org/openwrt/trunk

7. Updated feeds

  cd trunk ; scripts/feeds update

8. Install required feeds:

  scripts/feeds install luci

9. Downloading and building the ap51-flash flashing utility

  svn co http://dev.cloudtrax.com/downloads/svn/ap51-flash/trunk/ ap51-flash
  cd ap51-flash
  make

10. Make the config for the required device: make menuconfig

  Target System -> Atheros AR71xx/AT7240/AR913x/AT934x
  Target Prifile -> OpenMesh OM2P
  Base system -> <*> om-watchdog
  LuCI -> Collections -> <*> luci
  Server Interfaces -> <*> luci-sgi-uhttpd

11. Start the make process and enjoy a few coffee…

  make

Flash Layout

For now I only have the mtd layout:

  dev:    size   erasesize  name
  mtd0: 00040000 00040000 "u-boot"
  mtd1: 00040000 00040000 "u-boot-env"
  mtd2: 00140000 00040000 "custom"
  mtd3: 00100000 00040000 "kernel"
  mtd4: 00600000 00040000 "rootfs"
  mtd5: 003c0000 00040000 "rootfs_data"
  mtd6: 00700000 00040000 "inactive"
  mtd7: 00040000 00040000 "ART"

OEM installation using the TFTP method

After building your firmware your firmware will be the following:

  trunk/bin/ar71xx/openwrt-ar71xx-generic-om2p-squashfs-factory.bin

Use the ap51-flash utility built in step 9 above and run:

  ./ap51-flash eth0 trunk/bin/ar71xx/openwrt-ar71xx-generic-om2p-squashfs-factory.bin

Then plugin the OM2P in eth0 and power it up.

The output of the flash tool should look like this:

  [MA:C-:AD:DR:ES:S ]: type 'OM2P router' detected
  [MA:C-:AD:DR:ES:S ]: OM2P router: tftp client asks for 'fwupgrade.cfg', serving fwupgrade.cfg portion of: openwrt-ar71xx-generic-om2p-squashfs-factory.bin (1 blocks) ...
  [MA:C-:AD:DR:ES:S ]: OM2P router: tftp client asks for 'kernel', serving kernel portion of: openwrt-ar71xx-generic-om2p-squashfs-factory.bin (1993 blocks) ...
  [MA:C-:AD:DR:ES:S ]: OM2P router: tftp client asks for 'rootfs', serving rootfs portion of: openwrt-ar71xx-generic-om2p-squashfs-factory.bin (4609 blocks) ...
  [MA:C-:AD:DR:ES:S ]: OM2P router: image successfully transmitted - writing image to flash ...
  [MA:C-:AD:DR:ES:S ]: OM2P router: flash complete. Device ready to unplug.

Upgrading OpenWrt

In order to flash a new version of the firmware and kernel from within the device itself, you must download the following files to the device /tmp folder: OM2P:

  trunk/build_dir/linux-ar71xx_generic/vmlinux-om2p.uImage
  trunk/build_dir/linux-ar71xx_generic/root.squashfs

Then ssh to the device to update and perform the following:

  cd /tmp
  mtd -e kernel write vmlinux-om2p.uImage kernel
  mtd -e rootfs write root.squashfs rootfs
  reboot ; exit

LuCI Web Upgrade Process

TODO, not tested

Basic configuration

Plug a lan cable to the left connector, telnet 192.168.1.1 and set new password. For more details follow instructions on first login. Afterwards you can use the web interface at http://192.168.1.1 for further configuration.

Specific Configuration

Interfaces

By default, the lan interface is mapped to eth0 and the wan interface to eth1, which works but doesn't match the labelling on the case. Switching them can easily be done in the web interface.

Switch Ports (for VLANs)

TODO

Failsafe mode

Pushing the button for factory reset does not switch the device to failsafe mode.

Buttons

There is only one tiny button for factory reset, but it doesn't seem to be supported by OpenWrt.

Hardware

Info

  CPU: MIPS 24Kc V7.4
  Memory: 61272k/65536k available
  eth0/eth1: Atheros AG71xx
  AR7240/AR9330 built-in switch
  ieee80211 phy0: Atheros AR9285 Rev:2
  m25p80 spi0.0: s25sl12800 (16384 Kbytes)
  serial8250.0: ttyS0 is a 16550A

Photos

Model Number: OM2P 802.11g/n 150mbps Access Point with External Antenna

Top:

Bottom:

Opening the case

Note: This will void your warranty!

1. Gently remove the front 2 rubber feet (farthest from the rear ports).

2. Remove the 2 screws.

3. Carefully lift the front of the lid (not more than about 5 mm), then slide forward (away from the rear ports).

Serial

This is a 3.3v serial port

  baudrate is    : 115200
  flowcontrol    : none
  parity is      : none
  databits are   : 8

With the ethernet jacks in front of you, the pinout should look like this:

                      +---+
                      |RXD|
                      +---+
                      |TXD|
                      +---+
                      |GND|
                      +---+
                      |VCC|
                      +---+
  +-----+ +----+----+ +---+
  |Power| |LAN1|LAN2| |Ant|
  +-----+ +----+----+ +---+

JTAG

TODO

Debricking

TODO

Bootloader Mods

TODO

Hardware mods

Notes

Tags

Back to top

toh/openmesh/om2p.txt · Last modified: 2013/11/15 13:12 (external edit)