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
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 33 24,373 04-09-2024, 01:17 PM
Last Post: donchurch
Wink PINEPHONE not booting Touchwood 2 397 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 5,326 12-20-2023, 07:20 AM
Last Post: nickolas
  Struggle to install LibreOffice on the PinePhone Peter Gamma 48 23,890 11-24-2023, 07:02 AM
Last Post: Peter Gamma
  Which word processor to choose for the Pinephone? Peter Gamma 8 1,902 11-23-2023, 01:06 AM
Last Post: Peter Gamma
  openSUSE for Pinephone Alefnode 75 101,145 11-17-2023, 08:37 AM
Last Post: Uturn
  Using Signal on PinePhone in mid-2023? dante404 45 12,789 11-17-2023, 04:23 AM
Last Post: Kevin Kofler
  Genode- Sculpt OS for the PinePhone (non Linux) Surehand53 1 940 11-04-2023, 07:23 PM
Last Post: tllim
  Abiword as a office mobile word processor for the Pinephone? Peter Gamma 11 2,106 10-24-2023, 08:57 AM
Last Post: Peter Gamma
  What File Manager Options Are There For The Pinephone? pinephoneuser22 7 2,324 10-18-2023, 08:37 AM
Last Post: luppivega

Forum Jump:


Users browsing this thread: 1 Guest(s)