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:rb5009ug_s_in [2024/02/24 20:21] – [Serial] robimarkotoh:mikrotik:rb5009ug_s_in [2024/10/02 18:37] – [Photos] jannoke
Line 4: Line 4:
  
 {{:media:mikrotik:rb5009ug_s_in:mikrotik_rb5009ug_s_in.png?500|RB5009UG+S+IN}} {{:media:mikrotik:rb5009ug_s_in:mikrotik_rb5009ug_s_in.png?500|RB5009UG+S+IN}}
 +
 +<WRAP center round box important 600px>
 +**WARNING:** 
 +
 +Support has been merged into main with commit [[commit>?p=openwrt/openwrt.git;a=commit;h=85d9fd6f0ec776d334871c052f4e15903238d9b4|85d9fd6f0ec7]]. Please follow the installation instructions in the commit message until this page has been fully updated to reflect it.
 +
 +**Do not sysupgrade from previous out of tree builds directly to the official OpenWrt images; the flash layout between both differs.**
 +</WRAP>
  
  
Line 13: Line 21:
   "paging": false,   "paging": false,
   "rotate": true,   "rotate": true,
-  "shownColumns": ["brand", "model", "version", "supportedcurrentrel", "oemdevicehomepageurl", "forumsearch", "deviceid"],+  "shownColumns": ["brand", "model", "version", "supportedsincecommit", "supportedcurrentrel", "oemdevicehomepageurl", "forumsearch", "deviceid"],
   "filterColumns": {"brand": "^MikroTik$", "model": "^RB5009UG\\+S\\+IN$"}   "filterColumns": {"brand": "^MikroTik$", "model": "^RB5009UG\\+S\\+IN$"}
 } --> } -->
Line 26: Line 34:
 } --> } -->
  
-===== Experimental Versions ===== 
- 
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  
-   The official Table of Hardware only lists current, stable versions of OpenWrt.  * 
-   Use this space to describe any on-going efforts to create a newer version       * 
-   of the firmware for this device. Provide links to firmware images,              * 
-   active threads on the forum, or other sources of information.                   * 
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 
- 
-//None at this time.// 
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
Line 81: Line 79:
 </WRAP> </WRAP>
  
 +For installation, follow the instructions in the commit that added support for the RB5009. Do *not* cross-upgrade from an existing OpenWrt build, revert to RouterOS before installing an official OpenWrt image.
  
