User Tools

Site Tools


inbox:mikrotik:mikrotik_rb750gr3

MikroTik RB750Gr3

Under Construction!
This page is currently under construction. You can edit the article to help completing it.

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.

Generic Router

OpenWrt support

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

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). The easiest, and (currently) only way to install OpenWrt is to flash a full flash image with U-Boot to the SPI flash chip.

  1. Build U-Boot with the included .config
  2. Build LEDE with both initramfs & squashfs image
  3. Power OFF the router
  4. Connect SPI programmer to the Winbond W25Q128 SPI flash chip
  5. Power up the SPI chip directly through the 3.3V VCC pin
  6. Flash uboot.bin with your SPI programmer
  7. Disconnect SPI programmer
  8. Connect to TTL serial console
  9. Start TFTP server on your computer
  10. Power up router and use U-Boot to load image over TFTP and boot
  11. Load the initramfs image and boot router
  12. Connect to OpenWrt over SSH and copy the squashfs image
  13. sysupgrade and enjoy your OpenWrt'd RB750Gr3

Failsafe mode

While booting (slow blink of user LED), both reset and mode buttons will enter OpenWrt failsafe mode. → generic.failsafe

Specific configuration

Network interfaces

The default network configuration is:

Interface Name Description Default configuration
br-lan LAN EXAMPLE 192.168.1.1/24
vlan1 (eth0.1) LAN ports (Ether2 to Ether4) br-lan
vlan2 (eth0.2) WAN port (Ether1) Dual-stack DHCP Client

Buttons

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

The MikroTik RB750Gr3 has the following buttons:

BUTTON Event
Reset reset
Mode wps

Hardware

Info

Architecture: MIPS
Vendor: MediaTek
Bootloader: U-Boot (flashed over RouterBOOT)
System-On-Chip: MediaTek MT7621AT (MIPS 1004Kc)
CPU/Speed 880MHz
Flash-Chip: Winbond 25Q128FVSG
Flash size: 16 MiB
RAM: 256 MiB DDR3
Ethernet: 10/100/1000 Mbit/s w/ vlan support
USB: 1x 2.0
Serial: Yes
JTAG: SPI header only

Photos

Insert photo of front of the casing

Insert photo of back of the casing

Insert photo of backside label

Insert photo of PCB

Opening the case

FIXME Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, …

Serial

port.serial general information about the serial port, serial port cable, etc.

FIXME Replace EXAMPLE by real values.

Serial connection parameters
for MikroTik RB750Gr3 @@Version@@
57600, 8N1

JTAG

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port

Bootlogs

OEM bootlog

(no output)

OpenWrt bootlog

