Avoiding modem flash-memory corruption?
#1
On the PinePhone Software Release page, it says:


Quote:There is a document about using the modem [...] disable the modem before power off is pretty essential to avoid corrupting your modem's flash memory.

I have a few questions:
  • Do I still need to disable the modem before powering off the phone when I have powered up the phone with the modem off (via the kill switch)?
  • If I've booted the phone with the modem off then subsequently turn off the modem via the kill switch, should I disable the modem before using the kill switch to turn off the modem?
  • If the modem's flash memory has been corrupted, how can it be restored/recovered/reset?
#2
The first one may depend on which distro you're using.
For the second, I'd play safe and disable the modem before operating the kill switch.
For recovery, no idea. There may be a document covering it on Quectel's web site.
#3
Any update on this situation? Do we need to follow the wiki advice https://megous.com/dl/tmp/modem.txt?
#4
(06-08-2020, 08:25 AM)--- Wrote: Any update on this situation? Do we need to follow the wiki advice https://megous.com/dl/tmp/modem.txt?
+1 any updates is this still necessary?
#5
Which part? And which OS?
#6
Not on CE, because the hardware issue has been resolved, according to the Wiki:


Quote:Modem PWR_KEY signal resistor population

Resolved in v1.2 by separating the modem PWRKEY (PB3) and STATUS (PH9) signals.

On the dev phone (1.0) this signal was connected to PB3. This allows for turning on/off the modem via GPIO from a kernel driver. If proper power down is to be implemented in the kernel for the modem, to allow safe shutdown of the modem before turning off the 4g-pwr-bat, kernel has to be able to signal to the modem to shut down and wait 30s. This is not possible on braveheart. Without this signal, kernel can't do anything to shut down the modem, and would have to rely on userspace to properly manage the modem power up/down sequence. Relying on userspace risks users shutting down the modem without proper wait time of 30s, risking modem damage (flash data corruption).
#7
Great - so just on the 'Scottish phone', thanks.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Modem Issues with the Pinephone Temmie19 2 243 10-16-2024, 07:54 AM
Last Post: Temmie19
  Supported Carrier and Modem Bands NachoMomma 4 2,356 03-23-2024, 02:00 PM
Last Post: Kevin Kofler
  power circuit can't charge battery and can't supply enough power for modem or wifi vortex 2 1,163 02-17-2024, 04:15 PM
Last Post: vortex
  [Megapixels] Flash strobe, pictures viewer and MPCamera error 22 freelectro 3 2,583 03-27-2023, 03:27 AM
Last Post: freelectro
Bug PinePhone modem keeps "disappearing" Kevin Kofler 14 8,076 03-22-2023, 05:28 PM
Last Post: Kevin Kofler
  modem not working michelinux 0 1,192 02-16-2023, 04:56 AM
Last Post: michelinux
  modem not detected al_x 3 5,025 02-15-2023, 11:17 AM
Last Post: fxc
  RAM corruption, possible eMMC corruption alnyan 3 2,442 08-24-2022, 03:07 AM
Last Post: JeremyWadsworth
  firmware udate Quectel EG25-G modem alwi 7 7,060 07-06-2022, 01:43 PM
Last Post: user641
  Need command to tell what modem firmware I am on. purpletiger 4 3,805 07-06-2022, 12:35 PM
Last Post: Zebulon Walton

Forum Jump:


Users browsing this thread: 1 Guest(s)