Latest firmware for PinePhone modem!
#35
Did the update on current pmOS just today (5.9.1), here's  the list of needed (additional) tasks for pmOS:

1) it's not possible to uncompress zstd by default :
Code:
pitrpp:~/Downloads/modem_fw$ tar xvf newfw.tar.zst
tar: invalid tar magic

pitrpp:~/Downloads/modem_fw$  tar -I zstd -xvf newfw.tar.zst
tar: unrecognized option: I
so install zstd
Code:
pitrpp:~/Downloads/modem_fw$ sudo apk add zstd
[sudo] password for p1trson:
(1/1) Installing zstd (1.4.5-r0)
Executing busybox-1.31.1-r19.trigger
OK: 1105 MiB in 499 packages


pitrpp:~/Downloads/modem_fw$ unzstd newfw.tar.zst
Code:
newfw.tar.zst       : 118108160 bytes
Code:
pitrpp:~/Downloads/modem_fw$ unzstd qfirehose_good.tar.zst
Code:
qfirehose_good.tar.zst: 409600 bytes

then untaring works

Code:
pitrpp:~/Downloads/modem_fw$ tar xvf newfw.tar
...
pitrpp:~/Downloads/modem_fw$ tar xvf qfirehose_good.tar
...

on pmOS you won't be able to just
Code:
pitrpp:~/Downloads/modem_fw/qfirehose_good$ sudo ./QFirehose -f ../newfw
sudo: unable to execute ./QFirehose: No such file or directory

install following:
Code:
apk add make
apk add gcc
apk add musl-dev
apk add linux-headers

then
Code:
pitrpp:/home/p1trson/Downloads/modem_fw/qfirehose_good# ./QFirehose -f ../newfw


verify the output
Code:
...
[034.935]: upgrade progress 100% 122659832/122437088
[034.936]: send finished
[034.936]: <log value="Finished sector address 0"/>
[034.936]: <response value="ACK" rawmode="false" />
[034.936]: <power value="reset" />
[034.937]: <log value="Inside handlePower() - Requested POWER_RESET"/>
[034.937]: <response value="ACK" />
[035.939]: inf[0] ep_in -1/1024, errno = 108 (Cannot send after socket shutdown)
[035.939]: qusb_noblock_read read=-1, errno: 108 (Cannot send after socket shutdown)
[035.939]: qusb_noblock_read cur=0, min_size=1
[035.939]: firehose_protocol.c fh_recv_cmd 327 fail
[035.939]: THE TOTAL DOWNLOAD TIME IS 30.430 s
[035.939]: Upgrade module successfully.

and reboot. verify the version via dmesg
Code:
pitrpp:~# dmesg | grep -i modem
...
[   27.938244] modem-power serial1-0: Project Rev : EG25GGBR07A08M2G_01.002.07
...
  Reply


Messages In This Thread
RE: Latest firmware for PinePhone modem! - by p1trson - 12-15-2020, 03:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Why does Pine64 sabotage office on the Pinephone? Peter Gamma 5 433 07-04-2024, 07:34 AM
Last Post: Kevin Kofler
  Which word processor to choose for the Pinephone? Peter Gamma 16 3,505 06-22-2024, 07:28 AM
Last Post: Peter Gamma
  Samba share on the Pinephone? Peter Gamma 0 439 06-16-2024, 10:26 PM
Last Post: Peter Gamma
  Struggle to install LibreOffice on the PinePhone Peter Gamma 49 29,623 06-13-2024, 05:50 PM
Last Post: Peter Gamma
  Possible Free Backup Carrier for PinePhone PineFone 0 138 06-13-2024, 03:45 PM
Last Post: PineFone
  Using Signal on PinePhone in mid-2023? dante404 47 17,745 05-03-2024, 02:19 AM
Last Post: dragonhospital
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 38 28,031 04-23-2024, 10:29 AM
Last Post: donchurch
  PinePhone app development WhiteHexagon 15 5,370 04-23-2024, 05:19 AM
Last Post: Jonnyc
Wink PINEPHONE not booting Touchwood 2 817 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 5,899 12-20-2023, 07:20 AM
Last Post: nickolas

Forum Jump:


Users browsing this thread: 1 Guest(s)