[ 0.000000] Linux version 4.4.25 (me@example.com) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1935) ) #0 SMP Wed Oct 19 00:26:03 2016 [ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc) [ 0.000000] MIPS: machine is MikroTik RB750Gr3 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 10000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] On node 0 totalpages: 65536 [ 0.000000] free_area_init_node: node 0, pgdat 80455000, node_mem_map 81000000 [ 0.000000] Normal zone: 512 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 65536 pages, LIFO batch:15 [ 0.000000] VPE topology {2,2} total 4 [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.000000] PERCPU: Embedded 10 pages/cpu @8120c000 s8416 r8192 d24352 u40960 [ 0.000000] pcpu-alloc: s8416 r8192 d24352 u40960 alloc=10*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Writing ErrCtl register=0005a4c8 [ 0.000000] Readback ErrCtl register=0005a4c8 [ 0.000000] Memory: 254656K/262144K available (3543K kernel code, 160K rwdata, 820K rodata, 200K init, 247K bss, 7488K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:256 [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns [ 0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns [ 0.010000] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688) [ 0.070000] pid_max: default: 32768 minimum: 301 [ 0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.090000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.090000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.090000] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.190000] Synchronize counters for CPU 1: done. [ 0.200000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.200000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.200000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.200000] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.300000] Synchronize counters for CPU 2: done. [ 0.310000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.310000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.310000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.310000] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.410000] Synchronize counters for CPU 3: done. [ 0.410000] Brought up 4 CPUs [ 0.420000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.430000] pinctrl core: initialized pinctrl subsystem [ 0.440000] NET: Registered protocol family 16 [ 0.450000] rt2880-pinmux pinctrl: try to register 61 pins ... [ 0.450000] pinctrl core: registered pin 0 (io0) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 1 (io1) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 2 (io2) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 3 (io3) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 4 (io4) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 5 (io5) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 6 (io6) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 7 (io7) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 8 (io8) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 9 (io9) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 10 (io10) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 11 (io11) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 12 (io12) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 13 (io13) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 14 (io14) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 15 (io15) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 16 (io16) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 17 (io17) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 18 (io18) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 19 (io19) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 20 (io20) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 21 (io21) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 22 (io22) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 23 (io23) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 24 (io24) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 25 (io25) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 26 (io26) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 27 (io27) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 28 (io28) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 29 (io29) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 30 (io30) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 31 (io31) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 32 (io32) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 33 (io33) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 34 (io34) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 35 (io35) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 36 (io36) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 37 (io37) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 38 (io38) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 39 (io39) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 40 (io40) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 41 (io41) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 42 (io42) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 43 (io43) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 44 (io44) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 45 (io45) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 46 (io46) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 47 (io47) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 48 (io48) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 49 (io49) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 50 (io50) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 51 (io51) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 52 (io52) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 53 (io53) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 54 (io54) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 55 (io55) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 56 (io56) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 57 (io57) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 58 (io58) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 59 (io59) on rt2880-pinmux [ 0.450000] pinctrl core: registered pin 60 (io60) on rt2880-pinmux [ 0.450000] pinctrl core: add 3 pinctrl maps [ 0.450000] rt2880-pinmux pinctrl: found group selector 1 for i2c [ 0.450000] rt2880-pinmux pinctrl: found group selector 8 for rgmii2 [ 0.450000] rt2880-pinmux pinctrl: found group selector 10 for sdhci [ 0.450000] rt2880-pinmux pinctrl: request pin 3 (io3) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 4 (io4) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 22 (io22) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 23 (io23) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 24 (io24) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 25 (io25) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 26 (io26) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 27 (io27) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 28 (io28) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 29 (io29) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 30 (io30) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 31 (io31) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 32 (io32) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 33 (io33) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 41 (io41) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 42 (io42) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 43 (io43) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 44 (io44) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 45 (io45) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 46 (io46) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 47 (io47) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: request pin 48 (io48) for pinctrl [ 0.450000] rt2880-pinmux pinctrl: failed to lookup the sleep state [ 0.450000] FPU Affinity set after 11720 emulations [ 0.510000] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.520000] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.530000] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.540000] clocksource: Switched to clocksource GIC [ 0.560000] NET: Registered protocol family 2 [ 0.570000] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.580000] TCP bind hash table entries: 2048 (order: 2, 16384 bytes) [ 0.590000] TCP: Hash tables configured (established 2048 bind 2048) [ 0.610000] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.620000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.630000] NET: Registered protocol family 1 [ 0.640000] PCI: CLS 0 bytes, default 32 [ 0.640000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT [ 0.640000] futex hash table entries: 1024 (order: 3, 32768 bytes) [ 0.650000] Crashlog allocated RAM at address 0x3f00000 [ 0.670000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.680000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.710000] io scheduler noop registered [ 0.710000] io scheduler deadline registered (default) [ 0.730000] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.740000] serial8250 serial8250: no of_node; not parsing pinctrl DT [ 0.740000] console [ttyS0] disabled [ 0.750000] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 33, base_baud = 3125000) is a 16550A [ 0.760000] console [ttyS0] enabled [ 0.780000] bootconsole [early0] disabled [ 0.800000] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error [ 0.810000] pinctrl core: add 1 pinctrl maps [ 0.810000] rt2880-pinmux pinctrl: found group selector 9 for spi [ 0.810000] rt2880-pinmux pinctrl: request pin 34 (io34) for 1e000b00.spi [ 0.810000] rt2880-pinmux pinctrl: request pin 35 (io35) for 1e000b00.spi [ 0.810000] rt2880-pinmux pinctrl: request pin 36 (io36) for 1e000b00.spi [ 0.810000] rt2880-pinmux pinctrl: request pin 37 (io37) for 1e000b00.spi [ 0.810000] rt2880-pinmux pinctrl: request pin 38 (io38) for 1e000b00.spi [ 0.810000] rt2880-pinmux pinctrl: request pin 39 (io39) for 1e000b00.spi [ 0.810000] rt2880-pinmux pinctrl: request pin 40 (io40) for 1e000b00.spi [ 0.810000] spi-mt7621 1e000b00.spi: sys_freq: 50000000 [ 0.820000] m25p80 spi32766.0: using chunked io (size=32) [ 0.830000] m25p80 spi32766.0: w25q128 (16384 Kbytes) [ 0.840000] 4 ofpart partitions found on MTD device spi32766.0 [ 0.860000] Creating 4 MTD partitions on "spi32766.0": [ 0.870000] 0x000000000000-0x000000030000 : "u-boot" [ 0.880000] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.890000] 0x000000040000-0x000000050000 : "factory" [ 0.900000] 0x000000050000-0x000001000000 : "firmware" [ 0.940000] 2 uimage-fw partitions found on MTD device firmware [ 0.950000] 0x000000050000-0x0000001c0959 : "kernel" [ 0.960000] 0x0000001c0959-0x000001000000 : "rootfs" [ 0.970000] mtd: device 5 (rootfs) set to be root filesystem [ 0.980000] 1 squashfs-split partitions found on MTD device rootfs [ 1.000000] 0x000000320000-0x000001000000 : "rootfs_data" [ 1.010000] netif_napi_add() called with weight 128 on device eth%d [ 1.040000] libphy: mdio: probed [ 1.050000] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver [ 1.060000] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 10 [ 1.080000] mt7621_wdt 1e000100.wdt: Initialized [ 1.090000] NET: Registered protocol family 10 [ 1.100000] NET: Registered protocol family 17 [ 1.110000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 1.140000] 8021q: 802.1Q VLAN Support v1.8 [ 1.150000] hctosys: unable to open rtc device (rtc0) [ 1.170000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 1.180000] Freeing unused kernel memory: 200K (8046e000 - 804a0000) [ 1.360000] random: nonblocking pool is initialized [ 2.050000] init: Console is alive [ 2.050000] init: - watchdog - [ 2.410000] usbcore: registered new interface driver usbfs [ 2.420000] usbcore: registered new interface driver hub [ 2.430000] usbcore: registered new device driver usb [ 2.450000] xhci-mtk 1e1c0000.xhci: xHCI Host Controller [ 2.460000] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1 [ 2.480000] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010 [ 2.490000] xhci-mtk 1e1c0000.xhci: irq 29, io mem 0x1e1c0000 [ 2.510000] hub 1-0:1.0: no of_node; not parsing pinctrl DT [ 2.510000] hub 1-0:1.0: USB hub found [ 2.510000] hub 1-0:1.0: 2 ports detected [ 2.520000] xhci-mtk 1e1c0000.xhci: xHCI Host Controller [ 2.530000] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2 [ 2.550000] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.570000] hub 2-0:1.0: no of_node; not parsing pinctrl DT [ 2.570000] hub 2-0:1.0: USB hub found [ 2.570000] hub 2-0:1.0: 1 port detected [ 2.580000] init: - preinit - [ 6.070000] jffs2: notice: (371) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 6.100000] mount_root: switching to jffs2 overlay [ 6.120000] urandom-seed: Seeding with /etc/urandom.seed [ 6.220000] procd: - early - [ 6.230000] procd: - watchdog - [ 6.890000] procd: - ubus - [ 6.950000] procd: - init - [ 7.090000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 7.110000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 7.120000] nf_conntrack version 0.5.0 (3982 buckets, 15928 max) [ 7.240000] xt_time: kernel timezone is -0000 [ 7.250000] PPP generic driver version 2.4.2 [ 7.260000] NET: Registered protocol family 24 [ 10.350000] device eth0 entered promiscuous mode [ 10.360000] device eth0.1 entered promiscuous mode [ 10.370000] 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

Notes

Tags

inbox/mikrotik/mikrotik_rb750gr3.txt · Last modified: 2017/06/27 18:37 by tmomas