Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:mikrotik:rb711 [2016/01/23 01:21] – onny | toh:mikrotik:rb711 [2016/02/06 10:57] – danitool | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Mikrotik RouterBoard RB711-5Hn-MMCX ====== | ||
| + | The device is not yet supported but there is some code ready to test in trunk. So far (February 2015), wifi modules crash with a kernel panic, ethernet does not transmit any packages successfully and and the flash layout doesn' | ||
| + | |||
| + | ===== Hardware info ===== | ||
| + | | **Architecture: | ||
| + | | **Vendor: | ||
| + | | **Bootloader: | ||
| + | | **System-On-Chip: | ||
| + | | **CPU Speed: | ||
| + | | **Flash size: | ||
| + | | **RAM: | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **Serial: | ||
| + | | **JTAG: | ||
| + | | **Power Supply: | ||
| + | |||
| + | ===== Installation ===== | ||
| + | :!: If you flash OpenWrt from NetBoot facility, you will lose your RouterOS licence. | ||
| + | |||
| + | If you build OpenWrt from trunk, you first have to apply a patch: | ||
| + | < | ||
| + | patch -p0 < rb711-openwrt.patch | ||
| + | make defconfig</ | ||
| + | |||
| + | Then select these menuconfig options: | ||
| + | < | ||
| + | Subtarget: Mikrotik devices with NAND flash | ||
| + | Target Images: ramdisk</ | ||
| + | |||
| + | You have to adjust following config parameters in this file: target/ | ||
| + | < | ||
| + | CONFIG_CMDLINE=" | ||
| + | CONFIG_CMDLINE_OVERRIDE=y | ||
| + | </ | ||
| + | |||
| + | Here's an easy way to setup Dhcp and Tftp using Dnsmasq: | ||
| + | <code bash> | ||
| + | sudo service network-manager stop | ||
| + | sudo ifconfig eth1 192.168.1.2 up | ||
| + | sudo dnsmasq -i eth1 --dhcp-range=192.168.1.100, | ||
| + | </ | ||
| + | |||
| + | Connect ethernet to your RouterBoard device and holt the S301 button pressed while booting it up. LED LD301 starts lighting up, then flashing and than turns off. After this you can release the button and the router starts looking for a TFTP server providing an elf-image. If you want to have a look at the booting process, you can solder RS232 serial connection to your board (see picture below) and connect to it for example with this command: | ||
| + | |||
| + | <code bash> | ||
| + | sudo minicom -D / | ||
| + | </ | ||
| + | |||
| + | Important to note: Serial output is disabled by default by the bootloader. Therefore, the first output comes with your OpenWrt kernel booting. Here's my bootup log (an older one!, dmesg): | ||
| + | |||
| + | <WRAP bootlog> | ||
| + | < | ||
| + | [ 0.000000] bootconsole [early0] enabled | ||
| + | [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc) | ||
| + | [ 0.000000] SoC: Atheros AR7241 rev 1 | ||
| + | [ 0.000000] Determined physical RAM map: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] User-defined physical RAM map: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Initrd not found or empty - disabling initrd | ||
| + | [ 0.000000] Zone ranges: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Movable zone start for each node | ||
| + | [ 0.000000] Early memory node ranges | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] On node 0 totalpages: 8192 | ||
| + | [ 0.000000] free_area_init_node: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. | ||
| + | [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes | ||
| + | [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 | ||
| + | [ 0.000000] pcpu-alloc: [0] 0 | ||
| + | [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 | ||
| + | [ 0.000000] Kernel command line: console=ttyS0, | ||
| + | [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) | ||
| + | [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) | ||
| + | [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) | ||
| + | [ 0.000000] Writing ErrCtl register=0003fee0 | ||
| + | [ 0.000000] Readback ErrCtl register=0003fee0 | ||
| + | [ 0.000000] Memory: 26928K/ | ||
| + | [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, | ||
| + | [ 0.000000] NR_IRQS:51 | ||
| + | [ 0.000000] Clocks: CPU: | ||
| + | [ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) | ||
| + | [ 0.080000] pid_max: default: 32768 minimum: 301 | ||
| + | [ 0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) | ||
| + | [ 0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) | ||
| + | [ 0.100000] NET: Registered protocol family 16 | ||
| + | [ 0.110000] MIPS: machine is Mikrotik RouterBOARD 711-5Hn-MMCX | ||
| + | [ 0.340000] platform gpio-latch: Driver gpio-latch requests probe deferral | ||
| + | [ 0.350000] bio: create slab < | ||
| + | [ 0.360000] Switched to clocksource MIPS | ||
| + | [ 0.370000] NET: Registered protocol family 2 | ||
| + | [ 0.370000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) | ||
| + | [ 0.380000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) | ||
| + | [ 0.380000] TCP: Hash tables configured (established 1024 bind 1024) | ||
| + | [ 0.390000] TCP: reno registered | ||
| + | [ 0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes) | ||
| + | [ 0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) | ||
| + | [ 0.400000] NET: Registered protocol family 1 | ||
| + | [ 0.410000] PCI: CLS 0 bytes, default 32 | ||
| + | [ 3.790000] futex hash table entries: 256 (order: -1, 3072 bytes) | ||
| + | [ 3.810000] yaffs: yaffs built Feb 2 2015 02:27:12 Installing. | ||
| + | [ 3.810000] msgmni has been set to 52 | ||
| + | [ 3.820000] io scheduler noop registered | ||
| + | [ 3.820000] io scheduler deadline registered (default) | ||
| + | [ 3.830000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled | ||
| + | [ 3.850000] serial8250.0: | ||
| + | [ 3.860000] console [ttyS0] enabled | ||
| + | [ 3.870000] bootconsole [early0] disabled | ||
| + | [ 3.880000] ath79-spi ath79-spi: can't setup spi0.1, status -517 | ||
| + | [ 3.890000] ath79-spi ath79-spi: can't create new device for 74x164 | ||
| + | [ 3.900000] m25p80 spi0.0: found mr25h256, expected m25p80 | ||
| + | [ 3.900000] m25p80 spi0.0: mr25h256 (32 Kbytes) | ||
| + | [ 3.910000] Creating 4 MTD partitions on " | ||
| + | [ 3.910000] 0x000000000000-0x00000000b000 : " | ||
| + | [ 3.920000] mtd: partition " | ||
| + | [ 3.930000] 0x00000000b000-0x00000000c000 : " | ||
| + | [ 3.930000] mtd: partition " | ||
| + | [ 3.940000] 0x00000000d000-0x00000000e000 : " | ||
| + | [ 3.950000] mtd: partition " | ||
| + | [ 3.960000] 0x00000000f000-0x000000010000 : " | ||
| + | [ 3.960000] mtd: partition " | ||
| + | [ 3.970000] NAND flash driver for the RouterBOARD 91x series | ||
| + | [ 3.980000] platform rb91x-nand: Driver rb91x-nand requests probe deferral | ||
| + | [ 4.000000] libphy: ag71xx_mdio: | ||
| + | [ 4.600000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1: | ||
| + | [ 4.610000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII | ||
| + | [ 4.610000] platform leds-gpio: Driver leds-gpio requests probe deferral | ||
| + | [ 4.620000] TCP: cubic registered | ||
| + | [ 4.630000] NET: Registered protocol family 17 | ||
| + | [ 4.630000] 8021q: 802.1Q VLAN Support v1.8 | ||
| + | [ 4.640000] platform gpio-latch: Driver gpio-latch requests probe deferral | ||
| + | [ 4.640000] NAND flash driver for the RouterBOARD 91x series | ||
| + | [ 4.650000] platform rb91x-nand: Driver rb91x-nand requests probe deferral | ||
| + | [ 4.660000] platform leds-gpio: Driver leds-gpio requests probe deferral | ||
| + | [ 4.680000] Freeing unused kernel memory: 1948K (80349000 - 80530000) | ||
| + | [ 4.730000] usbcore: registered new interface driver usbfs | ||
| + | [ 4.730000] usbcore: registered new interface driver hub | ||
| + | [ 4.740000] usbcore: registered new device driver usb | ||
| + | [ 4.750000] ehci_hcd: USB 2.0 ' | ||
| + | [ 4.760000] ehci-platform: | ||
| + | [ 4.770000] ohci_hcd: USB 1.1 ' | ||
| + | [ 4.780000] ohci-platform: | ||
| + | [ 5.950000] random: mktemp urandom read with 9 bits of entropy available | ||
| + | [ 8.600000] eth0: link up (100Mbps/ | ||
| + | [ 9.080000] eth0: link down | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | </ | ||
| + | |||
| + | ===== Photos ===== | ||
| + | {{media: | ||
| + | |||
| + | ===== Ressources ===== | ||
| + | * [[http:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Tags ===== | ||
| + | [[meta: | ||
| + | {{tag> | ||