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:rb951g_2hnd [2019/01/22 22:54] exoviitoh:mikrotik:rb951g_2hnd [2020/09/07 10:22] – added an extra note c.ausema
Line 2: Line 2:
  
 ===== Supported Versions ===== ===== Supported Versions =====
 +
 +<WRAP center round important 80%>
 +**Warning** - Mikrotik has made some changes on the board and recently ordered units are no longer supported.\\ Note: https://forum.openwrt.org/t/mikrotik-rb951ui-2hnd-unsupported-nand/72052
 +
 +**NOTE** - A work around by compiling openwrt manually can be found here. \\ Link: https://forum.openwrt.org/t/cant-flash-mikrotik-rb951g-2hnd/72050
 +</WRAP>
 +
 +
 ---- datatable ---- ---- datatable ----
 cols    : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid cols    : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid
Line 8: Line 16:
 filter  : Model*~RB951G-2HnD filter  : Model*~RB951G-2HnD
 ---- ----
- 
- 
-==== Status ==== 
-=== GigE port patch === 
- 
-**04/2018:** [[https://forum.lede-project.org/t/mikrotik-rb951g-2hnd/8652]] suggests that the patch is still needed.\\ 
-**11/2015:** If you have a Rev 3 of AR9344, booting OpenWrt (eg: from initramfs) will not bring up the GigE ports correctly. 
- 
-  router# dmesg | grep AR9344 
-  [    0.000000] SoC: Atheros AR9344 rev 3   
- 
-The new version (rev 3, requires patch) can apparently be distinguished from the old version (rev 2, works out-of-the-box) by the MAC address: 
-  * The old one starts with D4:CA:6D 
-  * The new one starts with 4C:5E:0C 
- 
-If you happen to have rev 3, you need to compile and use a 14.07, 15.05 or trunk version of OpenWrt with the following patch applied: 
-  * [[http://patchwork.ozlabs.org/patch/419857/]] 
-  * [[http://forum.mikrotik.com/viewtopic.php?f=2&t=86802]] 
-  * See [[toh:mikrotik:rb2011uias#tracking_reported_experience_with_suggested_patch_for_the_5_gige_ports]] for reports about the patch. 
- 
-The author of this wiki text recommends to use value ''0x6f000000'' instead of ''0x3e000000'' in the patch (throughput tests showed slightly higher values on the GigE ports with that value). 
- 
-If after installing on a rev 2 device the switch seems to drop packets, you may be able to work around this by holding the reset button during power-on. This delays booting giving the switch more time to initialize. This issue is not noticed during a PXE boot, only after an install to flash. 
- 
-=== Kernel module === 
-A kernel module for OpenWRT 18.03.1 wich embeds the fixup code exists: https://github.com/fluciotto/openwrt-kmod-rb951g-2hnd-eth-fix/releases/download/18.03.1/rb951g-2hnd-eth-fix.ko 
- 
-The source code is available here: https://github.com/fluciotto/openwrt-kmod-rb951g-2hnd-eth-fix 
- 
-This kernel module permits to use the original (not patched) kernel from OpenWRT. 
-The module can be transfered with the serial port of the router (soldering needed!). 
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
Line 50: Line 27:
 ^ CPU ^ CPU Speed ^ RAM (MB) ^ NAND (MB) ^ Serial Flash ^ Ethernet Switch ^ PoE port ^ Wireless ^ ^ CPU ^ CPU Speed ^ RAM (MB) ^ NAND (MB) ^ Serial Flash ^ Ethernet Switch ^ PoE port ^ Wireless ^
 | AR9344 | 600 MHz | 128 (2x W9751G6KB-25) | 128 (1x TC58DVG02D5TA00-ND) | MX25L512E | Atheros AR8327 (10M/100M/1000M) | 1-in (2000mA) (7w) | AR9344-DC3A | | AR9344 | 600 MHz | 128 (2x W9751G6KB-25) | 128 (1x TC58DVG02D5TA00-ND) | MX25L512E | Atheros AR8327 (10M/100M/1000M) | 1-in (2000mA) (7w) | AR9344-DC3A |
 +
 +===== Hardware information =====
 +
 +==== Support status of the gigabit switch ====
 +
 +For a very long time, the gigabit switch did not work properly in OpenWrt for some versions of the SoC (see [[#History]] below).
 +
 +As of March 2020, this is now fixed in [[https://git.openwrt.org/247043c968d22c193055a97a9cdf5baef4aaf96d|master]] and in the [[https://git.openwrt.org/f5b3cd15395c2617585e36b4acf40999616cc60c|19.07 branch]], and the fix is part of the [[releases:19.07:notes-19.07.3|19.07.3]] release.
 +
 +==== Hardware differences with RB951Ui-2HnD ====
  
 Sister product: [[http://routerboard.com/RB951Ui-2HnD]] [[rb951ui]] Sister product: [[http://routerboard.com/RB951Ui-2HnD]] [[rb951ui]]
  
 The RB951**G**-2HnD differs from its sister board RB951**Ui**-2HnD in that it has 5 * GigE instead of 5 * FE ports. The 5 GigE ports are provided via an AR8327 GigE switch chip that is also used in larger routers such as the RB2011-UiAS-2HnD-IN. The 5 FE ports on the RB951Ui-2HnD are inside the AR9344 SOC, they are unused/not-conneced on the RB951G-2hnd. The GigE ports from the AR8327 do not only have the GigE speed benefit, but that chip also has better feature support than the FE ports on the AR9344. For example port mirroring and counters. See swconfig CLI command and Luci configuration in OpenWrt). The RB951**G**-2HnD differs from its sister board RB951**Ui**-2HnD in that it has 5 * GigE instead of 5 * FE ports. The 5 GigE ports are provided via an AR8327 GigE switch chip that is also used in larger routers such as the RB2011-UiAS-2HnD-IN. The 5 FE ports on the RB951Ui-2HnD are inside the AR9344 SOC, they are unused/not-conneced on the RB951G-2hnd. The GigE ports from the AR8327 do not only have the GigE speed benefit, but that chip also has better feature support than the FE ports on the AR9344. For example port mirroring and counters. See swconfig CLI command and Luci configuration in OpenWrt).
- 
-On the downside, as of 11/2015, the OpenWrt support for the internal GigE port on the AR9344 connecting to the AR8327 is the problem why an additional patch to OpenWrt is required that is not needed for the RB951Ui-2HnD. 
  
 ===== Installation ===== ===== Installation =====
Line 94: Line 79:
         option ports '0t 3 4'         option ports '0t 3 4'
  
-==== References ====+===== References =====
  
   * [[http://www.lan23.ru/forum/showthread.php?t=10780]] (HowTo on Russian)   * [[http://www.lan23.ru/forum/showthread.php?t=10780]] (HowTo on Russian)
Line 101: Line 86:
   * [[http://openwrt.ayufan.eu/rb951g/]]   * [[http://openwrt.ayufan.eu/rb951g/]]
  
 +===== History =====
  
 +**This section is kept for historical interest, it is no longer relevant starting from OpenWrt 19.07.3 (May 2020)**
 +
 +==== GigE port patch ====
 +
 +**03/2020:** The issue is finally [[https://git.openwrt.org/247043c968d22c193055a97a9cdf5baef4aaf96d|fixed]] and will be part of OpenWrt 19.07.3\\
 +**04/2018:** [[https://forum.lede-project.org/t/mikrotik-rb951g-2hnd/8652]] suggests that the patch is still needed.\\
 +**11/2015:** If you have a Rev 3 of AR9344, booting OpenWrt (eg: from initramfs) will not bring up the GigE ports correctly.
 +
 +  router# dmesg | grep AR9344
 +  [    0.000000] SoC: Atheros AR9344 rev 3  
 +
 +The new version (rev 3, requires patch) can apparently be distinguished from the old version (rev 2, works out-of-the-box) by the MAC address:
 +  * The old one starts with D4:CA:6D
 +  * The new one starts with 4C:5E:0C
 +
 +If you happen to have rev 3, you need to compile and use a 14.07, 15.05 or trunk version of OpenWrt with the following patch applied:
 +  * [[http://patchwork.ozlabs.org/patch/419857/]]
 +  * [[http://forum.mikrotik.com/viewtopic.php?f=2&t=86802]]
 +  * See [[toh:mikrotik:rb2011uias#tracking_reported_experience_with_suggested_patch_for_the_5_gige_ports]] for reports about the patch.
 +
 +The author of this wiki text recommends to use value ''0x6f000000'' instead of ''0x3e000000'' in the patch (throughput tests showed slightly higher values on the GigE ports with that value).
 +
 +If after installing on a rev 2 device the switch seems to drop packets, you may be able to work around this by holding the reset button during power-on. This delays booting giving the switch more time to initialize. This issue is not noticed during a PXE boot, only after an install to flash.
 +
 +=== Kernel module ===
 +A kernel module for OpenWRT 18.03.1 wich embeds the fixup code exists: https://github.com/fluciotto/openwrt-kmod-rb951g-2hnd-eth-fix/releases/download/18.03.1/rb951g-2hnd-eth-fix.ko
 +
 +The source code is available here: https://github.com/fluciotto/openwrt-kmod-rb951g-2hnd-eth-fix
 +
 +This kernel module permits to use the original (not patched) kernel from OpenWRT.
 +The module can be transfered with the serial port of the router (soldering needed!).
  
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>128ram 128flash mikrotik ar9344}}+{{tag>ar9344 128ram 128flash}}
  • Last modified: 2024/02/12 08:58
  • by 127.0.0.1