RB911G-5HPacD Unable to see WiFi only LAN

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.

The most comparable hardware I have is a Nanostation AC loco. This is AR9344 chip with ath10k chip soldered to the PCIe bus.
There are messages like this early in bootup. The first part is the controller coming up then the second part is the wifi chip being identified.

root@nsACloco:~# dmesg | grep pci
[    0.153714] PCI host bridge /ahb/pcie-controller@180c0000 ranges:
[    0.195243] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.202618] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.208545] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.215790] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.224258] pci 0000:00:00.0: [0777:11ac] type 00 class 0x028000
[    0.224322] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.224380] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.224467] pci 0000:00:00.0: supports D1 D2
[    0.224730] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.224763] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[    0.232612] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]

I don't see any kmod that seems specifically for the PCI bus. It may be more integrally part of the kernel build.

If it is not too complicated to go back to stock firmware I would try that to be certain that the hardware still works.

I did see the hardware working on RouterOS (mentioned in my previous post). The board works completely under the stock firmware.

Under OpenWRT, only the LAN port works - that's it.
How else to troubleshoot this?

root@OpenWrt:~# dmesg | grep pci
root@OpenWrt:~#

found this thread for the RB922 version of this board which seems to be supported. Same chipset. thread here:

the only real meaningful difference on the RB911G and RB922 from what I can tell is that they use an SFP cage instead of a copper RJ-45 port. Same CPU and same radio.

Product link for RB911G: https://mikrotik.com/product/RB911G-5HPacD#fndtn-specifications

Hoping someone can help shine light on this.

Have you solved this problem? How to solve it?