Ahh, OK.. I've just cloned your branch to my local PC. I'll try setting up my own forked branch..
I can't export GPIO62 to try pulling it low/high anymore:
root@OpenWrt:/# echo 62 > /sys/class/gpio/export
ash: write error: Resource busy
root@OpenWrt:/#
I thought it was because you had GPIO62 defined in the DTS, so I tried removing the definition from there and re-compiling my initramfs, but it still gives me the same error (resource busy). Is GPIO62 defined anywhere else to make it 'busy'?
MAC address on the device matches eth0.
FCCID: PY316200355
IC: 4054A-16200355
If I enable wifi in /etc/config/wireless, both 2.4G and 5G work and I can connect to them. Range isn't great, but I'm still getting these errors on bootup:
[ 8.485198] ath10k_ahb a000000.wifi: Direct firmware load for ath10k/pre-cal-ahb-a000000.wifi.bin failed with error -2
[ 8.485292] ath10k_ahb a000000.wifi: Falling back to user helper
[ 9.891273] ath10k_ahb a000000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/firmware-6.bin failed with error -2
[ 9.891326] ath10k_ahb a000000.wifi: Falling back to user helper
[ 9.962205] firmware ath10k!QCA4019!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 9.964273] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[ 9.970100] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 9.988186] ath10k_ahb a000000.wifi: firmware ver 10.4-3.4-00104 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps crc32 6c332c67
[ 10.029792] ath10k_ahb a000000.wifi: board_file api 2 bmi_id 0:16 crc32 de67223f
[ 11.372386] ath10k_ahb a000000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[ 11.564969] ath10k_ahb a800000.wifi: Direct firmware load for ath10k/pre-cal-ahb-a800000.wifi.bin failed with error -2
[ 11.565047] ath10k_ahb a800000.wifi: Falling back to user helper
[ 13.022431] ath10k_ahb a800000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/firmware-6.bin failed with error -2
[ 13.022484] ath10k_ahb a800000.wifi: Falling back to user helper
[ 13.083639] firmware ath10k!QCA4019!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 13.083942] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[ 13.091535] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 13.109477] ath10k_ahb a800000.wifi: firmware ver 10.4-3.4-00104 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps crc32 6c332c67
[ 13.150832] ath10k_ahb a800000.wifi: board_file api 2 bmi_id 0:17 crc32 de67223f
[ 14.493527] ath10k_ahb a800000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
Also, the power LED doesn't come on at bootup. I can make it come on by using these commands:
uci set system.led_power=led
uci set system.led_power.name='POWER'
uci set system.led_power.sysfs='wac510:green:power'
uci set system.led_power.default='on'
uci commit
/etc/init.d/led restart
But when I tried to add something similar to target/linux/ipq806x/base-files/etc/board.d/01_leds it did nothing. Is that not the correct place to add them? I notice that your definitions of the other LEDs have gone from there now, too?
So close! Thank you for your help thus far, Robert..
Tim