MikroTik RBM11G

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.

FIXME Any text with a light background (like this one) provides instructions for creating the Details Page. When you have filled in correct/useful information (instead of any template that's there) remove the instructions, as well as the <WRAP> that encloses it.

RBM11G

FIXME

  1. This is an empty template that suggests the information that should be present on a well-constructed Device Page. This means, that you have to fill it with life and information.
  2. There are several “fixme” tags with text on a light background (like this text) throughout this template. As you fill in the page, remove those tags so that people can judge its completeness.
  3. When there are no more “fixme” tags left, delete this one too, along with the <WRAP> that encloses it.
  • Please include only model specific information, omit bla,bla and put everything generic into separate articles
  • If you have no time to write certain stuff, link to docs
  • base-system should lead the way, do not explain this again
  • DO NOT provide a complete howto here! Instead groom the general documentation.

Install OpenWrt (generic explanation)

:!: Make sure to back up your RouterOS license in case you do ever want to go back to RouterOS using /system license output and back up the created license file.

When rebooted the board will try booting via ethernet first. If your board does not boot via ethernet automatically you will have to attach to the serial port and set ethernet as boot device within RouterBOOT.

  1. Set up a dhcp server that points the bootfile to tftp server serving the openwrt-ramips-mt7621-mikrotik_rbm11g-initramfs-kernel.bin initramfs image
  2. Connect to ethernet port on board
  3. Power on the board
  4. Wait for OpenWrt to boot

Right now OpenWrt will be running with a SSH server listening. Now OpenWrt must be flashed to the devices flash:

  1. Copy openwrt-ramips-mt7621-mikrotik_rbm11g-squashfs-sysupgrade.bin to the device using scp.
  2. Write openwrt to flash using sysupgrade openwrt-ramips-mt7621-mikrotik_rbm11g-squashfs-sysupgrade.bin
  3. Once the flashing completes the board will reboot. Disconnect from the devices ethernet port or stop the DHCP/TFTP server to prevent the device from booting via ethernet again. The device should now boot straight to OpenWrt.
dev size erasesize name
mtd0 00040000 00010000 “RouterBoot”
mtd1 0000f000 00010000 “bootloader1”
mtd2 00001000 00010000 “hard_config”
mtd3 0000f000 00010000 “bootloader2”
mtd4 00001000 00010000 “soft_config”
mtd5 00001000 00010000 “bios”
mtd6 00fc0000 00010000 “firmware”

FIXME Find out flash layout, then add the flash layout table here (copy, paste, modify the example).

Please check out the article Flash layout. It contains examples and explanations that describe how to document the flash layout.

FIXME The instructions below are for Broadcom devices and only serve as an example.
Remove / modify them if they do not apply to this particular device!

This section deals with

  • How you install OpenWrt from a device freshly opened
  • The steps required such as reset to factory defaults if the device has already been configured

Note: Reset router to factory defaults if it has been previously configured.

  • Browse to http://192.168.1.1/Upgrade.asp
  • Upload .bin file to router
  • Wait for it to reboot
  • Telnet to 192.168.1.1 and set a root password, or browse to http://192.168.1.1 if LuCI is installed.

Specific values needed for tftp

FIXME Enter values for “FILL-IN” below

Bootloader tftp server IPv4 address FILL-IN
Bootloader MAC address (special) FILL-IN
Firmware tftp image Latest OpenWrt release (NOTE: Name must contain “tftp”)
TFTP transfer window FILL-IN seconds
TFTP window start approximately FILL-IN seconds after power on
TFTP client required IP address FILL-IN

generic.sysupgrade

FIXME These are generic instructions. Update with your router's specifics.

  • Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL
  • Upload image file for sysupgrade to LuCI
  • Wait for reboot

If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:

  • sysupgrade
  • mtd

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc

mtd

If sysupgrade does not support this router, use mtd.

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

FIXME Please fill in real values for this device, then remove the EXAMPLEs

The default network configuration is:

Interface Name Description Default configuration
br-lan EXAMPLE LAN & WiFi EXAMPLE 192.168.1.1/24
vlan0 (eth0.0) EXAMPLE LAN ports (1 to 4) EXAMPLE None
vlan1 (eth0.1) EXAMPLE WAN port EXAMPLE DHCP
wl0 EXAMPLE WiFi EXAMPLE Disabled

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) EXAMPLE 4
LAN 1 EXAMPLE 3
LAN 2 EXAMPLE 2
LAN 3 EXAMPLE 1
LAN 4 EXAMPLE 0

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.

