WIFI not available after anx7688 update failure
#1
I recently got my 3GB/32GB MAINBOARD - "special offer for BraveHeart and UBPorts owners"

Please note, I have read the discussions wrt anx7688
(e.g. https://forum.pine64.org/showthread.php?tid=12506 ) prior to submission. It might be related, but not overlapping.

If anyone could suggest e.g. how to re-write the possible wrong flashed fw for gc2145 (or whatever might be the actual problem) I would be happy to try it out as I am kind of stuck right now. The support team extended the warranty for some time for me to be able to try to resolve these issues.

I replaced the motherboard, installed Manjaro on eMMC, could boot, also Manjaro and postmarket can boot from SD. All worked fine incl. wifi etc. However, the anx7688 firmware step failed (anx7688-fw.bin downloaded ok, 32752 bytes,  and copied to /lib/firmware/; timeout during writing according to dmesg, just as others have experienced in separate thread; I did try postmarket and manjaro, recent and older, with usb charging on and off, from eMMC and from SD).


However, on top of that, AFTER the anx7688-attempts suddenly WIFI does NOT work anymore and BLUETOOTH adapter is not found at all (if I understand it correctly). This wifi/bluetooth error is the same for all 3 bootable OSes I have - for which it worked flawlessly until my anx7688 update mess. I even tried re-flashing the eMMC-firmware with an older postmarketOS version, still no WIFI.

I have triple-checked the mainboard connectors. I even replaced the motherboard with the old (ubports) mainboard and when using that, wifi etc works fine just as expected.

In dmesg I can find errors related to writing the anx7688-fw.bin. Furthermore, there are other types of errors related to gc2145-init.bin, Goodix_917S_cfg.bin,  platform regulatory.db - might it be some problem writing the firmware?

dmesg (cut outs) which (at least for me) looks like related to possible errors:

...
[    0.931868] hub 5-0:1.0: USB hub found
[    0.931918] hub 5-0:1.0: 1 port detected
[    0.933920] input: gpio-vibrator as /devices/platform/vibrator/input/input2
[    1.036223] Goodix-TS 1-005d: ID 917S, version: 0200
[    1.039915] Goodix-TS 1-005d: Direct firmware load for goodix_917S_cfg.bin failed with error -2
[    1.045448] sun50i-a64-pinctrl 1c20800.pinctrl: supply vcc-pe not found, using dummy regulator
[    1.046393] input: Goodix Capacitive TouchScreen as /devices/platform/soc/1c2ac00.i2c/i2c-1/1-005d/input/input3

...
[    6.676581] Bluetooth: Core ver 2.22
[    6.676760] NET: Registered protocol family 31
[    6.676765] Bluetooth: HCI device and connection manager initialized
[    6.676796] Bluetooth: HCI socket layer initialized
[    6.676806] Bluetooth: L2CAP socket layer initialized
[    6.676832] Bluetooth: SCO socket layer initialized

[    6.683059] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.687264] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    6.687281] cfg80211: failed to load regulatory.db
[    6.695279] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    6.698914] sun4i-drm display-engine: [drm] fb0: sun4i-drmdrmfb frame buffer device

[    6.721740] Bluetooth: HCI UART driver ver 2.3
[    6.721767] Bluetooth: HCI UART protocol H4 registered
[    6.721862] Bluetooth: HCI UART protocol LL registered
[    6.721929] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    6.722326] Bluetooth: HCI UART protocol Broadcom registered
[    6.722453] dw-apb-uart 1c28400.serial: failed to request DMA
[    6.726313] sun6i-mipi-dsi 1ca0000.dsi: Attached device xbd599

...
[  24.390254] modem-power serial1-0: Your modem has an outdated firmware. Latest know version is EG25GGBR07A08M2G_01.002.07. Consider updating.
...
[  25.997612] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[  25.997654] gc2145 4-003c: Failed to read firmware gc2145-init.bin, continuing anyway...
...
[  30.871035] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[  30.871049] gc2145 4-003c: Failed to read firmware gc2145-init.bin, continuing anyway...
...several such fails...


This is what happens when I try to flash anx7688:

[  123.277492] anx7688 1-0028: cable removed
[  123.295868] anx7688 1-0028: power disabled
[  123.296173] anx7688 1-0028: setting vbus_in current limit to 500000 mA
[  123.296445] anx7688 1-0028: disabling vbus_in power path
[  123.296580] anx7688 1-0028: enabling USB BC 1.2 detection
[  123.343891] anx7688 1-0028: power enabled
[  123.445847] anx7688 1-0028: eeprom wr 10 02 00 26 02 19 fb 00 00 00 00 00 02 02 57 90 72
[  123.447429] anx7688 1-0028: eeprom wr 20 05 e4 f0 a3 e0 44 02 f0 e0 54 fd f0 12 76 65 02
[  123.457601] anx7688 1-0028: timeout waiting for eeprom
[  123.479855] anx7688 1-0028: power disabled
[  123.481039] anx7688 1-0028: BC 1.2 result: SDP
[  123.481071] anx7688 1-0028: cable inserted
[  123.527908] anx7688 1-0028: power enabled
  Reply


Messages In This Thread
WIFI not available after anx7688 update failure - by frimmel - 01-09-2021, 09:22 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Kill switches for Wifi/Bluetooth does not work luxgiammi 0 117 10-14-2024, 03:34 PM
Last Post: luxgiammi
  power circuit can't charge battery and can't supply enough power for modem or wifi vortex 2 1,152 02-17-2024, 04:15 PM
Last Post: vortex
  bluetooth wifi bugs aular 6 2,562 08-27-2023, 07:53 AM
Last Post: aular
  No wifi/bluetooth on multiple OS's Xxancap15 1 1,500 10-28-2022, 12:10 PM
Last Post: fxc
  Wifi no scan results - Bluetooth adapter not available emsyr 1 1,789 08-29-2022, 02:46 PM
Last Post: emsyr
  Why not Atheros ath9k_htc for wifi? altulke 13 8,678 08-11-2022, 01:01 PM
Last Post: auanta
  Did i break my wifi with the keyboard? captchasolver 5 3,961 02-10-2022, 03:39 PM
Last Post: pothos
  Wifi doesn't respond jmlich 6 5,344 02-04-2022, 06:50 PM
Last Post: bcnaz
  Suddenly WiFi signal strength is poor cinix 4 4,171 09-26-2021, 04:19 PM
Last Post: cinix
  Wifi/BT interface not detected aithal 17 17,476 05-30-2021, 11:10 AM
Last Post: Krasimir

Forum Jump:


Users browsing this thread: 3 Guest(s)