RB911G-5HPacD Unable to see WiFi only LAN

Seems you have the needed drivers installed...
Probably missing the right firmware.
Can you post the output of dmesg after a fresh boot?

root@OpenWrt:~# dmesg
[    0.000000] Linux version 4.14.180 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11063-85e04e9f46)) #0 Sat May 16 18:32:20 2020
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    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] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 80523ec0, node_mem_map 81000020
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] random: get_random_bytes called from 0x80527740 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: parts=1 boot_part_size=4194304 gpio=551410223 HZ=360000000 mem=128M kmac=B8:69:F4:E8:0A:40 board=922gs board=922gs ver=3.41 hw_opt=00600001 boot=1 mlc=11 console=ttyS0,115200 rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 124164K/131072K available (4187K kernel code, 176K rwdata, 520K rodata, 228K init, 213K bss, 6908K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:240.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[    0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[    0.008685] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.075687] pid_max: default: 32768 minimum: 301
[    0.081017] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.088394] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.098216] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.109212] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.116975] NET: Registered protocol family 16
[    0.126511] MIPS: machine is MikroTik RouterBOARD 911G-5HPacD
[    0.384807] clocksource: Switched to clocksource MIPS
[    0.391270] NET: Registered protocol family 2
[    0.396886] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.404661] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.411786] TCP: Hash tables configured (established 1024 bind 1024)
[    0.418993] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.425544] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.432722] NET: Registered protocol family 1
[    0.437627] PCI: CLS 0 bytes, default 32
[    0.440898] Crashlog allocated RAM at address 0x3f00000
[    0.447837] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.459152] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.465686] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.485196] io scheduler noop registered
[    0.489569] io scheduler deadline registered (default)
[    0.495666] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.504388] console [ttyS0] disabled
[    0.528454] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    0.538071] console [ttyS0] enabled
[    0.545489] bootconsole [early0] disabled
[    0.559438] m25p80 spi0.0: found w25x05, expected m25p80
[    0.575984] m25p80 spi0.0: w25x05 (64 Kbytes)
[    0.580794] Creating 4 MTD partitions on "spi0.0":
[    0.585704] 0x000000000000-0x00000000c000 : "routerboot"
[    0.592476] 0x00000000c000-0x00000000d000 : "hard_config"
[    0.599105] 0x00000000d000-0x00000000e000 : "bios"
[    0.605680] 0x00000000e000-0x00000000f000 : "soft_config"
[    0.613248] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    0.619736] nand: Samsung NAND 128MiB 3,3V 8-bit
[    0.624417] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.632134] Scanning device for bad blocks
[    0.642875] random: fast init done
[    0.778236] Creating 3 MTD partitions on "ar934x-nfc":
[    0.783458] 0x000000000000-0x000000040000 : "booter"
[    0.789862] 0x000000040000-0x000000400000 : "kernel"
[    0.796069] 0x000000400000-0x000008000000 : "ubi"
[    0.805216] libphy: Fixed MDIO Bus: probed
[    0.822062] libphy: ag71xx_mdio: probed
[    1.556777] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd074, driver=Atheros 8031 ethernet]
[    1.567414] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[    1.577178] MikroTik RouterBOARD hardware configuration sysfs driver v0.03
[    1.585048] NET: Registered protocol family 10
[    1.592879] Segment Routing with IPv6
[    1.596731] NET: Registered protocol family 17
[    1.601281] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.614438] 8021q: 802.1Q VLAN Support v1.8
[    1.622039] UBI: auto-attach mtd6
[    1.625460] ubi0: attaching mtd6
[    3.146257] ubi0: scanning is finished
[    3.167084] ubi0: attached mtd6 (name "ubi", size 124 MiB)
[    3.172659] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.179666] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.186557] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.193610] ubi0: good PEBs: 992, bad PEBs: 0, corrupted PEBs: 0
[    3.199712] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    3.207044] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1779615602
[    3.216308] ubi0: available PEBs: 0, total reserved PEBs: 992, PEBs reserved for bad PEB handling: 20
[    3.225710] ubi0: background thread "ubi_bgt0d" started, PID 331
[    3.233252] block ubiblock0_1: created from ubi0:1(rootfs)
[    3.238868] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[    3.255906] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    3.264037] Freeing unused kernel memory: 228K
[    3.268574] This architecture does not have kernel memory protection.
[    3.775374] init: Console is alive
[    3.779027] init: - watchdog -
[    4.058185] random: crng init done
[    4.774476] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.823153] usbcore: registered new interface driver usbfs
[    4.828827] usbcore: registered new interface driver hub
[    4.834289] usbcore: registered new device driver usb
[    4.843793] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.851826] ehci-platform: EHCI generic platform driver
[    4.859228] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.866582] ohci-platform: OHCI generic platform driver
[    4.872479] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.890201] init: - preinit -
[    5.781939] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    8.896872] eth0: link up (1000Mbps/Full duplex)
[    8.901582] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.060748] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 401
[    9.146212] UBIFS (ubi0:2): recovery needed
[    9.624122] UBIFS (ubi0:2): recovery completed
[    9.628755] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[    9.636721] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    9.646802] UBIFS (ubi0:2): FS size: 116690944 bytes (111 MiB, 919 LEBs), journal size 5840896 bytes (5 MiB, 46 LEBs)
[    9.657569] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB)
[    9.664281] UBIFS (ubi0:2): media format: w4/r0 (latest is w5/r0), UUID 5666C1AD-09EF-4A31-BA52-83CB708EBB2D, small LPT model
[    9.692604] mount_root: switching to ubifs overlay
[    9.737866] urandom-seed: Seeding with /etc/urandom.seed
[    9.870568] eth0: link down
[    9.890745] procd: - early -
[    9.893756] procd: - watchdog -
[   10.510838] procd: - watchdog -
[   10.514290] procd: - ubus -
[   10.626372] procd: - init -
[   11.507930] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.569793] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.600045] Loading modules backported from Linux version v4.19.120-0-gfdc072324f3c
[   11.607866] Backport generated by backports.git v4.19.120-1-0-g60c3a249
[   11.636865] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.659853] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   11.751082] urngd: v1.0.2 started.
[   11.759375] xt_time: kernel timezone is -0000
[   11.969324] PPP generic driver version 2.4.2
[   11.985652] NET: Registered protocol family 24
[   12.315405] kmodloader: done loading kernel modules from /etc/modules.d/*
[   22.108427] br-lan: port 1(eth0) entered blocking state
[   22.113737] br-lan: port 1(eth0) entered disabled state
[   22.119309] device eth0 entered promiscuous mode
[   22.163392] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   25.296815] eth0: link up (1000Mbps/Full duplex)
[   25.301535] br-lan: port 1(eth0) entered blocking state
[   25.306867] br-lan: port 1(eth0) entered forwarding state
[   25.313944] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
root@OpenWrt:~#

I don't see the QCA9882 radio anywhere in the dmesg

I also see no ath9k/ath10k driver messages...

Are you sure you have the driver/firmware installed?
What's the output of?
opkg list-installed | grep ath

root@OpenWrt:~# opkg list-installed | grep ath
ath10k-firmware-qca988x - 2019-10-03-d622d160-1
kmod-ath - 4.14.180+4.19.120-1-1
kmod-ath10k - 4.14.180+4.19.120-1-1
kmod-ath9k - 4.14.180+4.19.120-1-1
kmod-ath9k-common - 4.14.180+4.19.120-1-1
root@OpenWrt:~# lsmod | grep ath10k
ath                    18240  4 ath9k,ath9k_common,ath9k_hw,ath10k_core
ath10k_core           319728  1 ath10k_pci
ath10k_pci             25328  0 
cfg80211              221904  5 ath9k,ath9k_common,ath10k_core,ath,mac80211
compat                  5888  6 ath9k,ath9k_common,ath10k_pci,ath10k_core,mac80211,cfg80211
mac80211              443360  2 ath9k,ath10k_core
root@OpenWrt:~#

Please, give output of:

uci export wireless
wifi status
root@OpenWrt:~# uci export wireless
uci: Entry not found
root@OpenWrt:~# wifi status
{
	
}
root@OpenWrt:~#

@wizworks

Could you kindly provide the output of: cat /sys/firmware/mikrotik/hard_config/hw_options

Thanks

Try to reset to defaults:
firstboot && reboot

@f00b4r0

fyi

root@OpenWrt:~# cat /sys/firmware/mikrotik/hard_config/hw_options
raw		: 0x00600001

no UART		: true
has Vreg	: false
has usb		: false
has ATtiny	: false
no NAND		: false
has LCD		: false
has POE out	: false
has MicroSD	: false
has SIM		: false
has SFP		: false
has WiFi	: true
has TS ADC	: true
has PLC		: false
root@OpenWrt:~#

that has been done twice and no change in behavior.

Thanks.

Could you provide a copy of the hard_config partition for analysis?

cat /proc/mtd
--> look for the mtd number
cat /dev/mtdX > /tmp/hard_config.bin were X matches the nr

Thanks

root@OpenWrt:~# cat /sys/firmware/mikrotik/hard_config/hw_options
raw		: 0x00600001

no UART		: true
has Vreg	: false
has usb		: false
has ATtiny	: false
no NAND		: false
has LCD		: false
has POE out	: false
has MicroSD	: false
has SIM		: false
has SFP		: false
has WiFi	: true
has TS ADC	: true
has PLC		: false
root@OpenWrt:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 0000c000 00001000 "routerboot"
mtd1: 00001000 00001000 "hard_config"
mtd2: 00001000 00001000 "bios"
mtd3: 00001000 00001000 "soft_config"
mtd4: 00040000 00020000 "booter"
mtd5: 003c0000 00020000 "kernel"
mtd6: 07c00000 00020000 "ubi"
root@OpenWrt:~# cat /dev/mtd1 > /tmp/hard_config.bin
root@OpenWrt:~#

Hard Config Partition

Thanks,

I'll send a patch tomorrow to check something.
I'm pretty sure it's related to caldata extraction.

I doubt it is. The driver doesn't even load.

The empty output here doesn't bode well. Failed detection script? That may explain the undetected hardware.
Was there a previous version of OpenWRT working on the device or is this a new flash?

No previous version of OpenWRT ever worked on this (nor had been flashed). I flashed only the version referenced on this page:
https://openwrt.org/toh/hwdata/mikrotik/mikrotik_rb911g-5hpacd

just following up. Is there anything else I can try? Do I need to reference this thread to the devs somehow?

Specifically, run lspci from that package, it will show any devices found on the PCI / PCIe bus. There's nothing in your bootlog about activating the PCI bus and enumerating the devices, suggesting the bus itself is not working or a driver is missing.

I don't know about that hardware but some mini-PCs have a PCIe slot with no PCIe bus wired to it. That slot is for cellular modems which link to the host by USB not PCI.

Ok this is interesting. I can see that pciutils is installed, but the lspci command returns nothing:

root@OpenWrt:~# opkg list-installed | grep pci
libpci - 3.6.2-3
pciutils - 3.6.2-3
root@OpenWrt:~# lspci
root@OpenWrt:~#

There's no PCIe slot but rather a Qualcomm Atheros QCA9558 chip which is the CPU, and a Qualcomm QCA9882 which is the 5ghz radio (both soldered directly to the board). The board ships with RouterOS (Mikrotik) and the radio obviously works under routerOS, but not OpenWRT (which is what I was hoping to use for this project.