FIXME Please fill in real values for this device, then remove the EXAMPLEs

The MikroTik RBM11G has the following buttons:

BUTTON Event
EXAMPLE Reset reset
EXAMPLE Secure Easy Setup ses
EXAMPLE No buttons at all. -

Front:

Back:

Chip detail:

Note: This will void your warranty!

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

  • To remove the cover and open the device, do a/b/c

Main PCB:
Insert photo of PCB

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

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

Serial connection parameters
for MikroTik RBM11G
115200, 8N1

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

None so far.

COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE


[ 0.000000] Linux version 4.14.221 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11306-c4a6851c72)) #0 SMP Mon Feb 15 15:22:37 2021 [ 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 RouterBOARD M11G [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 10000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 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] 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 805747c0, node_mem_map 81003000 [ 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] random: get_random_bytes called from 0x80577744 with crng_init=0 [ 0.000000] percpu: Embedded 14 pages/cpu s26224 r8192 d22928 u57344 [ 0.000000] pcpu-alloc: s26224 r8192 d22928 u57344 alloc=14*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: console=ttyS0,115200 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=0000816a [ 0.000000] Readback ErrCtl register=0000816a [ 0.000000] Memory: 250864K/262144K available (4756K kernel code, 239K rwdata, 588K rodata, 2852K init, 255K bss, 11280K 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] CPU Clock: 880MHz [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns [ 0.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns [ 0.007814] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688) [ 0.073977] pid_max: default: 32768 minimum: 301 [ 0.078745] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.085254] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.094011] Hierarchical SRCU implementation. [ 0.099158] smp: Bringing up secondary CPUs ... [ 0.756108] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.756117] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.756128] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.756259] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.163894] Synchronize counters for CPU 1: done. [ 1.434030] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 1.434039] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 1.434045] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 1.434111] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.254937] Synchronize counters for CPU 2: done. [ 8.487009] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 8.487018] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 8.487024] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 8.487097] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.340116] Synchronize counters for CPU 3: done. [ 0.369966] smp: Brought up 1 node, 4 CPUs [ 0.377648] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.387432] futex hash table entries: 1024 (order: 3, 32768 bytes) [ 0.393709] pinctrl core: initialized pinctrl subsystem [ 0.400356] NET: Registered protocol family 16 [ 0.411035] FPU Affinity set after 11720 emulations [ 0.411779] pull PCIe RST: RALINK_RSTCTRL = 0 [ 0.716439] release PCIe RST: RALINK_RSTCTRL = 7000000 [ 0.721488] ***** Xtal 40MHz ***** [ 0.724844] release PCIe RST: RALINK_RSTCTRL = 7000000 [ 0.729941] Port 0 N_FTS = 1b102800 [ 0.733413] Port 1 N_FTS = 1b102800 [ 0.736851] Port 2 N_FTS = 1b102800 [ 1.891876] PCIE0 no card, disable it(RST&CLK) [ 1.896232] PCIE1 no card, disable it(RST&CLK) [ 1.900625] PCIE2 no card, disable it(RST&CLK) [ 1.913659] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 1.919512] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 1.925246] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 1.932843] i2c-mt7621 1e000900.i2c: clock 100KHz, re-start not support [ 1.941024] clocksource: Switched to clocksource GIC [ 1.947587] NET: Registered protocol family 2 [ 1.952614] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 1.959499] TCP bind hash table entries: 2048 (order: 2, 16384 bytes) [ 1.965981] TCP: Hash tables configured (established 2048 bind 2048) [ 1.972415] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 1.978183] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 1.984644] NET: Registered protocol family 1 [ 1.988933] PCI: CLS 0 bytes, default 32 [ 4.120980] 4 CPUs re-calibrate udelay(lpj = 2924544) [ 4.127191] Crashlog allocated RAM at address 0x3f00000 [ 4.132604] workingset: timestamp_bits=30 max_order=16 bucket_order=0 [ 4.146133] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 4.151992] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 4.163184] random: fast init done [ 4.168792] io scheduler noop registered [ 4.172651] io scheduler deadline registered (default) [ 4.178787] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 4.188547] console [ttyS0] disabled [ 4.192155] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A [ 4.201135] console [ttyS0] enabled [ 4.207993] bootconsole [early0] disabled [ 4.218187] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error [ 4.225584] spi-mt7621 1e000b00.spi: sys_freq: 220000000 [ 4.241074] m25p80 spi0.0: w25q128jv (16384 Kbytes) [ 4.245984] 2 fixed-partitions partitions found on MTD device spi0.0 [ 4.252325] Creating 2 MTD partitions on "spi0.0": [ 4.257102] 0x000000000000-0x000000040000 : "RouterBoot" [ 4.263499] 5 fixed-partitions partitions found on MTD device RouterBoot [ 4.270180] Creating 5 MTD partitions on "RouterBoot": [ 4.275318] 0x000000000000-0x00000000f000 : "bootloader1" [ 4.281684] 0x00000000f000-0x000000010000 : "hard_config" [ 4.287995] 0x000000010000-0x00000001f000 : "bootloader2" [ 4.294366] 0x000000020000-0x000000021000 : "soft_config" [ 4.300747] 0x000000030000-0x000000031000 : "bios" [ 4.306535] 0x000000040000-0x000001000000 : "firmware" [ 4.313457] libphy: Fixed MDIO Bus: probed [ 4.383028] libphy: mdio: probed [ 5.795902] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver [ 5.802579] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21 [ 5.813555] NET: Registered protocol family 10 [ 5.819450] Segment Routing with IPv6 [ 5.823267] NET: Registered protocol family 17 [ 5.827774] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 5.840705] 8021q: 802.1Q VLAN Support v1.8 [ 5.847176] hctosys: unable to open rtc device (rtc0) [ 5.862730] Freeing unused kernel memory: 2852K [ 5.867255] This architecture does not have kernel memory protection. [ 5.885586] init: Console is alive [ 5.889222] init: - watchdog - [ 5.902865] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 5.913764] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.931348] init: - preinit - [ 6.099379] mtk_soc_eth 1e100000.ethernet: PPE started [ 6.117098] random: procd: uninitialized urandom read (4 bytes read) [ 7.043961] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up [ 9.225091] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818 [ 9.239323] procd: - early - [ 9.242414] procd: - watchdog - [ 9.871157] procd: - watchdog - [ 9.874644] procd: - ubus - [ 9.882415] random: ubusd: uninitialized urandom read (4 bytes read) [ 9.931589] random: ubusd: uninitialized urandom read (4 bytes read) [ 9.938277] random: ubusd: uninitialized urandom read (4 bytes read) [ 9.945514] procd: - init - [ 10.169740] kmodloader: loading kernel modules from /etc/modules.d/* [ 10.179920] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 10.191288] ip_tables: (C) 2000-2006 Netfilter Core Team [ 10.202501] nf_conntrack version 0.5.0 (4096 buckets, 16384 max) [ 10.241642] xt_time: kernel timezone is -0000 [ 10.251312] PPP generic driver version 2.4.2 [ 10.256869] NET: Registered protocol family 24 [ 10.264038] kmodloader: done loading kernel modules from /etc/modules.d/* [ 10.366038] urngd: v1.0.2 started. [ 10.502419] random: crng init done [ 10.505807] random: 6 urandom warning(s) missed due to ratelimiting [ 21.930629] mtk_soc_eth 1e100000.ethernet: PPE started [ 21.937192] br-lan: port 1(eth0) entered blocking state [ 21.942523] br-lan: port 1(eth0) entered disabled state [ 21.948369] device eth0 entered promiscuous mode [ 21.955791] br-lan: port 1(eth0) entered blocking state [ 21.961077] br-lan: port 1(eth0) entered forwarding state [ 21.967141] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 22.921123] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready


Space for additional notes, links to forum threads or other resources.

  • ...
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2024/02/12 11:13
  • by 127.0.0.1