Difference between revisions of "Pinebook"

From PINE64
Jump to navigation Jump to search
(Created page with " == What You’ll Need to Get Started == You will need the following to get started with using your PINE A64 or A64+ board: * Windows / Linux PC or MAC with a SD Card Reader...")
 
 
(107 intermediate revisions by 16 users not shown)
Line 1: Line 1:
[[File:PinebookMain.jpg|400px|thumb|right|The Pinebook]]


== What You’ll Need to Get Started ==
The '''Pinebook''' is an 11.6″ or 11.6″ with 1080P IPS panel or 14″ notebook powered by the same quad-core ARM Cortex A53 64-Bit Processor used in our popular PINE A64 Single Board Computer. It is very lightweight, hackable and comes equipped with a full-sized keyboard and large multi-touch trackpad. It runs numerous mainline Linux distributions as well as *BSD and Android.


You will need the following to get started with using your PINE A64 or A64+ board:
== Software releases ==
* Windows / Linux PC or MAC with a SD Card Reader connected to the Internet.
* Power Supply (PSU) and a micro usb cable. Please make sure to use a PSU rated at +5V @2A and a micro USB cable that is at least 26 AWG thick.
* MicroSD card (8GB or higher capacity) rated 'class 10' or better.
* HDMI cable (unless you wish to run headless / without a monitor). '''N.B'''. Android and Remix OS support 720p and 1080p, while Linux supports a [https://github.com/longsleep/sunxi-disp-tool#available-hdmi-output-names wider range of resolutions].
* Input device(s) such as: keyboard, mouse, remote, pointer, etc.


Under [[Pinebook Software Releases]] you will find a complete list of currently supported Operating System images that work with the Pinebook as well as other related software.


== Variants ==


== Simple Step to Image Your MicroSD ==
The following variants exist of the Pinebook:
Please try our [https://github.com/pine64dev/PINE64-Installer/blob/master/README.md PINE64 Installer] to easily select the PINE A64(+), SOPINE and Pinebook OS of your choice and flash it to your MicroSD Card.


For more advance steps, you can further read instructions below.
* Pinebook 11.6″
* Pinebook 11.6″ 1080p
* Pinebook 14″


More information can be found on the [https://linux-sunxi.org/Pine_Pinebook sunxi wiki].


== Pinebook Service Step-by-Step Guides ==
These are instruction guides for the disassembly:


== Step by Step Instructions ==
{{Info|The installation process is the reverse order of removal guide}}


'''Caution!'''
11.6″ Pinebook:
* [http://files.pine64.org/doc/pinebook/guide/Pinebook_11.6-Battery_Removal_Guide.pdf Lithium Battery Pack Removal Guide]
* [http://files.pine64.org/doc/pinebook/guide/Pinebook_11.6-Screen_Removal_Guide.pdf LCD Panel Screen Removal Guide]
* [http://files.pine64.org/doc/pinebook/guide/Pinebook_11.6-eMMC_Removal_Guide.pdf eMMC Module Removal Guide]


Please handle the PINE A64 or A64+ with care. Always hold the board by the edges and make sure to wear an anti-static wrist strap when handling the PINE A64(+). Touching components on the front and back of the board can result in an ESD discharge that may damage your board. Avoid placing the board on materials such as carpets, plastics or other surfaces prone to electrostatic build-up.
14″ Pinebook:
* [http://files.pine64.org/doc/pinebook/guide/Pinebook_14-Battery_Removal_Guide.pdf Lithium Battery Pack Removal Guide]
* [http://files.pine64.org/doc/pinebook/guide/Pinebook_14-Screen_Removal_Guide.pdf LCD Panel Screen Removal Guide]
* [http://files.pine64.org/doc/pinebook/guide/Pinebook_14-eMMC_Removal_Guide.pdf eMMC Module Removal Removal Guide]


== Pinebook Information ==
* Dimensions: 299mm x 200mm x 12mm (WxDxH - 11″ Pinebook); 329mm x 220mm x 12mm (WxDxH - 14″ Pinebook)
* Weight: 1.04Kg (11″ Pinebook); 1.26Kg (14″ Pinebook)#
* Input Power: DC 5V @ 3A


'''Begin by imaging the OS of your choice'''
== SoC and Memory Specification ==
* Based on Allwinner A64
[[File:Allwinner_A64.jpg|right]]


You will require a quality microSD card (8GB or greater; class 10 or faster). There are many [http://forum.pine64.org/showthread.php?tid=681 substandard and counterfeit cards] in circulation and even reputable vendors may unknowingly sell counterfeit microSD cards. Cards that do not meet the criteria outlined above are known to cause a variety of issues including, but not limited to, complete boot failure. There are ways of testing microSD cards prior to installing the operating system to make sure they are appropriate for use with your board. The main utility for checking microSD cards is  [http://www.softpedia.com/get/System/System-Miscellaneous/H2testw.shtml#download H2testw 1.4]; yet another alternative is [https://github.com/AltraMayor/f3/archive/v6.0.zip F3].
CPU Architecture:
* [https://www.arm.com/products/processors/cortex-a/cortex-a53-processor.php 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


Please refer to the relevant section below for instructions on how to image your microSD card:
GPU Architecture:
* [[#Imaging microSD on Windows 7/8/8.1/10|Imaging microSD on Windows 7/8/8.1/10]]
* [https://www.arm.com/products/multimedia/mali-gpu/ultra-low-power/mali-400.php ARM Mali400MP2 Dual-core GPU]
* [[#Imaging microSD on Apple OSX|Imaging microSD on Apple OSX]]
* Support OpenGL ES 2.0 and OpenVG 1.1 standard
* [[#Imaging microSD on Linux|Imaging microSD on Linux]]
* [https://gitlab.freedesktop.org/lima/web/wikis/home Open source driver]


Having successfully imaged your microSD card, insert it into the microSD slot located at the bottom left of the board / to the left of the USB 2.0 sockets.
System Memory:
* System RAM Memory: 2GB
* Storage Memory: 16GB eMMC module, can be upgrade to 32GB or 64GB eMMC module


Battery:
* Lithium Polymer Battery (10,000mAH)


'''Plug in the HDMI Cable, Ethernet Cable and Peripherals'''
Video:
* Mini Digital Video Port (Type A - mini)


Unless you are planning on running your PINE A64(+) headless (without a monitor / as a server), you should plug in all necessary peripherals, including the HDMI and Ethernet cable, prior to powering ON the board. Do note, depending on which OS image you are using, some peripherals may or may not work. '''N.B.''' [http://forum.pine64.org/showthread.php?tid=1127 Some HDMI→DVI/VGA converters may not work] in conjunction with your monitor or TV.
Audio:
* 3.5mm stereo earphone/microphone plug


Network:
* WiFi 802.11 b/g/n with Bluetooth 4.0
* 10/100Mbps USB Ethernet Dongle (Optional)


'''Apply Power to Your Board'''
Storage:
* microSD - bootable, support SDHC and SDXC, storage up to 256GB
* USB - 2 USB2.0 Host port


Once you have imaged your microSD and plugged everything in, you are ready to apply power to the PINE A64(+) board. You'll need a good quality 5 Volt, 2 Amp PSU. Using a good quality PSU and micro USB cable is very important as failing to meet the required specifications may prevent the board from booting correctly. A marginally higher PSU Voltage is acceptable (for instance, 5.1 volts - due to the nature of the micro usb connection, a 5.1v supply can help protect slightly against voltage drops which can cause undesirable results). However, a significantly higher voltage of 7 Volts or more will damage the PINE A64(+) board and may render it inoperative.
Expansion Ports:
* mini Digital Video port
* microSD card port - support SD, SDHC, SDXC uo to 256GB
* 2x USB 2.0 port
* earphone plug with UART console mux circuit


If you are using a separate micro USB cable with your PSU, make sure that the cable has a low resistance rating. Cables with high resistance will cause improper function and the unit may not boot at all or only partially. The thicker the internal cabling, the better [http://voyager8.blogspot.co.uk/2013/04/how-to-choose-good-usb-data-and.html i.e. AWG (American Wire Gauge) 20 is better than AWG 28]. In General, power-only microUSB cables come with red colour USB header.
== Pinebook Schematics and Certifications ==


Having completed the steps outlined above the PINE A64(+) board will begin to boot. The red onboard LED light indicates power on status. The LED will not blink during boot up and the colour of the LED stays solid. The colour does not change to signify an error.
Mainboard schematics:
* [https://files.pine64.org/doc/pinebook/pinebook_mainboard_schematic_3.0.pdf Pinebook Mainboard schematics]


Daughter Board schematics:
* [https://files.pine64.org/doc/pinebook/pinebook_smallboard_schematic_1.0.pdf Pinebook Daughter board schematics]


Serial Console Earphone Jack pinout:
* [https://files.pine64.org/doc/pinebook/guide/Pinebook_Earphone_Serial_Console_Developer_Guide.pdf Pinebook Serial Console Earphone Jack pinout]


=== Imaging microSD on Windows 7/8/8.1/10 ===
Certifications:
* [https://files.pine64.org/doc/cert/Pinebook%20FCC%20certification%20VOC20170928.pdf Pinebook FCC Certificate]
* [https://files.pine64.org/doc/cert/Pinebook%20FCC%20ID-Spread%20Spectrum%20Transmitter.pdf Pinebook FCC ID-Spread Spectrum Transmitter Certificate]
* [https://files.pine64.org/doc/cert/Pinebook%20FCC%20ID-Digital%20Transmission%20System.pdf Pinebook FCC ID-Digital Transmission System Certificate]
* [https://files.pine64.org/doc/cert/Pinebook%20CE%20certification%20Micom20171207.pdf Pinebook CE Certificate]
* [https://files.pine64.org/doc/cert/Pinebook%20ROHS%20certification%20VOC20170918.pdf Pinebook RoHS Certificate]


== Datasheets for Components and Peripherals ==


You will need the following utilities to get started with imaging the OS of your choice onto your microSD card:
Allwinner A64 SoC:
* A compression Utility (used to unarchive the OS image). We recommend you use [http://www.7-zip.org/download.html 7zip].
* [https://files.pine64.org/doc/datasheet/pine64/A64%20brief%20v1.0%2020150323.pdf Allwinner A64 SoC Brief Introduction]
* A disk image utility (used to ‘burn’ the .img to your SD card). We recommend you use either the [https://sourceforge.net/projects/win32diskimager/ Win32Imager] or [https://etcher.io/ Etcher] utility.
* [https://files.pine64.org/doc/datasheet/pine64/A64_Datasheet_V1.1.pdf Allwinner A64 SoC Data Sheet V1.1 (Official Released Version)]
'''Optional'''
* [https://files.pine64.org/doc/datasheet/pine64/Allwinner_A64_User_Manual_V1.0.pdf Allwinner A64 SoC User Manual V1.0 (Official Release Version)]
* Phoenix Card image utility (used ONLY for phoenix card images). You can download it from [https://drive.google.com/file/d/0B0cEs0lxTtL3VmstaEFfbmU1NFk/view?usp=sharing here].


X-Powers AXP803 PMU (Power Management Unit):
* [https://files.pine64.org/doc/datasheet/pine64/AXP803_Datasheet_V1.0.pdf AXP803 PMIC Datasheet]


'''Downloading and extracting OS image(s)'''
LPDDR3:
* [https://files.pine64.org/doc/datasheet/pine64/AWL3A1632_mobile_lpddr3_1600Mbps.pdf Allwinner LPDDR3 Datasheet]
* [https://files.pine64.org/doc/datasheet/pine64/FORESEE%20178ball%2012x11.5%20LPDDR3%2016G%20Spec%20V1.0-1228.pdf Foresee LPDDR3 Datasheet]
* [https://files.pine64.org/doc/datasheet/pine64/K4E6E304EE-EGCE.pdf Samsung LPDDR3 Datasheet]
* [https://files.pine64.org/doc/datasheet/pine64/LPDDR3%20178ball%208Gb_H9CCNNN8JTALAR_Rev1.0.pdf Hynix LPDDR3 Datasheet]


You can find all OS images under [[#Software_and_OS_Image_Downloads|Software and OS Image Downloads]].
eMMC:
There are two type of Android and Remix images available. Images designated ‘DD’ need to be imaged using Etcher or Win32imager, whilst images labelled ‘Phoenix Card Image’ require the Phoenix Card utility.
* [https://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf PINE64 eMMC module schematic]
* [https://files.pine64.org/doc/rock64/usb%20emmc%20module%20adapter%20v2.pdf PINE64 USB adapter for eMMC module V2 schematic]
* [https://files.pine64.org/doc/rock64/USB%20adapter%20for%20eMMC%20module%20PCB.tar PINE64 USB adapter for eMMC module PCB in JPEG]
* [https://files.pine64.org/doc/datasheet/pine64/E-00517%20FORESEE_eMMC_NCEMAM8B-16G%20SPEC.pdf 16GB Foresee eMMC Datasheet]
* [https://files.pine64.org/doc/datasheet/pine64/SDINADF4-16-128GB-H%20data%20sheet%20v1.13.pdf 32GB/64GB/128GB SanDisk eMMC Datasheet]


Having downloaded the required OS image proceed to use 7zip to unarchive it by right-clicking the archive, and selecting ‘Extract All’. Upon completion, note the destination of where the .img file was extracted (‘Downloads’ folder by default). Once the process has completed, you can proceed to imaging the .img file.
SPI NOR flash:
* [https://files.pine64.org/doc/datasheet/pine64/w25q128jv%20spi%20revc%2011162016.pdf WinBond 128Mb SPI Flash Datasheet]
* [https://files.pine64.org/doc/datasheet/pine64/GD25Q128C-Rev2.5.pdf GigaDevice 128Mb SPI Flash Datasheet]


WiFi/BT module:
* [https://files.pine64.org/doc/datasheet/pine64/RTL8723BS.pdf Realtek RTL8723BS WiFi with BT SDIO]


'''Imaging the microSD card (DD)'''
LCD Panel:
* [https://files.pine64.org/doc/datasheet/pinebook/11.6inches-1080P-IPS-LCD-Panel-spec-WJFH116008A.pdf 1920x1080 1080P 11.6″ IPS LCD Panel datasheet]
* [https://files.pine64.org/doc/datasheet/pinebook/11.6inches-TFT-LCD%20Approval%20Specification%20N116BGE-E42%20Ver%203.0.pdf 1366x768 11.6″ TFT LCD Panel datasheet]
* [https://files.pine64.org/doc/datasheet/pinebook/14inches-HB140WX1-501(%20EDP1.2)%20Preliminary%20Product%20specification.pdf 1366x768 14″ TFT LCD Panel datasheet]


* Insert your microSD card into your laptop/USB card reader. You may require a SD → microSD converter, as most laptops and desktops only feature a full-size SD card reader. Once the microSD card is plugged into your computer, make sure to take note of the drive it has been assigned (the drive is assigned a letter, e.g. ‘F:’). You will need to remember the ‘letter’ it has been assigned when imaging the OS.
Touchpad:
* [https://files.pine64.org/doc/datasheet/pinebook/11-Toucpad-HK-9058%20specification.pdf Touchpad Specification for 11.6″ model]
* [https://files.pine64.org/doc/datasheet/pinebook/14-Touchpad-HK-9562%20specification.pdf Touchpad Specification for 14″ model]


* Launch Win32diskImager.exe or etcher.exe. You will be presented with a field titled ‘path’ and a drop down menu labeled ‘device’. Click the ‘path’, navigate to and select the OS image you extracted from the archive earlier. Next, from the drop-down menu select the drive your microSD has been assigned. '''N.B.''' Pay close attention to the selected drive (remember your letter) – the imaging process will format the selected drive. If you choose the wrong drive all your data will be lost.
Camera sensor:
* [https://files.pine64.org/doc/datasheet/pinebook/ZC-RZ3762-3703%C2%A0S1.0-Camera-Module%20spec.pdf VGA Camera module specification]
* [https://files.pine64.org/doc/datasheet/pinebook/VGA-CMOS-Sensor--BF3703%20Datasheet.pdf VGA Camera Sensor Data Sheet]


* Having chosen the desired OS image and the correct driver press ‘write’. Once the image has been written to your microSD card you will receive a pop-up notification. Be sure to close the application and to eject/remove your SD card safely from Windows.
Lithium battery:
 
* [https://files.pine64.org/doc/datasheet/pinebook/PL5267103P-3.7V-10000mAh-1S2P58-9-W101-7P正向-11.6.pdf 10000mAH Lithium Battery Specification for 11.6″ model]
 
* [https://files.pine64.org/doc/datasheet/pinebook/40110175P%203.8V%2010000mAh规格书-14.pdf 10000mAH Lithium Battery Specification for 14″ model]
'''Imaging using Phoenix Card'''
 
On Windows, you can also use Phoenix Card (for detailed instructions click [[PhoenixCard|here]]). The Phoenix Card utility works ONLY with images designated as ‘Phoenix Card’ in the downloads section. To use Phoenix Card follow these steps:
 
* Insert your microSD card into your laptop/USB card reader. You may require a SD → microSD converter, as most laptops and desktops only feature a full-size SD card reader. Once the microSD card is plugged into your computer, make sure to take note of the drive it has been assigned (the drive is assigned a letter, e.g. ‘F:’). You will need to remember the ‘letter’ it has been assigned when imaging the OS.
 
* Launch phoenixcard.exe. You will be presented with a ‘disk’ drop-down menu and a field denoted as ‘Img File’. Click on ‘Img File’ and navigate to and select the OS image have downloaded and unarchived. Next, make sure to select the disk that your microSD card has been assigned. '''N.B.''' Pay close attention to the selected drive (remember your letter) – the imaging process will format the selected drive. If you choose the wrong drive all your data will be lost.
 
* Make sure to select ‘Startup!’ from the ‘Write mode’ window and click Burn. Once the image has been written to your microSD card you will receive a confirmation in the ‘option’ window. Be sure to close the application and to eject/remove your SD card safely from Windows.
 
 
----
=== Imaging microSD on Apple OSX ===
 
You will need the following utilities to get started with imaging the OS of your choice onto your microSD card:
* A compression Utility (used to unarchive the OS image). We recommend you use [http://www.7-zip.org/download.html 7Zip].
* A disk image utility (used to ‘burn’ the .img to your SD card in GUI). We recommend you use [http://mac.softpedia.com/get/Utilities/ApplePi-Baker.shtml#download ApplePi Baker] or [https://etcher.io/ Etcher].
 
 
'''N.B.''' Phoenix Card utility and images are NOT available on Apple OSX.
 
 
'''Downloading and extracting OS image(s)'''
 
You can find all OS images under [[#Software_and_OS_Image_Downloads|Software and OS Image Downloads]]. On OSX you can only use images designated as ‘DD’.
 
Having downloaded the required OS image proceed to use 7zip to unarchive it by double clicking the archive, and selecting ‘Extract All’. Upon completion, note the destination where the .img file was extracted (‘Downloads’ folder by default). Once the process has completed, you can proceed to imaging the .img file.
 
 
'''Imaging the microSD card (GUI)'''
 
* Insert your microSD card into your Mac laptop/USB card reader. You may require a SD → microSD converter, as Apple’s laptops and desktops only feature a full-size SD card reader. Once the microSD card is plugged into your computer it should appear in Finder / on your desktop.
 
* Launch Apple-Pi Baker or the etcher utility. Upon startup the application it will ask for your password. When the application launches you will be presented with a field titled ‘IMG file’ and a path of the mounted microSD card (it will look something like this: ‘/dev/diskX 32.0Gb SD card’). Click the ‘IMG file’ button, navigate to and select the OS image you extracted from the archive earlier. Next, select the microSD from the window. '''N.B.''' Pay close attention to the selected drive – the imaging process will format the selected drive. If you choose the wrong drive all your data will be lost.
 
* Having chosen the desired OS image and the correct driver press ‘Restore Backup’. Once the image has been written to your microSD card you will receive a pop-up notification. Be sure to close the application and to eject/remove your SD card safely from your Mac.
 
 
'''Imaging from Terminal'''
 
'''N.B.''' If you are not comfortable using the terminal, please use the GUI method outlined above instead.
 
* Insert your microSD card into your Mac laptop/USB card reader. You may require a SD → microSD converter, as Apple’s laptops and desktops only feature a full-size SD card reader. Once the microSD card is plugged into your computer it should appear in Finder / on your desktop.
 
* Open up your terminal and navigate to the directory where you unarchived your OS image.
 
* Before you start writing to the card, you will have to identify your microSD card. Type: diskutil list and note the output. The disk number should match the size of your SD card and will likely be using ‘Fdisk_partition_scheme’. Having identified the disk number execute the following commands (substitute diskX for your disk and name of image for pine64-image-name.img):
 
''diskutil unmountDisk /dev/diskX
sudo dd if=pine64-image-name.img of=/dev/disk2 bs=1M''
 
* Wait patiently for the process to complete. Be sure to eject/remove your SD card safely from your Mac.
 
 
----
=== Imaging microSD on Linux ===
 
You will need the following utilities to get started with imaging the OS of your choice onto your microSD card:
* A compression Utility (used to unarchive the OS image). We recommend you use [http://www.7-zip.org/download.html 7Zip].
* A disk image utility (used to ‘burn’ the .img to your SD card in GUI). We recommend you use [https://etcher.io/ Etcher] or the [https://git.gnome.org/browse/gnome-disk-utility/ GUI Disks utility] that ships with most popular distros.
 
 
'''N.B.''' Phoenix Card utility and images are NOT available on Linux.
 
 
'''Downloading and extracting OS image(s)'''
 
You can find all OS images under [[#Software_and_OS_Image_Downloads|Software and OS Image Downloads]]. On Linux you can only use images designated as ‘DD’.
 
Having downloaded the required OS image proceed to use 7zip to unarchive it by double clicking the archive, and selecting ‘Extract All’. Upon completion, note the destination where the .img file was extracted (‘Downloads’ folder by default). Once the process has completed, you can proceed to imaging the .img file.


== Other Resources ==
* [https://linux-sunxi.org/Pine_Pinebook Linux Sunxi Wiki page on Pinebook]
* [https://github.com/ayufan-pine64/linux-build/releases Pinebook Linux Github by ayufan]
* [https://github.com/ayufan-pine64/android-7.1/releases Pinebook Android Github by ayufan]
* [https://www.armbian.com/pinebook-a64 Armbian's Pinebook Page]


'''Imaging the microSD card (GUI)'''
== FAQ / Tips and tricks ==


* Insert your microSD card into your Linux laptop/USB card reader. Once the microSD card is plugged into your computer it should appear in your File Manager / on your desktop.
'''Prolong battery life'''


* Launch Disks or the etcher utility (This tutorial outlines how to use Disks, if you wish to learn how to use Etcher please visit [https://etcher.io/ their website]).
How to reduce the max voltage the battery is charged to?


* Upon launching Disks, you will be presented with all volumes visible to your computer. As a rule of thumb, your microSD card should be found at the bottom of listed volumes. Verify this by checking the size and mounting of the microSD card. '''N.B.''' Pay close attention to the selected drive – the imaging process will format the selected drive. If you choose the wrong drive all your data will be lost.
$ cd /sys/class/power_supply/axp20x-battery


* Having selected your microSD card, click the cog menu in top right corner and choose the ‘Restore Disk Image’ option from the drop-down list. Navigate to and select the OS image you extracted from the archive earlier. Once you select it, you will be asked to enter your password and to confirm writing to the chosen volume (microSD card).
Notice that voltage_max_design is writable by root, values are in microvolts. The factory value is 4200000 or 4.2V on my device. This charges to 100% capacity.


* You will be given a predicted time, writing-speed and completion percentage. Once the image has been written to your microSD card you will receive a pop-up notification. Be sure to close the application and to eject/remove your SD card safely from your computer.
$ cat voltage_max_design
4200000


Check the factory value on your device, and record it if it is different. The value depends on the battery installed. You can reduce it to 4.1 V by running the following Linux command as root:


'''Imaging from Terminal'''
$ echo 4100000 > voltage_max_design


'''N.B.''' If you are not comfortable using the terminal, please use the GUI method outlined above instead.
If you are fully charged and on AC, the battery will start discharging until it reaches 4.1 V. This will be about 98% capacity on my device. This prolongs the battery life when you don't need the extra few minutes of offline power. The Linux driver will not let you set the maximum voltage to a value smaller than 4.1V (as of Linux kernel 6.3.8).


* Insert your microSD card into your Linux laptop/USB card reader. Once the microSD card is plugged into your computer it should appear in Finder / on your desktop.
The setting seems to be retained across reboots.
* Open up your terminal and navigate to the directory where you unarchived your OS image.
* Before you start writing to the card, you will have to identify your microSD card.
* Type: ''lsblk'' and pay attention to the listed disks. Disks will appear as ''/dev/sda /dev/sdb'' etc. Look at the drive that matches your microSD card’s size.
* Having located the microSD card use the following command to burn the .img of choice to the microSD card (/dev/sdb used as example): ‘’sudo unmount /dev/sdb1''
* Now you are ready to write the image to the microSD card using this command: ‘’sudo dd if=pine64_image_name.img of=/dev/sdb bs=1M''
* Wait patiently for the process to complete. Be sure to eject/remove your SD card safely from your computer.


'''Key left of Z ( \ | )'''


How to map the key next to Z to the symbols on \ and | (rather than <>)?


== Troubleshooting ==
Choose the alternative international US keyboard layout and variant. The name will depend on your desktop environment:


There is a number of things that can prevent the PINE A64(+) board from booting up properly. The most common culprits of a failed boot are (to find out more click [http://forum.pine64.org/showthread.php?tid=514 here]):
* English (US, alt. intl.)
* English (US, international AltGr Unicode combining, alternative)
* English (US, alternative international)


* Subpar or counterfeit microSD card
'''Note:''' keyboard variants with similar names as the ones above change the upper left key for ` and ~. You have to press that key twice to get the desired char. This happens with the alt-intl variant. Choose the altgr-intl variant (or however it is called in your desktop environment) and it should work as expected.
* Subpar Power Supply
* High resistance (thin) or a very long microUSB cable
* Failed imaging of the microSD card (refer to the respective ‘imaging microSD card section)


Make sure to have the newest version of the OS image your are running. On Linux, you can update the kernel and uboot using scripts located in the following directory: /usr/local/sbin
To set the keyboard layout and variant in the terminal for X-Windows use:


* To navigate to the directory type (in terminal): ''cd /usr/local/sbin''
setxkbmap -layout us -variant altgr-intl
* You list all the available scripts by typing (in terminal): ''ls''
* To run the script required update script run the following command: ''sudo ./update_script.sh'' (substitute the relevant update script for update_script)


The Archlinux Wiki has some good help if you need to tweak your layout further [https://wiki.archlinux.org/index.php/Xorg/Keyboard_configuration#Setting_keyboard_layout]


'''Supported Screen Resolutions'''
'''Key between Fn and Alt (Menu)'''


The pine supports a number of video resolutions under Linux, however RemixOS and Android images currently only support '''720p''' and '''1080p'''. Linux supports a wider range of resolutions (see all resolutions supported on Linux [https://github.com/longsleep/sunxi-disp-tool#available-hdmi-output-names here]). If the native resolution of your monitor or TV is not compatible with the PINE A64(+) then you will be unable to get a video to work with your screen.
How to map the key between Fn and Alt to SUPER / META ?


The initial setup in many desktop environments maps the key between Fn and Alt to MENU. Although the menu key can be useful as well (e.g. spell correction in the browser) many desktop environments and window manager use the Super key for many other useful functions. And users are probably more used to have the META key near Ctrl and Alt.


'''Troubleshooting Step by Step'''
In X-windows the following command maps the key between Fn and Alt to META and the Caps-Lock key to MENU.


Follow these steps to determine the cause of your problem:
setxkbmap -option caps:menu,altwin:alt_super_win


* Check your PSU and microUSB cable ratings
'''Set display brightness in the terminal'''
* Download and image a base image of Linux
* Plug in Power and Ethernet into your Board
* Watch Ethernet port LED activity
* Check your router for PINE A64(+) IP
* Attempt to ssh into the PINE A64(+) from your computer


If your PSU and microUSB meet the criteria, and you have correctly followed the instructions to image your card and power on the board, but you are not seeing any LED activity and cannot ssh into your PINE A64(+) then either the imaging process failed (possibly due to a subpar microSD) OR the PSU / microUSB cable is/are faulty.
To set the display brightness in the terminal use xbacklight (if available in your distro):


If your PSU and microUSB meet the criteria, and you have correctly imaged the OS to your card and power on the board and your can ssh into your PINE A64(+) but get no video feed, then it's likely that the native resolution of your monitor/TV is not supported.
xbacklight -setXX


If neither of the above mentioned scenarios fits the problem you are facing, please consult this thread (thanks to Ghost for compiling the list): http://forum.pine64.org/showthread.php?tid=680
XX is the percentage (%) of brightness. E.g. for 70% brightness


If you cannot find a solution to your problem you can submit a ticket at: https://support.pine64.org/
xbacklight -set70


If you use LXQt you can also use:
pkexec lxqt-backlight_backend --inc
pkexec lxqt-backlight_backend --dec


For an alternative solution please see the scripts discussed in this thread: [https://forum.pine64.org/showthread.php?tid=5062]


== Software and OS Image Downloads ==
'''Get battery % in CLI'''


=== [[Pine_A64_Software_Release|PINE A64(+)]] ===
As ACPI is not compatible with ARM, to gather the % battery this can be used:


'''Note that, PINE A64(+) OS images are <span style="color:#FF0000">not compatible with PINE A64-LTS</span> due to LPDDR3 memory configuration. For PINE A64-LTS, please use the [[#SOPINE|'SOPINE OS images below']].'''
cat /sys/class/power_supply/battery/capacity


Under the [[Pine_A64_Software_Release|'PINE A64(+) Software and OS Image Download Section']] you can find a complete list of currently supported Operating System images that work with the PINE A64(+) as well as other related software. The list includes OS images and descriptions of:
'''Firefox font size'''


* [{{fullurl:Pine_A64_Software_Release#Xenial_Mate}} http://files.pine64.org/sw/pine64_installer/json/mate.png] [[Pine_A64_Software_Release#Xenial_Mate|'''Xenial Mate''']] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [{{fullurl:Pine_A64_Software_Release#Xenial_Base_Image}} http://files.pine64.org/sw/pine64_installer/json/penguin.png] [[Pine_A64_Software_Release#Xenial_Base_Image|'''Xenial Base Image''']] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [{{fullurl:Pine_A64_Software_Release#Xenial_Minimal_Image}} http://files.pine64.org/sw/pine64_installer/json/penguin.png] [[Pine_A64_Software_Release#Xenial_Minimal_Image|'''Xenial Minimal Image''']]
How to get a useful font size with firefox ?


* [{{fullurl:Pine_A64_Software_Release#Android_7.x}} http://files.pine64.org/sw/pine64_installer/json/android.png] [[Pine_A64_Software_Release#Android_7.x|'''Android 7.x''']] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [{{fullurl:Pine_A64_Software_Release#Android_6.x}} http://files.pine64.org/sw/pine64_installer/json/android_6.png] [[Pine_A64_Software_Release#Android_6.x|'''Android 6.x''']] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [{{fullurl:Pine_A64_Software_Release#Android_5.x}} http://files.pine64.org/sw/pine64_installer/json/android.png] [[Pine_A64_Software_Release#Android_5.x|'''Android 5.x''']]
To have every web page displayed in a larger more readable font size type about:config in the search bar and confirm on the first page that you want to make changes. Then search for this parameter:


* [{{fullurl:Pine_A64_Software_Release#Bliss_OS}} http://files.pine64.org/sw/pine64_installer/json/bliss_os.png] [[Pine_A64_Software_Release#Bliss_OS|'''Bliss OS''']]
layout.css.devPixelsPerPx


* [{{fullurl:Pine_A64_Software_Release#openSUSE_Base_Image}} http://files.pine64.org/sw/pine64_installer/json/opensuse.png] [[Pine_A64_Software_Release#openSUSE_Base_Image|'''openSUSE''']]
and modify the value (right click) to something between 1.2 to 1.5 depending on your preferences.


* [{{fullurl:Pine_A64_Software_Release#Armbian}} http://files.pine64.org/sw/pine64_installer/json/armbian.png] [[Pine_A64_Software_Release#Armbian|'''Armbian''']]
In addition to that you can set in Preferences -> General -> Fonts & Color -> Advanced Minimum font size to 16


* [{{fullurl:Pine_A64_Software_Release#Debian_Jessie_Mate}} http://files.pine64.org/sw/pine64_installer/json/debian.png] [[Pine_A64_Software_Release#Debian_Jessie_Mate|'''Debian Jessie Mate''']]
'''Disable wireless power management'''


* [{{fullurl:Pine_A64_Software_Release#Arch_Linux_XFCE}} http://files.pine64.org/sw/pine64_installer/json/archlinux.png] [[Pine_A64_Software_Release#Arch_Linux_XFCE|'''Arch Linux XFCE''']]
If having issues with wifi connectivity, try to disable power management in the 8723cs module options, adding rtw_power_mgnt=0 in /etc/modprobe.d/8723cs.conf


* [{{fullurl:Pine_A64_Software_Release#Fedora_Base_Image}} http://files.pine64.org/sw/pine64_installer/json/fedora.png] [[Pine_A64_Software_Release#Fedora_Base_Image|'''Fedora Base Image''']]
options 8723cs rtw_initmac=00:ba:ch:16:85:46 rtw_power_mgnt=0


* [{{fullurl:Pine_A64_Software_Release#Gentoo}} http://files.pine64.org/sw/pine64_installer/json/gentoo.png] [[Pine_A64_Software_Release#Gentoo|'''Gentoo''']]
'''Touchpad acceleration and scroll direction.'''


* [{{fullurl:Pine_A64_Software_Release#Q4OS}} http://files.pine64.org/sw/pine64_installer/json/q4os.png] [[Pine_A64_Software_Release#Q4OS|'''Q4OS''']]
To set touchpad parameters from the cli you can use the command ''xinput''.
To use it correctly you first need to determine the device id / name for your touchpad. Use
xinput list
to do so.
You are looking for a line like this:
HAILUCK CO.,LTD USB KEYBOARD Mouse      id=7 [slave  pointer  (2)]


* [{{fullurl:Pine_A64_Software_Release#DietPi}} http://files.pine64.org/sw/pine64_installer/json/dietpi.png] [[Pine_A64_Software_Release#DietPi|'''DietPi''']]
With the device id = 7 found you can list the parameters that can be set with ''xinput''.
xinput list-props 7


* [{{fullurl:Pine_A64_Software_Release#openHAB_2}} http://files.pine64.org/sw/pine64_installer/json/openhab.png] [[Pine_A64_Software_Release#openHAB_2|'''openHAB 2''']]
The result looks similar to this:
device 'HAILUCK CO.,LTD USB KEYBOARD Mouse':
...
libinput Natural Scrolling Enabled (256): 0
...
libinput Accel Speed (265): 0.000000
...


* [{{fullurl:Pine_A64_Software_Release#China_NeoKylin_.E2.80.9C.E4.B8.AD.E6.A0.87.E9.BA.92.E9.BA.9F.E2.80.9D}} http://files.pine64.org/sw/pine64_installer/json/neokylin.png] [[Pine_A64_Software_Release#China_NeoKylin_.E2.80.9C.E4.B8.AD.E6.A0.87.E9.BA.92.E9.BA.9F.E2.80.9D|'''China NeoKylin “中标麒麟”''']]
To change the parameter use ''xinput set-prop''


* [{{fullurl:Pine_A64_Software_Release#Volumio_Digital_Audio_Player}} http://files.pine64.org/sw/pine64_installer/json/volumio.png] [[Pine_A64_Software_Release#Volumio_Digital_Audio_Player|'''Volumio Digital Audio Player''']]
To set reverse scrolling for the touchpad use this command
xinput set-prop 7 'libinput Natural Scrolling Enabled' 1


* [{{fullurl:Pine_A64_Software_Release#FalconGate}} http://files.pine64.org/sw/pine64_installer/json/falcongate.png] [[Pine_A64_Software_Release#FalconGate|'''FalconGate''']]
To set mouse speed
xinput set-prop 7 'libinput Accel Speed' 0.95
Check different numbers for 0.95 to meet your needs.


* [{{fullurl:Pine_A64_Software_Release#motionEyeOS}} http://files.pine64.org/sw/pine64_installer/json/motioneyeos.png] [[Pine_A64_Software_Release#motionEyeOS|'''motionEyeOS''']]
For more details on xinput and mouse speed also see the Archlinux Wiki [https://wiki.archlinux.org/index.php/Mouse_acceleration#Using_xinput]




* [{{fullurl:Pine_A64_Software_Release#Windows_10_IoT_Releases}} http://files.pine64.org/sw/pine64_installer/json/win10iot.png] [[Pine_A64_Software_Release#Windows_10_IoT_Releases|'''Windows 10 IoT''']]
[[Category:Pinebook]] [[Category:Allwinner A64]]
 
 
* [{{fullurl:Pine_A64_Software_Release#Remix_OS}} http://files.pine64.org/sw/pine64_installer/json/remix_os.png] [[Pine_A64_Software_Release#Remix_OS|'''Remix OS [DISCONTINUED]''']]
 
 
Provided are also H2testw 1.4 and F3 utilities used for checking microSD card performance, Allwinner's Phoenix Card bootable OS utility and other useful software.
 
 
----
 
=== [[SOPINE_Software_Release|SOPINE/PINE A64-LTS]] ===
 
'''Note that, SOPINE OS images are also compatible with <span style="color:#FF0000">PINE A64-LTS</span>.'''
 
Under the [[SOPINE_Software_Release|'SOPINE Software and OS Image Download Section']] you can find a complete list of currently supported Operating System images that work with the SOPINE as well as other related software. The list includes OS images and descriptions of:
 
* [{{fullurl:SOPINE_Software_Release#Xenial_Mate}} http://files.pine64.org/sw/pine64_installer/json/mate.png] [[SOPINE_Software_Release#Xenial_Mate|'''Xenial Mate''']]
 
* [{{fullurl:SOPINE_Software_Release#Android_7.x}} http://files.pine64.org/sw/pine64_installer/json/android.png] [[SOPINE_Software_Release#Android_7.x|'''Android 7.x''']] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [{{fullurl:SOPINE_Software_Release#Android_6.x}} http://files.pine64.org/sw/pine64_installer/json/android_6.png] [[SOPINE_Software_Release#Android_6.x|'''Android 6.x''']] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [{{fullurl:SOPINE_Software_Release#Android_5.x}} http://files.pine64.org/sw/pine64_installer/json/android.png] [[SOPINE_Software_Release#Android_5.x|'''Android 5.x''']]
 
* [{{fullurl:SOPINE_Software_Release#openSUSE_Base_Image}} http://files.pine64.org/sw/pine64_installer/json/opensuse.png] [[SOPINE_Software_Release#openSUSE_Base_Image|'''openSUSE''']]
 
* [{{fullurl:SOPINE_Software_Release#Armbian}} http://files.pine64.org/sw/pine64_installer/json/armbian.png] [[SOPINE_Software_Release#Armbian|'''Armbian''']]
 
 
 
----
 
=== Quick Links to the Source of OS Images Build ===
'''Some OS images are still in <span style="color:#FF0000">beta or nightly build</span> which are only fit for testing purposes. These should usually be avoided for normal usage, since they are <span style="color:#FF0000">used at your own risk</span>.'''
 
* [https://www.stdin.xyz/downloads/people/longsleep/pine64-images/ longsleep BSP Linux]
* [https://github.com/ayufan-pine64/linux-build/releases/latest/ ayufan Linux]
* [https://github.com/ayufan-pine64/android-7.1/releases/latest/ ayufan Android 7.1] | [https://github.com/ayufan-pine64/android-6.0/releases/latest/ ayufan Android 6.0] | [https://github.com/ayufan-pine64/android-5.1/releases/latest/ ayufan Android 5.1]
* [http://pine64suse.weebly.com/download.html openSUSE]
* [https://dl.armbian.com/pine64/archive/ Armbian] | [https://dl.armbian.com/pine64so/archive/ SOPINE Armbian] | [https://dl.armbian.com/pinebook-a64/archive/ Pinebook Armbian]
* [https://www.pine64.pro/downloads/linux-images/ pine64.org Linux]
* [http://pine64fedora.weebly.com/download.html Fedora]
* [https://forum.pine64.org/showthread.php?tid=1937 Gentoo]
* [https://sourceforge.net/projects/q4os/files/stable/ Q4OS]
* [http://dietpi.com/downloads/images/ DietPi]
* [https://github.com/openhab/openhabian/releases/latest/ openHAB 2]
* [https://volumio.org/get-started/ Volumio Digital Audio Player]
* [https://github.com/A3sal0n/FalconGate/wiki/Downloads FalconGate]
* [https://github.com/ccrisan/motioneyeos/releases/latest/ motionEyeOS]
* [https://downloads.blissroms.com/Bliss/Official/pine-a64+/ Bliss OS] | [https://downloads.blissroms.com/Bliss/Official/pinebook/ Pinebook Bliss OS]
 
 
 
== [[Accessories_Step_by_Step_Guides|Accessories Step-by-Step Guides]] ==
Under [[Accessories_Step_by_Step_Guides|'Guides for PINE A64(+) accessories']] you can find instructions and guides pertaining to:
* Enclosures
* Bluetooth and WiFi module
* Real Time Clock (RTC) battery
* Real Time Clock (RTC) battery holder
* First and third party cases
* Featured 3D printed cases (and more).
 
 
 
== SoC and Memory Specification ==
* Based on Allwinner A64
[[File:Allwinner_A64.jpg]]
 
=== CPU Architecture ===
* [http://www.arm.com/products/processors/cortex-a/cortex-a53-processor.php 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 ===
* [http://www.arm.com/products/multimedia/mali-gpu/ultra-low-power/mali-400.php ARM Mali400MP2 Dual-core GPU]
* Support OpenGL ES 2.0 and OpenVG 1.1 standard
 
=== System Memory ===
* RAM Memory Variants: 512MB, 1GB and 2GB.
* Storage Memory: PINE A64 boards ''do not'' have built-in Flash memory but use '''bootable microSD Cards''' or USB attached storage.
 
 
 
== Board Features ==
 
=== Video ===
* HDMI 1.4a (Type A - full)
 
=== Audio ===
* 3.5mm stereo earphone/microphone plug
 
=== Network ===
* 10/100/1000Mbps Ethernet(PINE A64+ version), 10/100Mbps Ethernet(PINE A64 version)
* WiFi 802.11 b/g/n with Bluetooth 4.0 (optional)
 
=== Storage ===
* microSD - bootable, support SDHC and SDXC, storage up to 256GB
* USB - 2 USB2.0 Host port
 
=== Expansion Ports ===
* DSI - Display Serial Interface, 4 lanes MiPi, up to 1080P
* CSI - CMOS Camera Interface up to 5 mega pixel
* TP - Touch Panel Port, SPI with interrupt
* RTC - Real Time Clock Battery Connector
* VBAT - Lithium Battery Connector with temperature sensor input
* Wifi/BT Module Header - SDIO 3.0 and UART
* 2x20 pins "Pi2" GPIO Header
* 2x17 pins "Euler" GPIO Header
* 2x5 pins "EXP" Console Header
 
 
 
== Pine A64 Board Information and Schematics ==
* Board Dimensions: 133mm x 80mm x 19mm
* Input Power: DC 5V @ 2A, 3.7V Li-Ion battery connector, microUSB connector, Euler connector
* [http://wiki.pine64.org/images/1/1d/Power_Consumption.jpg Power Consumption: 2.5W]
* [http://wiki.pine64.org/images/7/7d/Pine64_Board_Connector.png PINE A64 Connector Layout @courtesy of norm24]
* [http://wiki.pine64.org/images/2/2e/Pine64_Board_Connector_heatsink.png PINE A64 Heat Sink Location @courtesy of norm24]
* [http://wiki.pine64.org/images/d/da/Pine64_Connector.JPG PINE A64 Connector List]
* [http://files.pine64.org/doc/Pine%20A64%20Schematic/Pine%20A64%20Pin%20Assignment%20160119.pdf PINE A64 Pi-2/Eular/Ext Bus/Wifi Bus Connector Pin Assignment (Updated 15/Feb/2016)]
* [http://files.pine64.org/doc/Pine%20A64%20Schematic/A64-DB-Rev%20B-TOP%20Preliminary.pdf PINE A64 PCB dimension]
* [http://wiki.pine64.org/images/b/be/Pine64_Model_Spec.JPG Board Model Comparison]
* PINE A64 Board Schematic:
** [http://files.pine64.org/doc/Pine%20A64%20Schematic/Pine%20A64%20512MB%20rev%20B-2015121601_Release.pdf PINE A64 512MB Rev B Board Schematic]
** [http://files.pine64.org/doc/Pine%20A64%20Schematic/a64-db-rev%20b-20151217-Plus-Release.pdf PINE A64+ 1GB Rev B Board Schematic]
** [http://files.pine64.org/doc/Pine%20A64%20Schematic/Pine%20A64plus%202GB%20Rev%20C-20160113_Release.pdf PINE A64+ 2GB Rev C Board Schematic]
* PINE A64 Certification:
** [http://files.pine64.org/doc/cert/Pine%20A64%20Board%20FCC%20certification%20CCF20160624.jpg PINE A64 FCC Certificate]
** [http://files.pine64.org/doc/cert/Pine%20A64%20Board%20CE%20Certification%20CCF20160624.jpg PINE A64 CE Certificate]
** [http://files.pine64.org/doc/cert/CCF20160627_00000.jpg PINE A64 RoHS Certificate]
 
== Datasheets for Components and Peripherals ==
* Allwinner A64 SoC information:
** [http://files.pine64.org/doc/datasheet/pine64/A64%20brief%20v1.0%2020150323.pdf Allwinner A64 SoC Brief Introduction]
** [http://files.pine64.org/doc/datasheet/pine64/A64_Datasheet_V1.1.pdf Allwinner A64 SoC Data Sheet V1.1 (Official Released Version)]
** [http://files.pine64.org/doc/datasheet/pine64/Allwinner_A64_User_Manual_V1.0.pdf Allwinner A64 SoC User Manual V1.0 (Official Release Version)]
* X-Powers AXP803 PMU (Power Management Unit) information:
** [http://files.pine64.org/doc/datasheet/pine64/AXP803_Datasheet_V1.0.pdf AXP803 PMIC Datasheet]
* '''PINE A64, PINE A64+ and SOPINE Related:'''
** 5MPixel CMOS Camera module information:
*** [http://files.pine64.org/doc/datasheet/pine64/YL-PINE64-4EC.pdf PINE64 YL-PINE64-4EC 5M Pixel CMOS Image Sensor Module (Description in Chinese)]
*** [http://files.pine64.org/doc/datasheet/pine64/S5K4EC%205M%208%205X8%205%20PLCC%20%20Data%20Sheet_V1.0.pdf S5K4EC 5MP CMOS Image Sensor SoC Module Datasheet]
*** [http://files.pine64.org/doc/datasheet/pine64/S5K4ECGX_EVT1_DataSheet_R005_20100816.pdf S5K4EC 5MP CMOS Image Sensor SoC Chip Datasheet]
*** [http://files.pine64.org/doc/datasheet/pine64/s5k4ec.c S5K4EC 5MP CMOS Image Sensor Driver Source Code in C language]
*** Early version Camera module information:
**** [http://files.pine64.org/doc/datasheet/pine64/D116-A64_Bonsen_cmos_camera.pdf Bonsen Kexin V118-A64-GC2145-HM5065 CMOS Image Sensor Module]
**** [http://files.pine64.org/doc/datasheet/pine64/HM5065-DS-V03.pdf HiMax 5MP CMOS Image Sensor SoC]
** LCD Touch Screen Panel information:
*** [http://files.pine64.org/doc/datasheet/pine64/FY07024DI26A30-D_feiyang_LCD_panel.pdf 7.0" 1200x600 TFT-LCD Panel Specification]
*** [http://files.pine64.org/doc/datasheet/pine64/HK70DR2459-PG-V01.pdf Touch Panel Specification]
*** [http://files.pine64.org/doc/datasheet/pine64/GT911%20Capacitive%20Touch%20Controller%20Datasheet.pdf GOODiX GT911 5-Point Capacitive Touch Controller Datasheet]
** Lithium Battery information:
*** [http://files.pine64.org/doc/datasheet/pine64/9070120P%203.7V%208000MAH.pdf 8000mAH Lithium Battery Specification]
** Ethernet PHY information:
*** [http://files.pine64.org/doc/datasheet/pine64/rtl8211e(g)-vb(vl)-cg_datasheet_1.6.pdf Realtek RTL8211 10/100/1000M Ethernet Transceiver for PINE A64+ Board]
*** [http://files.pine64.org/doc/datasheet/pine64/rtl8201cp.pdf Realtek RTL8201 10/100M Ethernet Transceiver for PINE A64 Board]
** Wifi/BT module information:
*** [http://files.pine64.org/doc/datasheet/pine64/RTL8723BS.pdf Realtek RTL8723BS WiFi with BT SDIO]
** Enclosure information:
*** [http://files.pine64.org/doc/datasheet/case/playbox_enclosure_20160426.stp Playbox Enclosure 3D file]
*** [http://files.pine64.org/doc/datasheet/case/ABS_enclosure_20160426.stp ABS Enclosure 3D file]
*** [http://files.pine64.org/doc/datasheet/case/pine64%20Die%20Cast%20casing-final.jpg Outdoor Aluminum Cast Dust-proof IP67 Enclosure Drawing]
** Connector information:
*** [http://files.pine64.org/doc/datasheet/pine64/ePH.pdf 2.0mm PH Type connector specification use in Lithium Battery (VBAT) port and RTC Battery port]
*** [http://files.pine64.org/doc/datasheet/pine64/0.5FPC%20Front%20Open%20Connector%20H=1.5.pdf 0.5mm Pitch cover type FPC connector specification use in DSI port, TP port and CSI port]
** Remote control button mapping
*** [http://files.pine64.org/doc/Pine%20A64%20Schematic/remote-wit-logo.jpg Official Remote Control for the PINE A64 Button Mapping]
 
* '''Pinebook Related:'''
** LCD Panel:
*** [http://files.pine64.org/doc/datasheet/pinebook/11.6inches-TFT-LCD%20Approval%20Specification%20N116BGE-E42%20Ver%203.0.pdf 11.6" LCD Panel datasheet]
*** [http://files.pine64.org/doc/datasheet/pinebook/14inches-HB140WX1-501(%20EDP1.2)%20Preliminary%20Product%20specification.pdf 14" LCD Panel datasheet]
** Touchpad information:
*** [http://files.pine64.org/doc/datasheet/pinebook/11-Toucpad-HK-9058%20specification.pdf Touchpad Specification for 11.6" model]
*** [http://files.pine64.org/doc/datasheet/pinebook/14-Touchpad-HK-9562%20specification.pdf Touchpad Specification for 14" model]
** Camera sensor:
*** [http://files.pine64.org/doc/datasheet/pinebook/ZC-RZ3762-3703%C2%A0S1.0-Camera-Module%20spec.pdf VGA Camera module specification]
*** [http://files.pine64.org/doc/datasheet/pinebook/VGA-CMOS-Sensor--BF3703%20Datasheet.pdf VGA Camera Sensor Data Sheet]
** Lithium Battery information:
*** [http://files.pine64.org/doc/datasheet/pinebook/PL5267103P-3.7V-10000mAh-1S2P58-9-W101-7P正向-11.6.pdf 10000mAH Lithium Battery Specification for 11.6" model]
*** [http://files.pine64.org/doc/datasheet/pinebook/40110175P%203.8V%2010000mAh规格书-14.pdf 10000mAH Lithium Battery Specification for 14" model]
 
== Pine A64 POT ==
* [[POT|PINE A64 Peripheral On Top (POT) and Related Devices]]
* [[Wifi_Remote_I2c|WiFi Remote I2c Quick Start Guide]]
 
 
 
== Other Resources ==
* [http://linux-sunxi.org/Pine64#Manufacturer_images Linux Sunxi Wiki page on PINE A64]
* [https://github.com/umiddelb/z2d/tree/master/pine64 Collection of scripts to set up a minimal Xenial 14.04.3 / Debian 8 Jessie root filesystem Contributed By Uli Middelberg]
* [https://github.com/apritzel/pine64 Linux Image created by Andre Przywara]
* [http://blog.hypriot.com/post/the-pine-a64-is-about-to-become=the-cheapest-ARM-64-bit-platform-to-run-Docker/ PINE A64 with HypriotOS by Dieter and Govinda]
* [https://sosfakeflash.wordpress.com/2008/09/02/h2testw-14-gold-standard-in-detecting-usb-counterfeit-drives/comment-page-3/#comment-9861 H2testw 1.4 – Gold Standard In Detecting USB Counterfeit Drives]
* [http://oss.digirati.com.br/f3/ F3 - an alternative to h2testw]
* [http://www.phoronix.com/scan.php?page=article&item=pine-64-benchmark&num=1 Benchmarking The Low-Cost PINE 64+ ARM Single Board Computer by Michael Larabel]
* [https://github.com/longsleep/build-pine64-image PINE64 Linux build scripts, tools and instructions by Longsleep]
* [https://www.stdin.xyz/downloads/people/longsleep/pine64-images/ PINE64 Linux image by Longsleep]
* [https://www.youtube.com/playlist?list=PLgj96wTPcMKffRm_Sk6673Nfy_I6b5UJW A series of Youtube video on PINE A64 Developers Board by Michael Larson]
* [http://rayhightower.com/blog/2016/04/04/pine64-quick-start-guide-using-mac-os-x/ PINE64 Quick Start Guide (with Gotchas)]
* [http://softwarebakery.com/shrinking-images-on-linux Shrinking images on Linux by FrozenCow]

Latest revision as of 17:15, 27 June 2023

The Pinebook

The Pinebook is an 11.6″ or 11.6″ with 1080P IPS panel or 14″ notebook powered by the same quad-core ARM Cortex A53 64-Bit Processor used in our popular PINE A64 Single Board Computer. It is very lightweight, hackable and comes equipped with a full-sized keyboard and large multi-touch trackpad. It runs numerous mainline Linux distributions as well as *BSD and Android.

Software releases

Under Pinebook Software Releases you will find a complete list of currently supported Operating System images that work with the Pinebook as well as other related software.

Variants

The following variants exist of the Pinebook:

  • Pinebook 11.6″
  • Pinebook 11.6″ 1080p
  • Pinebook 14″

More information can be found on the sunxi wiki.

Pinebook Service Step-by-Step Guides

These are instruction guides for the disassembly:

Note: The installation process is the reverse order of removal guide

11.6″ Pinebook:

14″ Pinebook:

Pinebook Information

  • Dimensions: 299mm x 200mm x 12mm (WxDxH - 11″ Pinebook); 329mm x 220mm x 12mm (WxDxH - 14″ Pinebook)
  • Weight: 1.04Kg (11″ Pinebook); 1.26Kg (14″ Pinebook)#
  • Input Power: DC 5V @ 3A

SoC and Memory Specification

  • Based on Allwinner A64
Allwinner A64.jpg

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:

  • System RAM Memory: 2GB
  • Storage Memory: 16GB eMMC module, can be upgrade to 32GB or 64GB eMMC module

Battery:

  • Lithium Polymer Battery (10,000mAH)

Video:

  • Mini Digital Video Port (Type A - mini)

Audio:

  • 3.5mm stereo earphone/microphone plug

Network:

  • WiFi 802.11 b/g/n with Bluetooth 4.0
  • 10/100Mbps USB Ethernet Dongle (Optional)

Storage:

  • microSD - bootable, support SDHC and SDXC, storage up to 256GB
  • USB - 2 USB2.0 Host port

Expansion Ports:

  • mini Digital Video port
  • microSD card port - support SD, SDHC, SDXC uo to 256GB
  • 2x USB 2.0 port
  • earphone plug with UART console mux circuit

Pinebook Schematics and Certifications

Mainboard schematics:

Daughter Board schematics:

Serial Console Earphone Jack pinout:

Certifications:

Datasheets for Components and Peripherals

Allwinner A64 SoC:

X-Powers AXP803 PMU (Power Management Unit):

LPDDR3:

eMMC:

SPI NOR flash:

WiFi/BT module:

LCD Panel:

Touchpad:

Camera sensor:

Lithium battery:

Other Resources

FAQ / Tips and tricks

Prolong battery life

How to reduce the max voltage the battery is charged to?

$ cd /sys/class/power_supply/axp20x-battery

Notice that voltage_max_design is writable by root, values are in microvolts. The factory value is 4200000 or 4.2V on my device. This charges to 100% capacity.

$ cat voltage_max_design 
4200000

Check the factory value on your device, and record it if it is different. The value depends on the battery installed. You can reduce it to 4.1 V by running the following Linux command as root:

$ echo 4100000 > voltage_max_design

If you are fully charged and on AC, the battery will start discharging until it reaches 4.1 V. This will be about 98% capacity on my device. This prolongs the battery life when you don't need the extra few minutes of offline power. The Linux driver will not let you set the maximum voltage to a value smaller than 4.1V (as of Linux kernel 6.3.8).

The setting seems to be retained across reboots.

Key left of Z ( \ | )

How to map the key next to Z to the symbols on \ and | (rather than <>)?

Choose the alternative international US keyboard layout and variant. The name will depend on your desktop environment:

  • English (US, alt. intl.)
  • English (US, international AltGr Unicode combining, alternative)
  • English (US, alternative international)

Note: keyboard variants with similar names as the ones above change the upper left key for ` and ~. You have to press that key twice to get the desired char. This happens with the alt-intl variant. Choose the altgr-intl variant (or however it is called in your desktop environment) and it should work as expected.

To set the keyboard layout and variant in the terminal for X-Windows use:

setxkbmap -layout us -variant altgr-intl

The Archlinux Wiki has some good help if you need to tweak your layout further [1]

Key between Fn and Alt (Menu)

How to map the key between Fn and Alt to SUPER / META ?

The initial setup in many desktop environments maps the key between Fn and Alt to MENU. Although the menu key can be useful as well (e.g. spell correction in the browser) many desktop environments and window manager use the Super key for many other useful functions. And users are probably more used to have the META key near Ctrl and Alt.

In X-windows the following command maps the key between Fn and Alt to META and the Caps-Lock key to MENU.

setxkbmap -option caps:menu,altwin:alt_super_win

Set display brightness in the terminal

To set the display brightness in the terminal use xbacklight (if available in your distro):

xbacklight -setXX 

XX is the percentage (%) of brightness. E.g. for 70% brightness

xbacklight -set70

If you use LXQt you can also use:

pkexec lxqt-backlight_backend --inc
pkexec lxqt-backlight_backend --dec

For an alternative solution please see the scripts discussed in this thread: [2]

Get battery % in CLI

As ACPI is not compatible with ARM, to gather the % battery this can be used:

cat /sys/class/power_supply/battery/capacity

Firefox font size

How to get a useful font size with firefox ?

To have every web page displayed in a larger more readable font size type about:config in the search bar and confirm on the first page that you want to make changes. Then search for this parameter:

layout.css.devPixelsPerPx

and modify the value (right click) to something between 1.2 to 1.5 depending on your preferences.

In addition to that you can set in Preferences -> General -> Fonts & Color -> Advanced Minimum font size to 16

Disable wireless power management

If having issues with wifi connectivity, try to disable power management in the 8723cs module options, adding rtw_power_mgnt=0 in /etc/modprobe.d/8723cs.conf

options 8723cs rtw_initmac=00:ba:ch:16:85:46 rtw_power_mgnt=0

Touchpad acceleration and scroll direction.

To set touchpad parameters from the cli you can use the command xinput. To use it correctly you first need to determine the device id / name for your touchpad. Use

xinput list

to do so. You are looking for a line like this:

HAILUCK CO.,LTD USB KEYBOARD Mouse      	id=7	[slave  pointer  (2)]

With the device id = 7 found you can list the parameters that can be set with xinput.

xinput list-props 7

The result looks similar to this:

device 'HAILUCK CO.,LTD USB KEYBOARD Mouse':
...
libinput Natural Scrolling Enabled (256):	0
...
libinput Accel Speed (265):	0.000000
...

To change the parameter use xinput set-prop

To set reverse scrolling for the touchpad use this command

xinput set-prop 7 'libinput Natural Scrolling Enabled' 1

To set mouse speed

xinput set-prop 7 'libinput Accel Speed' 0.95

Check different numbers for 0.95 to meet your needs.

For more details on xinput and mouse speed also see the Archlinux Wiki [3]