MikroTik RouterBoard RB2011 series

The RB2011 series consists of different models. The base model has 5 * 1000M + 5 * 100/10M ethernet ports and supports passive PoE input on port 1. Some models then add an SFP port, 802.11b/g/n wireless, USB port and passive PoE on port 10.

Features are encoded in the model name. The format is RB2011x-y-z.

First part describes shared across all releases:

  • A - touchscreen LCD
  • i - passive PoE output on ethernert port 10
  • L - no touchscreen LCD
  • S - SFP port
  • U - USB port

Any combination of these (except A+L) is possible.

The second part, if present, indicates the presence of wireless and contains 2HnD (2.4 GHz dual chain).

The last part, if present, indicates the case type. If not present, the model is a bare PCB (without the metal case):

  • RM - rack mount case
  • IN - indoor (desktop) case

Every model identifies itself to the OpenWrt linux kernel with a different model name (eg: 2011r5 for RB2011-UiAS-2HnD-IN). The OpenWrt kernel only boots when it recognizes the model name.

Availability

In general, non-PoE-out models are discontinued by Mikrotik, and some of them (UAS) even removed from the website. However, some sellers might have the stock of those old devices.

See Metarouter Virtualization on Mikrotik RouterBoard

Note: Metarouter requires some patches which seems to be unmaintained for versions past 15.05.

General information

Architecture MIPS 24kc
Vendor MikroTik
Bootloader RouterBOOT
System-On-Chip AR9344 SoC
CPU Speed 600 MHz - can be overclocked in the bootloader menu
Flash size 128 MiB NAND Flash
RAM 128 MiB DDR2
Ethernet AR8327 - 5x 10/100/1000MBit/s BASE-T* + 1x SFP (separate chip)
AR8227 - 5x 10/100MBit/s BASE-T (on SoC)
Wireless none or AR9344 - 802.11b/g/n (depending on the model)
USB none or 1x 2.0 microUSB/USB A (depending on the model)
Serial Cisco pinout RJ45 console port
JTAG yes
LCD none or 2“ color touch display (unsupported, depending on the model)

Per-model details

FIXME This link is dead because of the mailing list failure --- danijeltudek 2021-02-27 19:00 Register layout

AR9344 - Atheros Datasheet

AR8327 - Atheros Datasheet

RGMII registers configuration misc info (SFP port)

FIXME Do we need this?

31 TX_INVERT - Decides whether to select the inversion of the GTX clock after the delay line
30 GIGE_QUAD - Decides whether to allow a 2 ns shift (clock in the middle of a data transfer) to the GTX clock. This bit is only effective when bit 25 is set
29:28 RX_DELAY - The delay buffers in the Rx clock path to adjust against the edge/middle- aligned RGMII inputs
27:26 TX_DELAY - Delay line for the GTX clock that goes along with the data
25 GIGE - Set only after a 1000 Mbps connection has been negotiated
24 OFFSET_PHASE - Used to select if the start is from the positive or negative phase (or whether to have a 180 degree change in addition to the phase-delay in [11:8].
0x6f: 30 29    27 26 25 24
0x3e:    29 28 27 26 25

FIXME Make sure you use openwrt-19.07.10-ar71xx-mikrotik-vmlinux-initramfs.elf for netboot and not the LZMA file linked above. It wont work.

FIXME This should be updated for ath79 once the support is merged.

1. Setup DHCP Server with TFTP Boot (set your PC to static IP of 192.168.1.0/24 range). Note that the initramfs file should be in the directory indicated by the command.

   sudo dnsmasq -i eth0 --dhcp-range=192.168.1.100,192.168.1.200 \
   --dhcp-boot=openwrt-ar71xx-mikrotik-vmlinux-initramfs.elf \
   --enable-tftp --tftp-root=~/directory/where/file/is/ \
   -d -u $USER -p0 -K --log-dhcp --bootp-dynamic

2. Connect PC to ethernet port 1.

3. Power off router, and hold reset while powering on. Wait 20 seconds until you see PC send file. Release reset, and remain connected to ethernet port until you see Router report Openwrt hostname.

4. Connect PC to a different ethernet port.

5. Logon to OpenWrt netboot

6. Sysupgrade the proper Mikrotik sysupgrade.bin. (it's either 64M or huge. You can get the right one by opening up and reading the part # on the tsop48 ic. But, it shouldn't matter if you flash the wrong one, here.)

If you make a mistake, repeat netboot and try again. There is a UART on the PCB near the power cable, if the netboot works, but the sysupgrade fails for some reason. It's possible you may need the 64M image, but the bootloader will remain so the device is not bricked if the wrong sysupgrade is used.

It can be quicker and easier to load ethernet (tftp) from the bootloader, rather than holding down the reset button upon boot.

If you see ECC errors on the UART (rel. 18 and earlier. Has been fixed in 19.07), refer to this forum post: https://forum.openwrt.org/t/ecc-errors-in-ubi-rb2011uias-2hnd-in-and-solution/16424/15

Users have reported seeing multiple devices corrupt their flash upon the 2nd sysupgrade. When this occurs, the device is only usable in netboot mode. See: https://forum.openwrt.org/t/rb433-bad-sector-cannot-start-openwrt/71519/12

For more details see:

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2024/02/12 08:58
  • by 127.0.0.1