User Tools

Site Tools


toh:mikrotik:mikrotik_rb750gr3

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
toh:mikrotik:mikrotik_rb750gr3 [2018/04/16 09:15]
sidur Uploaded real photo of RB750Gr3
toh:mikrotik:mikrotik_rb750gr3 [2018/06/25 18:17] (current)
tmomas [OEM bootlog]
Line 1: Line 1:
 ====== MikroTik RB750Gr3 ====== ====== MikroTik RB750Gr3 ======
  
 +{{ media:​mikrotik:​rb750gr3.jpg?​200|RB750Gr3}}
  
-/* This template is intended to be used via https://​wiki.openwrt.org/​meta/​create_new_device_page . */+===== Supported Versions ===== 
 +---- datatable ---- 
 +cols    ​Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid 
 +headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data 
 +align   : c,​c,​c,​c,​c,​c,​c 
 +filter ​ : Model=RB750Gr3 
 +----
  
-| {{page>​meta:infobox:construction&​noheader&​nofooter&​noeditbtn}} |+---- datatable ---- 
 +cols    ​Unsupported Functions_unsupporteds 
 +filter  ​Model=RB750Gr3 
 +----
  
-//Write a short, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/​useless stuff. Two to four sentences is about right. A picture is good, too. Edit the page to see how to add pictures.// 
  
-/*****/ +===== Hardware Highlights ​===== 
-/* How to add images ​========> http://wiki.openwrt.org/​meta/​adding_images_to_openwrt_wiki */ +---- datatable ---- 
-/*****/+cols    ​Model, Versions, CPU, CPU MHz, Flash MB_mbflashs,​ RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_ 
 +header ​ : Model, Version,​SoC,​CPU MHz,Flash MB,RAM MB,WLAN Hardware,​WLAN2.4,​WLAN5.0,​100M ports,Gbit ports,​Modem,​USB 
 +align   : c,​c,​c,​c,​c,​c,​c,​c,​c,​c,​c,​c,​c 
 +filter ​ : Model=RB750Gr3 
 +----
  
-{{ media:​rb750gr3.jpg?​200|RB750Gr3}} 
  
 +===== Installation =====
 +---- datatable ----
 +cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url
 +headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock
 +align   : c,c,c
 +filter ​ : Model=RB750Gr3
 +----
  
