User Tools

Site Tools


inbox:toh:mikrotik:mikrotik_hap_ac

MikroTik RouterBOARD hAP ac² (RBD52G-5HacD2HnD-TC)

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

Small router with 5 gigabit ports, dual-band 802.11ac Wi-Fi, and a powerful quad-core ARM CPU.

The commercial name of the router is hAP ac² or sometimes hAP ac 2.

Generic Router

OpenWrt support

Hardware highlights

CPU Ram Flash Network WLAN USB Serial JTag
Qualcomm IPQ4018 @ 716 MHz 128 MiB 16 MiB 5x 10/100/1000 bgnac 1x 2.0 Yes ?

Early revisions seemed to ship with 256 MiB of RAM (see wikidevi). However, revisions available in 2019 only ship with 128 MiB of RAM.

Hardware

Info

Architecture ARM
Vendor Qualcomm IPQ4018
Bootloader RouterBOOT
System-On-Chip Qualcomm IPQ4018
CPU/Speed 716 MHz
Flash-Chip Winbond W25Q128JVSM
Flash size 16 MiB
RAM 128 MiB
Wireless IPQ4018 2.4GHz/5GHz 802.11bgnac
Ethernet 10/100/1000 Mbit/s QCA8075
USB 1x 2.0
Serial Yes
JTAG ?

Photos

Front board Back board

Opening the case

Opening the case is not easy at first, but there are videos on Youtube: https://www.youtube.com/watch?v=3vu2AOydsls

Serial

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

Instructions for soldering pins for the serial port: Connect to RX, TX and GND.

DI RX CS DO GND TX VCC GND (WP)


o DI GND CLK DO VCC CS
Serial connection parameters
for MikroTik hAP ac²
115200, 8N1

Bootlogs

OEM bootlog

CHANGE position e030 before bytes 40 20 08 there's a 05 to change to 00 Press any key within 2 seconds to enter setup RouterBOOT-6.43.12 What do you want to configure? d - boot delay k - boot key s - serial console n - silent boot o - boot device r - reset booter configuration e - format storage w - repartition nand g - upgrade firmware i - board info p - boot protocol t - test ram memory x - exit setup your choice: i - board info Board Info: Board type: RBD52G-5HacD2HnD Serial number: B4A00A5043E7 Firmware version: 6.43.12 CPU frequency: 716 MHz Memory size: 128 MiB Storage size: 16 MiB Build time: 2019-02-08 09:19:19 eth1 MAC address: 74:4D:28:5F:D8:75 eth2 MAC address: 74:4D:28:5F:D8:76 eth3 MAC address: 74:4D:28:5F:D8:77 eth4 MAC address: 74:4D:28:5F:D8:78 eth5 MAC address: 74:4D:28:5F:D8:79 eth6 MAC address: 74:4D:28:5F:D8:7A eth7 MAC address: 74:4D:28:5F:D8:7B press any key to continue... RouterBOOT backup booter 6.43.10 RBD52G-5HacD2HnD CPU frequency: 716 MHz Memory size: 128 MiB Storage size: 16 MiB


OpenWrt bootlog

