PinePhonev1x » History » Version 39
dl lud, 01/25/2020 02:34 AM
Updated table with info for the "PinePhone Misconceptions" article.
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 | 39 | dl lud | * Regularly check kernel and Mesa status | |
12 | 1 | Denis 'GNUtoo' Carikli | | Modem |/2. Quectel EG-25G[1] with[2] worldwide bands[4] | * The EG-25G is an international version of the EC25. |
13 | 39 | dl lud | * Runs GNU/Linux[18]. |
14 | * USB connection for data and I2S connection for audio[18]. |
||
15 | 29 | dl lud | * Audio connected to both PCM interfaces on the A64[14]. |
16 | * PCM audio still experimental: sending to the modem works fine, receiving produces mangled samples[14]. | TODO: |
||
17 | 11 | Denis 'GNUtoo' Carikli | * How supported is the AT support? |
18 | 1 | Denis 'GNUtoo' Carikli | * How supported is the QMI the protocol? |
19 | * What's the similarity with the EC-25? | |
||
20 | 26 | Andrés D | | GNSS[1]: GPS, GPS-A, GLONASS[4] | | |
21 | 39 | dl lud | | WiFi |/2. RTL8723cs[3] | * Requires a nonfree loadable firmware[3] |
22 | * Connected via SDIO[18]. | | |
||
23 | | Bluetooth: 4.0, A2DP[1] | * Requires a nonfree firmware[3]. |
||
24 | * Connected via UART[18]. | TODO: |
||
25 | * Check if it really requires that firmware or if it has some ROM code that could be used? | |
||
26 | 28 | dl lud | | USB – C[1] (Power, Data and Video Out) | |* USB 2.0[9] |
27 | 1 | Denis 'GNUtoo' Carikli | * Serial console is only available in the headphone connector (activated by the 6th contact on the dipswitch[10])| | |
28 | 39 | dl lud | | RAM | 2GB of LPDDR3 RAM | * Initialized by u-boot SPL[18]. | TODO: |
29 | 19 | Denis 'GNUtoo' Carikli | * Check if it meets [[HardwareRequirements|Android 9 requirements]] | |
30 | 39 | dl lud | | Main Camera | Single OmniVision OV6540, 5MP, 1/4″, LED Flash[1] | * Mainline driver[5] |
31 | * No firmware required[5] |
||
32 | * There's an optional non-free firmware for the auto-focus[18]. | | |
||
33 | | Selfie Camera | Single GC2035[1], 2MP, f/2.8, 1/5″ | | | |
||
34 | 1 | Denis 'GNUtoo' Carikli | | Bootable Micro SD[1] |
35 | 16GB eMMC[1] | *Boot order:MicroSD->eMMC[6]| | |
||
36 | 26 | Andrés D | | Sensors accelerator, gyro, proximity, compass, barometer, ambient light[1] | | | TODO: |
37 | 28 | dl lud | * What chips are used | |
38 | | LCD panel and touchscreen | 5.95″ LCD 1440×720 |
||
39 | 36 | dl lud | 18:9 aspect ratio (hardened glass) | Probably works with free software[11] | | |
40 | | Power Management IC (PMIC) | AXP803[13] | | | |
||
41 | | Power Management coprocessor | AR100[15] | * The proprietary firmware can be replaced with Crust[16]. |
||
42 | 38 | dl lud | * Allows deep power-saving modes and later wake-up. |
43 | 30 | dl lud | * Use case: receive signal from modem to wake-up device[17]. | | |
44 | |||
45 | h2. Source code |
||
46 | |||
47 | 33 | dl lud | Kernel and bootloader are available at https://gitlab.com/pine64-org |
48 | |||
49 | They are a fork of sunxi-next through MoeIcenowy. |
||
50 | 37 | dl lud | Current upstreaming path looks like this: pine64 > sunxi-next > linux-next > torvalds |
51 | Patches relevant to all A64 devices should be directly sent to sunxi-next. |
||
52 | 33 | dl lud | Patches only relevant to PinePhone should be sent to pine64. |
53 | |||
54 | 30 | dl lud | Downstream projects such as UBports and postmarketOs gather efforts there for future upstreaming. |
55 | 14 | Denis 'GNUtoo' Carikli | Support for several features (e.g. modem PCM audio, power management) still needs to be upstreamed to mainline Linux. |
56 | 28 | dl lud | |
57 | 3 | Denis 'GNUtoo' Carikli | h2. References |
58 | 32 | dl lud | |
59 | 1 | Denis 'GNUtoo' Carikli | fn1. Some specifications are available at the "device page":https://www.pine64.org/pinephone/ and "wiki page":https://wiki.pine64.org/index.php/PinePhone. |
60 | 28 | dl lud | |
61 | 4 | Denis 'GNUtoo' Carikli | fn2. PinePhone discussion in Replicant's mailing list: https://lists.osuosl.org/pipermail/replicant/2019-July/001997.html |
62 | 34 | dl lud | |
63 | 18 | Denis 'GNUtoo' Carikli | 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> |
64 | 34 | dl lud | |
65 | 1 | Denis 'GNUtoo' Carikli | fn4. From #replicant channel on Freenode: <pre><MoeIcenowy> The GNSS should be also done by EG25-G</pre> |
66 | 34 | dl lud | |
67 | 1 | Denis 'GNUtoo' Carikli | fn5. From #replicant channel on Freenode: <pre><MoeIcenowy> The OV5640 camera doesn't need firmware and its driver is mainlined</pre> |
68 | 34 | dl lud | |
69 | 1 | Denis 'GNUtoo' Carikli | fn6. From #replicant channel on Freenode: <pre><MoeIcenowy> The boot order is strictly MicroSD->eMMC, which is set in the A64's boot ROM</pre> |
70 | 34 | dl lud | |
71 | 1 | Denis 'GNUtoo' Carikli | fn7. From #replicant channel on Freenode: <pre><MoeIcenowy> 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> |
72 | |||
73 | 25 | Andrés D | fn8. From #replicant channel on Freenode: <pre><MoeIcenowy> https://github.com/ARM-software/arm-trusted-firmware</pre> |
74 | |||
75 | 1 | Denis 'GNUtoo' Carikli | fn9. Allwinner A64 Datasheet: http://files.pine64.org/doc/datasheet/pine64/A64_Datasheet_V1.1.pdf |
76 | |||
77 | 25 | Andrés D | fn10. PostmarketOS Pinephone page: https://wiki.postmarketos.org/wiki/PINE64_PinePhone_(pine64-pinephone)#Serial_console |
78 | 27 | Denis 'GNUtoo' Carikli | |
79 | 35 | dl lud | fn11. From #replicant channel on Freenode: <pre> |
80 | 01:48 <adjtm> GNUtoo, lukasz confirmed me that the lcd doesn't require proprietary firmware to be uploaded |
||
81 | 27 | Denis 'GNUtoo' Carikli | 01:49 <adjtm> the conversation between pine64 staff about the lcd that someone posted on irc was probably before deciding in |
82 | the last lcd</pre> |
||
83 | 1 | Denis 'GNUtoo' Carikli | |
84 | fn12. PINE64 December 2019 Update: https://www.pine64.org/2019/12/05/december-update-thank-you-for-2019/ |
||
85 | 28 | dl lud | |
86 | 1 | Denis 'GNUtoo' Carikli | fn13. From Xalius on "PINE64 IRC":https://forum.pine64.org/showthread.php?tid=892. Details at: https://linux-sunxi.org/AXP803 |
87 | |||
88 | 29 | dl lud | fn14. From Xalius. |
89 | 1 | Denis 'GNUtoo' Carikli | |
90 | 36 | dl lud | fn15. https://linux-sunxi.org/AR100 |
91 | |||
92 | fn16. https://github.com/crust-firmware/crust |
||
93 | |||
94 | fn17. From Xalius. |
||
95 | 39 | dl lud | |
96 | fn18. PinePhone Misconceptions: https://www.pine64.org/2020/01/24/setting-the-record-straight-pinephone-misconceptions/ |