Project

General

Profile

Pinephonev1x » History » Version 30

dl lud, 12/16/2019 07:31 PM
Added link to source code.

1 24 Denis 'GNUtoo' Carikli
h1. PinePhone
2 1 Denis 'GNUtoo' Carikli
3 30 dl lud
The prototype version of PinePhone is already in the hands of developers and a new batch is shipping in January 2020[12], hardware won't change much from now on.
4 27 Denis 'GNUtoo' Carikli
5 28 dl lud
|_. Feature |_. Hardware |_. Comments |_. TODO |
6
| System on a chip | Allwinner A64 Quad Core[9] | * The bootloader should be fully free software[7] including ARM Trusted Firmware[8]
7 22 Denis 'GNUtoo' Carikli
* The code should be upstream already[7] | TODO:
8 21 Denis 'GNUtoo' Carikli
* Look at the code |
9 23 Denis 'GNUtoo' Carikli
| GPU | Mali 400 MP2 GPU[1] | * A "pipe" driver is in Linux since 5.2
10
* Has (very early) support in Mesa | TODO: 
11 12 Denis 'GNUtoo' Carikli
* Regularly check kernel and MESA status |
12 29 dl lud
| Modem |/2. Quectel EG-25G[1] with[2] worldwide bands[4] | * The EG-25G is an international version of the EC25.
13
* It probably runs GNU/Linux too but we need to confirm that.
14
* Audio connected to both PCM interfaces on the A64[14].
15
* PCM audio still experimental: sending to the modem works fine, receiving produces mangled samples[14]. | TODO:
16 11 Denis 'GNUtoo' Carikli
* How supported is the AT support?
17 1 Denis 'GNUtoo' Carikli
* How supported is the QMI the protocol?
18 5 Denis 'GNUtoo' Carikli
* What's the similarity with the EC-25? |
19 26 Andrés D
| GNSS[1]: GPS, GPS-A, GLONASS[4] | |
20 18 Denis 'GNUtoo' Carikli
| WiFi |/2. RTL8723CS[3] | * Requires a nonfree loadable firmware[3] | |
21
| Bluetooth: 4.0, A2DP[1] |  * It uses a nonfree firmware[3]. 
22 14 Denis 'GNUtoo' Carikli
TODO:
23 26 Andrés D
* Check if it really requires that firmware or if it has some rom code that could be used ? |
24 25 Andrés D
| USB – C[1] (Power, Data and Video Out) | |* USB 2.0[9]
25 18 Denis 'GNUtoo' Carikli
* Serial console is only available in the headphone connector (activated by the 6th contact on the dipswitch[10])| |
26 28 dl lud
| RAM | 2GB of LPDDR3 RAM | | TODO:
27 1 Denis 'GNUtoo' Carikli
* Check if it meets [[HardwareRequirements|Android 9 requirements]] |
28 19 Denis 'GNUtoo' Carikli
| Main Camera | Single OV6540, 5MP, 1/4″, LED Flash[1] | * Mainline driver[5]
29
* No firmware required[5] | TODO:
30 1 Denis 'GNUtoo' Carikli
* Check if it requires a loadable firmware |
31 26 Andrés D
| Selfie Camera | Single GC2035[1], 2MP, f/2.8, 1/5″ | | TODO:
32 1 Denis 'GNUtoo' Carikli
* Check if it requires a loadable firmware |
33
| Bootable Micro SD[1]
34
 16GB eMMC[1] | *Boot order:MicroSD->eMMC[6]| |
35
| Sensors accelerator, gyro, proximity, compass, barometer, ambient light[1] | | | TODO:
36 26 Andrés D
* What chips are used |
37 28 dl lud
| LCD panel and touchscreen | 5.95″ LCD 1440×720
38
18:9 aspect ratio (hardened glass) | Probably works with free software[11] | |
39 1 Denis 'GNUtoo' Carikli
| Power Management | AXP803[13] | | |
40 30 dl lud
41
h2. Source code
42
43
Kernel and bootloader are available at https://gitlab.com/pine64-org
44
Downstream projects such as UBports and postmarketOs gather efforts there for mainlining.
45
Support for several features (e.g. modem PCM audio, power management) still needs to be upstreamed to mainline Linux.
46 14 Denis 'GNUtoo' Carikli
47 28 dl lud
h2. References
48 3 Denis 'GNUtoo' Carikli
49 1 Denis 'GNUtoo' Carikli
fn1. Some of the specifications are available on the "device page":https://www.pine64.org/pinephone/ 
50
51 28 dl lud
fn2. PinePhone discussion in Replicant's mailing list: https://lists.osuosl.org/pipermail/replicant/2019-July/001997.html
52 4 Denis 'GNUtoo' Carikli
53
fn3. From #replicant channel on Freenode: <pre>< MoeIcenowy> The Wi-Fi changed to RTL8723CS (this chip also does BT), which needs non-free firmware to be feed</pre>
54 18 Denis 'GNUtoo' Carikli
55 1 Denis 'GNUtoo' Carikli
fn4. From #replicant channel on Freenode: <pre>< MoeIcenowy> The GNSS should be also done by EG25-G</pre>
56
57
fn5. From #replicant channel on Freenode: <pre>< MoeIcenowy> The OV5640 camera doesn't need firmware and its driver is mainlined</pre>
58
59
fn6. From #replicant channel on Freenode: <pre>The boot order is strictly MicroSD->eMMC, which is set in the A64's boot ROM</pre>
60
61
fn7. From #replicant channel on Freenode: <pre>The bootloader (U-Boot SPL + ATF + U-Boot) is free software, all mainlined now (and the downstream dirty U-Boot cannot boot upstream Linux kernel)</pre>
62
63
fn8. From #replicant channel on Freenode: <pre><MoeIcenowy> https://github.com/ARM-software/arm-trusted-firmware</pre>
64 25 Andrés D
65
fn9. Allwinner A64 Datasheet: http://files.pine64.org/doc/datasheet/pine64/A64_Datasheet_V1.1.pdf
66 1 Denis 'GNUtoo' Carikli
67
fn10. PostmarketOS Pinephone page: https://wiki.postmarketos.org/wiki/PINE64_PinePhone_(pine64-pinephone)#Serial_console
68 25 Andrés D
69 27 Denis 'GNUtoo' Carikli
fn11. From #replicant channel on Freenode: <pre>
70
01:48 < adjtm> GNUtoo, lukasz confirmed me that the lcd doesn't require proprietary firmware to be uploaded
71
01:49 < adjtm> the conversation between pine64 staff about the lcd that someone posted on irc was probably before deciding in
72
               the last lcd</pre>
73
74 28 dl lud
fn12. PINE64 December 2019 Update: https://www.pine64.org/2019/12/05/december-update-thank-you-for-2019/
75 1 Denis 'GNUtoo' Carikli
76
fn13. From Xalius on "PINE64 IRC":https://forum.pine64.org/showthread.php?tid=892. Details at: https://linux-sunxi.org/AXP803
77 29 dl lud
78
fn14. From Xalius.