-The instructions lean heavily on the external binaries and instructions adron-s kindly provides on his [[https://github.com/adron-s/openwrt-rb5009|RB5009UG+S+IN GitHub page]]. You will need the following binaries: 
-  * The [[https://github.com/adron-s/aux-loader2/raw/main/releases/2.xx-latest/rbt-with-aux-for-mtd5.bin|modified RouterBOOT]] that allows you to boot OpenWrt and enables serial access as well, which MikroTik disabled by default.  
-  * The [[https://github.com/adron-s/openwrt-rb5009/releases/download/rb5009-20220209/openwrt-mvebu-cortexa72-mikrotik_rb5009-initramfs-fit-uImage.elf|initramfs image]]. 
-  * The [[https://github.com/adron-s/openwrt-rb5009/releases/download/rb5009-20220209/openwrt-mvebu-cortexa72-mikrotik_rb5009-squashfs-sysupgrade.bin|sysupgrade image]]. 
- 
-Although support is mature (only 2.5 GbE PHY is not fully functional on kernel 5.10 / OpenWrt 22.03, with a regression introduced with 6.1 (main)), support won't get merged as long as external binaries (the hacked RouterBOOT) are needed to introduce OpenWrt support. **23.05 has full support for the QCA8081 2.5 GbE PHY.** 
- 
-<color #ed1c24> 
-**A few things to note:**</color> 
-  * You can use your own sysupgrade image instead of the one that adrons provides. The patch set adding RB5009UG support to OpenWrt should still apply rather cleanly to 22.03 HEAD / 23.05 HEAD and main (December 2023), but it's recommended to stick to the provided (and known working) initramfs image for the installation procedure. 
-  * Even though the modified RouterBOOT re-enables serial access, one still needs to solder wires or connectors to actually use it. 
- 
- 
-===Patch sets:=== 
-  * [[https://paste.debian.net/download/1243978/|22.03]] (last updated 2022-06-13) 
-  * [[https://paste.myconan.net/490386| 23.05]] (last updated 2023-08-26) 
-  * [[https://paste.myconan.net/482115|main (6.1)]] (last updated 2023-09-18) <color #ed1c24>**Early stage patch set. Ethtool reports no 2.5GBASE-T capability for QCA8081 anymore. Needs to be updated to select QCA808X_PHY symbol instead of AT803X_PHY. **</color> 
- /* Hide this patch set until the breakage has been cleared up 
- * [[https://paste.myconan.net/490384|main (6.1)]] (last updated 2024-02-02) <color #ed1c24>**Early stage patch set, required after [[commit>?p=openwrt/openwrt.git;a=commit;h=997acc7f86ca|commit 997acc7f86ca]]. Ethtool reports no 2.5GBASE-T capability for QCA8081 anymore. MIGHT CAUSE BOOTLOOPING.**</color> 
-*/ 
- 
-<color #ed1c24>**Main patch sets for 5.15 and 6.1 cannot be combined; pick one.**</color> 
- 
-The 5.15 main patch set still applies to 23.05 as well. A separate patch set will be linked once 23.05 and main start diverging. 
-==== Installation instructions with modified RouterBOOT ==== 
-  * Pull the power plug from the RB5009UG. 
-  * Set up dnsmasq as documented in the [[:toh:mikrotik:common#run_a_dhcpbootptftp_netboot_server|common MikroTik instructions]] and make it serve [[https://github.com/adron-s/openwrt-rb5009/releases/download/rb5009-20220209/openwrt-mvebu-cortexa72-mikrotik_rb5009-initramfs-fit-uImage.elf|openwrt-mvebu-cortexa72-mikrotik_rb5009-initramfs-fit-uImage.elf]]. Make sure to **use the default MikroTik subnet - 192.168.88.x** and verify your firewall allows traffic on it. 
-  * Plug the cable into port 1 (so the 2,5 GbE port), keep the RESET button pressed, power up the router. 
-  * You'll see the green LED at the bottom right of the SFP+ port light up at some point and then blink. As soon as the light goes out (about 20 seconds after powering up the router), let go of the RESET button. 
-  * After a few seconds you should see the image getting loaded by the router with the following message: 
- 
-    dnsmasq-tftp: sent /srv/tftp/openwrt-mvebu-cortexa72-mikrotik_rb5009-initramfs-fit-uImage.elf to 192.168.88.163 
- 
-  * Unplug the network cable from the router, and stop dnsmasq on your computer. 
-  * Plug the network cable into one of the 'LAN' ports (2-8), and have some patience until OpenWrt is booted. If you set your computer to acquire an address by DHCP, that helps (it won't work until OpenWrt is fully booted). 
- 
- 
-Once you are logged into OpenWrt you can follow the instructions lined out in adron-s's [[https://github.com/adron-s/openwrt-rb5009#readme|README]]: 
-  * Replace the RouterBOOT binary 
- 
-    wget https://github.com/adron-s/aux-loader2/raw/main/releases/2.xx-latest/rbt-with-aux-for-mtd5.bin -O- | mtd write - RouterBOOT 
- 
-  * Set RouterBOOT to boot from the NOR flash 
- 
-    echo cfg > /sys/firmware/mikrotik/soft_config/boot_device 
-    echo 1 > /sys/firmware/mikrotik/soft_config/commit 
- 
- 
-<color #ed1c24>**Only after that**</color> you can flash the sysupgrade image: 
- 
-    # sysupgrade -n /tmp/openwrt-mvebu-cortexa72-mikrotik_rb5009-squashfs-sysupgrade.bin 
  
 ==== Flash Layout ==== ==== Flash Layout ====
Line 300: Line 248:
 /* Thanks, your wiki administration - Oct. 2015 */ /* Thanks, your wiki administration - Oct. 2015 */
  
-//Front://\\ +**Top View of PCB** 
-**Insert photo of front of the casing**+ 
 +{{:media:mikrotik:rb5009ug_s_in:rb5009_s_in_top.jpg?400|}} 
 + 
 +**Bottom View of PCB**
  
-//Back://\\+{{:media:mikrotik:rb5009ug_s_in:rb5009_s_in_bottom.jpg?400|}} 
 +*Back://\\ 
 **Insert photo of back of the casing** **Insert photo of back of the casing**
  
  • Last modified: 2024/10/02 18:43
  • by jannoke