PINE64
Avoiding modem flash-memory corruption? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Hardware (https://forum.pine64.org/forumdisplay.php?fid=122)
+--- Thread: Avoiding modem flash-memory corruption? (/showthread.php?tid=9208)



Avoiding modem flash-memory corruption? - msquared - 02-18-2020

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?



RE: Avoiding modem flash-memory corruption? - wibble - 02-18-2020

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.


RE: Avoiding modem flash-memory corruption? - --- - 06-08-2020

Any update on this situation? Do we need to follow the wiki advice https://megous.com/dl/tmp/modem.txt?


RE: Avoiding modem flash-memory corruption? - Awesomesauce71 - 06-15-2020

(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?


RE: Avoiding modem flash-memory corruption? - wibble - 06-16-2020

Which part? And which OS?


RE: Avoiding modem flash-memory corruption? - heng - 06-16-2020

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).



RE: Avoiding modem flash-memory corruption? - --- - 06-16-2020

Great - so just on the 'Scottish phone', thanks.