[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.19.57 (mu@host) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10485-447deed52a)) #0 SMP Fri Jul 12 15:17:56 2019 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Mikrotik RouterBOARD RB450Gx4 [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] OF: reserved mem: OVERLAP DETECTED! [ 0.000000] rsvd2@87B00000 (0x87b00000--0x88000000) overlaps with smem@87e00000 (0x87e00000--0x87e80000) [ 0.000000] On node 0 totalpages: 61440 [ 0.000000] Normal zone: 576 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 61440 pages, LIFO batch:15 [ 0.000000] random: get_random_bytes called from start_kernel+0x7c/0x438 with crng_init=0 [ 0.000000] percpu: Embedded 15 pages/cpu s29964 r8192 d23284 u61440 [ 0.000000] pcpu-alloc: s29964 r8192 d23284 u61440 alloc=15*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 60864 [ 0.000000] Kernel command line: earlyprintk nosmp [ 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] Memory: 232420K/245760K available (4720K kernel code, 168K rwdata, 1288K rodata, 3072K init, 231K bss, 13340K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (5713 kB) [ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (3072 kB) [ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 168 kB) [ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 232 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] arch_timer: cp15 timer(s) running at 48.00MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb11fd3bfb, max_idle_ns: 440795203732 ns [ 0.000008] sched_clock: 56 bits at 48MHz, resolution 20ns, wraps every 4398046511096ns [ 0.007985] Switching to timer-based delay loop, resolution 20ns [ 0.014241] Calibrating delay loop (skipped), value calculated using timer frequency.. 96.00 BogoMIPS (lpj=480000) [ 0.024315] pid_max: default: 32768 minimum: 301 [ 0.029086] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.035522] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.043526] CPU: Testing write buffer coherency: ok [ 0.048499] Setting up static identity map for 0x80300000 - 0x80300060 [ 0.054166] rcu: Hierarchical SRCU implementation. [ 0.059599] smp: Bringing up secondary CPUs ... [ 0.063285] smp: Brought up 1 node, 1 CPU [ 0.067279] SMP: Total of 1 processors activated (96.00 BogoMIPS). [ 0.073478] CPU: All CPU(s) started in SVC mode. [ 0.082286] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.089136] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.098758] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.105230] pinctrl core: initialized pinctrl subsystem [ 0.111231] NET: Registered protocol family 16 [ 0.115141] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.122446] cpuidle: using governor ladder [ 0.125619] cpuidle: using governor menu [ 0.145411] usbcore: registered new interface driver usbfs [ 0.150021] usbcore: registered new interface driver hub [ 0.155239] usbcore: registered new device driver usb [ 0.160272] pps_core: LinuxPPS API ver. 1 registered [ 0.165146] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.174303] PTP clock support registered [ 0.179660] clocksource: Switched to clocksource arch_sys_counter [ 0.185808] NET: Registered protocol family 2 [ 0.189858] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes) [ 0.196799] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.203801] TCP bind hash table entries: 2048 (order: 2, 16384 bytes) [ 0.210205] TCP: Hash tables configured (established 2048 bind 2048) [ 0.216611] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.222357] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.228795] NET: Registered protocol family 1 [ 0.232958] PCI: CLS 0 bytes, default 64 [ 2.743187] No memory allocated for crashlog [ 2.746714] workingset: timestamp_bits=14 max_order=16 bucket_order=2 [ 2.757883] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 2.762763] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 2.779030] io scheduler noop registered [ 2.782027] io scheduler deadline registered (default) [ 2.789359] bam-dma-engine 8e04000.dma: num-channels unspecified in dt [ 2.794979] bam-dma-engine 8e04000.dma: num-ees unspecified in dt [ 2.802297] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000 [ 2.807169] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7 [ 2.813739] tcsr 1953000.ess_tcsr: setting ess interface select = 0 [ 2.819953] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222 [ 2.826703] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 2.833454] msm_serial 78af000.serial: msm_serial: detected port #0 [ 2.839079] msm_serial 78af000.serial: uartclk = 1843200 [ 2.844417] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 25, base_baud = 115200) is a MSM [ 2.852886] msm_serial: console setup on port #0 [ 2.857518] console [ttyMSM0] enabled [ 2.863812] bootconsole [earlycon0] disabled [ 2.872533] msm_serial: driver initialized [ 2.877951] loop: module loaded [ 2.879226] spi_qup 78b5000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64 [ 2.888885] random: fast init done [ 2.890208] m25p80 spi0.0: w25q128jv (16384 Kbytes) [ 2.891221] 6 fixed-partitions partitions found on MTD device spi0.0 [ 2.895958] Creating 6 MTD partitions on "spi0.0": [ 2.902589] 0x000000000000-0x000000023000 : "Qualcomm-boot1" [ 2.907942] 0x000000023000-0x000000080000 : "Qualcomm-boot2" [ 2.913678] 0x000000080000-0x00000008e000 : "RouterBoot" [ 2.919234] 0x00000008e000-0x00000008f000 : "hard_config" [ 2.924629] 0x000000090000-0x0000000a0000 : "dts_config" [ 2.929878] 0x0000000bd000-0x0000000be000 : "soft_config" [ 2.935960] libphy: ipq40xx_mdio: probed [ 3.017910] ESS reset ok! [ 3.050906] ESS reset ok! [ 3.468947] libphy: Fixed MDIO Bus: probed [ 3.470116] EDMA using MAC@ - using [ 3.470137] 16:cb:e0:dd:bb:95 [ 3.476234] EDMA using MAC@ - using [ 3.476246] 3e:e9:0d:09:a4:a7 [ 3.579795] i2c /dev entries driver [ 3.585542] NET: Registered protocol family 10 [ 3.587258] Segment Routing with IPv6 [ 3.588987] NET: Registered protocol family 17 [ 3.593033] 8021q: 802.1Q VLAN Support v1.8 [ 3.597022] Registering SWP/SWPB emulation handler [ 3.607676] hctosys: unable to open rtc device (rtc0) [ 3.613620] Freeing unused kernel memory: 3072K [ 3.619863] Run /init as init process [ 3.632590] init: Console is alive [ 3.632892] init: - watchdog - [ 3.647979] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 3.661332] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 3.667789] init: - preinit - [ 3.847689] random: jshn: uninitialized urandom read (4 bytes read) [ 3.880867] random: jshn: uninitialized urandom read (4 bytes read) [ 4.011183] random: jshn: uninitialized urandom read (4 bytes read) [ 4.230214] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 4.490286] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 7.418514] procd: - early - [ 7.418639] procd: - watchdog - [ 7.966466] procd: - watchdog - [ 7.969505] procd: - ubus - [ 7.993855] urandom_read: 5 callbacks suppressed [ 7.993866] random: ubusd: uninitialized urandom read (4 bytes read) [ 8.021444] random: ubusd: uninitialized urandom read (4 bytes read) [ 8.025026] procd: - init - [ 8.312978] urngd: v1.0.0 started. [ 8.338849] kmodloader: loading kernel modules from /etc/modules.d/* [ 8.370777] input: beeper as /devices/platform/beeper/input/input0 [ 8.381961] Loading modules backported from Linux version v4.19.32-0-g3a2156c839c7 [ 8.381999] Backport generated by backports.git v4.19.32-1-0-g1c4f7569 [ 8.411165] xt_time: kernel timezone is -0000 [ 8.457557] random: crng init done [ 8.464621] usbcore: registered new interface driver mt7601u [ 8.489857] PPP generic driver version 2.4.2 [ 8.491837] NET: Registered protocol family 24 [ 8.505699] usbcore: registered new interface driver mt76x0u [ 8.508582] kmodloader: done loading kernel modules from /etc/modules.d/* [ 30.620783] br-lan: port 1(eth0) entered blocking state [ 30.620824] br-lan: port 1(eth0) entered disabled state [ 30.625142] device eth0 entered promiscuous mode [ 30.644037] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 30.674719] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 30.675864] ess_edma c080000.edma: eth1: GMAC Link is up with phy_speed=1000 [ 30.679481] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 31.639926] br-lan: port 1(eth0) entered blocking state [ 31.639972] br-lan: port 1(eth0) entered forwarding state [ 31.646058] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready


Notes

Tags

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
inbox/toh/mikrotik/mikrotik_hap_ac.txt · Last modified: 2019/08/20 17:37 by tmomas