Difference between revisions of "PinePhone Software"

From Dejvino's Knowledge Base
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Using UART ==
+
Software usable with [[PinePhone]]
Source: [https://wiki.pine64.org/index.php/PinePhone]
 
  
The PinePhone has a serial port in the headphone connector, it's activated by the 6th contact on the dipswitch. If the switch is on then the headphone connector is in audio mode, if it's off then it's in UART mode. This uart serial connection can also be used for communication with other devices from the PinePhone.
+
== Distributions ==
 +
Main distributions registry: [https://wiki.pine64.org/index.php?title=PinePhone_Software_Releases wiki.pine64.org/PinePhone_Software_Releases]
  
The uart is 115200n8
+
* [[Arch Linux ARM for PinePhone]]
 +
** Repository: [https://github.com/dreemurrs-embedded/Pine64-Arch/releases]
 +
* [[Arch Linux ARM for PinePhone Installer]]
 +
** Repository: [https://github.com/Dejvino/pinephone-arch-install github.com/Dejvino/pinephone-arch-install]
 +
* [[Mobian]]
 +
** [[Debian]] for mobile devices.
 +
* [[UBports]]
 +
** [[Ubuntu Touch]] for [[PinePhone]].
 +
** [https://gitlab.com/ubports/community-ports/pinephone#how-do-i-install-ubuntu-touch-on-my-pinephone wiki: How to install]
 +
* [[postmarketOS]]
 +
** [[Alpine Linux]] for phones
 +
* [[sxmo]]
 +
** [[dwm]] on [[postmarketOS]].
 +
** [https://forum.pine64.org/showthread.php?tid=9913&pid=66062#pid66062 Pine64 Forum Thread]
 +
** [https://git.sr.ht/~mil/sxmo-docs/tree/master/USERGUIDE.md User Guide]
  
The pinout for the serial connector on the tablet side is:
+
== Utilities ==
 +
=== Jumpdrive ===
 +
Enables flashing of the internal [[eMMC]] flash storage from a computer over USB.
 +
* [https://wiki.pine64.org/index.php/PinePhone#Flashing_eMMC_using_Jumpdrive Pine64 Wiki]
 +
* [https://github.com/dreemurrs-embedded/Jumpdrive/releases/ Releases (pre-built images)]
  
*    Tip: RX
+
=== [[netevent]] ===
*   Ring: TX
+
Netevent is a tool which can be used to share linux event devices with other machines (either via /dev/uinput or by implementing a client for the same protocol with other means).[https://github.com/Blub/netevent]
*    Sleeve: GND
+
* Repository: [https://github.com/Blub/netevent]
  
The serial connection is 3.3V
+
=== Other Components ===
 +
* [https://source.puri.sm/Librem5/feedbackd/-/tree/master feedbackd] - events and notifications daemon
  
=== Connecting to the console ===
+
== Development ==
{{code|1=sudo screen /dev/ttyUSB0 115200}}
+
* [[PinePhone-Toolkit]]
 +
* p-boot - minimal PinePhone bootloader
 +
** [https://megous.com/git/p-boot/about/ ABOUT]
 +
** [https://megous.com/git/p-boot/tree/HACKING HACKING]
  
== Dejvino's [[Arch Linux ARM]] Installer ==
+
== Troubleshooting ==
Repository: [https://github.com/Dejvino/pinephone-arch-install github.com/Dejvino/pinephone-arch-install]
+
=== What is going on?? ===
 +
Try connecting to the [[Serial Console on PinePhone]].
  
== [[Mobian]] ==
+
=== Random crashes ===
[[Debian]] for mobile devices.
+
If you experience random crashes, try a slower DRAM clock speed! See [https://forum.pine64.org/showthread.php?tid=9832 this thread].
 +
 
 +
=== wlan0 MAC keeps on changing ===
 +
This is problematic if you want to assign a DNS name to the phone on your LAN. You can always setup a systemd service that sets a "spoofed" (but static) MAC address: [https://wiki.archlinux.org/index.php/MAC_address_spoofing#Method_3:_systemd_unit]
  
 
== External Links ==
 
== External Links ==

Latest revision as of 21:24, 30 September 2020

Software usable with PinePhone

Distributions

Main distributions registry: wiki.pine64.org/PinePhone_Software_Releases

Utilities

Jumpdrive

Enables flashing of the internal eMMC flash storage from a computer over USB.

netevent

Netevent is a tool which can be used to share linux event devices with other machines (either via /dev/uinput or by implementing a client for the same protocol with other means).[2]

  • Repository: [3]

Other Components

Development

Troubleshooting

What is going on??

Try connecting to the Serial Console on PinePhone.

Random crashes

If you experience random crashes, try a slower DRAM clock speed! See this thread.

wlan0 MAC keeps on changing

This is problematic if you want to assign a DNS name to the phone on your LAN. You can always setup a systemd service that sets a "spoofed" (but static) MAC address: [4]

External Links