-===== OpenWrt support =====+[[https://​openwrt.org/​toh/​mikrotik/​common#​boot_openwrt_via_dhcptftp|how to boot openwrt kernel using dhcp pxe]]
  
-  * [[https://​github.com/​ndoo/​skwb8_uboot/​tree/​RB750Gr3|U-Boot]] to replace RouterBOOT (initial flash requires SPI programmer or netbooting specially prepare LEDE image) 
-  * [[https://​downloads.lede-project.org/​snapshots/​targets/​ramips/​mt7621/​lede-ramips-mt7621-rb750gr3-squashfs-sysupgrade.bin|Supported in LEDE trunk]] 
  
 +**NOTE** \\
 +The factory bootloader (RouterBOOT) and firmware (RouterOS) do not provide any console output, making it difficult to develop an OpenWrt image that works with factory firmware installer (NetInstall) so the boot loader needs to be replaced with U-Boot. The quickest way to install OpenWrt is to flash a full flash image with U-Boot to the SPI flash chip. Alternatively,​ a special version of LEDE can be booted on the device in RAM using TFTP, and the boot loader can be flashed from there. A compatible pre-compiled version of U-Boot can be found [[https://​github.com/​jwangac/​u-boot/​tree/​master/​MikroTik-RB750Gr3|here]]
  
-/*** if info available: uncomment and fill in 
-===== Supporting activities ===== 
-//Describe if there are any ongoing activities that might lead to OpenWrt support.// 
  
-  ​OpenWrt forum thread: (add link) +==== Downloads ==== 
-***/+**Version** | Release date | **firmware ​link** | **Notes** | 
 +**trunk/​snapshot** |   | http://​downloads.openwrt.org/​snapshots/​targets/​ramips/​mt7621/​openwrt-ramips-mt7621-rb750gr3-initramfs-kernel.bin | dhcp pxe boot kernel ​ | 
 +| **trunk/​snapshot** |   | http://​downloads.openwrt.org/​snapshots/​targets/​ramips/​mt7621/openwrt-ramips-mt7621-rb750gr3-squashfs-sysupgrade.bin | sysupgrade firmware |
  
  
-/*** if info available: uncomment and fill in +==== Flash u-boot ​===
-===== Experimental firmware ​=====+=== Replacing Boot Loader using SPI Programmer and loading OpenWrt via tftp ===
  
-//List experimental firmware download links here.// +  ​* [[https://​github.com/​ndoo/skwb8_uboot/​tree/​RB750Gr3|U-Boot]] to replace RouterBOOT (initial flash requires ​SPI programmer or netbooting specially prepare LEDE image)
- +
-//None at this time.// +
- +
-  ​External image (add link) +
-  * trunk image (add link) +
-  * ... +
-***/ +
- +
-===== Hardware highlights ===== +
-^ CPU                          ^ Ram     ^ Flash  ^ Network ​        ^ WLAN ^ USB    ^ Serial ^ JTag       ^ +
-| MediaTek MT7621AT @ 880 MHz  | 256 MiB | 16 MiB | 5x 10/​100/​1000 ​ | N/A  | 1x 2.0 | Yes    | SPI header | +
- +
- +
-===== Installation ===== +
-  - → [[inbox:​mikrotik:​downloads|Obtain firmware]] +
-  - → [[docs:​guide-user:​installation:​generic.flashing|Install OpenWrt]] +
-  - → [[inbox:​mikrotik:​downloads|Latest OpenWrt release]] +
- +
-The factory bootloader (RouterBOOT) and firmware (RouterOS) do not provide any console output, making it difficult to develop an OpenWrt image that works with factory firmware installer (NetInstall) so the boot loader needs to be replaced with U-Boot. The quickest way to install OpenWrt is to flash a full flash image with U-Boot to the SPI flash chip. Alternatively,​ a special version of LEDE can be booted on the device in RAM using TFTP, and the boot loader can be flashed from there. A compatible pre-compiled version of U-Boot can be found [[https://​github.com/​jwangac/u-boot/tree/master/​MikroTik-RB750Gr3|here]] +
- +
- +
-==== Replacing Boot Loader using SPI Programmer and loading OpenWrt via tftp ====+
  
   - Power OFF the router   - Power OFF the router
Line 69: Line 65:
   - sysupgrade and enjoy your OpenWrt'​d RB750Gr3   - sysupgrade and enjoy your OpenWrt'​d RB750Gr3
  
-==== Replacing bootloader and flashing OpenWrt/​LEDE in one go using an SPI flasher ​====+=== Replacing bootloader and flashing OpenWrt/​LEDE in one go using an SPI flasher ===
  
-=== Necessary resources ​===+== Necessary resources ==
   * U-Boot (build it yourself or use the pre-built binary MikroTik-RB750Gr3.bin):​ [[https://​github.com/​jwangac/​u-boot/​tree/​master/​MikroTik-RB750Gr3]]   * U-Boot (build it yourself or use the pre-built binary MikroTik-RB750Gr3.bin):​ [[https://​github.com/​jwangac/​u-boot/​tree/​master/​MikroTik-RB750Gr3]]
   * Build or download the latest stable squashfs for OpenWrt or LEDE (LEDE: [[https://​downloads.lede-project.org/​releases/​17.01.2/​targets/​ramips/​mt7621/​lede-17.01.2-ramips-mt7621-rb750gr3-squashfs-sysupgrade.bin]])   * Build or download the latest stable squashfs for OpenWrt or LEDE (LEDE: [[https://​downloads.lede-project.org/​releases/​17.01.2/​targets/​ramips/​mt7621/​lede-17.01.2-ramips-mt7621-rb750gr3-squashfs-sysupgrade.bin]])
   * You need a SPI flasher and knowledge of how to connect it. Below, [[https://​www.flashrom.org/​Flashrom|flashrom]] is used together with a [[http://​dangerousprototypes.com/​docs/​Bus_Pirate|bus pirate]]. You can also use an [[https://​www.flashrom.org/​Serprog/​Arduino_flasher|arduino]] or a [[https://​www.flashrom.org/​RaspberryPi|Raspberry Pi]].    * You need a SPI flasher and knowledge of how to connect it. Below, [[https://​www.flashrom.org/​Flashrom|flashrom]] is used together with a [[http://​dangerousprototypes.com/​docs/​Bus_Pirate|bus pirate]]. You can also use an [[https://​www.flashrom.org/​Serprog/​Arduino_flasher|arduino]] or a [[https://​www.flashrom.org/​RaspberryPi|Raspberry Pi]]. 
  
-=== Constructing the image ===+== Constructing the image ==
  
 It's possible to immediately flash both U-Boot and OpenWrt to the router at the same time. It's possible to immediately flash both U-Boot and OpenWrt to the router at the same time.
Line 127: Line 123:
  
  
-=== Flashing the image to the chip ===+== Flashing the image to the chip ==
   ​   ​
 **Warning** Make sure to make a backup of the flash chips contents before flashing the image you constructed! This way, if something goes wrong, you can try flashing the stock image again. **Warning** Make sure to make a backup of the flash chips contents before flashing the image you constructed! This way, if something goes wrong, you can try flashing the stock image again.
Line 174: Line 170:
  
  
-==== Replacing U-Boot Using LEDE ====+=== Replacing U-Boot Using LEDE ===
  
 For this, you need to compile a slightly different initramfs version of LEDE, so that it's possible to boot it over the network using the standard MikroTik boot loader. Using this method, it's possible to get LEDE installed without any special hardware ( i.e. no SPI programmer and no access to the console ) however be warned that without access to the console, if you make a mistake or anything goes wrong when you try to write the flash, you'll end up with a bricked device... so be warned! For this, you need to compile a slightly different initramfs version of LEDE, so that it's possible to boot it over the network using the standard MikroTik boot loader. Using this method, it's possible to get LEDE installed without any special hardware ( i.e. no SPI programmer and no access to the console ) however be warned that without access to the console, if you make a mistake or anything goes wrong when you try to write the flash, you'll end up with a bricked device... so be warned!
Line 199: Line 195:
 If all worked correctly, you should now have an SSH connection to a LEDE install running in RAM, with read/write access to firmware partitions on the flash. You can now transfer the boot loader image (uboot.bin),​ u-boot environment (u-boot-env.bin),​ factory image (factory.bin) and the squashfs LEDE image using scp.  If all worked correctly, you should now have an SSH connection to a LEDE install running in RAM, with read/write access to firmware partitions on the flash. You can now transfer the boot loader image (uboot.bin),​ u-boot environment (u-boot-env.bin),​ factory image (factory.bin) and the squashfs LEDE image using scp. 
  
-=== Preparing required flash images files: ​===+== Preparing required flash images files: ==
  
 See [[https://​forum.lede-project.org/​t/​how-to-install-to-rb750gr3/​4654|this thread]] for information about the four files you'll need:  See [[https://​forum.lede-project.org/​t/​how-to-install-to-rb750gr3/​4654|this thread]] for information about the four files you'll need: 
Line 207: Line 203:
   * The //​firmware//​ partition needs to be written with the squashfs LEDE image (e.g. lede-*-ramips-mt7621-rb750gr3-squashfs-sysupgrade.bin)   * The //​firmware//​ partition needs to be written with the squashfs LEDE image (e.g. lede-*-ramips-mt7621-rb750gr3-squashfs-sysupgrade.bin)
  
-You should write the four images to their appropriate mtd partitions without rebooting - the device won't boot if only one of them is written. They can be written using the [[https://​wiki.openwrt.org/​doc/​techref/mtd|mtd command]], though again do not attempt this if you don't know how! +You should write the four images to their appropriate mtd partitions without rebooting - the device won't boot if only one of them is written. They can be written using the [[docs:techref:mtd|mtd command]], though again do not attempt this if you don't know how! 
  
 /*** if info available: uncomment and fill in /*** if info available: uncomment and fill in
Line 246: Line 242:
  
 ===== Hardware ===== ===== Hardware =====
 +[[https://​wikidevi.com/​wiki/​MikroTik_RouterBOARD_hEX_v3_(RB750Gr3)| MikroTik hEX hardware info]]
 +
 ==== Info ==== ==== Info ====
-| **Architecture:**     | MIPS                                     | +Architecture ​    | MIPS                                     | 
-| **Vendor:**           | MediaTek ​                                | +Vendor ​          | MediaTek ​                                | 
-| **Bootloader:**       | U-Boot (flashed over RouterBOOT) ​        | +Bootloader ​      | U-Boot (flashed over RouterBOOT) ​        | 
-| **System-On-Chip:**   | MediaTek MT7621AT (MIPS 1004Kc) ​         | +System-On-Chip ​  | MediaTek MT7621AT (MIPS 1004Kc) ​         | 
-| **CPU/Speed**         | 880MHz ​                                  | +CPU/​Speed ​       | 880MHz ​                                  | 
-| **Flash-Chip:**       | Winbond 25Q128FVSG ​                      | +Flash-Chip ​      | Winbond 25Q128FVSG ​                      | 
-| **Flash size:**       | 16 MiB                                   | +Flash size       | 16 MiB                                   | 
-| **RAM:**              | 256 MiB DDR3                             | +RAM              | 256 MiB DDR3                             | 
-| **Ethernet:**         | 10/100/1000 Mbit/s w/ vlan support ​      | +Ethernet ​        | 10/100/1000 Mbit/s w/ vlan support ​      | 
-| **USB:**              | 1x 2.0                                   | +USB              | 1x 2.0                                   | 
-| **Serial:**           | Yes                                      | +Serial ​          | Yes                                      | 
-| **JTAG:**             | SPI header only                          |+JTAG             | SPI header only                          |
  
  
-/*** if info available: uncomment and fill in 
 ==== Flash Layout ==== ==== Flash Layout ====
-<WRAP BOX> +^ Layer0 |  m25p80 spi32766.0: w25q128 (16384 KiB)  |||||| 
-FIXME //[[:docs:techref:flash.layout#​discovery_how_to_find_out|Find out flash layout]]then add the flash layout table here (copypaste, modify the [[docs:techref:flash.layout#​partitioning_of_squashfs-images|example]]).//+^ Layer1 |  **mtd0** \\ ''​u-boot''​ \\ 0x000000000000-0x000000030000 \\ 192 KiB  |  **mtd1** \\ ''​u-boot-env''​ \\ 0x000000030000-0x000000040000 \\ 64 KiB  |  **mtd2** \\ ''​factory''​ \\ 0x000000040000-0x000000050000 \\ 64 KiB  |  **mtd3** \\ ''​firmware''​ \\ 0x000000040000-0x000000050000 \\ 16064 KiB  ||| 
 +^ Layer2 |:::|:::​|:::​| ​ **mtd4** \\ ''​kernel''​ (uimage-fw) \\ 0x000000050000-0x0000001c0959 \\ 1474,3 KiB  |  **mtd5** \\ ''​rootfs'' ​(uimage-fw) \\ 0x0000001c0959-0x000001000000 \\ 14589,6 KiB  || 
 +^ Layer3 |:::|:::​|:::​|:::​| ​ |  **mtd6** \\ ''​rootfs_data''​ (squashfs-split\\ 0x000000320000-0x000001000000 \\ 13184 KiB  |
  
-Please check out the article [[docs:​techref:​flash.layout|Flash layout]]. It contains examples and explanations that describe how to document the flash layout. 
-</​WRAP>​ 
-***/ 
  
  
 ==== Photos ==== ==== Photos ====
-/* =====>>>>>​ Standard size for photosadd ?400 to the medialink ​                               */ +{{:media:​mikrotik:​mikrotik_rb750gr3_overview.jpg?400|MikroTik hEX}} 
-/* When uploading photos, **name them** intelligently. Nobody knows what 20100930_000602.jpg is! */ +{{:​media:​mikrotik:​mikrotik_rb750gr3_top.jpg?​400|MikroTik hEX}} 
-/* e.g. {{:media:yourbrand:yourbrand_yourmodel_front.jpg?​400|}} ​                                 */ +{{:​media:​mikrotik:​mikrotik_rb750gr3_bottom.jpg?​400|MikroTik hEX}} 
-/* Thanks, your wiki administration - Oct2015 */+{{:media:mikrotik:mikrotik_rb750gr3_case1.jpg?400|MikroTik hEX}} 
 +{{:​media:​mikrotik:​mikrotik_rb750gr3_case2.jpg?​400|MikroTik hEX}}
  
-**Insert photo of front of the casing**+{{:​media:​mikrotik:​mikrotik_rb750gr3_pcb_bottom.jpg?​400|MikroTik hEX}} 
 +{{:​media:​mikrotik:​mikrotik_rb750gr3_pcb_top.jpg?​400|MikroTik hEX}} 
 +{{:​media:​mikrotik:​mikrotik_rb750gr3_pcb_flash.jpg?​400|MikroTik hEX}}
  
-**Insert photo of back of the casing** 
- 
-**Insert photo of backside label** 
- 
-**Insert photo of PCB** 
  
 ==== Opening the case ==== ==== Opening the case ====
- +Case is held together by plastic clips on the bottom of caseTo openusing screwdriver push clips in slots outwardsthis will release bottom panel.
-<WRAP BOX> +
-FIXME //Describe what needs to be done to open the device, e.g. remove rubber feetadhesive labelsscrews, ...// +
-</​WRAP>​+
  
 ==== Serial ==== ==== Serial ====
Line 306: Line 297:
 ===== Bootlogs ===== ===== Bootlogs =====
 ==== OEM bootlog ==== ==== OEM bootlog ====
 +[[toh:​mikrotik:​common#​disable_silent-boot_mode_on_routerboot_bootloader|Disable silent-boot mode on routerboot bootloader]]
 +<WRAP bootlog><​nowiki>​
 (no output) (no output)
 +</​nowiki></​WRAP>​\\
  
 ==== OpenWrt bootlog ==== ==== OpenWrt bootlog ====
Line 562: Line 556:
 [   ​10.370000] br-lan: port 1(eth0.1) entered forwarding state [   ​10.370000] br-lan: port 1(eth0.1) entered forwarding state
 [   ​10.390000] br-lan: port 1(eth0.1) entered forwarding state [   ​10.390000] br-lan: port 1(eth0.1) entered forwarding state
-[   ​12.390000] br-lan: port 1(eth0.1) entered forwarding state</​nowiki></​WRAP>​+[   ​12.390000] br-lan: port 1(eth0.1) entered forwarding state 
 +</​nowiki></​WRAP>​\\
  
 ===== Notes ===== ===== Notes =====
  
 ===== Tags ===== ===== Tags =====
- 
 [[meta:​tags|How to add tags]] [[meta:​tags|How to add tags]]
 {{tag>​MT7621AT 16flash 256ram}} {{tag>​MT7621AT 16flash 256ram}}
toh/mikrotik/mikrotik_rb750gr3.1523870159.txt.gz · Last modified: 2018/04/16 09:15 by sidur