New motherboard - ANX firmware won't flash.
#1
Finally got the ANX firmware update accepted using postmarketOS & Phosh, anyone else solving the same issue might want to try this first.

Just replaced with 3GB version. The wiki instructs flashing ANX firmware but:
ash: write error: Operation timed out

I have usb ssh access but not usb file manager (Thunar) access. Not sure if this is an issue?
#2
I think the anx firmware needs to be flashed from the phone directly.
#3
Yep, that's how I tried it (Sxmo & Mobian).
Phone is accessible via usb ssh, and visable in gui file manager but won't mount.
"Failed to mount 'PINE64 PinePhone' - Unable to open MTP device 001,007"
#4
if you use ssh through the usb and update part of the usb firmware the connection is broken no? Sorry if i'm misunderstanding.
#5
When I try to update the ANX firmware as directed (as root 'sudo su'), and USING the touch screen interface (NO usb connected):

Smxo = ash: write error: Operation timed out

Mobian = bash: /sys/class/typec/port0/device/flash_eeprom: Permission denied
#6
on mobian try writing:

sudo -i

echo 1 > /sys/class/typec/port0/device/flash_eeprom

Source: https://askubuntu.com/questions/230476/h...on-in-bash
#7
(12-16-2020, 10:56 AM)Nooblife Wrote: on mobian try writing:

sudo -i

echo 1 > /sys/class/typec/port0/device/flash_eeprom

Source: https://askubuntu.com/questions/230476/h...on-in-bash
Thanks for the suggestion, I had also tried that but same result.
#8
Sorry i can't help you out. Hopefully someone more knowledgeable can help you. ?

It does sound like some permission issue, i did it on megis multiboot image, but i don't remember if it was manjaro or postmarketos that i used.
#9
@Nooblife Hopefully someone more knowledgeable can help you?

Thanks - yep, as a replacement for the original faulty motherboard I would appreciate complete instructions.
I believe there is nothing non-standard that I am doing in this setup/process.
I'm am not even sure whether the firmware is required in my case however I do have multiple issues at the moment:
Sxmo = no charging, no touchscreen, distorted gui interface.
Charging is available on Mobian.

/sys/class/typec/port0/device/flash_eeprom contains text "Write 1 to this file to initiate firmware flashing. Consult dmesg for results."

After echo 1 > /sys/class/typec/port0/device/flash_eeprom dmesg reports:
anx7688 1-0028: power enabled
anx7688 1-0028: eeprom wr 10 02 00 26 02 19 fb 00 00 00 00 00 02 02 57 90 72
anx7688 1-0028: eeprom wr 20 05 e4 f0 a3 e0 44 02 f0 e0 54 fd f0 12 76 65 02
anx7688 1-0028: timeout waiting for eeprom
anx7688 1-0028: power disabled

echo 1 > /sys/class/typec/port0/device/flash after booting with 'modem killswitch ON' dmesg reports:

IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
anx7688 1-0028: boot firmware load failed (you may need to flash FW to anx7688 first)
anx7688 1-0028: power disabled
anx7688 1-0028: OCM configuration failed
anx7688 1-0028: power enabled
anx7688 1-0028: eeprom wr 10 02 00 26 02 19 fb 00 00 00 00 00 02 02 57 90 72
anx7688 1-0028: eeprom wr 20 05 e4 f0 a3 e0 44 02 f0 e0 54 fd f0 12 76 65 02
anx7688 1-0028: timeout waiting for eeprom
anx7688 1-0028: power disabled
#10
Finally got the ANX firmware update accepted using postmarketOS & Phosh - 5:30AM - going to bed now.


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Megapixels] Flash strobe, pictures viewer and MPCamera error 22 freelectro 3 1,704 03-27-2023, 03:27 AM
Last Post: freelectro
  firmware udate Quectel EG25-G modem alwi 7 5,106 07-06-2022, 01:43 PM
Last Post: user641
  Need command to tell what modem firmware I am on. purpletiger 4 2,655 07-06-2022, 12:35 PM
Last Post: Zebulon Walton
  camera firmware problems kqlnut 25 20,886 09-02-2021, 07:49 PM
Last Post: Zebulon Walton
  3/32 upgrade board, Arrived Without Firmware, Troubleshooting Steps to SOLVED biketool 0 1,678 06-22-2021, 10:03 AM
Last Post: biketool
  Screen or motherboard replacement? Static Face 2 2,859 06-08-2021, 12:57 AM
Last Post: Static Face
  Fail safe way to update ANX7688 firmware scholbert 24 25,369 04-01-2021, 01:28 PM
Last Post: zborgerd
  Next evolution motherboard for Pine Phone bcnaz 6 7,632 10-29-2020, 05:24 PM
Last Post: bcnaz
  Pinephone inner frame fused to motherboard? --- 2 3,040 09-29-2020, 05:46 AM
Last Post: ---
  eMMC won't flash RodMyers 3 4,655 09-12-2020, 06:38 PM
Last Post: SwordfishII

Forum Jump:


Users browsing this thread: 1 Guest(s)