Adding support for MiniBox v3.2

I'm writing a patch to add a new device from Gainstrong named MiniBox v3.2
http://oolite.cn/minibox-v3-2-qca9531-qca9887-module-pin-specification.html

  • chipset: QCA9531 (802.11bgn)
  • CPU frequency: 650MHz
  • RAM: 128Mbyte
  • ROM: 16MByte
  • PCI: QCA9887 (802.11ac)
  • Size: smaller than credit card

A couple of photos more
https://imagebin.ca/v/3hrQT4Lurant
https://imagebin.ca/v/3hrQFxKwAfJF

Buying: https://gainstrong.en.alibaba.com/product/60586261965-804287665/qca9531_qca9887_5g_portable_wireless_wifi_router.html

It comes from factory with OpenWRT CC, here all information regarding the stock firmware
https://pastebin.com/5YBp8gvp

Is there an official patch for MiniBox v3 based on OpenWRT CC
http://oolite.cn/wp-content/uploads/2017/09/minibox_v3_cc15.05_20160325.patch

The difference between MiniBox v3 and V3.2 is that the second comes with an extension PCI WiFi board QCA9887 (802.11AC)

Also the HWIDs are different:
MBv3 -> 3c000105
MBv3.2 ->3c00010c

Pull request already sent https://github.com/lede-project/source/pull/1530

Almost everything works. Current detected issues (help would be apreciated):

  1. I've modified mach-gs-minibox-v3.c to support PCI (original patch did not support it). But I'm not very sure about how this mach.c files works, a review would be very welcome.

  2. There are some warnings/errors regarding the ath10k firmware, no idea if it has a real impact or not in the WiFi operation.

  3. Sysupgrade does not work (not even using -F). However factory binary uploaded to Uboot HTTPD works fine.

Here dmesg and logread of the resulting LEDE firmware. Both WiFi radios work (at least in AP mode).

https://pastebin.com/DkAHsP1d

Thanks.

Can you apply the patch and upload that to GitHub.
This way it is really hard to look at code

Done at https://github.com/lede-project/source/pull/1530

Thank you for your work! Does this patch also work for the Minibox V3 which does not have the extra QCA9887 wifi?

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.