TP-Link 1900 ONHUB wont boot with a USB flash connected

It was linked up thread.

This is needed in the main openwrt tree (it was merged recently, so you can just sync to the latest):

Then you need this for packages.git, because it still is pending:

Thanks, I am on the road but will try that in a week. Appreciate your help.

I can confirm that was able to boot with USB flash inserted into HUB without issues, I have no USB dongles to test, but I think it will boot too.

Sorry, I was travelling.

I just tested with 7 USB devices. The hub used is this one:

[226129.867375] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[226129.944450] hub 4-1:1.0: USB hub found
[226129.945280] hub 4-1:1.0: 4 ports detected
[226130.057024] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[226130.279959] hub 3-1:1.0: USB hub found
[226130.280248] hub 3-1:1.0: 4 ports detected
[226456.033006] ath10k_pci 0000:01:00.0: mac flush vdev 0 drop 0 queues 0x1 ar->paused: 0x0  arvif->paused: 0x0
[226763.339319] ath10k_pci 0000:01:00.0: mac flush vdev 0 drop 0 queues 0x1 ar->paused: 0x0  arvif->paused: 0x0

In all but one cases, including one with a wifi dongle, it survived a power cycle and rebooted fine. The one case where is failed when the USB drive was in the USB hub was with a 4GB older kingston 4GB USB drive with the first being a FAT16 partition. I also tested with an mSATA-USB (128gb) connected to the hub and to trouble there too at reboot.

I am not planning to use the USB port of the primary gateway, just as a precaution. In my case, I do have other devices, on this network, with unused USB ports.

I think, it OnHub is a remarkable device with beefy storage, RAM and CPU. To have a sophisticated firewall on it and save it from landfill is just a super service.