Difference between revisions of "Project Don't be evil"

From PINE64
Jump to navigation Jump to search
(→‎UBPorts mainline build: - add a working link)
(25 intermediate revisions by 5 users not shown)
Line 15: Line 15:
* Input Power: DC 5V @ 2A, 3.7V Li-Ion battery connector, USB type-C connector
* Input Power: DC 5V @ 2A, 3.7V Li-Ion battery connector, USB type-C connector
* Baseboard Schematic:
* Baseboard Schematic:
** [http://files.pine64.org/doc/PinePhone/Pinephone-devkit-SCH%20Ver%201.1.pdf "Don't Be Evil" PinePhone Dev kit Baseboard Schematic]
** [http://files.pine64.org/doc/PinePhone/Pinephone-devkit%20Board%20Structure.pdf "Don't Be Evil" PinePhone Dev kit Baseboard Structure]
** [http://files.pine64.org/doc/PinePhone/Pinephone-devkit%20Board%20Structure.pdf "Don't Be Evil" PinePhone Dev kit Baseboard Structure]
** [http://files.pine64.org/doc/PinePhone/Pinephone-devkit-SCH%20Ver%201.1.pdf "Don't Be Evil" PinePhone Dev kit Baseboard Ver 1.1 Schematic]
** [http://files.pine64.org/doc/PinePhone/Pinephone%20Dev%20Kit%20Ver%201.1_PCB.pdf "Don't Be Evil" PinePhone Dev kit Baseboard Ver 1.1 PCB Artwork]
** [http://files.pine64.org/doc/PinePhone/Pinephone-devkit-SCH%20Ver%201.2.pdf "Don't Be Evil" PinePhone Dev kit Baseboard Ver 1.2 Schematic]
** [http://files.pine64.org/doc/PinePhone/Pinephone%20Dev%20Kit%20Ver%201.2_PCB.pdf "Don't Be Evil" PinePhone Dev kit Baseboard Ver 1.2 PCB Artwork]
* SOPine Module Schematic:
* SOPine Module Schematic:
** [http://files.pine64.org/doc/SOPINE-A64/SOPINE-A64-Schematic-ver-0.9.pdf SOPine Module Schematic]
** [http://files.pine64.org/doc/SOPINE-A64/SOPINE-A64-Schematic-ver-0.9.pdf SOPine Module Schematic]
Line 80: Line 83:
** 5MPixel Rear CMOS Camera module information:
** 5MPixel Rear CMOS Camera module information:
*** [http://files.pine64.org/doc/datasheet/pinephone/ATK-OV5640-5Mp-module_for_pinephone_devkit.pdf 5MP CMOS Image Sensor Module Drawing]
*** [http://files.pine64.org/doc/datasheet/pinephone/ATK-OV5640-5Mp-module_for_pinephone_devkit.pdf 5MP CMOS Image Sensor Module Drawing]
*** [http://files.pine64.org/doc/datasheet/pinephone/OV5640_datasheet.pdf OmniVision OV5460 5MP CMOS Image Sensor Datasheet]
*** [http://files.pine64.org/doc/datasheet/pinephone/OV5640_datasheet.pdf OmniVision OV5640 5MP CMOS Image Sensor Datasheet]
*** [http://www.arducam.com/downloads/modules/OV5640/OV5640_Software_app_note_parallel.pdf OmniVision OV5640 5MP CMOS Image Sensor Software Application Note]
** LCD Touch Screen Panel information:
** LCD Touch Screen Panel information:
*** [http://files.pine64.org/doc/datasheet/pinephone/XBD572-IPS-HI010A%20SPEC.pdf 5.7" 1440x720 IPS LCD Panel Specification]
*** [http://files.pine64.org/doc/datasheet/pinephone/XBD572-IPS-HI010A%20SPEC.pdf 5.7" 1440x720 IPS LCD Panel Specification]
Line 108: Line 112:


= Software and OS Image Downloads =
= Software and OS Image Downloads =
http://files.pine64.org/sw/pine64_installer/json/postmarketos.png
== Postmarket OS Early Alpha test build [microSD Boot] ==
* Suitable for PinePhone "Don't Be Evil" Dev Kit version 1.1 and version 1.2
* There are two type of LCD panels. For long touch screen cable, please use the build with inverted wording.
* DD image (for 8GB micoSD card and above)
** [http://images.postmarketos.org/pinephone/ Direct download from postmarketOS image site]
** [https://wiki.postmarketos.org/wiki/Pine_Don%27t_be_evil_devkit_(pine-dontbeevil) postmarketOS PinePhone "Don't Be Evil" dev kit wiki site]




Line 113: Line 128:


== UBPorts mainline build ==
== UBPorts mainline build ==
* [https://ci.ubports.com/job/rootfs-pinephone/ UBPorts Jerkins for PinPhone]
* [https://ci.ubports.com/job/rootfs-pinephone/ UBPorts Jenkins for PinePhone]


The link above seems to be broken, if so try this:
[https://ci.ubports.com/job/rootfs/job/rootfs-pinephone/ Jenkins Project rootfs-pinephone]


http://files.pine64.org/sw/pine64_installer/json/plasma_mobile.png
http://files.pine64.org/sw/pine64_installer/json/plasma_mobile.png
Line 122: Line 139:




http://files.pine64.org/sw/pine64_installer/json/sailfishos.png
== Sailfish OS build ==
The Sailfish OS image is build on Gitlab CI, the latest image can be installed using our [https://raw.githubusercontent.com/sailfish-on-dontbeevil/flash-it/master/flash-it.sh flashing script] written in Bash.
The script downloads the image and bootloader from our CI, extracts everything and burns it onto the SD card.
'''Instructions:'''


http://files.pine64.org/sw/pine64_installer/json/postmarketos.png
1. Download the flashing script
 
2. Insert a microSD card in your device


== Postmarket OS build ==
3. Make the script executable: <code>chmod +x flash-it.sh</code>
* Not Yet Ready *


4. Execute it: <code>./flash-it.sh</code>


http://files.pine64.org/sw/pine64_installer/json/sailfishos.png
5. Follow the instructions. Some commands in the script require root permissions (for example: mounting and flashing the SD card).


== Sailfish OS build ==
'''Note''': The script will format and flash the SD card, make sure that you don't have any important data on the SD card!
* Not Yet Ready *




http://files.pine64.org/sw/pine64_installer/json/maemo_leste.png
http://files.pine64.org/sw/pine64_installer/json/maemo_leste.png


== Maemo OS build ==
== Maemo Leste build ==
* Not Yet Ready *
* Works on dev kit versions 1.1 and 1.2
 
* DD image to a micro SD (8GB+) or eMMC
** [http://maedevu.maemo.org/images/pinephone-dontbeevil/ Maemo Leste test builds download]


http://files.pine64.org/sw/pine64_installer/json/nixos.png
http://files.pine64.org/sw/pine64_installer/json/nixos.png
Line 146: Line 174:
* Not Yet Ready *
* Not Yet Ready *


http://files.pine64.org/sw/pine64_installer/json/luneos.jpg
== LuneOS build ==
* [http://build.webos-ports.org/luneos-testing/images/pinephone/ LuneOS test image for PinePhone and thanks to Tofe]
* Tofe recommends using bmaptool ; for example "bmaptool copy http://build.webos-ports.org/luneos-testing/images/pinephone/luneos-dev-image-pinephone-testing-0-15.rootfs.wic.gz /dev/mmcblk0"
http://files.pine64.org/sw/pine64_installer/json/nemo_mobile.png
== Nemo Mobile build ==
* Not Yet Ready *


= Mali-400 64-bit Driver =
= Mali-400 64-bit Driver =
Line 165: Line 205:
* [https://github.com/ayufan-pine64/linux-build/releases/latest/ ayufan Linux]
* [https://github.com/ayufan-pine64/linux-build/releases/latest/ ayufan Linux]


= Errata for ver1.1 and ver1.2 board =
'''1. Please DON'T insert micro SIM card to dev kit board micro SIM card slot, the SIM data, VPP, and GND signal have been misplaced. A miciPCIe adapter with sim card holder 9shown as below photo) will be provide to developers to correct this mistake.'''
[[File:MiniPCIe_with_sim_slot_adapter.png]]
'''2. The PinePhone dev kit doesn't charge due to VBUS on SOPine module is not connected. Please connect R9688 solder pads with 0 ohm resistor or using thin wire bridge up the solder pads. Location shows as below:'''
[[File:PinePhone_VBUS_charging_small.png]]
'''3. The SOPINE's SPI NOR flash storage and the devkit's camera flash (heh) share the same GPIO pins. The flash storage may not be used.'''
[[File:SOPINE-SPI-Flash.png]] [[File:Pinephone-1.1-flash-schematic.png]]
'''4. On the camera flash GPIO conflict, the new assignment of GPIO PB3 pin for SGM3140 FLASH_EN and GPIP PD7 for FLASH_TRIGOUT. Please note that PD7 is also LCD_ID pin which may not be used.'''
[[File:GPIO_PB3_location.jpg]]
GPIO PB3 location
[[File:U54_SGM3140_FLASH_EN pin location.jpg]]
U54 SGM3140 FLASH_EN pin location
[[File:Flash_GPIO_Reassigned.jpg]]
Flash GPIOs Reassigned wiring





Revision as of 23:07, 7 November 2019

The Project "Don't be evil" - Phase 2 of PINE64 Smartphone "PinePhone" Development Kit

Project Don't be evil is an actual smartphone developer kit for the PINE64 Smartphone dubbed "PinePhone". It is used in the early stages of development as a starting point for affiliated projects. PinePhone development has been broken down into three distinct phases:

  • First phase - Project Anakin
  • Second phase - purpose-built development kit code named "Don't be evil" and introduced at FOSDEM 2019
  • Lastly, the third phase which is the PinePhone itself - scheduled to be prototype released in Q3 2019 and BTO batch released with mobile OS parents in Q4 2019 (pending on software development).

Image: 500 pixels Image: 500 pixels


Project Don't be evil, Baseboard and SOPine Module Information, and Schematics


SoC and Memory Specification

  • Based on Allwinner A64/R18
    • R18 and A64 are identical SoC but R18 committed for 10 years supply by vendor.

Allwinner A64.jpg Allwinner R18.png

CPU Architecture

  • Quad-core ARM Cortex-A53 Processor@1152Mhz
  • A power-efficient ARM v8 architecture
  • 64 and 32bit execution states for scalable high performance
  • Support NEON Advanced SIMD (Single Instruction Multiple Data) instruction for acceleration of media and signal processing function
  • Support Large Physical Address Extensions(LPAE)
  • VFPv4 Floating Point Unit
  • 32KB L1 Instruction cache and 32KB L1 Data cache
  • 512KB L2 cache

GPU Architecture

System Memory

  • RAM Memory Variants: 2GB LPDDR3.
  • Storage Memory: SPI Flash and optional eMMC module from 16GB up to 64GB


Datasheets for Components and Peripherals



Software and OS Image Downloads

postmarketos.png

Postmarket OS Early Alpha test build [microSD Boot]


ubports.png

UBPorts mainline build

The link above seems to be broken, if so try this: Jenkins Project rootfs-pinephone

plasma_mobile.png

KDE Plasma Mobile build

  • Not Yet Ready *


sailfishos.png

Sailfish OS build

The Sailfish OS image is build on Gitlab CI, the latest image can be installed using our flashing script written in Bash.

The script downloads the image and bootloader from our CI, extracts everything and burns it onto the SD card.

Instructions:

1. Download the flashing script

2. Insert a microSD card in your device

3. Make the script executable: chmod +x flash-it.sh

4. Execute it: ./flash-it.sh

5. Follow the instructions. Some commands in the script require root permissions (for example: mounting and flashing the SD card).

Note: The script will format and flash the SD card, make sure that you don't have any important data on the SD card!


maemo_leste.png

Maemo Leste build

nixos.png

NixOS build

  • Not Yet Ready *


luneos.jpg

LuneOS build


nemo_mobile.png

Nemo Mobile build

  • Not Yet Ready *

Mali-400 64-bit Driver

Mali-400 64-bit Driver [20171220]


Quick Links to Build Sources of OS Images

Some these OS images labelled as beta or nightly builds which means they are only fit for testing purposes

These images should be used at your own risk and are not fit for normal use


Errata for ver1.1 and ver1.2 board

1. Please DON'T insert micro SIM card to dev kit board micro SIM card slot, the SIM data, VPP, and GND signal have been misplaced. A miciPCIe adapter with sim card holder 9shown as below photo) will be provide to developers to correct this mistake.

MiniPCIe with sim slot adapter.png


2. The PinePhone dev kit doesn't charge due to VBUS on SOPine module is not connected. Please connect R9688 solder pads with 0 ohm resistor or using thin wire bridge up the solder pads. Location shows as below:

PinePhone VBUS charging small.png


3. The SOPINE's SPI NOR flash storage and the devkit's camera flash (heh) share the same GPIO pins. The flash storage may not be used.

SOPINE-SPI-Flash.png Pinephone-1.1-flash-schematic.png


4. On the camera flash GPIO conflict, the new assignment of GPIO PB3 pin for SGM3140 FLASH_EN and GPIP PD7 for FLASH_TRIGOUT. Please note that PD7 is also LCD_ID pin which may not be used.

GPIO PB3 location.jpg GPIO PB3 location

U54 SGM3140 FLASH EN pin location.jpg U54 SGM3140 FLASH_EN pin location

Flash GPIO Reassigned.jpg Flash GPIOs Reassigned wiring


Other Resources