Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:mikrotik:rb2011 [2021/02/27 17:08] – [Status] more cleanup, remove reference to RB2011UiAS page (will be merged) danijeltudektoh:mikrotik:rb2011 [2024/05/15 17:56] – [Installation] mistyped chf
Line 1: Line 1:
-====== Mikrotik RouterBoard RB2011 series ======+====== MikroTik RouterBoard RB2011 series ======
  
 ===== Supported Versions ===== ===== Supported Versions =====
----- datatable ---- +<!-- ToH: { 
-cols    BrandModelVersionsSupported Current Rel, Unsupported Functions_unsupporteds, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid +  "source""json", 
-headers BrandModel, Version, Current Release, Unsupported Functions, OEM Info, Forum Topic, Technical Data +  "dom": "t", 
-align   c,c,c,c,c,c,c +  "paging": false
-filter  : Model*~RB2011 +  "rotate"true
-----+  "shownColumns"["brand""model""version""supportedcurrentrel""oemdevicehomepageurl""owrt_forum_topic_url", "deviceid"]
 +  "filterColumns"{"model": "RB2011"} 
 +-->
  
 ==== Status ==== ==== Status ====
Line 31: Line 33:
 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. 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.
 +
 +==== Metarouter ====
 See [[docs:guide-user:virtualization:metarouter|Metarouter Virtualization on Mikrotik RouterBoard]] See [[docs:guide-user:virtualization:metarouter|Metarouter Virtualization on Mikrotik RouterBoard]]
 +
 +Note: Metarouter requires some patches which seems to be unmaintained for versions past 15.05.
 +
 +===== Hardware Highlights =====
 +=== 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 ===
 +<!-- ToH: {
 +  "source": "json",
 +  "dom": "t",
 +  "paging": false,
 +  "rotate": true,
 +  "shownColumns": ["model", "wlanhardware", "wlan24ghz", "ethernet1gports", "ethernet100mports", "usbports"],
 +  "filterColumns": {"model": "RB2011"}
 +} -->
 +
 +FIXME This link is dead because of the mailing list failure  --- //danijeltudek 2021-02-27 19:00//
 +[[https://lists.openwrt.org/pipermail/openwrt-devel/2014-December/029838.html|Register layout]]
 +
 +[[http://microchip.ho.ua/data/AR9344.pdf|AR9344 - Atheros Datasheet]]
 +
 +[[http://microchip.ho.ua/data/AR8327.pdf|AR8327 - Atheros Datasheet]]
 +
 +=== RGMII registers configuration misc info (SFP port) ===
 +FIXME Do we need this? <- Yes, we do, I think.
 +
 +| 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
 +
 +=== Network ports & switch configuration ===
 +
 +<WRAP warning>
 +**WARNING**: Do **not** use the Luci web configuration page for the switches to alter their configuration!
 +It **will** misconfigure your switches!
 +
 +See for reference: [[https://github.com/openwrt/luci/issues/4325]]
 +
 +This bug is present in all 19.07 releases at least since August 1st, 2020 up to at least 19.07.10.
 +
 +You //can// use the page to determine which ports have an active link. Be aware that the Luci display differs from the case labels of the box.
 +</WRAP>
 +
 +**Display in Luci and corresponding ports:**
 +
 +//Please note that I leave out the default VLAN configuration here, because the Luci VLAN display is incorrect.//
 +
 +^ switch0 || All network ports to the //left// of the 10 LEDs in the middle ||||||
 +^ Label in Luci |  CPU (eth0) | LAN 1 | LAN 2 | LAN 3 | LAN 4 | SFP | WAN |
 +^ Port number in uci | 0 | 2 | 3 | 4 | 5 | 6 | 1 |
 +^ Printed on the box | (internal) | ETH2 | ETH3 | ETH4 | ETH5 | SFP | ETH1 |
 +^ switch1 || All network ports to the //right// of the 10 LEDs in the middle ||||||
 +^ Label in Luci |  CPU (eth1) | LAN 1 | LAN 2 | LAN 3 | LAN 4 | LAN 5 |
 +^ Port number in uci | 0 | 5 | 4 | 3 | 2 | 1 |
 +^ Printed on the box | (internal) | ETH10 | ETH9 | ETH8 | ETH7 | ETH6 |
 +
 +**Port order as seen physically from left to right on the box and corresponding switch ports:**
 +
 +^ Box labels                                 | 2 LEDs                               ^ SFP       ^ ETH1      ^ ETH2      ^ ETH3      ^  ETH4     ^ ETH5      | 10 LEDs                         ^ ETH6      ^  ETH7     ^ ETH8      ^  ETH9     ^  ETH10    ^
 +^ switch                                     | —                                    | 0         | 0         |  0        | 0         |  0        | 0         | upper row: 0                    | 1         |  1        | 1         |  1        |  1        |
 +| :::                                        | :::                                  | :::       | :::       | :::       | :::       | :::       | :::       | lower row: 1                    | :::       | :::       | :::       | :::       | :::       |
 +^ Port number in uci                         | —                                    | 6         | 1         | 2         | 3         | 4         | 5         | 1…5 left                        | 5         | 4         | 3         | 2         | 1         |
 +| :::                                        | :::                                  | :::       | :::       | :::       | :::       | :::       | :::       | 5…1 right                       | :::       | :::       | :::       | :::       | :::       |
 +^ Label in Luci                              | —                                    | SFP       | WAN       | LAN 1     | LAN 2     | LAN 3     | LAN 4     | WAN … LAN 5 left                | LAN 5     | LAN 4     | LAN 3     | LAN 2     | LAN 1     |
 +| :::                                        | :::                                  | :::       | :::       | :::       | :::       | :::       | :::       | LAN 5 …  LAN 1 right            | :::       | :::       | :::       | :::       | :::       |
 +| **Default configuration**                  | USR LED unconfigured (off)                                                                            |||||| switch0: LEDs "automatic"                                                             |||||
 +| :::                                        | Power LED always on, unprogrammable  | :::                                                              | :::       | :::       | :::       | :::       | :::       | switch1: programmed explicitly  | :::                                                   | :::       | :::       | :::       | :::       |
 +| **VLAN 1** = LAN (proto = static)          | CPU: 0 tagged                        | off       | off       | untagged  | untagged  | untagged  | untagged  | br-lan = eth0.1 + eth1.1        | untagged  | untagged  | untagged  | untagged  | untagged  |
 +| **VLAN 2** = WAN & WAN6 (proto = dhcp/v6)  | CPU: 0 tagged                        | off       | untagged  | off       | off       | off       | off       | eth0.2                          | off       | off       | off       | off       | off       |
 +| **VLAN 3** = SFP (proto = none)            | CPU: 0 tagged                        | untagged  | off       | off       | off       | off       | off       | eth0.3 "standalone"             | off       | off       | off       | off       | off       |
  
 ===== Installation ===== ===== Installation =====
 +<!-- ToH: {
 +  "source": "json",
 +  "dom": "t",
 +  "paging": false,
 +  "rotate": true,
 +  "shownColumns": ["model", "supportedcurrentrel", "firmwareopenwrtinstallurl", "firmwareopenwrtupgradeurl", "firmwareoemstockurl"],
 +  "filterColumns": {"model": "RB2011"}
 +} -->
 +
 +FIXME <del>Make sure y</del>You //can// use "openwrt-19.07.10-ar71xx-mikrotik-vmlinux-initramfs.elf" for netboot <del>and not</del> //instead of// the LZMA file linked above. <del>It wont work.</del> It works at least for 19.07.10 on the RB2011iLS, which I've successfully tested before reading this.
 +
 +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. 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.
Line 62: Line 170:
  
 For more details see: For more details see:
-  * [[toh:mikrotik:rb2011uias|Mikrotik RouterBoard RB2011-UiAS-2HnD-IN]] 
   * [[toh:mikrotik:common|Common Procedures for Mikrotik RouterBoard Products]]   * [[toh:mikrotik:common|Common Procedures for Mikrotik RouterBoard Products]]
  
- 
-===== Tags ===== 
-[[meta:tags|How to add tags]] 
-{{tag>rackmount}} 
  • Last modified: 2024/05/15 18:29
  • by chf