<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pine64.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dsimic</id>
	<title>PINE64 - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pine64.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dsimic"/>
	<link rel="alternate" type="text/html" href="https://wiki.pine64.org/wiki/Special:Contributions/Dsimic"/>
	<updated>2026-05-15T22:59:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=QuartzPro64_Development&amp;diff=21708</id>
		<title>QuartzPro64 Development</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=QuartzPro64_Development&amp;diff=21708"/>
		<updated>2025-01-01T01:09:31Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Documentation */ Added link to Rockchip RK3588 EVB User Guide&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Quartzpro64_whole_board_top_resized.jpeg|250px|thumb|right|The QuartzPro64 development board, front side]]&lt;br /&gt;
[[File:BoardBackSide.jpg|250px|thumb|right|Back side of the board]]&lt;br /&gt;
&lt;br /&gt;
A '''QuartzPro64 Development''' Wiki page before a '''QuartzPro64''' Wiki page? It's more likely than you think!&lt;br /&gt;
&lt;br /&gt;
This page will be used for both documenting the current development efforts and the board in general, as we don't know yet how a generally available QuartzPro64 will look like so documenting the dev board is probably best left to the development page.&lt;br /&gt;
&lt;br /&gt;
== Obtaining a Development Board ==&lt;br /&gt;
&lt;br /&gt;
Register for a preorder: [https://preorder.pine64.org/#/quartzpro64 https://preorder.pine64.org/#/quartzpro64]&lt;br /&gt;
&lt;br /&gt;
== Upstreaming Status ==&lt;br /&gt;
&lt;br /&gt;
* Upstream Linux kernel DT: https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts&lt;br /&gt;
* Upstream U-Boot DT: https://github.com/u-boot/u-boot/blob/master/arch/arm/dts/rk3588-quartzpro64-u-boot.dtsi&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable plainrowheaders&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Function&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; colspan=&amp;quot;2&amp;quot; | Status&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Component&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Notes&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Video Output&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs porting&lt;br /&gt;
| &amp;lt;code&amp;gt;VOP2&amp;lt;/code&amp;gt;&lt;br /&gt;
| Collabora said they'll work on this. The video output IP on the RK3588 should mostly be the same as the one on the RK356x, but the chip specific stuff will need to be integrated into the vop2 driver.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Video Input&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs porting&lt;br /&gt;
| &amp;lt;code&amp;gt;rk_hdmirx&amp;lt;/code&amp;gt;&lt;br /&gt;
| Huge 3600 line driver, but generally seems to be in good condition&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 3D Acceleration &lt;br /&gt;
| style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs writing&lt;br /&gt;
| style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs writing&lt;br /&gt;
| &amp;lt;code&amp;gt;panfrost&amp;lt;/code&amp;gt;&lt;br /&gt;
| Collabora said they'll work on this. New architecture, reportedly needs many changes to the kernel component of Panfrost.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; rowspan=&amp;quot;4&amp;quot; | Video Decode &lt;br /&gt;
| style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs writing&lt;br /&gt;
| style=&amp;quot;background:LightYellow; text-align:center;&amp;quot; rowspan=&amp;quot;4&amp;quot;|GStreamer only, no ffmpeg&amp;lt;sup&amp;gt;[https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=2898]&amp;lt;/sup&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;hantro&amp;lt;/code&amp;gt; using &amp;lt;code&amp;gt;v4l2-requests&amp;lt;/code&amp;gt;&lt;br /&gt;
| VDPU121 handling 1080p60 H.263/MPEG-4, MPEG-1 and MPEG-2&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs writing&lt;br /&gt;
| &amp;lt;code&amp;gt;rkvdec2&amp;lt;/code&amp;gt; using &amp;lt;code&amp;gt;v4l2-requests&amp;lt;/code&amp;gt;&lt;br /&gt;
| Nobody is known to be working on this for now. VDPU346 handling 8K60 H.265, H.264, VP9 and AVS&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs writing&lt;br /&gt;
| &amp;lt;code&amp;gt;rkdjpeg&amp;lt;/code&amp;gt; using &amp;lt;code&amp;gt;v4l2-requests&amp;lt;/code&amp;gt;&lt;br /&gt;
| [[User:CounterPillow]] is doing a little work on this. VDPU720 handling JPEG&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background:LightYellow; text-align:center;&amp;quot;|In review&amp;lt;sup&amp;gt;[https://patchwork.kernel.org/project/linux-rockchip/list/?series=721724]&amp;lt;/sup&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;hantro&amp;lt;/code&amp;gt; using &amp;lt;code&amp;gt;v4l2-requests&amp;lt;/code&amp;gt;&lt;br /&gt;
| Collabora is working on this. VDPU981 handling 4K60 AV1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; rowspan=&amp;quot;3&amp;quot; | Video Encode &lt;br /&gt;
| style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs writing&lt;br /&gt;
| style=&amp;quot;text-align:center; background:LightYellow;&amp;quot;|GStreamer only&lt;br /&gt;
| JPEG on VEPU121&lt;br /&gt;
| Driver already exists, only minor changes needed.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs writing&lt;br /&gt;
| style=&amp;quot;text-align:center;&amp;quot;|?&lt;br /&gt;
| H.264 on VEPU580&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs writing&lt;br /&gt;
| style=&amp;quot;text-align:center;&amp;quot;|?&lt;br /&gt;
| H.265 on VEPU580&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; rowspan=&amp;quot;2&amp;quot; | Audio &lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;  style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip-i2s-tdm&amp;lt;/code&amp;gt;&lt;br /&gt;
| As of 6.2&amp;lt;sup&amp;gt;[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c619bd4268ff9895760dab303b4eb15ed3d0f7e9]&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;es8388&amp;lt;/code&amp;gt; CODEC&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | CRU&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;clk-rk3588&amp;lt;/code&amp;gt;&lt;br /&gt;
| As of 6.2&amp;lt;sup&amp;gt;[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f1c506d152ff235ad621d3c25d061cb16da67214]&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | MMC&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;sdhci-of-dwcmshc&amp;lt;/code&amp;gt;&lt;br /&gt;
| As of 5.19&amp;lt;sup&amp;gt;[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bbbd8872825310b14bc6e04250d2cb5edcd55edb]&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | pinctrl&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;pinctrl-rockchip&amp;lt;/code&amp;gt;&lt;br /&gt;
| As of 5.19&amp;lt;sup&amp;gt;[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fdc33eba11c5919199f3d13dc53571cc7bf19d7d]&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | GPIO&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip-gpio&amp;lt;/code&amp;gt;&lt;br /&gt;
| As of 6.1&amp;lt;sup&amp;gt;[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cc165ba48aaf7d792e99d0c7e4b12e9625bc73e3]&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | I&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;C&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;  style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;rk3x-i2c&amp;lt;/code&amp;gt;&lt;br /&gt;
| Should be the same as RK3399, just needs devicetree work&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | SPI&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;  style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip-spi&amp;lt;/code&amp;gt;&lt;br /&gt;
| Should be the same as previous SoCs, just needs devicetree work&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | PMU&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;  style=&amp;quot;background:LightYellow; text-align:center;&amp;quot;|In review&amp;lt;sup&amp;gt;[https://patchwork.kernel.org/project/linux-rockchip/list/?series=687286]&amp;lt;/sup&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;rk806&amp;lt;/code&amp;gt;&lt;br /&gt;
| Talks over SPI&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Regulators&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;  style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs porting&lt;br /&gt;
| &amp;lt;code&amp;gt;rk860&amp;lt;/code&amp;gt;&lt;br /&gt;
| Talks over I&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;C&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | GMAC&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;  style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;dwmac-rk&amp;lt;/code&amp;gt;&lt;br /&gt;
| As of 6.1&amp;lt;sup&amp;gt;[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2f2b60a0ec2826e5a2b2a1ddf68994a868dccbc1]&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Power Domains&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;  style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip-pm-domain&amp;lt;/code&amp;gt;&lt;br /&gt;
| As of 6.1&amp;lt;sup&amp;gt;[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6541b424ce1dda616d3946e839f015c984df7a99]&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | CAN&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs porting&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip_canfd&amp;lt;/code&amp;gt;&lt;br /&gt;
| Not broken out on the QuartzPro64, so we probably won't be the ones porting it&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | SPDIF TX&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:#F99; text-align:center;&amp;quot;|May need porting&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip-spdif&amp;lt;/code&amp;gt;&lt;br /&gt;
| Genuinely just needs the compatible string added, I think, otherwise we're all good. Not broken out on QuartzPro64 dev board&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | SPDIF RX&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs porting&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip-spdifrx&amp;lt;/code&amp;gt;&lt;br /&gt;
| Not broken out on QuartzPro64 dev board&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | PCIe&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:#F99; text-align:center;&amp;quot;|May need porting&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip-dw-pcie&amp;lt;/code&amp;gt;&lt;br /&gt;
| Downstream driver and upstream are quite different, look into how much work actually needs doing. Seems to be the same controller as rk3568 so maybe none?&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | NPU&lt;br /&gt;
| style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs porting/writing&lt;br /&gt;
| style=&amp;quot;text-align:center;&amp;quot;|?&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip-rknpu&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | USB 2.0&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:LightYellow; text-align:center;&amp;quot;|In review&amp;lt;sup&amp;gt;[https://patchwork.kernel.org/project/linux-rockchip/list/?series=749871]&amp;lt;/sup&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;phy-rockchip-inno-usb2&amp;lt;/code&amp;gt;&lt;br /&gt;
| There's probably more to USB 2 than just the PHY but this is what I found for now&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | USB 3.0&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:#F99; text-align:center;&amp;quot;|?&lt;br /&gt;
| &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | SATA&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;ahci-dwc&amp;lt;/code&amp;gt;&lt;br /&gt;
| Just needs the compatible added to the bindings, done in [https://patchwork.kernel.org/project/linux-rockchip/list/?series=749876]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Thermal&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:LightYellow; text-align:center;&amp;quot;|In review&amp;lt;sup&amp;gt;[https://patchwork.kernel.org/project/linux-rockchip/list/?series=687619]&amp;lt;/sup&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip-thermal&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Wifi &amp;amp; Bluetooth&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:#F99; text-align:center;&amp;quot;|?&lt;br /&gt;
| &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | HWRNG&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs porting&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip-rng&amp;lt;/code&amp;gt;&lt;br /&gt;
| The code &amp;amp; DT work is easy to port &amp;amp; working&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | RTC&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;hym8563&amp;lt;/code&amp;gt;&lt;br /&gt;
| Should only need DT work (see [https://patchwork.kernel.org/project/linux-rockchip/list/?series=736799 here] for an example)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | OTP&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:LightYellow; text-align:center;&amp;quot;|In review&amp;lt;sup&amp;gt;[https://patchwork.kernel.org/project/linux-rockchip/list/?series=744118]&amp;lt;/sup&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip-otp&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | SARADC&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:LightYellow; text-align:center;&amp;quot;|In review&amp;lt;sup&amp;gt;[https://patchwork.kernel.org/project/linux-rockchip/list/?series=748188]&amp;lt;/sup&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip_saradc&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[File:Quartzpro64_soc_and_ram_resized.jpeg|200px|thumb|right|The SoC and RAM packages]]&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
&lt;br /&gt;
* RK3588 SoC (8 cores: 4x A76 at 2.4&amp;amp;nbsp;GHz + 4x A55 at 1.8&amp;amp;nbsp;GHz)&lt;br /&gt;
* Mali G610MC4 GPU (4x Valhalla cores)&lt;br /&gt;
* 16&amp;amp;nbsp;GB of LPDDR4X (SK hynix)&lt;br /&gt;
* 64&amp;amp;nbsp;GB eMMC (Foresee, soldered)&lt;br /&gt;
* 1x USB-C (with video-alt mode)&lt;br /&gt;
* 1x USB-C (FTDI debug UART, FT232RL)&lt;br /&gt;
* 1x USB 3.0&lt;br /&gt;
* 2x USB 2.0&lt;br /&gt;
* 1x HDMI in&lt;br /&gt;
* 2x HDMI out&lt;br /&gt;
* 1x PCIe 3.0 slot (open-ended)&lt;br /&gt;
* 1x SD / TF card slot&lt;br /&gt;
* 2x SATA ports&lt;br /&gt;
* 2x Gigabit Ethernet (1x from SoC, 1x on PCIe, RTL8211F, RTL8111HS)&lt;br /&gt;
* 1x WiFi &amp;amp; Bluetooth module (AMPAK Tech AP6275PR3)&lt;br /&gt;
* 2x SMA Antenna&lt;br /&gt;
* 2x MIPI DPHY&lt;br /&gt;
* 1x MIPI D/C PHY&lt;br /&gt;
* 1x MIPI CSI&lt;br /&gt;
* 1x PWM Fan header (four pins)&lt;br /&gt;
* 1x RTC battery socket (CR1220, 3&amp;amp;nbsp;V, see [[#Documentation|QuartzPro64 board schematics PDF]], page 21)&lt;br /&gt;
* 1x MIC (soldered)&lt;br /&gt;
* 1x audio output 3.5&amp;amp;nbsp;mm jack&lt;br /&gt;
* DC 12&amp;amp;nbsp;V power input&lt;br /&gt;
&lt;br /&gt;
=== Cooler ===&lt;br /&gt;
&lt;br /&gt;
The board comes with two cooler mounts, a 4-hole mount that appears to be spaced 55x55mm apart, and the ~60mm diagonal &amp;quot;northbridge heatsink&amp;quot; mount the ROCKPro64 and Quartz64 Model A uses.&lt;br /&gt;
&lt;br /&gt;
RK3588 is slightly (&amp;lt;1mm?) taller than the DRAM chips, use a thick enough thermal pad instead of thermal compound.&lt;br /&gt;
&lt;br /&gt;
=== UART ===&lt;br /&gt;
&lt;br /&gt;
Plug in the USB-C port labelled &amp;quot;&amp;lt;tt&amp;gt;DEBUG PORT&amp;lt;/tt&amp;gt;&amp;quot; on the QP64 board to another computer with a USB-A-to-C cable.&lt;br /&gt;
&lt;br /&gt;
It will show up as a FT232 USB Serial adapter in &amp;lt;code&amp;gt;lsusb&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ lsusb&lt;br /&gt;
[...]&lt;br /&gt;
Bus 005 Device 027: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC&lt;br /&gt;
[...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Baud rate is 1.5 mbauds or 1500000.&lt;br /&gt;
&lt;br /&gt;
Ensure you have the driver module loaded:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# modprobe ftdi_sio&lt;br /&gt;
# lsmod | grep ftdi_sio&lt;br /&gt;
ftdi_sio               61440  0&lt;br /&gt;
usbserial              53248  1 ftdi_sio&lt;br /&gt;
usbcore               290816  7 ftdi_sio,usbserial,xhci_hcd,usbhid,usbkbd,usbmouse,xhci_pci&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the above is not working, check the required driver is supported by your kernel, using one of the following commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ zgrep FTDI_SIO /proc/config.gz&lt;br /&gt;
CONFIG_USB_SERIAL_FTDI_SIO=m&lt;br /&gt;
$ grep FTDI_SIO &amp;quot;/boot/config-$(uname -r)&amp;quot;&lt;br /&gt;
CONFIG_USB_SERIAL_FTDI_SIO=m&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the &amp;lt;code&amp;gt;dmesg&amp;lt;/code&amp;gt; command, you should see something like the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[24784.535804] usb 5-3: new full-speed USB device number 3 using xhci_hcd&lt;br /&gt;
[24784.710714] usb 5-3: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00&lt;br /&gt;
[24784.710723] usb 5-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3&lt;br /&gt;
[24784.710725] usb 5-3: Product: FT232R USB UART&lt;br /&gt;
[24784.710727] usb 5-3: Manufacturer: FTDI&lt;br /&gt;
[24784.710728] usb 5-3: SerialNumber: A10LLO86&lt;br /&gt;
[24784.723858] usbcore: registered new interface driver usbserial_generic&lt;br /&gt;
[24784.723865] usbserial: USB Serial support registered for generic&lt;br /&gt;
[24784.725286] usbcore: registered new interface driver ftdi_sio&lt;br /&gt;
[24784.725295] usbserial: USB Serial support registered for FTDI USB Serial Device&lt;br /&gt;
[24784.725348] ftdi_sio 5-3:1.0: FTDI USB Serial Device converter detected&lt;br /&gt;
[24784.725368] usb 5-3: Detected FT232RL&lt;br /&gt;
[24784.731685] usb 5-3: FTDI USB Serial Device converter now attached to ttyUSB0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you can get console output from the QP64 with, for example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
screen /dev/ttyUSB0 1500000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting Holes ===&lt;br /&gt;
&lt;br /&gt;
Mounting holes are 3&amp;amp;nbsp;mm in diameter, so standard standoffs can be used, preferably the 2.5&amp;amp;nbsp;mm variant.  See also the PCB layout PDF files, linked in the [https://wiki.pine64.org/wiki/QuartzPro64_Development#Documentation Documentation] section.&lt;br /&gt;
&lt;br /&gt;
The height from the bottom of the PCB to the top of the USB ports as the tallest components is 18&amp;amp;nbsp;mm, which can be used as a data point for selecting the suitable standoff length to place some acrylic top cover over the board.  However, that doesn't account for the heatsink that needs to be mounted on the RK3588 SoC, for which a suitable rectangular hole can be cut in the top cover.&lt;br /&gt;
&lt;br /&gt;
=== Storage ===&lt;br /&gt;
&lt;br /&gt;
[[File:Quartzpro64_emmc_resized.jpeg|200px|thumb|right|The eMMC on the dev board]]&lt;br /&gt;
&lt;br /&gt;
* Soldered 64&amp;amp;nbsp;GB FORESEE eMMC chip, which comes pre-flashed with some Android build&lt;br /&gt;
* One microSD card slot&lt;br /&gt;
* Two SATA 3.0 ports (standard Molex power connector is not populated)&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
&lt;br /&gt;
[[File:Power_and_switch.jpg|100px|thumb|right|Power switch &amp;amp; barrel connector]]&lt;br /&gt;
&lt;br /&gt;
You can provide power to the board via the 12V barrel connector, it's 5.5mm OD/2.1mm ID barrel 'coaxial' type &amp;quot;M&amp;quot; centre-positive, the ROCKPro64 5A power supply from the PINE64 store will work. (TODO: add alternative ways).&lt;br /&gt;
&lt;br /&gt;
There is a hardware flip switch to power up / down the board.&lt;br /&gt;
&lt;br /&gt;
=== PMU ===&lt;br /&gt;
&lt;br /&gt;
[[File:Quartzpro64_pmu.jpeg|100px|thumb|right|The PMU]]&lt;br /&gt;
&lt;br /&gt;
2x RK806-2, not RK808 compatible. It's a dual PMU configuration where one PMU is a subordinate of the other.&lt;br /&gt;
&lt;br /&gt;
Verify this once we have access to SDK sources.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet ===&lt;br /&gt;
&lt;br /&gt;
The RGMII ethernet port (near the SDCARD socket) is working if you use neg2led's linux-quartz64 repo.&lt;br /&gt;
&lt;br /&gt;
The other port (near the sound jack) is hooked to the SoC via PCIe and is currently reported working (on the matrix channel) with latest neggles kernel.&lt;br /&gt;
&lt;br /&gt;
== Boot ==&lt;br /&gt;
&lt;br /&gt;
The board can boot from the following interfaces:&lt;br /&gt;
* SPI&lt;br /&gt;
* eMMC&lt;br /&gt;
* SD/MMC&lt;br /&gt;
&lt;br /&gt;
TODO: in which priority / order are those boot options tried ?&lt;br /&gt;
&lt;br /&gt;
== Recovery ==&lt;br /&gt;
&lt;br /&gt;
In the case you erase the eMMC and are unable to boot the board, you can use rkdeveloptool to recover the board. While you can use the [https://gitlab.com/pine64-org/quartz-bsp/rkdeveloptool Pine64 Fork], it is recommended to use [https://gitlab.com/cypheon/rkdeveloptool/-/tree/main?ref_type=heads cypheon's Fork] until some Pending PRs are merged in to [https://gitlab.com/pine64-org/quartz-bsp/rkdeveloptool/-/merge_requests?scope=all&amp;amp;state=opened&amp;amp;author_username=cypheon resolve issues] with larger files. This is important when working with the larger 64&amp;amp;nbsp;GB eMMC on the QuartzPro64.&lt;br /&gt;
&lt;br /&gt;
With rkdeveloptool installed, you will also need the rk3588_spl_loader from rockchip to init the memory/flash when in maskrom mode. This can be downloaded from the [https://github.com/rockchip-linux/rkbin/blob/master/bin/rk35/rk3588_spl_v1.12.bin rockchip-linux/rkbin repo].&lt;br /&gt;
&lt;br /&gt;
Build the rk3588_spl_loader:&lt;br /&gt;
 '''git clone https://github.com/rockchip-linux/rkbin.git'''&lt;br /&gt;
 Cloning into 'rkbin'...&lt;br /&gt;
 [...]&lt;br /&gt;
 Resolving deltas: 100% (11368/11368), done.&lt;br /&gt;
 '''cd rkbin'''&lt;br /&gt;
 '''./tools/boot_merger RKBOOT/RK3588MINIALL.ini'''&lt;br /&gt;
 ********boot_merger ver 1.34********&lt;br /&gt;
 Info:Pack loader ok.&lt;br /&gt;
 '''ls -lh rk3588_spl_loader_v1.16.113.bin'''&lt;br /&gt;
 -rw-r--r-- 1 user group 477K Aug 18 17:23 rk3588_spl_loader_v1.16.113.bin&lt;br /&gt;
&lt;br /&gt;
Entering maskrom can be done in a variety of ways:&lt;br /&gt;
&lt;br /&gt;
* Hold the maskrom button (little white button labelled &amp;quot;MASKROM&amp;quot; next to SATA socket) during powerup, OR&lt;br /&gt;
* Enter rockusb mode, and execute &amp;quot;rkdeveloptool reboot-maskrom&amp;quot;.&lt;br /&gt;
* Bork your eMMC and SD devices (how? erase?), in which case bootup will fallback to maskrom.&lt;br /&gt;
&lt;br /&gt;
=== Dumping the eMMC ===&lt;br /&gt;
&lt;br /&gt;
Boot the device into maskrom mode, and then verify rkdeveloptool can see the board. &lt;br /&gt;
 '''# rkdeveloptool list'''&lt;br /&gt;
 DevNo=1	Vid=0x2207,Pid=0x350b,LocationID=503	Maskrom&lt;br /&gt;
&lt;br /&gt;
Once the board shows up, load the rk3588_spl_loader you downloaded or built earlier, and verify that the eMMC can be seen.&lt;br /&gt;
 '''# rkdeveloptool boot ./rk3588_spl_loader_v1.08.111.bin'''&lt;br /&gt;
 Downloading bootloader succeeded.&lt;br /&gt;
 '''# rkdeveloptool read-flash-info'''&lt;br /&gt;
 Flash Info:&lt;br /&gt;
 	Manufacturer: SAMSUNG, value=00&lt;br /&gt;
 	Flash Size: 59000 MB&lt;br /&gt;
 	Flash Size: 120832000 Sectors&lt;br /&gt;
 	Block Size: 512 KB&lt;br /&gt;
 	Page Size: 2 KB&lt;br /&gt;
 	ECC Bits: 0&lt;br /&gt;
 	Access Time: 40&lt;br /&gt;
 	Flash CS: Flash&amp;lt;0&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can now dump the eMMC using the read command. Note that first you have to calculate the eMMC size, which can be done using the output from the previous flash info command. You need to take the sector count, and times it by the sector size, to get the total number of bytes. So in the above example, 120832000*512 so the total flash size is 61865984000.&lt;br /&gt;
&lt;br /&gt;
Using the calculated size, you can now dump the eMMC. Please note this will take 1-2 minutes.&lt;br /&gt;
 '''# rkdeveloptool read 0x0 61865984000 ./quartzpro64_emmc_dump.bin'''&lt;br /&gt;
 Read LBA to file (0%)&lt;br /&gt;
 ...&lt;br /&gt;
 Read LBA to file (100%)&lt;br /&gt;
&lt;br /&gt;
You now have a full dump of the entire eMMC (SHA256 62cb4ae8d02aeacccf231fa1d00087cdc74b599790a274569305693aa205318d). Note that you can also use the list-partitions and read-partition commands to dump specific partitions, but this only shows GPT partitions on the eMMC. Because of this, it will NOT include the spl_loader found in the first 4MB of the eMMC!&lt;br /&gt;
&lt;br /&gt;
=== Flasing the eMMC ===&lt;br /&gt;
&lt;br /&gt;
Boot the device into maskrom mode, and then verify rkdeveloptool can see the board. &lt;br /&gt;
 '''# rkdeveloptool list'''&lt;br /&gt;
 DevNo=1	Vid=0x2207,Pid=0x350b,LocationID=503	Maskrom&lt;br /&gt;
&lt;br /&gt;
Once the board shows up, load the rk3588_spl_loader you downloaded or built earlier, and verify that the eMMC can be seen.&lt;br /&gt;
 '''# rkdeveloptool boot ./rk3588_spl_loader_v1.08.111.bin'''&lt;br /&gt;
 Downloading bootloader succeeded.&lt;br /&gt;
 '''# rkdeveloptool read-flash-info'''&lt;br /&gt;
 Flash Info:&lt;br /&gt;
 	Manufacturer: SAMSUNG, value=00&lt;br /&gt;
 	Flash Size: 59000 MB&lt;br /&gt;
 	Flash Size: 120832000 Sectors&lt;br /&gt;
 	Block Size: 512 KB&lt;br /&gt;
 	Page Size: 2 KB&lt;br /&gt;
 	ECC Bits: 0&lt;br /&gt;
 	Access Time: 40&lt;br /&gt;
 	Flash CS: Flash&amp;lt;0&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can now flash the device using either the write command, or write-partition command, depending on what you are trying to do. If you are looking to restore the entire eMMC from a backup you made, you would use the command below to accomplish this.&lt;br /&gt;
 '''rkdeveloptool write 0 ./quartzpro64_emmc_dump.bin'''&lt;br /&gt;
&lt;br /&gt;
== Ways To Do Things ==&lt;br /&gt;
&lt;br /&gt;
=== To build required components ===&lt;br /&gt;
&lt;br /&gt;
See the Notes projects in the &amp;quot;Collabora RK3588 integration&amp;quot; repository. See in Resources / Misc, below.&lt;br /&gt;
&lt;br /&gt;
=== Using rkdeveloptool ===&lt;br /&gt;
&lt;br /&gt;
Use the [https://gitlab.com/pine64-org/quartz-bsp/rkdeveloptool PINE64 fork of rkdeveloptool].&lt;br /&gt;
&lt;br /&gt;
Connect a USB-C cable to the &amp;quot;DEBUG PORT&amp;quot; USB-C port, and a second to the &amp;quot;DOWNLOAD&amp;quot; USB-C port. '''Cable direction for the latter matters, so if it doesn't show up after entering download mode, try rotating the USB-C connector to the other side!'''&lt;br /&gt;
&lt;br /&gt;
To enter rockusb mode, interrupt the boot by holding the &amp;quot;V+/REC&amp;quot; on-board button or mashing Ctrl+C very quickly on the serial comms, then type &amp;lt;code&amp;gt;download&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 $ rkdeveloptool list&lt;br /&gt;
&lt;br /&gt;
should now show you the device somewhat like this:&lt;br /&gt;
&lt;br /&gt;
 '''$ rkdeveloptool list'''&lt;br /&gt;
 DevNo=1 Vid=0x2207,Pid=0x350b,LocationID=204    Loader&lt;br /&gt;
&lt;br /&gt;
{{Template:note|'''Note:''' If you receive an error about being unable to create the comms object in the following steps, make sure you have the udev rules installed with [https://gitlab.com/pine64-org/quartz-bsp/rkdeveloptool/-/merge_requests/19 CounterPillow's RK3588 device id patch], install them to &amp;lt;code&amp;gt;/etc/udev/rules.d/&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;udevadm control --reload&amp;lt;/code&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, we can e.g. show the partitions on the eMMC:&lt;br /&gt;
&lt;br /&gt;
 '''$ rkdeveloptool list-partitions'''&lt;br /&gt;
 #   LBA start (sectors)  LBA end (sectors)  Size (bytes)       Name                &lt;br /&gt;
 00                 8192              16383       4194304       security&lt;br /&gt;
 01                16384              24575       4194304       uboot&lt;br /&gt;
 02                24576              32767       4194304       trust&lt;br /&gt;
 03                32768              40959       4194304       misc&lt;br /&gt;
 04                40960              49151       4194304       dtbo&lt;br /&gt;
 05                49152              51199       1048576       vbmeta&lt;br /&gt;
 06                51200             133119      41943040       boot&lt;br /&gt;
 07               133120             329727     100663296       recovery&lt;br /&gt;
 08               329728            1116159     402653184       backup&lt;br /&gt;
 09              1116160            1902591     402653184       cache&lt;br /&gt;
 10              1902592            1935359      16777216       metadata&lt;br /&gt;
 11              1935360            1937407       1048576       baseparameter&lt;br /&gt;
 12              1937408            8310783    3263168512       super&lt;br /&gt;
 13              8310784          120831935   57610829824       userdata&lt;br /&gt;
&lt;br /&gt;
You can now use &amp;lt;code&amp;gt;rkdeveloptool write-partition partitionname yourfile&amp;lt;/code&amp;gt; to overwrite one of the eMMC partitions.&lt;br /&gt;
&lt;br /&gt;
=== U-Boot + Kernel On SD, RootFS On eMMC ===&lt;br /&gt;
&lt;br /&gt;
This is the setup [[User:CounterPillow]] currently uses. In short, you'll need a vendor U-Boot on your SD card, with a boot partition on it that contains your &amp;lt;tt&amp;gt;extlinux.conf&amp;lt;/tt&amp;gt;, device tree and kernel.&lt;br /&gt;
&lt;br /&gt;
==== Setting Up The SD Card ====&lt;br /&gt;
&lt;br /&gt;
Assuming your SD card is &amp;lt;tt&amp;gt;/dev/sdX&amp;lt;/tt&amp;gt;, partition as e.g. follows:&lt;br /&gt;
&lt;br /&gt;
 # parted -s /dev/sdX mklabel gpt&lt;br /&gt;
 # parted -s /dev/sdX mkpart loader 64s 8MiB&lt;br /&gt;
 # parted -s /dev/sdX mkpart uboot 8MiB 16MiB&lt;br /&gt;
 # parted -s /dev/sdX mkpart env 16MiB 32MiB&lt;br /&gt;
 # parted -s /dev/sdX mkpart efi fat32 32MiB 544MiB    # increase size as you wish&lt;br /&gt;
 # parted -s /dev/sdX set 4 boot on&lt;br /&gt;
&lt;br /&gt;
Flash SPL and u-boot:&lt;br /&gt;
 # dd if=rk3588_spl_loader_v1.06.109.bin of=/dev/sdX1&lt;br /&gt;
 # dd if=uboot.img of=/dev/sdX2&lt;br /&gt;
&lt;br /&gt;
Then make the filesystem:&lt;br /&gt;
 # mkfs.vfat -n &amp;quot;efi&amp;quot; /dev/sdX4&lt;br /&gt;
&lt;br /&gt;
Mount it to e.g. &amp;lt;tt&amp;gt;/mnt/sdcardboot&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 # mount /dev/sda4 /mnt/sdcardboot&lt;br /&gt;
&lt;br /&gt;
Put the following in &amp;lt;tt&amp;gt;/mnt/sdcardboot/extlinux/extlinux.conf&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 default l0&lt;br /&gt;
 menu title QuartzPro64 Boot Menu&lt;br /&gt;
 prompt 0&lt;br /&gt;
 timeout 50&lt;br /&gt;
 &lt;br /&gt;
 label l0&lt;br /&gt;
 menu label Boot Jank Kernel SDMMC&lt;br /&gt;
 linux /jank&lt;br /&gt;
 fdt /dtbs/rockchip/rk3588-evb1-v10.dtb&lt;br /&gt;
 append earlycon=uart8250,mmio32,0xfeb50000 console=ttyS2,1500000n8 root=/dev/mmcblk0p14 rw rootwait&lt;br /&gt;
&lt;br /&gt;
Copy your kernel to &amp;lt;tt&amp;gt;/mnt/sdcardboot/jank&amp;lt;/tt&amp;gt; and your DTB to &amp;lt;tt&amp;gt;/mnt/sdcardboot/dtbs/rockchip/rk3588-evb1-v10.dtb&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Unmount it, we're done with the SD card.&lt;br /&gt;
&lt;br /&gt;
==== Creating The Root File System ====&lt;br /&gt;
&lt;br /&gt;
First, allocate a file the size of your desired root partition (larger sizes will take longer to transfer, don't make the same mistakes as CounterPillow did), here we choose 16G:&lt;br /&gt;
 $ fallocate -l 16G rootpart.bin&lt;br /&gt;
&lt;br /&gt;
then, make the filesystem on it. CounterPillow went for ext4 because nobody has ever been fired for using ext4:&lt;br /&gt;
 $ mkfs.ext4 rootpart.bin&lt;br /&gt;
&lt;br /&gt;
Cool, now mount it:&lt;br /&gt;
 # mount rootpart.bin /mnt/emmc-root&lt;br /&gt;
&lt;br /&gt;
Now we'll download the Arch Linux ARM generic rootfs tarball and go to town:&lt;br /&gt;
 $ wget -N http://os.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz{,.sig}&lt;br /&gt;
 $ curl 'https://keyserver.ubuntu.com/pks/lookup?op=get&amp;amp;search=0x68b3537f39a313b3e574d06777193f152bdbe6a6' | gpg --import=-    # in case you're lacking the key&lt;br /&gt;
 $ gpg --verify ArchLinuxARM-aarch64-latest.tar.gz.sig    # don't you dare skip this&lt;br /&gt;
 # bsdtar -xpf ArchLinuxARM-aarch64-latest.tar.gz -C /mnt/emmc-root    # notice that this is run as root&lt;br /&gt;
&lt;br /&gt;
Then we just need to edit fstab. Get the UUID (not PARTUUID) from lsblk:&lt;br /&gt;
 $ lsblk -o NAME,SIZE,MOUNTPOINTS,UUID&lt;br /&gt;
&lt;br /&gt;
and put it in &amp;lt;tt&amp;gt;/mnt/emmc-root/etc/fstab&amp;lt;/tt&amp;gt; as follows:&lt;br /&gt;
 UUID=''root-uuid-here''  /       ext4    defaults        0       1&lt;br /&gt;
&lt;br /&gt;
Unmount &amp;lt;tt&amp;gt;/mnt/emmc-root&amp;lt;/tt&amp;gt;, we're done with it.&lt;br /&gt;
&lt;br /&gt;
==== Flashing The Root File System With RockUSB ====&lt;br /&gt;
&lt;br /&gt;
{{Template:warning|This '''will''' destroy whatever data is on that userdata partition. But you're here to run Linux, not Android, right?}}&lt;br /&gt;
&lt;br /&gt;
Plug one USB-C cable into the debug UART port, the other into the download port. Yes you will need two USB-C cables (or A-to-C cables) for this, get over it.&lt;br /&gt;
&lt;br /&gt;
Plug in your board, reset it while hammering Ctrl+c on the debug UART until you get into a u-boot command line. Now enter the &amp;lt;code&amp;gt;download&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&lt;br /&gt;
If your device doesn't show up in &amp;lt;code&amp;gt;lsusb&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;rkdeveloptool list&amp;lt;/code&amp;gt; command, pull out the download USB-C plug, rotate it axially by 180 Euler degrees, and plug it back in.&lt;br /&gt;
&lt;br /&gt;
Next, flash the partition. Depending on the size of it, this can take over an hour:&lt;br /&gt;
 $ rkdeveloptool write-partition userdata rootpart.bin&lt;br /&gt;
&lt;br /&gt;
==== Booting ====&lt;br /&gt;
&lt;br /&gt;
Unplug the download USB-C cable once done.&lt;br /&gt;
&lt;br /&gt;
Put the SD card in the board. Reset it. You can now boot and your rootfs on eMMC will be mounted and contains an ALARM userland.&lt;br /&gt;
&lt;br /&gt;
To update kernels or the device tree, just shut down the board, take out the SD card, write a new kernel or dtb to it, and plug it back in. No more need for rkdeveloptool, yay.&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
=== Kernel ===&lt;br /&gt;
&lt;br /&gt;
* [http://lists.infradead.org/pipermail/linux-rockchip/ The linux-rockchip mailing list archives]&lt;br /&gt;
* [https://patchwork.kernel.org/project/linux-rockchip/list/ The linux-rockchip patchwork]&lt;br /&gt;
* [https://github.com/rockchip-linux/kernel Rockchip BSP kernel tree]&lt;br /&gt;
* [https://github.com/radxa/kernel/tree/stable-5.10-rock5 Radxa kernel tree]&lt;br /&gt;
&lt;br /&gt;
=== Misc ===&lt;br /&gt;
&lt;br /&gt;
* The quartz64 and quartz-dev channels on the PINE64 chats (bridged IRC, Matrix, Discord and Telegram)&lt;br /&gt;
* [https://gitlab.com/pine64-org/quartz-bsp/rkdeveloptool PINE64 rkdeveloptool fork]&lt;br /&gt;
* [https://github.com/rockchip-linux/rkbin/ Rockchip binary blobs repository]&lt;br /&gt;
* [https://opensource.rock-chips.com/wiki_Main_Page Rockchip OpenSource wiki]&lt;br /&gt;
* [https://github.com/collabora/rockchiprs rockchiprs] (rkdeveloptool replacement written in Rust)&lt;br /&gt;
* [https://gitlab.collabora.com/hardware-enablement/rockchip-3588 Collabora RK3588 integration (u-boot, kernel, Status table, etc.)] - A lot of good information is here&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
The documentation for the QuartzPro64 board and most of the documentation for the chips it uses hasn't been publicly released yet, but if you do own a QuartzPro64 board, [[User:CounterPillow|CounterPillow]] or [[User:Dsimic|dsimic]] will happily provide the documentation to you for the research or development purposes, if you ask them in the PINE64 [[Main Page#Chat Platforms|chat channels]]. We've got the following documents, some of which can also be found elsewhere on the Internet rather easily:&lt;br /&gt;
&lt;br /&gt;
* RK3588 datasheet&lt;br /&gt;
* RK3588 technical reference manual (TRM), parts 1 and 2&lt;br /&gt;
* RK3588 hardware design guide, machine translated to English from Chinese, and the original version in Chinese&lt;br /&gt;
* RK860 datasheet, including register descriptions&lt;br /&gt;
* RK806 datasheet, including register descriptions&lt;br /&gt;
* [https://devzone.pine64.org/uploads/d392f228-d53b-11ec-9ab8-fe0395c0c83d/9fee695f-39a4-4858-a58a-c91b86d4fa2c/QuartzPro64-DevBoard-Schematic-V1.0_20220216.pdf QuartzPro64 schematics]&lt;br /&gt;
* [https://devzone.pine64.org/uploads/d392f228-d53b-11ec-9ab8-fe0395c0c83d/cf368836-966e-4c3c-9e0d-04a82a705d45/QuartzPro64-DevBoard-PCB-V1.0_20220216_topplace.pdf QuartzPro64 PCB top layout]&lt;br /&gt;
* [https://devzone.pine64.org/uploads/d392f228-d53b-11ec-9ab8-fe0395c0c83d/ec260213-d4f7-4c61-ad1f-40ee7b7b7a35/QuartzPro64-DevBoard-PCB-V1.0_20220216_bottomplace.pdf QuartzPro64 PCB bottom layout]&lt;br /&gt;
* [https://datasheet.lcsc.com/lcsc/2203311530_AMPAK-Tech-AP6275PR3_C2984106.pdf AMPAK AP6275PR3 (WiFi + BT module) datasheet]&lt;br /&gt;
* AMPAK AP6275P (WiFi + BT module) datasheet&lt;br /&gt;
* [https://dl.xkwy2018.com/downloads/RK3588/01_Official%20Release/01_Common%20Document/Rockchip_RK3588_EVB_User_Guide_V10_EN_0126.pdf Rockchip RK3588 EVB User Guide v1.0], which the QuartzPro64 is based on &lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3588]]&lt;br /&gt;
[[Category:QuartzPro64]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21687</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21687"/>
		<updated>2024-11-26T07:58:28Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* UART Dongle */ Ditto&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 Model-A single-board computer and powered by Rockchip RK3566 quad-core ARM Cortex-A55 64-bit SoC with Mali G52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains a U-Boot build that prevents suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  This was caused by the unfortunate timing, so the factory ended up installing version of the operating system image that contained these issues.  The required fixes are already available in the shipped Linux distribution, but they need to be [https://gist.github.com/m-weigand/efb1bef6097611d327533ab67b76903b installed manually] by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
{{Warning|The second PineNote batch, which started shipping during the first half of November 2024, is the last batch that has the USB UART dongle included in the box.}}&lt;br /&gt;
&lt;br /&gt;
The USB [https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter UART] dongle delivered with the PineNote allows you to have access to its serial console via USB-C Debug Accessory Mode (DAM) without having to disassemble the device.  The factory-installed operating system runs the serial console at the 1,500,000 bps speed, 8 data bits and 1 stop bit, no parity, and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* RAM: 4 GB LPDDR4&lt;br /&gt;
* Flash: 128 GB eMMC (soldered)&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM: 4 GB LPDDR4&lt;br /&gt;
* Flash: 128 GB eMMC (soldered)&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21686</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21686"/>
		<updated>2024-11-26T07:58:00Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* UART Dongle */ Ditto&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 Model-A single-board computer and powered by Rockchip RK3566 quad-core ARM Cortex-A55 64-bit SoC with Mali G52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains a U-Boot build that prevents suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  This was caused by the unfortunate timing, so the factory ended up installing version of the operating system image that contained these issues.  The required fixes are already available in the shipped Linux distribution, but they need to be [https://gist.github.com/m-weigand/efb1bef6097611d327533ab67b76903b installed manually] by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
{{Warning|The second PineNote batch, which started shipping during the first half of November 2024, is the last batch that has the USB UART dongle included in the box.}}&lt;br /&gt;
&lt;br /&gt;
The USB [https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter UART] dongle delivered with the PineNote allows you to have access to its serial console via USB-C Debug Accessory Mode (DAM) without having to open up the device.  The factory-installed operating system runs the serial console at the 1,500,000 bps speed, 8 data bits and 1 stop bit, no parity, and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* RAM: 4 GB LPDDR4&lt;br /&gt;
* Flash: 128 GB eMMC (soldered)&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM: 4 GB LPDDR4&lt;br /&gt;
* Flash: 128 GB eMMC (soldered)&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21685</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21685"/>
		<updated>2024-11-26T07:57:09Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* UART Dongle */ Small wording cleanups&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 Model-A single-board computer and powered by Rockchip RK3566 quad-core ARM Cortex-A55 64-bit SoC with Mali G52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains a U-Boot build that prevents suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  This was caused by the unfortunate timing, so the factory ended up installing version of the operating system image that contained these issues.  The required fixes are already available in the shipped Linux distribution, but they need to be [https://gist.github.com/m-weigand/efb1bef6097611d327533ab67b76903b installed manually] by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
{{Warning|The second PineNote batch, which started shipping during the first half of November 2024, is the last batch that has the USB UART dongle included in the box.}}&lt;br /&gt;
&lt;br /&gt;
The USB [https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter UART] dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (DAM) without having to open up the device.  The factory-installed operating system runs at the 1,500,000 bps speed, 8 data bits and 1 stop bit, no parity, and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* RAM: 4 GB LPDDR4&lt;br /&gt;
* Flash: 128 GB eMMC (soldered)&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM: 4 GB LPDDR4&lt;br /&gt;
* Flash: 128 GB eMMC (soldered)&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21684</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21684"/>
		<updated>2024-11-26T07:56:00Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* UART Dongle */ Linking might help with understanding&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 Model-A single-board computer and powered by Rockchip RK3566 quad-core ARM Cortex-A55 64-bit SoC with Mali G52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains a U-Boot build that prevents suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  This was caused by the unfortunate timing, so the factory ended up installing version of the operating system image that contained these issues.  The required fixes are already available in the shipped Linux distribution, but they need to be [https://gist.github.com/m-weigand/efb1bef6097611d327533ab67b76903b installed manually] by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
{{Warning|The second PineNote batch, which started shipping during the first half of November 2024, is the last batch that has the USB UART dongle included in the box.}}&lt;br /&gt;
&lt;br /&gt;
The USB [https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter UART] dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (DAM) without having to open up the device. &lt;br /&gt;
The factory-installed firmware runs at a baud rate of 1,500,000 bps, 8 data bits and 1 stop bit, no parity, and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* RAM: 4 GB LPDDR4&lt;br /&gt;
* Flash: 128 GB eMMC (soldered)&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM: 4 GB LPDDR4&lt;br /&gt;
* Flash: 128 GB eMMC (soldered)&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=21683</id>
		<title>PineTab2</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=21683"/>
		<updated>2024-11-25T03:49:00Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Keyboard cover */ Wording improvements&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineTab2 Front.jpg|250px|thumb|right|The PineTab2 with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab2''' is PINE64's successor to the original [[PineTab]] Linux tablet computer, featuring a faster processor and better availability. The tablet is available in two configurations, 4GB of RAM and 64GB of internal storage or 8GB of RAM and 128GB of internal storage. The tablet ships with a detachable keyboard that doubles as a protective cover.&lt;br /&gt;
&lt;br /&gt;
The tablet is designed around the Rockchip RK3566 processor, which features 4 energy-efficient Cortex-A55 64-bit ARM cores and enjoys good mainline Linux support. A similarly packaged RISC-V tablet is the [[PineTab-V]].&lt;br /&gt;
&lt;br /&gt;
Pre-orders started on the 13th of April 2023, with pricing starting at USD 159 for the 4GB/64GB version and USD 209 for the 8GB/128GB version. The PineTab2 began shipping on June 2, 2023.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
&lt;br /&gt;
The PineTab2 box contains two smaller boxes.&lt;br /&gt;
&lt;br /&gt;
The first box includes the following items:&lt;br /&gt;
&lt;br /&gt;
* The PineTab2&lt;br /&gt;
* Short [[:File:Pinetab2 quick start guide en ger fr pl final.pdf|user guide]]&lt;br /&gt;
* Power cable&lt;br /&gt;
* The UART adapter board&lt;br /&gt;
&lt;br /&gt;
Note that the UART adapter is in the same package as the power cable, in a second compartment, and can be a bit hidden. &lt;br /&gt;
&lt;br /&gt;
The second box has the keyboard in it.&lt;br /&gt;
&lt;br /&gt;
=== First start ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 can be started by pressing and holding the power button for two seconds. The device is initialized at the first boot and will power-cycle while the partition table is populated.&lt;br /&gt;
&lt;br /&gt;
{{Info|If the initialization process is interrupted it might lead to a corrupted operating system installation. In that case reinstall the operating system as explained below.}}&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''DanctNix Arch Linux'' and comes with a pre-set user and the default password &amp;lt;code&amp;gt;123456&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;alarm / 123456&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can create a new user and set your own password after the initial boot. To do so, go to ''system settings'' -&amp;gt; ''users'' and create a new profile using your preferred name and password.&lt;br /&gt;
&lt;br /&gt;
=== Keyboard cover ===&lt;br /&gt;
&lt;br /&gt;
{{Warning|It has been reported that the keyboard cover may slide around a bit when the PineTab is stowed in a backpack, for example, causing the built-in hall sensor to misinterpret that as if the cover was opened, causing the suspended PineTab2 to resume and drain the battery.  You may want to disable the hall sensor as a wakeup source.}}&lt;br /&gt;
&lt;br /&gt;
When connecting the keyboard cover to the PineTab2, ensure that the camera and the golden pogo pin connectors are correctly aligned.  The keyboard cover has five connection pins (the golden &amp;quot;fingers&amp;quot;), out of which four are standard USB connectors and one is used to detect that the keyboard is connected.&lt;br /&gt;
&lt;br /&gt;
The backlight can be changed with the key combination ''Pinekey + Ctrl (right)''.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
All operating systems for the PineTab2 are delivered by community developers and partner projects. Aside from the operating system that comes pre-installed on your device, you can install and run any other operating system available for the PineTab2. Most, if not all operating systems for the PineTab2 are open and free, such as Linux and BSD.&lt;br /&gt;
&lt;br /&gt;
Since most software issues will be release-specific, please see the [[PineTab2 Releases]] page for additional software related instructions, tips, and tricks.&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
The releases for the PineTab2 can be found under [[PineTab2 Releases]].&lt;br /&gt;
&lt;br /&gt;
=== Installation instructions ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is capable of running different operating systems from the internal flash memory (eMMC) and from microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Preparing the microSD card'''&lt;br /&gt;
&lt;br /&gt;
To write an operating system to the microSD card (typically called &amp;quot;flashing&amp;quot; in the community), you need to first download a compatible image from the [[#Releases|releases]] section.&lt;br /&gt;
&lt;br /&gt;
Next you need to decompress the downloaded image. The images are typically compressed in an archive format such as ''xz'' to reduce the download size. If you are using a graphical tool such as ''balenaEtcher'' or ''Gnome Disks'' it will handle the decompression of the image in the flashing step automatically.&lt;br /&gt;
&lt;br /&gt;
Further you need to flash the image to the microSD card. This can be done using various tools, for example ''balenaEtcher'' (recommended for new users), ''Gnome Disks'' or command-line tools such as ''cp'' and ''dd''. Insert the microSD card in a microSD card reader connected to your computer and then choose a tool of your liking.&lt;br /&gt;
&lt;br /&gt;
Graphical applications:&lt;br /&gt;
&lt;br /&gt;
* '''balenaEtcher''' (Microsoft Windows, macOS, Linux): Click on ''Flash from file'' and select the image. Then select the microSD card target device and click on ''Flash!''.&lt;br /&gt;
&lt;br /&gt;
* '''Gnome Disks''' (Linux): Select the microSD card target device on the left side in the ''Disks'' list. Then select the three dot menu on the top right and click on ''Restore Disk Image...''. Select the image, verify the correct device is selected and then click on ''Start Restoring...''.&lt;br /&gt;
&lt;br /&gt;
Command-line tools:&lt;br /&gt;
&lt;br /&gt;
* '''cp''': &amp;lt;code&amp;gt;sudo cp '''IMAGE.img''' /dev/'''[DEVICE]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''dd''': &amp;lt;code&amp;gt;sudo dd if='''IMAGE.img''' of=/dev/'''[DEVICE]''' bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Info|Make sure to replace '''IMAGE.img''' and '''[DEVICE]''' with the filename of the image (double check if it is decompressed and has the file extension ''.img'') and the device name. You can use the command &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; to find the device name. Make sure to flash to the whole device instead of partition 1 and that you're NOT selecting ''/dev/sda1'' or ''/dev/mmcblk0p1'' as target. Be very careful to select the correct device, as the tools can overwrite your data when the wrong device is selected.}}&lt;br /&gt;
&lt;br /&gt;
Then insert the microSD card into the PineTab2. &lt;br /&gt;
&lt;br /&gt;
[[File:PineTab2 USB UARTv2.jpg|thumb|right|400px|Using the USB UART adapter can be required in some cases as explained in the info box about the boot order. The adapter is shipped with the PineTab2 in the box which is also containing the charging cable. The switch to disable the eMMC and SPI is located on the top right of the image.]]&lt;br /&gt;
&lt;br /&gt;
{{Hint|'''Note regarding the boot order:''' The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card. The pre-installed bootloader on the internal memory (eMMC) tries to boot from the microSD card first. '''In some cases''' it can be required to bypass the bootloader, for example if the bootloader is corrupted or was overwritten by a bootloader with varying settings.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To force the device to boot from the microSD card, the eMMC and the SPI can be disabled by using the debug UART adapter shipped with the device in the box also containing the charging cable. Set the ''SD BOOT MASKROM'' switch on the adapter to the position ''ON'' and plug it into the USB/PD charging port. Then power on the tablet and '''unplug the debug board or set the switch to the position ''OFF'' again''' when the factory image is started, otherwise the factory image won't find the eMMC.}}&lt;br /&gt;
&lt;br /&gt;
Power on the device with the microSD card inserted (and optionally with the USB UART adapter inserted and the bypass switch set to ''ON'' depending on the software situation, see the info box above). It should now boot the new operating system from the microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Something is not working?''' Please join the [[Main_Page#Chat_Platforms|PineTab channel in the community chat]], the community is always happy to help. In the section [[#Connecting the UART adapter]] you can find information about how to connect the USB UART adapter and how to retrieve the boot logs if the device is not booting properly even after the above procudere.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
[[File:Pinetab2-side.jpeg|thumb|400px|right|Tablet's side ports: USB-C (with PD), MicroSD, USB-C 3.0, volume rocker, power button]]&lt;br /&gt;
* '''SoC:''' Rockchip RK3566&lt;br /&gt;
* '''CPU:''' 4x ARM Cortex-A55 @ 1.8 GHz&lt;br /&gt;
** 32KB L1 Instruction Cache and 32KB L1 Data Cache per core&lt;br /&gt;
** 512KB unified system L3 cache&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
* '''GPU:''' Mali-G52 MP2 @ 800 MHz&lt;br /&gt;
** Supported by the open source 'Panfrost' driver in Linux and Mesa&lt;br /&gt;
** Supports OpenGL 3.1 and OpenGL ES 3.1 with many newer extensions&lt;br /&gt;
* '''NPU:''' 0.8 TOPS Neural Processing Unit&lt;br /&gt;
* '''RAM:''' 4GB or 8GB LPDDR4&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** 64GB or 128GB internal eMMC ([https://www.szyuda88.com/product-77313-276594.html SiliconGo SGM8 100C-S36BCG]; eMMC 5.1, up o 400MB/s)&lt;br /&gt;
** 1x MicroSD slot&lt;br /&gt;
* '''Display:''' 10.1&amp;quot; IPS LCD Resolution 1280x800&lt;br /&gt;
* '''Cameras:'''&lt;br /&gt;
** Front: 2Mpx, chipset: Galaxycore GC02M2&lt;br /&gt;
** Rear: 5Mpx, chipset: Omnivision OV5648&lt;br /&gt;
* '''Battery:''' 6000 mAh (22.2Wh)&lt;br /&gt;
* '''Buttons:''' Power, volume up, volume down&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** Wi-Fi: BES2600&lt;br /&gt;
*** Driver under development, use a USB wifi dongle for now&lt;br /&gt;
** Bluetooth: BES2600&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 1x USB-C 3.0 (top, host mode only; power output up to 680mA)&lt;br /&gt;
** 1x USB-C 2.0 + PD (bottom, device mode by default; power input)&lt;br /&gt;
** 1x MicroHDMI&lt;br /&gt;
** 1x 4 pole 3.5mm audio jack (microphone right) and headphone detection&lt;br /&gt;
** 2x speakers + microphone (microphone left)&lt;br /&gt;
** 1x 5 pin (USB 2.0; &amp;lt;=680mA) Pogo connector for keyboard&lt;br /&gt;
** (PCIe on PCB as a flat flex ribbon connector, no room for M.2 NVMe drives in case)&lt;br /&gt;
* '''Sensors:'''&lt;br /&gt;
** Accelerometer: Silan SC7A20&lt;br /&gt;
** Ambient Light &amp;amp; Proximity Sensor&lt;br /&gt;
* '''Multimedia:'''&lt;br /&gt;
** rkdjpeg: 1080p120 JPEG decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** hantro: JPEG/VP8/H.264 encode, 1080p MPEG-2/H.263/VP8/H.264 AVC decode&lt;br /&gt;
*** mainline driver does not yet support all codecs/functions&lt;br /&gt;
*** see [[Mainline Hardware Decoding]] and [[Mainline Hardware Encoding]]&lt;br /&gt;
** rkvdec2: 4K H.264 AVC Main10 L5.1/H.265 HEVC Main10 L5.1/VP9 Profile 0 and 2 L5.1 decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** rkvenc2: 4K H.264 AVC/H.265 HEVC encode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
* '''Build:''' Metal and Plastic&lt;br /&gt;
* '''Dimensions:''' 242x161x9mm&lt;br /&gt;
* '''Weight:''' 538g&lt;br /&gt;
* '''Misc:'''&lt;br /&gt;
** Protective cover with keyboard&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{{SeeMainArticle|Quartz64 Development}}&lt;br /&gt;
&lt;br /&gt;
Linux mainline is already quite far along for the device, as the SoC is the same as is used in the Quartz64 line of devices. Some minor pinetab2-specific adjustments can be found [https://github.com/TuxThePenguin0/linux/tree/device/pine64-pinetab2_stable here] Check the main article for the big picture; PineTab2 specific issues are listed here.&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
* WiFi/Bluetooth chip BES2600:&lt;br /&gt;
** The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing (at the moment it often causes system crashes). This is a priority, but for now, you can [[PineTab2_FAQ#Performing_USB_Tethering_with_an_Android_Phone|USB tether a phone]] or [[PineTab2_FAQ#Selecting_a_USB_WIFI_Adapter|use a supported WI-FI dongle]]. There are at least two code releases available, with two respective/non-interchangeable firmware versions. The latest danctnix kernel has a pretty well working wifi driver.&lt;br /&gt;
** The BES2600 Bluetooth driver needs to be implemented.&lt;br /&gt;
** Hardware bugs - the power and reset circuitry is not properly implemented in the circuitry, so hard reset of the chip (in the theoretical case it freezes) is impossible without power cycling the whole board.&lt;br /&gt;
* The camera drivers needs to be ported ([https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/media/i2c/gc02m2.c gc02m2], [https://elixir.bootlin.com/linux/latest/source/drivers/media/i2c/ov5648.c ov5648]), Rockchip CSI/ISP driver needs to be extended to handle 2 lanes.&lt;br /&gt;
* Suspend does not currently work reliably due to a driver issue. It is therefore disabled in the factory image. Caveat Emptor if you chose to unmask the feature prior to it being fixed.&lt;br /&gt;
&lt;br /&gt;
=== Connecting the UART adapter ===&lt;br /&gt;
&lt;br /&gt;
The USB-C UART adapter can be connected to the PineTab2 to debug boot issues at the early boot:&lt;br /&gt;
&lt;br /&gt;
* Plug the adapter face-up in the USB-C port furthest away from the power button. If all the lights are lit, you have the wrong port: only the green light should be lit when you first plug it in.&lt;br /&gt;
* Plug USB-C cable into the port on the adapter marked &amp;quot;DEBUG&amp;quot;&lt;br /&gt;
* Open a terminal window&lt;br /&gt;
* Install ''minicom'' or ''screen'' via your distribution's package manager, if you don't have it installed already&lt;br /&gt;
* Connect via minicom using &amp;lt;code&amp;gt;sudo minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or via screen using &amp;lt;code&amp;gt;sudo screen /dev/ttyUSB0 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ubuntu-based distro users may encounter the error, &amp;quot;cannot open /dev/ttyUSB0: No such file or directory&amp;quot;.  If this occurs, check the output of &amp;lt;code&amp;gt;sudo dmesg --follow&amp;lt;/code&amp;gt; and unplug/replug the USB to look for any errors.  If you see an error like, &amp;quot;usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1&amp;quot;, then the brltty service is likely conflicting with this device.  Brltty provides access to blind users who use a braille display: if you do not need this service, try disabling it using these commands:&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PPineTab2-pcb.jpg|thumb|right|PineTab2 Board]]&lt;br /&gt;
&lt;br /&gt;
PineTab2 mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_schematic-20230417.pdf PineTab2 mainboard Released Schematic-20230417 ver 2.0]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_comp_ref_top-20230417.pdf PineTab2 PCB Component Reference location v2.0 (top layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_comp_ref_bottom-20230417.pdf PineTab2 PCB Component Reference location v2.0 (bottom layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/pinetab2-V_uart_console_schematic-20221107.pdf PineTab2/PineTab-V UART Dongle Schematic-20221107]&lt;br /&gt;
&lt;br /&gt;
PineTab2 certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinetab2%20FCC-SDOC%20Certificate-LCSA040323223E.pdf PineTab2 FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinetab2%20CE%20RED%20Certificate-LCSA040323224E.pdf PineTab2 CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20CE%20EMC%20Certificate-LCSA040323225E.pdf PineTab2 CE EMC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20ROHS%20Report-LCSA040323221R.pdf PineTab2 ROHS Test Report]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20Keyboard%20CE%20EMC%20Certificate-LCSA062623001E.pdf PineTab2/PineTab-V Detached Keyboard CE EMC Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF Rockchip RK3566 and RK3568 TRM (Technical Reference Manual)]&lt;br /&gt;
&lt;br /&gt;
LCD panel:&lt;br /&gt;
&lt;br /&gt;
* [[:File:Boe-technology-th101mb31ig002-28a-datasheet-v10.pdf|BOE TH101MB31IG002-28A datasheet v1.0]]&lt;br /&gt;
&lt;br /&gt;
== Tutorials and Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
Please see the [[PineTab2 FAQ]] page for tutorials and frequently asked questions.&lt;br /&gt;
&lt;br /&gt;
There's also [[:File:PineTab2_display_panel_disassembly_guide.pdf|PineTab2 disassembly guide]].  The disassembly is a very delicate operation, especially around the corners of the screen.  Several (even experienced) users ended up damaging the screen.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.pine64.org/2022/12/15/december-update-merry-christmas-and-happy-new-pinetab/ December 2022 Community Update]&lt;br /&gt;
* [https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/ February 2023 Community Update]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=21682</id>
		<title>PineTab2</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=21682"/>
		<updated>2024-11-25T03:03:48Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Keyboard cover */ Described the issues with the hall sensor&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineTab2 Front.jpg|250px|thumb|right|The PineTab2 with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab2''' is PINE64's successor to the original [[PineTab]] Linux tablet computer, featuring a faster processor and better availability. The tablet is available in two configurations, 4GB of RAM and 64GB of internal storage or 8GB of RAM and 128GB of internal storage. The tablet ships with a detachable keyboard that doubles as a protective cover.&lt;br /&gt;
&lt;br /&gt;
The tablet is designed around the Rockchip RK3566 processor, which features 4 energy-efficient Cortex-A55 64-bit ARM cores and enjoys good mainline Linux support. A similarly packaged RISC-V tablet is the [[PineTab-V]].&lt;br /&gt;
&lt;br /&gt;
Pre-orders started on the 13th of April 2023, with pricing starting at USD 159 for the 4GB/64GB version and USD 209 for the 8GB/128GB version. The PineTab2 began shipping on June 2, 2023.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
&lt;br /&gt;
The PineTab2 box contains two smaller boxes.&lt;br /&gt;
&lt;br /&gt;
The first box includes the following items:&lt;br /&gt;
&lt;br /&gt;
* The PineTab2&lt;br /&gt;
* Short [[:File:Pinetab2 quick start guide en ger fr pl final.pdf|user guide]]&lt;br /&gt;
* Power cable&lt;br /&gt;
* The UART adapter board&lt;br /&gt;
&lt;br /&gt;
Note that the UART adapter is in the same package as the power cable, in a second compartment, and can be a bit hidden. &lt;br /&gt;
&lt;br /&gt;
The second box has the keyboard in it.&lt;br /&gt;
&lt;br /&gt;
=== First start ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 can be started by pressing and holding the power button for two seconds. The device is initialized at the first boot and will power-cycle while the partition table is populated.&lt;br /&gt;
&lt;br /&gt;
{{Info|If the initialization process is interrupted it might lead to a corrupted operating system installation. In that case reinstall the operating system as explained below.}}&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''DanctNix Arch Linux'' and comes with a pre-set user and the default password &amp;lt;code&amp;gt;123456&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;alarm / 123456&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can create a new user and set your own password after the initial boot. To do so, go to ''system settings'' -&amp;gt; ''users'' and create a new profile using your preferred name and password.&lt;br /&gt;
&lt;br /&gt;
=== Keyboard cover ===&lt;br /&gt;
&lt;br /&gt;
{{Warning|It has been reported that the keyboard cover may slide around a bit when the PineTab is stowed in a backpack, for example, causing the built-in hall sensor to misinterpret that as if the cover was opened, causing the suspended PineTab2 to resume and drain the battery.  You may want to disable the hall sensor as a wakeup source.}}&lt;br /&gt;
&lt;br /&gt;
When connecting the keyboard to the Pinetab2 ensure that the camera and the golden pogo pin connectors are correctly aligned. &lt;br /&gt;
The external keyboard has 5 connection pins (the golden pins). four are standard USB connectors and one is used to detect that the keyboard is connected.&lt;br /&gt;
&lt;br /&gt;
The backlight can be changed with the key combination ''Pinekey + Ctrl (right)''.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
All operating systems for the PineTab2 are delivered by community developers and partner projects. Aside from the operating system that comes pre-installed on your device, you can install and run any other operating system available for the PineTab2. Most, if not all operating systems for the PineTab2 are open and free, such as Linux and BSD.&lt;br /&gt;
&lt;br /&gt;
Since most software issues will be release-specific, please see the [[PineTab2 Releases]] page for additional software related instructions, tips, and tricks.&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
The releases for the PineTab2 can be found under [[PineTab2 Releases]].&lt;br /&gt;
&lt;br /&gt;
=== Installation instructions ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is capable of running different operating systems from the internal flash memory (eMMC) and from microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Preparing the microSD card'''&lt;br /&gt;
&lt;br /&gt;
To write an operating system to the microSD card (typically called &amp;quot;flashing&amp;quot; in the community), you need to first download a compatible image from the [[#Releases|releases]] section.&lt;br /&gt;
&lt;br /&gt;
Next you need to decompress the downloaded image. The images are typically compressed in an archive format such as ''xz'' to reduce the download size. If you are using a graphical tool such as ''balenaEtcher'' or ''Gnome Disks'' it will handle the decompression of the image in the flashing step automatically.&lt;br /&gt;
&lt;br /&gt;
Further you need to flash the image to the microSD card. This can be done using various tools, for example ''balenaEtcher'' (recommended for new users), ''Gnome Disks'' or command-line tools such as ''cp'' and ''dd''. Insert the microSD card in a microSD card reader connected to your computer and then choose a tool of your liking.&lt;br /&gt;
&lt;br /&gt;
Graphical applications:&lt;br /&gt;
&lt;br /&gt;
* '''balenaEtcher''' (Microsoft Windows, macOS, Linux): Click on ''Flash from file'' and select the image. Then select the microSD card target device and click on ''Flash!''.&lt;br /&gt;
&lt;br /&gt;
* '''Gnome Disks''' (Linux): Select the microSD card target device on the left side in the ''Disks'' list. Then select the three dot menu on the top right and click on ''Restore Disk Image...''. Select the image, verify the correct device is selected and then click on ''Start Restoring...''.&lt;br /&gt;
&lt;br /&gt;
Command-line tools:&lt;br /&gt;
&lt;br /&gt;
* '''cp''': &amp;lt;code&amp;gt;sudo cp '''IMAGE.img''' /dev/'''[DEVICE]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''dd''': &amp;lt;code&amp;gt;sudo dd if='''IMAGE.img''' of=/dev/'''[DEVICE]''' bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Info|Make sure to replace '''IMAGE.img''' and '''[DEVICE]''' with the filename of the image (double check if it is decompressed and has the file extension ''.img'') and the device name. You can use the command &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; to find the device name. Make sure to flash to the whole device instead of partition 1 and that you're NOT selecting ''/dev/sda1'' or ''/dev/mmcblk0p1'' as target. Be very careful to select the correct device, as the tools can overwrite your data when the wrong device is selected.}}&lt;br /&gt;
&lt;br /&gt;
Then insert the microSD card into the PineTab2. &lt;br /&gt;
&lt;br /&gt;
[[File:PineTab2 USB UARTv2.jpg|thumb|right|400px|Using the USB UART adapter can be required in some cases as explained in the info box about the boot order. The adapter is shipped with the PineTab2 in the box which is also containing the charging cable. The switch to disable the eMMC and SPI is located on the top right of the image.]]&lt;br /&gt;
&lt;br /&gt;
{{Hint|'''Note regarding the boot order:''' The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card. The pre-installed bootloader on the internal memory (eMMC) tries to boot from the microSD card first. '''In some cases''' it can be required to bypass the bootloader, for example if the bootloader is corrupted or was overwritten by a bootloader with varying settings.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To force the device to boot from the microSD card, the eMMC and the SPI can be disabled by using the debug UART adapter shipped with the device in the box also containing the charging cable. Set the ''SD BOOT MASKROM'' switch on the adapter to the position ''ON'' and plug it into the USB/PD charging port. Then power on the tablet and '''unplug the debug board or set the switch to the position ''OFF'' again''' when the factory image is started, otherwise the factory image won't find the eMMC.}}&lt;br /&gt;
&lt;br /&gt;
Power on the device with the microSD card inserted (and optionally with the USB UART adapter inserted and the bypass switch set to ''ON'' depending on the software situation, see the info box above). It should now boot the new operating system from the microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Something is not working?''' Please join the [[Main_Page#Chat_Platforms|PineTab channel in the community chat]], the community is always happy to help. In the section [[#Connecting the UART adapter]] you can find information about how to connect the USB UART adapter and how to retrieve the boot logs if the device is not booting properly even after the above procudere.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
[[File:Pinetab2-side.jpeg|thumb|400px|right|Tablet's side ports: USB-C (with PD), MicroSD, USB-C 3.0, volume rocker, power button]]&lt;br /&gt;
* '''SoC:''' Rockchip RK3566&lt;br /&gt;
* '''CPU:''' 4x ARM Cortex-A55 @ 1.8 GHz&lt;br /&gt;
** 32KB L1 Instruction Cache and 32KB L1 Data Cache per core&lt;br /&gt;
** 512KB unified system L3 cache&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
* '''GPU:''' Mali-G52 MP2 @ 800 MHz&lt;br /&gt;
** Supported by the open source 'Panfrost' driver in Linux and Mesa&lt;br /&gt;
** Supports OpenGL 3.1 and OpenGL ES 3.1 with many newer extensions&lt;br /&gt;
* '''NPU:''' 0.8 TOPS Neural Processing Unit&lt;br /&gt;
* '''RAM:''' 4GB or 8GB LPDDR4&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** 64GB or 128GB internal eMMC ([https://www.szyuda88.com/product-77313-276594.html SiliconGo SGM8 100C-S36BCG]; eMMC 5.1, up o 400MB/s)&lt;br /&gt;
** 1x MicroSD slot&lt;br /&gt;
* '''Display:''' 10.1&amp;quot; IPS LCD Resolution 1280x800&lt;br /&gt;
* '''Cameras:'''&lt;br /&gt;
** Front: 2Mpx, chipset: Galaxycore GC02M2&lt;br /&gt;
** Rear: 5Mpx, chipset: Omnivision OV5648&lt;br /&gt;
* '''Battery:''' 6000 mAh (22.2Wh)&lt;br /&gt;
* '''Buttons:''' Power, volume up, volume down&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** Wi-Fi: BES2600&lt;br /&gt;
*** Driver under development, use a USB wifi dongle for now&lt;br /&gt;
** Bluetooth: BES2600&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 1x USB-C 3.0 (top, host mode only; power output up to 680mA)&lt;br /&gt;
** 1x USB-C 2.0 + PD (bottom, device mode by default; power input)&lt;br /&gt;
** 1x MicroHDMI&lt;br /&gt;
** 1x 4 pole 3.5mm audio jack (microphone right) and headphone detection&lt;br /&gt;
** 2x speakers + microphone (microphone left)&lt;br /&gt;
** 1x 5 pin (USB 2.0; &amp;lt;=680mA) Pogo connector for keyboard&lt;br /&gt;
** (PCIe on PCB as a flat flex ribbon connector, no room for M.2 NVMe drives in case)&lt;br /&gt;
* '''Sensors:'''&lt;br /&gt;
** Accelerometer: Silan SC7A20&lt;br /&gt;
** Ambient Light &amp;amp; Proximity Sensor&lt;br /&gt;
* '''Multimedia:'''&lt;br /&gt;
** rkdjpeg: 1080p120 JPEG decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** hantro: JPEG/VP8/H.264 encode, 1080p MPEG-2/H.263/VP8/H.264 AVC decode&lt;br /&gt;
*** mainline driver does not yet support all codecs/functions&lt;br /&gt;
*** see [[Mainline Hardware Decoding]] and [[Mainline Hardware Encoding]]&lt;br /&gt;
** rkvdec2: 4K H.264 AVC Main10 L5.1/H.265 HEVC Main10 L5.1/VP9 Profile 0 and 2 L5.1 decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** rkvenc2: 4K H.264 AVC/H.265 HEVC encode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
* '''Build:''' Metal and Plastic&lt;br /&gt;
* '''Dimensions:''' 242x161x9mm&lt;br /&gt;
* '''Weight:''' 538g&lt;br /&gt;
* '''Misc:'''&lt;br /&gt;
** Protective cover with keyboard&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{{SeeMainArticle|Quartz64 Development}}&lt;br /&gt;
&lt;br /&gt;
Linux mainline is already quite far along for the device, as the SoC is the same as is used in the Quartz64 line of devices. Some minor pinetab2-specific adjustments can be found [https://github.com/TuxThePenguin0/linux/tree/device/pine64-pinetab2_stable here] Check the main article for the big picture; PineTab2 specific issues are listed here.&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
* WiFi/Bluetooth chip BES2600:&lt;br /&gt;
** The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing (at the moment it often causes system crashes). This is a priority, but for now, you can [[PineTab2_FAQ#Performing_USB_Tethering_with_an_Android_Phone|USB tether a phone]] or [[PineTab2_FAQ#Selecting_a_USB_WIFI_Adapter|use a supported WI-FI dongle]]. There are at least two code releases available, with two respective/non-interchangeable firmware versions. The latest danctnix kernel has a pretty well working wifi driver.&lt;br /&gt;
** The BES2600 Bluetooth driver needs to be implemented.&lt;br /&gt;
** Hardware bugs - the power and reset circuitry is not properly implemented in the circuitry, so hard reset of the chip (in the theoretical case it freezes) is impossible without power cycling the whole board.&lt;br /&gt;
* The camera drivers needs to be ported ([https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/media/i2c/gc02m2.c gc02m2], [https://elixir.bootlin.com/linux/latest/source/drivers/media/i2c/ov5648.c ov5648]), Rockchip CSI/ISP driver needs to be extended to handle 2 lanes.&lt;br /&gt;
* Suspend does not currently work reliably due to a driver issue. It is therefore disabled in the factory image. Caveat Emptor if you chose to unmask the feature prior to it being fixed.&lt;br /&gt;
&lt;br /&gt;
=== Connecting the UART adapter ===&lt;br /&gt;
&lt;br /&gt;
The USB-C UART adapter can be connected to the PineTab2 to debug boot issues at the early boot:&lt;br /&gt;
&lt;br /&gt;
* Plug the adapter face-up in the USB-C port furthest away from the power button. If all the lights are lit, you have the wrong port: only the green light should be lit when you first plug it in.&lt;br /&gt;
* Plug USB-C cable into the port on the adapter marked &amp;quot;DEBUG&amp;quot;&lt;br /&gt;
* Open a terminal window&lt;br /&gt;
* Install ''minicom'' or ''screen'' via your distribution's package manager, if you don't have it installed already&lt;br /&gt;
* Connect via minicom using &amp;lt;code&amp;gt;sudo minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or via screen using &amp;lt;code&amp;gt;sudo screen /dev/ttyUSB0 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ubuntu-based distro users may encounter the error, &amp;quot;cannot open /dev/ttyUSB0: No such file or directory&amp;quot;.  If this occurs, check the output of &amp;lt;code&amp;gt;sudo dmesg --follow&amp;lt;/code&amp;gt; and unplug/replug the USB to look for any errors.  If you see an error like, &amp;quot;usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1&amp;quot;, then the brltty service is likely conflicting with this device.  Brltty provides access to blind users who use a braille display: if you do not need this service, try disabling it using these commands:&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PPineTab2-pcb.jpg|thumb|right|PineTab2 Board]]&lt;br /&gt;
&lt;br /&gt;
PineTab2 mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_schematic-20230417.pdf PineTab2 mainboard Released Schematic-20230417 ver 2.0]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_comp_ref_top-20230417.pdf PineTab2 PCB Component Reference location v2.0 (top layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_comp_ref_bottom-20230417.pdf PineTab2 PCB Component Reference location v2.0 (bottom layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/pinetab2-V_uart_console_schematic-20221107.pdf PineTab2/PineTab-V UART Dongle Schematic-20221107]&lt;br /&gt;
&lt;br /&gt;
PineTab2 certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinetab2%20FCC-SDOC%20Certificate-LCSA040323223E.pdf PineTab2 FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinetab2%20CE%20RED%20Certificate-LCSA040323224E.pdf PineTab2 CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20CE%20EMC%20Certificate-LCSA040323225E.pdf PineTab2 CE EMC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20ROHS%20Report-LCSA040323221R.pdf PineTab2 ROHS Test Report]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20Keyboard%20CE%20EMC%20Certificate-LCSA062623001E.pdf PineTab2/PineTab-V Detached Keyboard CE EMC Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF Rockchip RK3566 and RK3568 TRM (Technical Reference Manual)]&lt;br /&gt;
&lt;br /&gt;
LCD panel:&lt;br /&gt;
&lt;br /&gt;
* [[:File:Boe-technology-th101mb31ig002-28a-datasheet-v10.pdf|BOE TH101MB31IG002-28A datasheet v1.0]]&lt;br /&gt;
&lt;br /&gt;
== Tutorials and Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
Please see the [[PineTab2 FAQ]] page for tutorials and frequently asked questions.&lt;br /&gt;
&lt;br /&gt;
There's also [[:File:PineTab2_display_panel_disassembly_guide.pdf|PineTab2 disassembly guide]].  The disassembly is a very delicate operation, especially around the corners of the screen.  Several (even experienced) users ended up damaging the screen.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.pine64.org/2022/12/15/december-update-merry-christmas-and-happy-new-pinetab/ December 2022 Community Update]&lt;br /&gt;
* [https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/ February 2023 Community Update]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=ROCK64&amp;diff=21681</id>
		<title>ROCK64</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=ROCK64&amp;diff=21681"/>
		<updated>2024-11-21T19:08:53Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Information, Schematics and Certifications */ Linked the datasheet&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Rock64.jpg|400px|thumb|right|The ROCK64]]&lt;br /&gt;
&lt;br /&gt;
The '''ROCK64''' is a credit-card size 4K60P HDR Media Board Computer powered by Rockchip RK3328 Quad-Core ARM Cortex A53 64-Bit Processor and supports up to 4GB 1866MHz LPDDR3 memory. It provides an eMMC module socket, MicroSD Card slot, Pi-2 Bus, Pi-P5+ Bus, USB 3.0, and many other peripheral interfaces for makers to integrate with sensors and other devices. &lt;br /&gt;
&lt;br /&gt;
It supports many different open source operating systems, such as Android, Debian, and Yocto.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
&lt;br /&gt;
Under [[ROCK64 Software Releases]] you will find a complete list of currently supported operating system images, which work with the ROCK64, as well as other related software. &lt;br /&gt;
&lt;br /&gt;
OS build Installation Guide and tools:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/guide/ROCK64_Installing_Android_To_eMMC.pdf Guide to install stock Android build to eMMC module]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/tools/SD_Firmware_Tool._v1.46.zip Tools to burn Android build into a bootable microSD card]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/tools/AndroidTool_Release_v2.38.zip Tools that allows developer flash image into eMMC's Loader/Parameter/Misc/Kernal/Boot/Recovery/System/Backup partition]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/tools/DriverAssitant_v4.5.zip Windows ADB driver package]&lt;br /&gt;
* [[ROCK64 MAC Address]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Requirement&lt;br /&gt;
! GNU/Linux&lt;br /&gt;
! Android/Linux&lt;br /&gt;
! Kodi/Linux&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 2160p 30Hz 8bit h264/h265/vp8&lt;br /&gt;
| partial? [https://forum.pine64.org/showthread.php?tid=4861&amp;amp;pid=32474#pid32474 1]&lt;br /&gt;
| yes&lt;br /&gt;
| yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UI using GPU&lt;br /&gt;
| no&lt;br /&gt;
| yes&lt;br /&gt;
| yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Youtube&lt;br /&gt;
| no&lt;br /&gt;
| yes&lt;br /&gt;
| no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| vp9 / mpeg4 / mpeg2 / 10bit HDR / YCbCr&lt;br /&gt;
| no&lt;br /&gt;
| yes?&lt;br /&gt;
| yes&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Upstreaming Status ==&lt;br /&gt;
{{Warning|The data presented in this section requires updating.}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable plainrowheaders&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Function&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; colspan=&amp;quot;2&amp;quot; | Status&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Component&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Notes&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Video Output&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchipdrm&amp;lt;/code&amp;gt;&lt;br /&gt;
| With mpv, you'll need to specify something like &amp;lt;code&amp;gt;mpv --gpu-context=drm --drm-connector=1.HDMI-A-1&amp;lt;/code&amp;gt; to get it to play back on a VT&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 3D Acceleration &lt;br /&gt;
| style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Upstream Mesa&lt;br /&gt;
| &amp;lt;code&amp;gt;lima&amp;lt;/code&amp;gt;&lt;br /&gt;
| Very recent version recommended for the best experience. Has weird glitches on HDMI output in weston.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Video Decode &lt;br /&gt;
| style=&amp;quot;background:LightYellow; text-align:center;&amp;quot;|Linux Staging&lt;br /&gt;
| style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Broken/Not in ffmpeg&lt;br /&gt;
| &amp;lt;code&amp;gt;hantro_vpu&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;rockchip_vdec&amp;lt;/code&amp;gt;, using &amp;lt;code&amp;gt;v4l2-requests&amp;lt;/code&amp;gt;&lt;br /&gt;
| [https://lore.kernel.org/linux-media/49b1-608d4d00-2b-62afdf80@101971638/ Soon to be moved out of staging], ffmpeg patch set [https://patchwork.ffmpeg.org/project/ffmpeg/patch/20201209202513.27449-3-jonas@kwiboo.se/ seemingly abandoned], does not work on newer kernels. [https://github.com/Kwiboo/FFmpeg/commits/v4l2-request-hwaccel-master-stable Git branch with commits]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Audio &lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;  style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;snd_soc_rockchip_*&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Power Button&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt;&lt;br /&gt;
| If your PWR switch does nothing unless held, this may need to be loaded manually with &amp;lt;code&amp;gt;modprobe&amp;lt;/code&amp;gt; or by putting it in &amp;lt;code&amp;gt;/etc/modules-load.d/&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Analog Video Output&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs porting&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip_drm_tve&amp;lt;/code&amp;gt;&lt;br /&gt;
| Definitely needs some cleanup before it'd be ready for mainline, and needs some dt bindings written.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specification ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK33_Series/2017/0118/829.html Rockchip RK3328]&lt;br /&gt;
[[File:Rockchip_RK3328.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://www.arm.com/products/processors/cortex-a/cortex-a53-processor.php Quad-core Cortex-A53 up to 1.5GHz CPU]&lt;br /&gt;
* Full implementation of the ARM architecture v8-A instruction set&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* In-order pipeline with symmetric dual-issue of most instructions&lt;br /&gt;
* Unified system L2 cache&lt;br /&gt;
* Includes VFP v3 hardware to support single and double-precision operations&lt;br /&gt;
* Integrated 32KB L1 instruction cache, 32KB 4-way set associative L1 data cache&lt;br /&gt;
* TrustZone technology support&lt;br /&gt;
* Full CoreSight debug solution&lt;br /&gt;
* One separate power domain for CPU core system to support internal power switch, and to externally turn on/off based on different application scenario&lt;br /&gt;
* PD_A53: Cortex-A53 + Neon + FPU + L1 I/D Cache of core 2/3&lt;br /&gt;
* One isolated voltage domain to support DVFS&lt;br /&gt;
&lt;br /&gt;
==== Frequencies &amp;amp; Voltages ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Frequency&lt;br /&gt;
! Voltage&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 408 MHz&lt;br /&gt;
| 0.950 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 600 MHz&lt;br /&gt;
| 0.950 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 816 MHz&lt;br /&gt;
| 1.000 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1008 MHz&lt;br /&gt;
| 1.100 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1200 MHz&lt;br /&gt;
| 1.225 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1296 MHz&lt;br /&gt;
| 1.300 V&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Power Draw ====&lt;br /&gt;
&lt;br /&gt;
These numbers for power draw have been measured through an USB power monitor (FNB38) while running the &amp;lt;code&amp;gt;stress&amp;lt;/code&amp;gt; utility, whereby &amp;quot;cpu&amp;quot; stands for &amp;lt;code&amp;gt;stress --cpu 4&amp;lt;/code&amp;gt; and &amp;quot;vm&amp;quot; stands for &amp;lt;code&amp;gt;stress --vm 4&amp;lt;/code&amp;gt;. The former spins on the CPU, the latter stresses the memory. Real workloads are usually a mix of both. The tests were ran through ssh, with nothing besides power and ethernet plugged into the ROCK64&lt;br /&gt;
&lt;br /&gt;
Please keep in mind that under real world usage, many other factors come into play. Having a display connected, running a graphical session, I/O and most importantly the connected USB peripherals can add a lot.&lt;br /&gt;
&lt;br /&gt;
Helpful refresher on the formula for power (W) on DC: power = current &amp;amp;times; voltage, because the power factor is 1. The ROCK64 runs on 5V, so use that to calculate current if you need to.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Frequency&lt;br /&gt;
! Power cpu&lt;br /&gt;
! Power vm&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1296 MHz&lt;br /&gt;
| 2.64 W&lt;br /&gt;
| 2.95 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1200 MHz&lt;br /&gt;
| 2.32 W&lt;br /&gt;
| 2.69 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1008 MHz&lt;br /&gt;
| 1.90 W&lt;br /&gt;
| 2.31 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 816 MHz&lt;br /&gt;
| 1.62 W&lt;br /&gt;
| 2.05 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 600 MHz&lt;br /&gt;
| 1.45 W&lt;br /&gt;
| 1.85 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 408 MHz&lt;br /&gt;
| 1.33 W&lt;br /&gt;
| 1.72 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| Idle (no load)&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align:center;&amp;quot;| 1.10 W&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It appears a good upper bound for a headless setup is in the neighbourhood of 3 W, or the energy contained in 0.025 bananas per hour.&lt;br /&gt;
&lt;br /&gt;
=== GPU Architecture ===&lt;br /&gt;
* [https://www.arm.com/products/multimedia/mali-gpu/ultra-low-power/mali-450.php ARM Mali-450MP2 Dual-core GPU]&lt;br /&gt;
* OpenGL ES 1.1 and 2.0, OpenVG1.1&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* LPDDR3 RAM Memory Variants: 1GB, 2GB and 4GB.&lt;br /&gt;
&lt;br /&gt;
== Board Features ==&lt;br /&gt;
[[File:ROCK64_sideimg.jpg|400px|thumb|right|The ROCK64 and a size comparison]]&lt;br /&gt;
&lt;br /&gt;
=== Video ===&lt;br /&gt;
* Digital Video output up to 4K@60Hz&lt;br /&gt;
* 4K HDR @ 60fps&lt;br /&gt;
* H.264/AVC Base/Main/High/High10 profile @ level 5.1; up to 4Kx2K @ 60fps&lt;br /&gt;
* H.265/HEVC Main/Main10 profile @ level 5.1 High-tier; up to 4Kx2K @ 60fps&lt;br /&gt;
* VP9, up to 4Kx2K @ 60fps&lt;br /&gt;
* MPEG-1, ISO/IEC 11172-2, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-2, ISO/IEC 13818-2, SP@ML, MP@HL, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-4, ISO/IEC 14496-2, SP@L0-3, ASP@L0-5, up to 1080P @ 60fps&lt;br /&gt;
* VC-1, SP@ML, MP@HL, AP@L0-3, up to 1080P @ 60fps&lt;br /&gt;
* MVC is supported based on H.264 or H.265, up to 1080P @ 60fps&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* 3.5mm A/V Jack (Composite Video Output and RCA Stereo support using conversion cable)&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* 10/100/1000Mbps Ethernet&lt;br /&gt;
* WiFi 802.11 b/g/n with Bluetooth 4.0 (optional USB dongle)&lt;br /&gt;
&lt;br /&gt;
=== Storage ===&lt;br /&gt;
[[File:Rock64-emmc-disable-jumper.png|250px|thumb|right|Position of the two-pin header for disabling the optionally installed eMMC module (highlighted in red)]]&lt;br /&gt;
&lt;br /&gt;
* microSD - bootable, supports SDHC and SDXC and storage up to 256GB&lt;br /&gt;
* eMMC - bootable (optional eMMC Module)&lt;br /&gt;
* 128Mbit (16MB) on-board SPI flash memory (empty by default) - bootable? Usually accessible as a [http://linux-mtd.infradead.org/doc/general.html Linux MTD] device at &amp;lt;code&amp;gt;/dev/mtd0&amp;lt;/code&amp;gt;&lt;br /&gt;
* 1 USB3.0 Dedicated Host port&lt;br /&gt;
* 2 USB2.0 Dedicated Host port (top one is USB-OTG)&lt;br /&gt;
&lt;br /&gt;
Optionally installed eMMC module can be disabled by placing a jumper onto the two pins on the separate two-pin header, located near one of the mounting holes and two side-mounted buttons.  See the picture in this section, in which this two-pin header is highlighted in red.&lt;br /&gt;
&lt;br /&gt;
=== Expansion Ports ===&lt;br /&gt;
All GPIO pins, including UART, operate at 3.3V. (See VCCIO5 in the schematics.)&lt;br /&gt;
&lt;br /&gt;
* 2x20 pins &amp;quot;Pi2&amp;quot; GPIO Header&lt;br /&gt;
* 2x11 pins &amp;quot;Pi P5+&amp;quot; GPIO Header (with 2nd 10/100Mbps Ethernet pins)&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics and Certifications ==&lt;br /&gt;
{{Warning|While it's also possible to power the ROCK64 from the pins on the GPIO header, doing that isn't advisable because the [[:File:Murata-manufacturing-blm18pg181sn1-datasheet-r2024.pdf|Murata BLM18PG181SN1]] inductor that's placed in series with that power input is rated for up to 1.5 A when the temperature of its case is below 85 oC.  If you can guarantee not to go above those ratings, it may work reliably, otherwise you risk damage to your board.}}&lt;br /&gt;
&lt;br /&gt;
Board dimensions: 85&amp;amp;nbsp;x 56&amp;amp;nbsp;x 18.8&amp;amp;nbsp;mm, see the [https://files.pine64.org/doc/rock64/rock64%20board%20dimension.pdf ROCK64 board dimension drawing]&lt;br /&gt;
&lt;br /&gt;
Power input: 3&amp;amp;nbsp;A at 5&amp;amp;nbsp;V DC, using 3.5&amp;amp;nbsp;mm OD&amp;amp;nbsp;/ 1.35&amp;amp;nbsp;mm ID type H barrel connector (also known as DC 35135, 2&amp;amp;nbsp;A at 5&amp;amp;nbsp;V will work if there is no heavy load on the USB 3.0 port)&lt;br /&gt;
&lt;br /&gt;
ROCK64 ver 3.0 SBC related info:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/Rock64%20Ver%203%20change%20notice.pdf ROCK64 SBC v3.0 Change Notice]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_Schematic_v3.0_20181105.pdf ROCK64 Schematic v3.0 (Production Release)]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_comp_ref_top_v3.0_20181105.pdf ROCK64 Component Reference location v3.0 (top layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_comp_ref_bottom_v3.0_20181105.pdf ROCK64 Component Reference location v3.0 (bottom layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_V3_Pi-2_and_Pi-P5+_Bus.pdf ROCK64 SBC v3.0 Pi-2 and Pi-P5+ Bus GPIO Assignment]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/R64V3%20RTC%20Batt%20connector.png ROCK64 Rev3 SBC RTC Battery Connector polarity]&lt;br /&gt;
&lt;br /&gt;
ROCK64 ver 2.0 SBC related info:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_Schematic_v2.0_20171019.pdf ROCK64 Schematic v2.0 (Production Release)] &lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_Pi-2%20_and_Pi_P5+_Bus.pdf ROCK64 SBC v2.0 Pi-2 and Pi-P5+ Bus GPIO Assignment]&lt;br /&gt;
* [https://github.com/Leapo/Rock64-R64.GPIO Github on ROCK64 GPIO library, thanks to Leapo]&lt;br /&gt;
* [http://synfare.com/599N105E/hwdocs/rock64/index.html Good documentation about ROCK64 GPIO pins article]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_ES9023_Audio_100Mbps_Ethernet_Board.pdf ROCK64 Audio DAC with 10/100Mbps Ethernet POT Board Schematic]&lt;br /&gt;
&lt;br /&gt;
ROCK64 3D autodesk drawing (from ''TeaPack''):&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761e818b9e1b31b54545?viewState=NoIgbgDAdAjCA0IAsSDMAzAnAQwCaoFoYBjAdhgICNTVcCA2S9AJgIFMJTsAOGTU3LmLYQAXSA ROCK64 board 2D drawing @courtesy of TeaPack]&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761e6078b748ecd478e1?viewState=NoIgbgDAdAjCA0IDeAdEAXAngBwKZoC40ARXAZwEsBzAOzXjQEMyzd1C0AmAEwGYZOAI0G4AtAA4ArABZeo6eIiNRggJwxuomAHYAxoOm6YMaQDZOvNAF8QAXSA ROCK64 board 3D drawing @courtesy of TeaPack]&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761e45a87155aecc813f?viewState=NoIgbgDAdAjCA0IDeAdEAXAngBwKZoC40ARXAZwEsBzAOzXjQEMyzd1C0BWAYwgGYYAEyEBaQQDYARoJEAWfjMmzckkQCYAHCs5LZAMxi41aAL4gAukA ROCK64 Audio DAC with 10/100Mbps Ethernet POT board 3D drawing @courtesy of TeaPack]&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761ee09b497ae3f2f72e?viewState=NoIgbgDAdAjCA0IBmSYEMAcBmAbBgtACwBGhMRATMeQKYYYX5ICcAJhjYWjDBGgKwgAukA ROCK64 board with Audio DAC POT board 3D drawing @courtesy of TeaPack]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCK64%20FCC%20certification%20VOC20171129.pdf ROCK64 FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCK64%20CE%20certification%20VOC20171129.pdf ROCK64 CE Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCK64%20ROHS%20certification%20VOC20170927.pdf ROCK64 RoHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3328 SoC information:&lt;br /&gt;
* [https://www.rock-chips.com/a/en/products/RK33_Series/2017/0118/829.html Rockchip RK3328 SoC Brief]&lt;br /&gt;
* [https://rockchip.fr/RK3328%20datasheet%20V1.2.pdf Rockchip RK3328 Datasheet V1.2]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/9/97/Rockchip_RK3328TRM_V1.1-Part1-20170321.pdf Rockchip RK3328 Technical Reference Manual part 1]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/Rockchip_RK805_Datasheet_V1.1%C2%A020160921.pdf Rockchip RK805 Datasheet V1.1]&lt;br /&gt;
&lt;br /&gt;
LPDDR3 (178 Balls) SDRAM:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/H9CCNNNCLTMLAR(Rev1.2).pdf Hynix LPDDR3 Datasheet V1.2]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/K4E8E324EB-EGCF000_DRAM_178F_11x11.5_Ver.1.00.00.pdf Samsung LPDDR3 Datasheet V1.00.00]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/SPECTEK_178B_32GB_V91M_MOBILE_LPDDR3.pdf Spectek LPDDR3 Datasheet]&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf PINE64 eMMC module schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/usb%20emmc%20module%20adapter%20v2.pdf PINE64 USB adapter for eMMC module V2 schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/USB%20adapter%20for%20eMMC%20module%20PCB.tar PINE64 USB adapter for eMMC module PCB in JPEG]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/E-00517%20FORESEE_eMMC_NCEMAM8B-16G%20SPEC.pdf 16GB Foresee eMMC Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/SDINADF4-16-128GB-H%20data%20sheet%20v1.13.pdf 32Gb/64GB/128GB SanDisk eMMC Datasheet]&lt;br /&gt;
&lt;br /&gt;
SPI NOR Flash information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/w25q128jv%20spi%20revc%2011162016.pdf WinBond 128Mb SPI Flash Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/GD25Q128C-Rev2.5.pdf GigaDevice 128Mb SPI Flash Datasheet]&lt;br /&gt;
&lt;br /&gt;
Ethernet related info:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rock64/RTL8211F-CG-Realtek.pdf Realtek RTL8211F 10/100/1000M Ethernet Transceiver Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/DGKYD111B096GWA1D.pdf 10/100Mbps MegJack on Audio DAC POT board Datasheet]&lt;br /&gt;
&lt;br /&gt;
Peripheral related info:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/PDS-16002%20JMS578%20Datasheet%20(Rev.%201.01).pdf JMicron JMS578 to SATA  Datasheet]&lt;br /&gt;
&lt;br /&gt;
Enclosure information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/case/ROCK64%20Aluminum%20Waterproof%20Die%20Cast%20Casing.pdf Outdoor Aluminum Cast Dust-proof IP67 Enclosure Drawing]&lt;br /&gt;
&lt;br /&gt;
Remote control button mapping:&lt;br /&gt;
* [https://files.pine64.org/doc/Pine%20A64%20Schematic/remote-wit-logo.jpg Official Remote Control for the PINE A64 Button Mapping]&lt;br /&gt;
&lt;br /&gt;
== Enclosures ==&lt;br /&gt;
&lt;br /&gt;
[[File:Rock64-Al-Case1-1.jpg|thumb|100px]]&lt;br /&gt;
&lt;br /&gt;
The ROCK64 fits in three officially sold cases.&lt;br /&gt;
&lt;br /&gt;
* [[&amp;quot;Model B&amp;quot; Acrylic Open Enclosure]], [https://pine64.com/product/model-b-acrylic-open-enclosure/ Store]&lt;br /&gt;
* &amp;quot;Model B&amp;quot; Aluminum Waterproof Enclosure, [https://pine64.com/product/model-b-aluminum-waterproof-enclosure/ Store]&lt;br /&gt;
* [[ROCK64 Premium Aluminum Casing]], [https://pine64.com/product/model-b-premium-aluminum-casing/?v=0446c16e2e66 Store]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== HDMI output disconnects as soon as it connects ===&lt;br /&gt;
&lt;br /&gt;
Some older monitors seemingly can get into a weird state wherein the ROCK64 is unable to establish a proper connection with them. [[User:CounterPillow]] has seen this happen on an iiyama ProLite G2773HS connected over HDMI, and an Acer P225HQL connected over an HDMI to DVI adapter. The symptoms usually are that you see the monitor briefly turn on its backlight without displaying a picture, but then immediately either shutting off again or showing a &amp;quot;No Signal&amp;quot; message.&lt;br /&gt;
&lt;br /&gt;
The solution is to completely power down your ROCK64, also removing its power source. Then plug in the monitor, and start up the ROCK64 afterwards. You should now be getting a picture again.&lt;br /&gt;
&lt;br /&gt;
=== Power button doesn't do anything on a short press (Linux) ===&lt;br /&gt;
&lt;br /&gt;
Make sure the &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt; module is loaded, e.g. with &amp;lt;code&amp;gt;lsmod | grep rk805_pwrkey&amp;lt;/code&amp;gt;. The module auto loading of &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt; was fixed in the following upstream kernels: v6.0/v5.15.66/v5.10.142/v5.4.213/v4.19.258/v4.14.293 so there should be no requirement for fixes with those kernels or newer. If it doesn't show up, do a &amp;lt;code&amp;gt;modprobe rk805_pwrkey&amp;lt;/code&amp;gt; as root. To make this persistent, create a &amp;lt;code&amp;gt;99-rk805_pwrkey.conf&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/modules-load.d/&amp;lt;/code&amp;gt; with the content &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it still doesn't work, make sure your init system is actually listening to the button press. With systemd, check &amp;lt;code&amp;gt;/etc/systemd/logind.conf&amp;lt;/code&amp;gt; and make sure it's either all commented out (uses defaults) or contains something like &amp;lt;code&amp;gt;HandlePowerKey=poweroff&amp;lt;/code&amp;gt;. You can change the short press action by setting &amp;lt;code&amp;gt;HandlePowerKey&amp;lt;/code&amp;gt; to one of &amp;quot;ignore&amp;quot;, &amp;quot;poweroff&amp;quot;, &amp;quot;reboot&amp;quot;, &amp;quot;halt&amp;quot;, &amp;quot;kexec&amp;quot;, &amp;quot;suspend&amp;quot;, &amp;quot;hibernate&amp;quot;, &amp;quot;hybrid-sleep&amp;quot;, &amp;quot;suspend-then-hibernate&amp;quot;, or &amp;quot;lock&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Video output is glitchy during activity ===&lt;br /&gt;
&lt;br /&gt;
If your video output glitches out while there is memory bandwidth pressure, the likely reason is that the video output (VOP) quality-of-service (QoS) registers aren't set to high priority mode.&lt;br /&gt;
&lt;br /&gt;
[[User:CounterPillow]] submitted [https://overviewer.org/~pillow/up/c5179dcb67/0001-rockchip-rk3328-Set-VOP-QoS-to-high-priority.patch a patch] to u-boot to fix this, but someone still needs to write a kernel patch to save/restore the QoS registers from the power domain driver.&lt;br /&gt;
&lt;br /&gt;
== Other Resources ==&lt;br /&gt;
* [https://forum.pine64.org/forumdisplay.php?fid=85 ROCK64 Forum]&lt;br /&gt;
* IRC Server: irc.pine64.org Channel: ROCK64&lt;br /&gt;
* [https://github.com/rock64-linux ROCK64 Linux GitHub Repo]&lt;br /&gt;
* [https://github.com/ayufan-rock64 ROCK64 ayufan GitHub Repo]&lt;br /&gt;
* [https://github.com/rockchip-linux Rockchip Linux GitHub Repo]&lt;br /&gt;
* [https://github.com/JamesLinEngineer/RKMC Rockchip Android RKMC (Forked from Kodi 16.1)]&lt;br /&gt;
* [https://opensource.rock-chips.com/ Rockchip Open Source Wiki]&lt;br /&gt;
* [https://www.armbian.com/rock64 Armbian's ROCK64 Page]&lt;br /&gt;
&lt;br /&gt;
[[Category:ROCK64]] [[Category:Rockchip RK3328]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=File:Murata-manufacturing-blm18pg181sn1-datasheet-r2024.pdf&amp;diff=21680</id>
		<title>File:Murata-manufacturing-blm18pg181sn1-datasheet-r2024.pdf</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=File:Murata-manufacturing-blm18pg181sn1-datasheet-r2024.pdf&amp;diff=21680"/>
		<updated>2024-11-21T19:07:23Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: Murata BLM18PG181SN1 inductor datasheet&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Murata BLM18PG181SN1 inductor datasheet&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=ROCK64&amp;diff=21679</id>
		<title>ROCK64</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=ROCK64&amp;diff=21679"/>
		<updated>2024-11-21T18:47:38Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Information, Schematics and Certifications */ Ditto&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Rock64.jpg|400px|thumb|right|The ROCK64]]&lt;br /&gt;
&lt;br /&gt;
The '''ROCK64''' is a credit-card size 4K60P HDR Media Board Computer powered by Rockchip RK3328 Quad-Core ARM Cortex A53 64-Bit Processor and supports up to 4GB 1866MHz LPDDR3 memory. It provides an eMMC module socket, MicroSD Card slot, Pi-2 Bus, Pi-P5+ Bus, USB 3.0, and many other peripheral interfaces for makers to integrate with sensors and other devices. &lt;br /&gt;
&lt;br /&gt;
It supports many different open source operating systems, such as Android, Debian, and Yocto.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
&lt;br /&gt;
Under [[ROCK64 Software Releases]] you will find a complete list of currently supported operating system images, which work with the ROCK64, as well as other related software. &lt;br /&gt;
&lt;br /&gt;
OS build Installation Guide and tools:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/guide/ROCK64_Installing_Android_To_eMMC.pdf Guide to install stock Android build to eMMC module]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/tools/SD_Firmware_Tool._v1.46.zip Tools to burn Android build into a bootable microSD card]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/tools/AndroidTool_Release_v2.38.zip Tools that allows developer flash image into eMMC's Loader/Parameter/Misc/Kernal/Boot/Recovery/System/Backup partition]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/tools/DriverAssitant_v4.5.zip Windows ADB driver package]&lt;br /&gt;
* [[ROCK64 MAC Address]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Requirement&lt;br /&gt;
! GNU/Linux&lt;br /&gt;
! Android/Linux&lt;br /&gt;
! Kodi/Linux&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 2160p 30Hz 8bit h264/h265/vp8&lt;br /&gt;
| partial? [https://forum.pine64.org/showthread.php?tid=4861&amp;amp;pid=32474#pid32474 1]&lt;br /&gt;
| yes&lt;br /&gt;
| yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UI using GPU&lt;br /&gt;
| no&lt;br /&gt;
| yes&lt;br /&gt;
| yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Youtube&lt;br /&gt;
| no&lt;br /&gt;
| yes&lt;br /&gt;
| no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| vp9 / mpeg4 / mpeg2 / 10bit HDR / YCbCr&lt;br /&gt;
| no&lt;br /&gt;
| yes?&lt;br /&gt;
| yes&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Upstreaming Status ==&lt;br /&gt;
{{Warning|The data presented in this section requires updating.}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable plainrowheaders&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Function&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; colspan=&amp;quot;2&amp;quot; | Status&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Component&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Notes&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Video Output&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchipdrm&amp;lt;/code&amp;gt;&lt;br /&gt;
| With mpv, you'll need to specify something like &amp;lt;code&amp;gt;mpv --gpu-context=drm --drm-connector=1.HDMI-A-1&amp;lt;/code&amp;gt; to get it to play back on a VT&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 3D Acceleration &lt;br /&gt;
| style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Upstream Mesa&lt;br /&gt;
| &amp;lt;code&amp;gt;lima&amp;lt;/code&amp;gt;&lt;br /&gt;
| Very recent version recommended for the best experience. Has weird glitches on HDMI output in weston.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Video Decode &lt;br /&gt;
| style=&amp;quot;background:LightYellow; text-align:center;&amp;quot;|Linux Staging&lt;br /&gt;
| style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Broken/Not in ffmpeg&lt;br /&gt;
| &amp;lt;code&amp;gt;hantro_vpu&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;rockchip_vdec&amp;lt;/code&amp;gt;, using &amp;lt;code&amp;gt;v4l2-requests&amp;lt;/code&amp;gt;&lt;br /&gt;
| [https://lore.kernel.org/linux-media/49b1-608d4d00-2b-62afdf80@101971638/ Soon to be moved out of staging], ffmpeg patch set [https://patchwork.ffmpeg.org/project/ffmpeg/patch/20201209202513.27449-3-jonas@kwiboo.se/ seemingly abandoned], does not work on newer kernels. [https://github.com/Kwiboo/FFmpeg/commits/v4l2-request-hwaccel-master-stable Git branch with commits]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Audio &lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;  style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;snd_soc_rockchip_*&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Power Button&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt;&lt;br /&gt;
| If your PWR switch does nothing unless held, this may need to be loaded manually with &amp;lt;code&amp;gt;modprobe&amp;lt;/code&amp;gt; or by putting it in &amp;lt;code&amp;gt;/etc/modules-load.d/&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Analog Video Output&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs porting&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip_drm_tve&amp;lt;/code&amp;gt;&lt;br /&gt;
| Definitely needs some cleanup before it'd be ready for mainline, and needs some dt bindings written.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specification ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK33_Series/2017/0118/829.html Rockchip RK3328]&lt;br /&gt;
[[File:Rockchip_RK3328.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://www.arm.com/products/processors/cortex-a/cortex-a53-processor.php Quad-core Cortex-A53 up to 1.5GHz CPU]&lt;br /&gt;
* Full implementation of the ARM architecture v8-A instruction set&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* In-order pipeline with symmetric dual-issue of most instructions&lt;br /&gt;
* Unified system L2 cache&lt;br /&gt;
* Includes VFP v3 hardware to support single and double-precision operations&lt;br /&gt;
* Integrated 32KB L1 instruction cache, 32KB 4-way set associative L1 data cache&lt;br /&gt;
* TrustZone technology support&lt;br /&gt;
* Full CoreSight debug solution&lt;br /&gt;
* One separate power domain for CPU core system to support internal power switch, and to externally turn on/off based on different application scenario&lt;br /&gt;
* PD_A53: Cortex-A53 + Neon + FPU + L1 I/D Cache of core 2/3&lt;br /&gt;
* One isolated voltage domain to support DVFS&lt;br /&gt;
&lt;br /&gt;
==== Frequencies &amp;amp; Voltages ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Frequency&lt;br /&gt;
! Voltage&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 408 MHz&lt;br /&gt;
| 0.950 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 600 MHz&lt;br /&gt;
| 0.950 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 816 MHz&lt;br /&gt;
| 1.000 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1008 MHz&lt;br /&gt;
| 1.100 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1200 MHz&lt;br /&gt;
| 1.225 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1296 MHz&lt;br /&gt;
| 1.300 V&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Power Draw ====&lt;br /&gt;
&lt;br /&gt;
These numbers for power draw have been measured through an USB power monitor (FNB38) while running the &amp;lt;code&amp;gt;stress&amp;lt;/code&amp;gt; utility, whereby &amp;quot;cpu&amp;quot; stands for &amp;lt;code&amp;gt;stress --cpu 4&amp;lt;/code&amp;gt; and &amp;quot;vm&amp;quot; stands for &amp;lt;code&amp;gt;stress --vm 4&amp;lt;/code&amp;gt;. The former spins on the CPU, the latter stresses the memory. Real workloads are usually a mix of both. The tests were ran through ssh, with nothing besides power and ethernet plugged into the ROCK64&lt;br /&gt;
&lt;br /&gt;
Please keep in mind that under real world usage, many other factors come into play. Having a display connected, running a graphical session, I/O and most importantly the connected USB peripherals can add a lot.&lt;br /&gt;
&lt;br /&gt;
Helpful refresher on the formula for power (W) on DC: power = current &amp;amp;times; voltage, because the power factor is 1. The ROCK64 runs on 5V, so use that to calculate current if you need to.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Frequency&lt;br /&gt;
! Power cpu&lt;br /&gt;
! Power vm&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1296 MHz&lt;br /&gt;
| 2.64 W&lt;br /&gt;
| 2.95 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1200 MHz&lt;br /&gt;
| 2.32 W&lt;br /&gt;
| 2.69 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1008 MHz&lt;br /&gt;
| 1.90 W&lt;br /&gt;
| 2.31 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 816 MHz&lt;br /&gt;
| 1.62 W&lt;br /&gt;
| 2.05 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 600 MHz&lt;br /&gt;
| 1.45 W&lt;br /&gt;
| 1.85 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 408 MHz&lt;br /&gt;
| 1.33 W&lt;br /&gt;
| 1.72 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| Idle (no load)&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align:center;&amp;quot;| 1.10 W&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It appears a good upper bound for a headless setup is in the neighbourhood of 3 W, or the energy contained in 0.025 bananas per hour.&lt;br /&gt;
&lt;br /&gt;
=== GPU Architecture ===&lt;br /&gt;
* [https://www.arm.com/products/multimedia/mali-gpu/ultra-low-power/mali-450.php ARM Mali-450MP2 Dual-core GPU]&lt;br /&gt;
* OpenGL ES 1.1 and 2.0, OpenVG1.1&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* LPDDR3 RAM Memory Variants: 1GB, 2GB and 4GB.&lt;br /&gt;
&lt;br /&gt;
== Board Features ==&lt;br /&gt;
[[File:ROCK64_sideimg.jpg|400px|thumb|right|The ROCK64 and a size comparison]]&lt;br /&gt;
&lt;br /&gt;
=== Video ===&lt;br /&gt;
* Digital Video output up to 4K@60Hz&lt;br /&gt;
* 4K HDR @ 60fps&lt;br /&gt;
* H.264/AVC Base/Main/High/High10 profile @ level 5.1; up to 4Kx2K @ 60fps&lt;br /&gt;
* H.265/HEVC Main/Main10 profile @ level 5.1 High-tier; up to 4Kx2K @ 60fps&lt;br /&gt;
* VP9, up to 4Kx2K @ 60fps&lt;br /&gt;
* MPEG-1, ISO/IEC 11172-2, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-2, ISO/IEC 13818-2, SP@ML, MP@HL, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-4, ISO/IEC 14496-2, SP@L0-3, ASP@L0-5, up to 1080P @ 60fps&lt;br /&gt;
* VC-1, SP@ML, MP@HL, AP@L0-3, up to 1080P @ 60fps&lt;br /&gt;
* MVC is supported based on H.264 or H.265, up to 1080P @ 60fps&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* 3.5mm A/V Jack (Composite Video Output and RCA Stereo support using conversion cable)&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* 10/100/1000Mbps Ethernet&lt;br /&gt;
* WiFi 802.11 b/g/n with Bluetooth 4.0 (optional USB dongle)&lt;br /&gt;
&lt;br /&gt;
=== Storage ===&lt;br /&gt;
[[File:Rock64-emmc-disable-jumper.png|250px|thumb|right|Position of the two-pin header for disabling the optionally installed eMMC module (highlighted in red)]]&lt;br /&gt;
&lt;br /&gt;
* microSD - bootable, supports SDHC and SDXC and storage up to 256GB&lt;br /&gt;
* eMMC - bootable (optional eMMC Module)&lt;br /&gt;
* 128Mbit (16MB) on-board SPI flash memory (empty by default) - bootable? Usually accessible as a [http://linux-mtd.infradead.org/doc/general.html Linux MTD] device at &amp;lt;code&amp;gt;/dev/mtd0&amp;lt;/code&amp;gt;&lt;br /&gt;
* 1 USB3.0 Dedicated Host port&lt;br /&gt;
* 2 USB2.0 Dedicated Host port (top one is USB-OTG)&lt;br /&gt;
&lt;br /&gt;
Optionally installed eMMC module can be disabled by placing a jumper onto the two pins on the separate two-pin header, located near one of the mounting holes and two side-mounted buttons.  See the picture in this section, in which this two-pin header is highlighted in red.&lt;br /&gt;
&lt;br /&gt;
=== Expansion Ports ===&lt;br /&gt;
All GPIO pins, including UART, operate at 3.3V. (See VCCIO5 in the schematics.)&lt;br /&gt;
&lt;br /&gt;
* 2x20 pins &amp;quot;Pi2&amp;quot; GPIO Header&lt;br /&gt;
* 2x11 pins &amp;quot;Pi P5+&amp;quot; GPIO Header (with 2nd 10/100Mbps Ethernet pins)&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics and Certifications ==&lt;br /&gt;
{{Warning|While it's also possible to power the ROCK64 from the pins on the GPIO header, doing that isn't advisable because the inductor that's placed in series with that power input is rated for up to 1.5 A when the temperature of its case is below 85 oC.  If you can guarantee not to go above those ratings, it may work reliably, otherwise you risk damage to your board.}}&lt;br /&gt;
&lt;br /&gt;
Board dimensions: 85&amp;amp;nbsp;x 56&amp;amp;nbsp;x 18.8&amp;amp;nbsp;mm, see the [https://files.pine64.org/doc/rock64/rock64%20board%20dimension.pdf ROCK64 board dimension drawing]&lt;br /&gt;
&lt;br /&gt;
Power input: 3&amp;amp;nbsp;A at 5&amp;amp;nbsp;V DC, using 3.5&amp;amp;nbsp;mm OD&amp;amp;nbsp;/ 1.35&amp;amp;nbsp;mm ID type H barrel connector (also known as DC 35135, 2&amp;amp;nbsp;A at 5&amp;amp;nbsp;V will work if there is no heavy load on the USB 3.0 port)&lt;br /&gt;
&lt;br /&gt;
ROCK64 ver 3.0 SBC related info:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/Rock64%20Ver%203%20change%20notice.pdf ROCK64 SBC v3.0 Change Notice]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_Schematic_v3.0_20181105.pdf ROCK64 Schematic v3.0 (Production Release)]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_comp_ref_top_v3.0_20181105.pdf ROCK64 Component Reference location v3.0 (top layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_comp_ref_bottom_v3.0_20181105.pdf ROCK64 Component Reference location v3.0 (bottom layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_V3_Pi-2_and_Pi-P5+_Bus.pdf ROCK64 SBC v3.0 Pi-2 and Pi-P5+ Bus GPIO Assignment]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/R64V3%20RTC%20Batt%20connector.png ROCK64 Rev3 SBC RTC Battery Connector polarity]&lt;br /&gt;
&lt;br /&gt;
ROCK64 ver 2.0 SBC related info:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_Schematic_v2.0_20171019.pdf ROCK64 Schematic v2.0 (Production Release)] &lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_Pi-2%20_and_Pi_P5+_Bus.pdf ROCK64 SBC v2.0 Pi-2 and Pi-P5+ Bus GPIO Assignment]&lt;br /&gt;
* [https://github.com/Leapo/Rock64-R64.GPIO Github on ROCK64 GPIO library, thanks to Leapo]&lt;br /&gt;
* [http://synfare.com/599N105E/hwdocs/rock64/index.html Good documentation about ROCK64 GPIO pins article]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_ES9023_Audio_100Mbps_Ethernet_Board.pdf ROCK64 Audio DAC with 10/100Mbps Ethernet POT Board Schematic]&lt;br /&gt;
&lt;br /&gt;
ROCK64 3D autodesk drawing (from ''TeaPack''):&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761e818b9e1b31b54545?viewState=NoIgbgDAdAjCA0IAsSDMAzAnAQwCaoFoYBjAdhgICNTVcCA2S9AJgIFMJTsAOGTU3LmLYQAXSA ROCK64 board 2D drawing @courtesy of TeaPack]&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761e6078b748ecd478e1?viewState=NoIgbgDAdAjCA0IDeAdEAXAngBwKZoC40ARXAZwEsBzAOzXjQEMyzd1C0AmAEwGYZOAI0G4AtAA4ArABZeo6eIiNRggJwxuomAHYAxoOm6YMaQDZOvNAF8QAXSA ROCK64 board 3D drawing @courtesy of TeaPack]&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761e45a87155aecc813f?viewState=NoIgbgDAdAjCA0IDeAdEAXAngBwKZoC40ARXAZwEsBzAOzXjQEMyzd1C0BWAYwgGYYAEyEBaQQDYARoJEAWfjMmzckkQCYAHCs5LZAMxi41aAL4gAukA ROCK64 Audio DAC with 10/100Mbps Ethernet POT board 3D drawing @courtesy of TeaPack]&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761ee09b497ae3f2f72e?viewState=NoIgbgDAdAjCA0IBmSYEMAcBmAbBgtACwBGhMRATMeQKYYYX5ICcAJhjYWjDBGgKwgAukA ROCK64 board with Audio DAC POT board 3D drawing @courtesy of TeaPack]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCK64%20FCC%20certification%20VOC20171129.pdf ROCK64 FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCK64%20CE%20certification%20VOC20171129.pdf ROCK64 CE Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCK64%20ROHS%20certification%20VOC20170927.pdf ROCK64 RoHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3328 SoC information:&lt;br /&gt;
* [https://www.rock-chips.com/a/en/products/RK33_Series/2017/0118/829.html Rockchip RK3328 SoC Brief]&lt;br /&gt;
* [https://rockchip.fr/RK3328%20datasheet%20V1.2.pdf Rockchip RK3328 Datasheet V1.2]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/9/97/Rockchip_RK3328TRM_V1.1-Part1-20170321.pdf Rockchip RK3328 Technical Reference Manual part 1]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/Rockchip_RK805_Datasheet_V1.1%C2%A020160921.pdf Rockchip RK805 Datasheet V1.1]&lt;br /&gt;
&lt;br /&gt;
LPDDR3 (178 Balls) SDRAM:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/H9CCNNNCLTMLAR(Rev1.2).pdf Hynix LPDDR3 Datasheet V1.2]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/K4E8E324EB-EGCF000_DRAM_178F_11x11.5_Ver.1.00.00.pdf Samsung LPDDR3 Datasheet V1.00.00]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/SPECTEK_178B_32GB_V91M_MOBILE_LPDDR3.pdf Spectek LPDDR3 Datasheet]&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf PINE64 eMMC module schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/usb%20emmc%20module%20adapter%20v2.pdf PINE64 USB adapter for eMMC module V2 schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/USB%20adapter%20for%20eMMC%20module%20PCB.tar PINE64 USB adapter for eMMC module PCB in JPEG]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/E-00517%20FORESEE_eMMC_NCEMAM8B-16G%20SPEC.pdf 16GB Foresee eMMC Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/SDINADF4-16-128GB-H%20data%20sheet%20v1.13.pdf 32Gb/64GB/128GB SanDisk eMMC Datasheet]&lt;br /&gt;
&lt;br /&gt;
SPI NOR Flash information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/w25q128jv%20spi%20revc%2011162016.pdf WinBond 128Mb SPI Flash Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/GD25Q128C-Rev2.5.pdf GigaDevice 128Mb SPI Flash Datasheet]&lt;br /&gt;
&lt;br /&gt;
Ethernet related info:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rock64/RTL8211F-CG-Realtek.pdf Realtek RTL8211F 10/100/1000M Ethernet Transceiver Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/DGKYD111B096GWA1D.pdf 10/100Mbps MegJack on Audio DAC POT board Datasheet]&lt;br /&gt;
&lt;br /&gt;
Peripheral related info:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/PDS-16002%20JMS578%20Datasheet%20(Rev.%201.01).pdf JMicron JMS578 to SATA  Datasheet]&lt;br /&gt;
&lt;br /&gt;
Enclosure information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/case/ROCK64%20Aluminum%20Waterproof%20Die%20Cast%20Casing.pdf Outdoor Aluminum Cast Dust-proof IP67 Enclosure Drawing]&lt;br /&gt;
&lt;br /&gt;
Remote control button mapping:&lt;br /&gt;
* [https://files.pine64.org/doc/Pine%20A64%20Schematic/remote-wit-logo.jpg Official Remote Control for the PINE A64 Button Mapping]&lt;br /&gt;
&lt;br /&gt;
== Enclosures ==&lt;br /&gt;
&lt;br /&gt;
[[File:Rock64-Al-Case1-1.jpg|thumb|100px]]&lt;br /&gt;
&lt;br /&gt;
The ROCK64 fits in three officially sold cases.&lt;br /&gt;
&lt;br /&gt;
* [[&amp;quot;Model B&amp;quot; Acrylic Open Enclosure]], [https://pine64.com/product/model-b-acrylic-open-enclosure/ Store]&lt;br /&gt;
* &amp;quot;Model B&amp;quot; Aluminum Waterproof Enclosure, [https://pine64.com/product/model-b-aluminum-waterproof-enclosure/ Store]&lt;br /&gt;
* [[ROCK64 Premium Aluminum Casing]], [https://pine64.com/product/model-b-premium-aluminum-casing/?v=0446c16e2e66 Store]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== HDMI output disconnects as soon as it connects ===&lt;br /&gt;
&lt;br /&gt;
Some older monitors seemingly can get into a weird state wherein the ROCK64 is unable to establish a proper connection with them. [[User:CounterPillow]] has seen this happen on an iiyama ProLite G2773HS connected over HDMI, and an Acer P225HQL connected over an HDMI to DVI adapter. The symptoms usually are that you see the monitor briefly turn on its backlight without displaying a picture, but then immediately either shutting off again or showing a &amp;quot;No Signal&amp;quot; message.&lt;br /&gt;
&lt;br /&gt;
The solution is to completely power down your ROCK64, also removing its power source. Then plug in the monitor, and start up the ROCK64 afterwards. You should now be getting a picture again.&lt;br /&gt;
&lt;br /&gt;
=== Power button doesn't do anything on a short press (Linux) ===&lt;br /&gt;
&lt;br /&gt;
Make sure the &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt; module is loaded, e.g. with &amp;lt;code&amp;gt;lsmod | grep rk805_pwrkey&amp;lt;/code&amp;gt;. The module auto loading of &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt; was fixed in the following upstream kernels: v6.0/v5.15.66/v5.10.142/v5.4.213/v4.19.258/v4.14.293 so there should be no requirement for fixes with those kernels or newer. If it doesn't show up, do a &amp;lt;code&amp;gt;modprobe rk805_pwrkey&amp;lt;/code&amp;gt; as root. To make this persistent, create a &amp;lt;code&amp;gt;99-rk805_pwrkey.conf&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/modules-load.d/&amp;lt;/code&amp;gt; with the content &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it still doesn't work, make sure your init system is actually listening to the button press. With systemd, check &amp;lt;code&amp;gt;/etc/systemd/logind.conf&amp;lt;/code&amp;gt; and make sure it's either all commented out (uses defaults) or contains something like &amp;lt;code&amp;gt;HandlePowerKey=poweroff&amp;lt;/code&amp;gt;. You can change the short press action by setting &amp;lt;code&amp;gt;HandlePowerKey&amp;lt;/code&amp;gt; to one of &amp;quot;ignore&amp;quot;, &amp;quot;poweroff&amp;quot;, &amp;quot;reboot&amp;quot;, &amp;quot;halt&amp;quot;, &amp;quot;kexec&amp;quot;, &amp;quot;suspend&amp;quot;, &amp;quot;hibernate&amp;quot;, &amp;quot;hybrid-sleep&amp;quot;, &amp;quot;suspend-then-hibernate&amp;quot;, or &amp;quot;lock&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Video output is glitchy during activity ===&lt;br /&gt;
&lt;br /&gt;
If your video output glitches out while there is memory bandwidth pressure, the likely reason is that the video output (VOP) quality-of-service (QoS) registers aren't set to high priority mode.&lt;br /&gt;
&lt;br /&gt;
[[User:CounterPillow]] submitted [https://overviewer.org/~pillow/up/c5179dcb67/0001-rockchip-rk3328-Set-VOP-QoS-to-high-priority.patch a patch] to u-boot to fix this, but someone still needs to write a kernel patch to save/restore the QoS registers from the power domain driver.&lt;br /&gt;
&lt;br /&gt;
== Other Resources ==&lt;br /&gt;
* [https://forum.pine64.org/forumdisplay.php?fid=85 ROCK64 Forum]&lt;br /&gt;
* IRC Server: irc.pine64.org Channel: ROCK64&lt;br /&gt;
* [https://github.com/rock64-linux ROCK64 Linux GitHub Repo]&lt;br /&gt;
* [https://github.com/ayufan-rock64 ROCK64 ayufan GitHub Repo]&lt;br /&gt;
* [https://github.com/rockchip-linux Rockchip Linux GitHub Repo]&lt;br /&gt;
* [https://github.com/JamesLinEngineer/RKMC Rockchip Android RKMC (Forked from Kodi 16.1)]&lt;br /&gt;
* [https://opensource.rock-chips.com/ Rockchip Open Source Wiki]&lt;br /&gt;
* [https://www.armbian.com/rock64 Armbian's ROCK64 Page]&lt;br /&gt;
&lt;br /&gt;
[[Category:ROCK64]] [[Category:Rockchip RK3328]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=ROCK64&amp;diff=21678</id>
		<title>ROCK64</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=ROCK64&amp;diff=21678"/>
		<updated>2024-11-21T18:46:57Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Information, Schematics and Certifications */ Wording improvements&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Rock64.jpg|400px|thumb|right|The ROCK64]]&lt;br /&gt;
&lt;br /&gt;
The '''ROCK64''' is a credit-card size 4K60P HDR Media Board Computer powered by Rockchip RK3328 Quad-Core ARM Cortex A53 64-Bit Processor and supports up to 4GB 1866MHz LPDDR3 memory. It provides an eMMC module socket, MicroSD Card slot, Pi-2 Bus, Pi-P5+ Bus, USB 3.0, and many other peripheral interfaces for makers to integrate with sensors and other devices. &lt;br /&gt;
&lt;br /&gt;
It supports many different open source operating systems, such as Android, Debian, and Yocto.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
&lt;br /&gt;
Under [[ROCK64 Software Releases]] you will find a complete list of currently supported operating system images, which work with the ROCK64, as well as other related software. &lt;br /&gt;
&lt;br /&gt;
OS build Installation Guide and tools:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/guide/ROCK64_Installing_Android_To_eMMC.pdf Guide to install stock Android build to eMMC module]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/tools/SD_Firmware_Tool._v1.46.zip Tools to burn Android build into a bootable microSD card]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/tools/AndroidTool_Release_v2.38.zip Tools that allows developer flash image into eMMC's Loader/Parameter/Misc/Kernal/Boot/Recovery/System/Backup partition]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/tools/DriverAssitant_v4.5.zip Windows ADB driver package]&lt;br /&gt;
* [[ROCK64 MAC Address]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Requirement&lt;br /&gt;
! GNU/Linux&lt;br /&gt;
! Android/Linux&lt;br /&gt;
! Kodi/Linux&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 2160p 30Hz 8bit h264/h265/vp8&lt;br /&gt;
| partial? [https://forum.pine64.org/showthread.php?tid=4861&amp;amp;pid=32474#pid32474 1]&lt;br /&gt;
| yes&lt;br /&gt;
| yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UI using GPU&lt;br /&gt;
| no&lt;br /&gt;
| yes&lt;br /&gt;
| yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Youtube&lt;br /&gt;
| no&lt;br /&gt;
| yes&lt;br /&gt;
| no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| vp9 / mpeg4 / mpeg2 / 10bit HDR / YCbCr&lt;br /&gt;
| no&lt;br /&gt;
| yes?&lt;br /&gt;
| yes&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Upstreaming Status ==&lt;br /&gt;
{{Warning|The data presented in this section requires updating.}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable plainrowheaders&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Function&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; colspan=&amp;quot;2&amp;quot; | Status&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Component&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Notes&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Video Output&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchipdrm&amp;lt;/code&amp;gt;&lt;br /&gt;
| With mpv, you'll need to specify something like &amp;lt;code&amp;gt;mpv --gpu-context=drm --drm-connector=1.HDMI-A-1&amp;lt;/code&amp;gt; to get it to play back on a VT&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 3D Acceleration &lt;br /&gt;
| style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Upstream Mesa&lt;br /&gt;
| &amp;lt;code&amp;gt;lima&amp;lt;/code&amp;gt;&lt;br /&gt;
| Very recent version recommended for the best experience. Has weird glitches on HDMI output in weston.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Video Decode &lt;br /&gt;
| style=&amp;quot;background:LightYellow; text-align:center;&amp;quot;|Linux Staging&lt;br /&gt;
| style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Broken/Not in ffmpeg&lt;br /&gt;
| &amp;lt;code&amp;gt;hantro_vpu&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;rockchip_vdec&amp;lt;/code&amp;gt;, using &amp;lt;code&amp;gt;v4l2-requests&amp;lt;/code&amp;gt;&lt;br /&gt;
| [https://lore.kernel.org/linux-media/49b1-608d4d00-2b-62afdf80@101971638/ Soon to be moved out of staging], ffmpeg patch set [https://patchwork.ffmpeg.org/project/ffmpeg/patch/20201209202513.27449-3-jonas@kwiboo.se/ seemingly abandoned], does not work on newer kernels. [https://github.com/Kwiboo/FFmpeg/commits/v4l2-request-hwaccel-master-stable Git branch with commits]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Audio &lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;  style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;snd_soc_rockchip_*&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Power Button&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt;&lt;br /&gt;
| If your PWR switch does nothing unless held, this may need to be loaded manually with &amp;lt;code&amp;gt;modprobe&amp;lt;/code&amp;gt; or by putting it in &amp;lt;code&amp;gt;/etc/modules-load.d/&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Analog Video Output&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs porting&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip_drm_tve&amp;lt;/code&amp;gt;&lt;br /&gt;
| Definitely needs some cleanup before it'd be ready for mainline, and needs some dt bindings written.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specification ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK33_Series/2017/0118/829.html Rockchip RK3328]&lt;br /&gt;
[[File:Rockchip_RK3328.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://www.arm.com/products/processors/cortex-a/cortex-a53-processor.php Quad-core Cortex-A53 up to 1.5GHz CPU]&lt;br /&gt;
* Full implementation of the ARM architecture v8-A instruction set&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* In-order pipeline with symmetric dual-issue of most instructions&lt;br /&gt;
* Unified system L2 cache&lt;br /&gt;
* Includes VFP v3 hardware to support single and double-precision operations&lt;br /&gt;
* Integrated 32KB L1 instruction cache, 32KB 4-way set associative L1 data cache&lt;br /&gt;
* TrustZone technology support&lt;br /&gt;
* Full CoreSight debug solution&lt;br /&gt;
* One separate power domain for CPU core system to support internal power switch, and to externally turn on/off based on different application scenario&lt;br /&gt;
* PD_A53: Cortex-A53 + Neon + FPU + L1 I/D Cache of core 2/3&lt;br /&gt;
* One isolated voltage domain to support DVFS&lt;br /&gt;
&lt;br /&gt;
==== Frequencies &amp;amp; Voltages ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Frequency&lt;br /&gt;
! Voltage&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 408 MHz&lt;br /&gt;
| 0.950 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 600 MHz&lt;br /&gt;
| 0.950 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 816 MHz&lt;br /&gt;
| 1.000 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1008 MHz&lt;br /&gt;
| 1.100 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1200 MHz&lt;br /&gt;
| 1.225 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1296 MHz&lt;br /&gt;
| 1.300 V&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Power Draw ====&lt;br /&gt;
&lt;br /&gt;
These numbers for power draw have been measured through an USB power monitor (FNB38) while running the &amp;lt;code&amp;gt;stress&amp;lt;/code&amp;gt; utility, whereby &amp;quot;cpu&amp;quot; stands for &amp;lt;code&amp;gt;stress --cpu 4&amp;lt;/code&amp;gt; and &amp;quot;vm&amp;quot; stands for &amp;lt;code&amp;gt;stress --vm 4&amp;lt;/code&amp;gt;. The former spins on the CPU, the latter stresses the memory. Real workloads are usually a mix of both. The tests were ran through ssh, with nothing besides power and ethernet plugged into the ROCK64&lt;br /&gt;
&lt;br /&gt;
Please keep in mind that under real world usage, many other factors come into play. Having a display connected, running a graphical session, I/O and most importantly the connected USB peripherals can add a lot.&lt;br /&gt;
&lt;br /&gt;
Helpful refresher on the formula for power (W) on DC: power = current &amp;amp;times; voltage, because the power factor is 1. The ROCK64 runs on 5V, so use that to calculate current if you need to.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Frequency&lt;br /&gt;
! Power cpu&lt;br /&gt;
! Power vm&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1296 MHz&lt;br /&gt;
| 2.64 W&lt;br /&gt;
| 2.95 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1200 MHz&lt;br /&gt;
| 2.32 W&lt;br /&gt;
| 2.69 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1008 MHz&lt;br /&gt;
| 1.90 W&lt;br /&gt;
| 2.31 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 816 MHz&lt;br /&gt;
| 1.62 W&lt;br /&gt;
| 2.05 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 600 MHz&lt;br /&gt;
| 1.45 W&lt;br /&gt;
| 1.85 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 408 MHz&lt;br /&gt;
| 1.33 W&lt;br /&gt;
| 1.72 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| Idle (no load)&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align:center;&amp;quot;| 1.10 W&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It appears a good upper bound for a headless setup is in the neighbourhood of 3 W, or the energy contained in 0.025 bananas per hour.&lt;br /&gt;
&lt;br /&gt;
=== GPU Architecture ===&lt;br /&gt;
* [https://www.arm.com/products/multimedia/mali-gpu/ultra-low-power/mali-450.php ARM Mali-450MP2 Dual-core GPU]&lt;br /&gt;
* OpenGL ES 1.1 and 2.0, OpenVG1.1&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* LPDDR3 RAM Memory Variants: 1GB, 2GB and 4GB.&lt;br /&gt;
&lt;br /&gt;
== Board Features ==&lt;br /&gt;
[[File:ROCK64_sideimg.jpg|400px|thumb|right|The ROCK64 and a size comparison]]&lt;br /&gt;
&lt;br /&gt;
=== Video ===&lt;br /&gt;
* Digital Video output up to 4K@60Hz&lt;br /&gt;
* 4K HDR @ 60fps&lt;br /&gt;
* H.264/AVC Base/Main/High/High10 profile @ level 5.1; up to 4Kx2K @ 60fps&lt;br /&gt;
* H.265/HEVC Main/Main10 profile @ level 5.1 High-tier; up to 4Kx2K @ 60fps&lt;br /&gt;
* VP9, up to 4Kx2K @ 60fps&lt;br /&gt;
* MPEG-1, ISO/IEC 11172-2, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-2, ISO/IEC 13818-2, SP@ML, MP@HL, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-4, ISO/IEC 14496-2, SP@L0-3, ASP@L0-5, up to 1080P @ 60fps&lt;br /&gt;
* VC-1, SP@ML, MP@HL, AP@L0-3, up to 1080P @ 60fps&lt;br /&gt;
* MVC is supported based on H.264 or H.265, up to 1080P @ 60fps&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* 3.5mm A/V Jack (Composite Video Output and RCA Stereo support using conversion cable)&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* 10/100/1000Mbps Ethernet&lt;br /&gt;
* WiFi 802.11 b/g/n with Bluetooth 4.0 (optional USB dongle)&lt;br /&gt;
&lt;br /&gt;
=== Storage ===&lt;br /&gt;
[[File:Rock64-emmc-disable-jumper.png|250px|thumb|right|Position of the two-pin header for disabling the optionally installed eMMC module (highlighted in red)]]&lt;br /&gt;
&lt;br /&gt;
* microSD - bootable, supports SDHC and SDXC and storage up to 256GB&lt;br /&gt;
* eMMC - bootable (optional eMMC Module)&lt;br /&gt;
* 128Mbit (16MB) on-board SPI flash memory (empty by default) - bootable? Usually accessible as a [http://linux-mtd.infradead.org/doc/general.html Linux MTD] device at &amp;lt;code&amp;gt;/dev/mtd0&amp;lt;/code&amp;gt;&lt;br /&gt;
* 1 USB3.0 Dedicated Host port&lt;br /&gt;
* 2 USB2.0 Dedicated Host port (top one is USB-OTG)&lt;br /&gt;
&lt;br /&gt;
Optionally installed eMMC module can be disabled by placing a jumper onto the two pins on the separate two-pin header, located near one of the mounting holes and two side-mounted buttons.  See the picture in this section, in which this two-pin header is highlighted in red.&lt;br /&gt;
&lt;br /&gt;
=== Expansion Ports ===&lt;br /&gt;
All GPIO pins, including UART, operate at 3.3V. (See VCCIO5 in the schematics.)&lt;br /&gt;
&lt;br /&gt;
* 2x20 pins &amp;quot;Pi2&amp;quot; GPIO Header&lt;br /&gt;
* 2x11 pins &amp;quot;Pi P5+&amp;quot; GPIO Header (with 2nd 10/100Mbps Ethernet pins)&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics and Certifications ==&lt;br /&gt;
{{Warning|While it's also possible to power the ROCK64 from the pins on the GPIO header, doing that isn't advisable because the inductor that's placed in series with that power input is rated for up to 1.5 A when the temperature of its case is below 85 oC.  If you can guarantee not to go above those ratings, it may work reliably.}}&lt;br /&gt;
&lt;br /&gt;
Board dimensions: 85&amp;amp;nbsp;x 56&amp;amp;nbsp;x 18.8&amp;amp;nbsp;mm, see the [https://files.pine64.org/doc/rock64/rock64%20board%20dimension.pdf ROCK64 board dimension drawing]&lt;br /&gt;
&lt;br /&gt;
Power input: 3&amp;amp;nbsp;A at 5&amp;amp;nbsp;V DC, using 3.5&amp;amp;nbsp;mm OD&amp;amp;nbsp;/ 1.35&amp;amp;nbsp;mm ID type H barrel connector (also known as DC 35135, 2&amp;amp;nbsp;A at 5&amp;amp;nbsp;V will work if there is no heavy load on the USB 3.0 port)&lt;br /&gt;
&lt;br /&gt;
ROCK64 ver 3.0 SBC related info:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/Rock64%20Ver%203%20change%20notice.pdf ROCK64 SBC v3.0 Change Notice]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_Schematic_v3.0_20181105.pdf ROCK64 Schematic v3.0 (Production Release)]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_comp_ref_top_v3.0_20181105.pdf ROCK64 Component Reference location v3.0 (top layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_comp_ref_bottom_v3.0_20181105.pdf ROCK64 Component Reference location v3.0 (bottom layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_V3_Pi-2_and_Pi-P5+_Bus.pdf ROCK64 SBC v3.0 Pi-2 and Pi-P5+ Bus GPIO Assignment]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/R64V3%20RTC%20Batt%20connector.png ROCK64 Rev3 SBC RTC Battery Connector polarity]&lt;br /&gt;
&lt;br /&gt;
ROCK64 ver 2.0 SBC related info:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_Schematic_v2.0_20171019.pdf ROCK64 Schematic v2.0 (Production Release)] &lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_Pi-2%20_and_Pi_P5+_Bus.pdf ROCK64 SBC v2.0 Pi-2 and Pi-P5+ Bus GPIO Assignment]&lt;br /&gt;
* [https://github.com/Leapo/Rock64-R64.GPIO Github on ROCK64 GPIO library, thanks to Leapo]&lt;br /&gt;
* [http://synfare.com/599N105E/hwdocs/rock64/index.html Good documentation about ROCK64 GPIO pins article]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_ES9023_Audio_100Mbps_Ethernet_Board.pdf ROCK64 Audio DAC with 10/100Mbps Ethernet POT Board Schematic]&lt;br /&gt;
&lt;br /&gt;
ROCK64 3D autodesk drawing (from ''TeaPack''):&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761e818b9e1b31b54545?viewState=NoIgbgDAdAjCA0IAsSDMAzAnAQwCaoFoYBjAdhgICNTVcCA2S9AJgIFMJTsAOGTU3LmLYQAXSA ROCK64 board 2D drawing @courtesy of TeaPack]&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761e6078b748ecd478e1?viewState=NoIgbgDAdAjCA0IDeAdEAXAngBwKZoC40ARXAZwEsBzAOzXjQEMyzd1C0AmAEwGYZOAI0G4AtAA4ArABZeo6eIiNRggJwxuomAHYAxoOm6YMaQDZOvNAF8QAXSA ROCK64 board 3D drawing @courtesy of TeaPack]&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761e45a87155aecc813f?viewState=NoIgbgDAdAjCA0IDeAdEAXAngBwKZoC40ARXAZwEsBzAOzXjQEMyzd1C0BWAYwgGYYAEyEBaQQDYARoJEAWfjMmzckkQCYAHCs5LZAMxi41aAL4gAukA ROCK64 Audio DAC with 10/100Mbps Ethernet POT board 3D drawing @courtesy of TeaPack]&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761ee09b497ae3f2f72e?viewState=NoIgbgDAdAjCA0IBmSYEMAcBmAbBgtACwBGhMRATMeQKYYYX5ICcAJhjYWjDBGgKwgAukA ROCK64 board with Audio DAC POT board 3D drawing @courtesy of TeaPack]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCK64%20FCC%20certification%20VOC20171129.pdf ROCK64 FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCK64%20CE%20certification%20VOC20171129.pdf ROCK64 CE Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCK64%20ROHS%20certification%20VOC20170927.pdf ROCK64 RoHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3328 SoC information:&lt;br /&gt;
* [https://www.rock-chips.com/a/en/products/RK33_Series/2017/0118/829.html Rockchip RK3328 SoC Brief]&lt;br /&gt;
* [https://rockchip.fr/RK3328%20datasheet%20V1.2.pdf Rockchip RK3328 Datasheet V1.2]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/9/97/Rockchip_RK3328TRM_V1.1-Part1-20170321.pdf Rockchip RK3328 Technical Reference Manual part 1]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/Rockchip_RK805_Datasheet_V1.1%C2%A020160921.pdf Rockchip RK805 Datasheet V1.1]&lt;br /&gt;
&lt;br /&gt;
LPDDR3 (178 Balls) SDRAM:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/H9CCNNNCLTMLAR(Rev1.2).pdf Hynix LPDDR3 Datasheet V1.2]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/K4E8E324EB-EGCF000_DRAM_178F_11x11.5_Ver.1.00.00.pdf Samsung LPDDR3 Datasheet V1.00.00]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/SPECTEK_178B_32GB_V91M_MOBILE_LPDDR3.pdf Spectek LPDDR3 Datasheet]&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf PINE64 eMMC module schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/usb%20emmc%20module%20adapter%20v2.pdf PINE64 USB adapter for eMMC module V2 schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/USB%20adapter%20for%20eMMC%20module%20PCB.tar PINE64 USB adapter for eMMC module PCB in JPEG]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/E-00517%20FORESEE_eMMC_NCEMAM8B-16G%20SPEC.pdf 16GB Foresee eMMC Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/SDINADF4-16-128GB-H%20data%20sheet%20v1.13.pdf 32Gb/64GB/128GB SanDisk eMMC Datasheet]&lt;br /&gt;
&lt;br /&gt;
SPI NOR Flash information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/w25q128jv%20spi%20revc%2011162016.pdf WinBond 128Mb SPI Flash Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/GD25Q128C-Rev2.5.pdf GigaDevice 128Mb SPI Flash Datasheet]&lt;br /&gt;
&lt;br /&gt;
Ethernet related info:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rock64/RTL8211F-CG-Realtek.pdf Realtek RTL8211F 10/100/1000M Ethernet Transceiver Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/DGKYD111B096GWA1D.pdf 10/100Mbps MegJack on Audio DAC POT board Datasheet]&lt;br /&gt;
&lt;br /&gt;
Peripheral related info:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/PDS-16002%20JMS578%20Datasheet%20(Rev.%201.01).pdf JMicron JMS578 to SATA  Datasheet]&lt;br /&gt;
&lt;br /&gt;
Enclosure information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/case/ROCK64%20Aluminum%20Waterproof%20Die%20Cast%20Casing.pdf Outdoor Aluminum Cast Dust-proof IP67 Enclosure Drawing]&lt;br /&gt;
&lt;br /&gt;
Remote control button mapping:&lt;br /&gt;
* [https://files.pine64.org/doc/Pine%20A64%20Schematic/remote-wit-logo.jpg Official Remote Control for the PINE A64 Button Mapping]&lt;br /&gt;
&lt;br /&gt;
== Enclosures ==&lt;br /&gt;
&lt;br /&gt;
[[File:Rock64-Al-Case1-1.jpg|thumb|100px]]&lt;br /&gt;
&lt;br /&gt;
The ROCK64 fits in three officially sold cases.&lt;br /&gt;
&lt;br /&gt;
* [[&amp;quot;Model B&amp;quot; Acrylic Open Enclosure]], [https://pine64.com/product/model-b-acrylic-open-enclosure/ Store]&lt;br /&gt;
* &amp;quot;Model B&amp;quot; Aluminum Waterproof Enclosure, [https://pine64.com/product/model-b-aluminum-waterproof-enclosure/ Store]&lt;br /&gt;
* [[ROCK64 Premium Aluminum Casing]], [https://pine64.com/product/model-b-premium-aluminum-casing/?v=0446c16e2e66 Store]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== HDMI output disconnects as soon as it connects ===&lt;br /&gt;
&lt;br /&gt;
Some older monitors seemingly can get into a weird state wherein the ROCK64 is unable to establish a proper connection with them. [[User:CounterPillow]] has seen this happen on an iiyama ProLite G2773HS connected over HDMI, and an Acer P225HQL connected over an HDMI to DVI adapter. The symptoms usually are that you see the monitor briefly turn on its backlight without displaying a picture, but then immediately either shutting off again or showing a &amp;quot;No Signal&amp;quot; message.&lt;br /&gt;
&lt;br /&gt;
The solution is to completely power down your ROCK64, also removing its power source. Then plug in the monitor, and start up the ROCK64 afterwards. You should now be getting a picture again.&lt;br /&gt;
&lt;br /&gt;
=== Power button doesn't do anything on a short press (Linux) ===&lt;br /&gt;
&lt;br /&gt;
Make sure the &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt; module is loaded, e.g. with &amp;lt;code&amp;gt;lsmod | grep rk805_pwrkey&amp;lt;/code&amp;gt;. The module auto loading of &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt; was fixed in the following upstream kernels: v6.0/v5.15.66/v5.10.142/v5.4.213/v4.19.258/v4.14.293 so there should be no requirement for fixes with those kernels or newer. If it doesn't show up, do a &amp;lt;code&amp;gt;modprobe rk805_pwrkey&amp;lt;/code&amp;gt; as root. To make this persistent, create a &amp;lt;code&amp;gt;99-rk805_pwrkey.conf&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/modules-load.d/&amp;lt;/code&amp;gt; with the content &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it still doesn't work, make sure your init system is actually listening to the button press. With systemd, check &amp;lt;code&amp;gt;/etc/systemd/logind.conf&amp;lt;/code&amp;gt; and make sure it's either all commented out (uses defaults) or contains something like &amp;lt;code&amp;gt;HandlePowerKey=poweroff&amp;lt;/code&amp;gt;. You can change the short press action by setting &amp;lt;code&amp;gt;HandlePowerKey&amp;lt;/code&amp;gt; to one of &amp;quot;ignore&amp;quot;, &amp;quot;poweroff&amp;quot;, &amp;quot;reboot&amp;quot;, &amp;quot;halt&amp;quot;, &amp;quot;kexec&amp;quot;, &amp;quot;suspend&amp;quot;, &amp;quot;hibernate&amp;quot;, &amp;quot;hybrid-sleep&amp;quot;, &amp;quot;suspend-then-hibernate&amp;quot;, or &amp;quot;lock&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Video output is glitchy during activity ===&lt;br /&gt;
&lt;br /&gt;
If your video output glitches out while there is memory bandwidth pressure, the likely reason is that the video output (VOP) quality-of-service (QoS) registers aren't set to high priority mode.&lt;br /&gt;
&lt;br /&gt;
[[User:CounterPillow]] submitted [https://overviewer.org/~pillow/up/c5179dcb67/0001-rockchip-rk3328-Set-VOP-QoS-to-high-priority.patch a patch] to u-boot to fix this, but someone still needs to write a kernel patch to save/restore the QoS registers from the power domain driver.&lt;br /&gt;
&lt;br /&gt;
== Other Resources ==&lt;br /&gt;
* [https://forum.pine64.org/forumdisplay.php?fid=85 ROCK64 Forum]&lt;br /&gt;
* IRC Server: irc.pine64.org Channel: ROCK64&lt;br /&gt;
* [https://github.com/rock64-linux ROCK64 Linux GitHub Repo]&lt;br /&gt;
* [https://github.com/ayufan-rock64 ROCK64 ayufan GitHub Repo]&lt;br /&gt;
* [https://github.com/rockchip-linux Rockchip Linux GitHub Repo]&lt;br /&gt;
* [https://github.com/JamesLinEngineer/RKMC Rockchip Android RKMC (Forked from Kodi 16.1)]&lt;br /&gt;
* [https://opensource.rock-chips.com/ Rockchip Open Source Wiki]&lt;br /&gt;
* [https://www.armbian.com/rock64 Armbian's ROCK64 Page]&lt;br /&gt;
&lt;br /&gt;
[[Category:ROCK64]] [[Category:Rockchip RK3328]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=ROCK64&amp;diff=21677</id>
		<title>ROCK64</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=ROCK64&amp;diff=21677"/>
		<updated>2024-11-21T18:46:04Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Information, Schematics and Certifications */ Described the GPIO power input&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Rock64.jpg|400px|thumb|right|The ROCK64]]&lt;br /&gt;
&lt;br /&gt;
The '''ROCK64''' is a credit-card size 4K60P HDR Media Board Computer powered by Rockchip RK3328 Quad-Core ARM Cortex A53 64-Bit Processor and supports up to 4GB 1866MHz LPDDR3 memory. It provides an eMMC module socket, MicroSD Card slot, Pi-2 Bus, Pi-P5+ Bus, USB 3.0, and many other peripheral interfaces for makers to integrate with sensors and other devices. &lt;br /&gt;
&lt;br /&gt;
It supports many different open source operating systems, such as Android, Debian, and Yocto.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
&lt;br /&gt;
Under [[ROCK64 Software Releases]] you will find a complete list of currently supported operating system images, which work with the ROCK64, as well as other related software. &lt;br /&gt;
&lt;br /&gt;
OS build Installation Guide and tools:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/guide/ROCK64_Installing_Android_To_eMMC.pdf Guide to install stock Android build to eMMC module]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/tools/SD_Firmware_Tool._v1.46.zip Tools to burn Android build into a bootable microSD card]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/tools/AndroidTool_Release_v2.38.zip Tools that allows developer flash image into eMMC's Loader/Parameter/Misc/Kernal/Boot/Recovery/System/Backup partition]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/tools/DriverAssitant_v4.5.zip Windows ADB driver package]&lt;br /&gt;
* [[ROCK64 MAC Address]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Requirement&lt;br /&gt;
! GNU/Linux&lt;br /&gt;
! Android/Linux&lt;br /&gt;
! Kodi/Linux&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 2160p 30Hz 8bit h264/h265/vp8&lt;br /&gt;
| partial? [https://forum.pine64.org/showthread.php?tid=4861&amp;amp;pid=32474#pid32474 1]&lt;br /&gt;
| yes&lt;br /&gt;
| yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UI using GPU&lt;br /&gt;
| no&lt;br /&gt;
| yes&lt;br /&gt;
| yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Youtube&lt;br /&gt;
| no&lt;br /&gt;
| yes&lt;br /&gt;
| no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| vp9 / mpeg4 / mpeg2 / 10bit HDR / YCbCr&lt;br /&gt;
| no&lt;br /&gt;
| yes?&lt;br /&gt;
| yes&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Upstreaming Status ==&lt;br /&gt;
{{Warning|The data presented in this section requires updating.}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable plainrowheaders&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Function&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; colspan=&amp;quot;2&amp;quot; | Status&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Component&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Notes&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Video Output&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchipdrm&amp;lt;/code&amp;gt;&lt;br /&gt;
| With mpv, you'll need to specify something like &amp;lt;code&amp;gt;mpv --gpu-context=drm --drm-connector=1.HDMI-A-1&amp;lt;/code&amp;gt; to get it to play back on a VT&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 3D Acceleration &lt;br /&gt;
| style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Upstream Mesa&lt;br /&gt;
| &amp;lt;code&amp;gt;lima&amp;lt;/code&amp;gt;&lt;br /&gt;
| Very recent version recommended for the best experience. Has weird glitches on HDMI output in weston.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Video Decode &lt;br /&gt;
| style=&amp;quot;background:LightYellow; text-align:center;&amp;quot;|Linux Staging&lt;br /&gt;
| style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Broken/Not in ffmpeg&lt;br /&gt;
| &amp;lt;code&amp;gt;hantro_vpu&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;rockchip_vdec&amp;lt;/code&amp;gt;, using &amp;lt;code&amp;gt;v4l2-requests&amp;lt;/code&amp;gt;&lt;br /&gt;
| [https://lore.kernel.org/linux-media/49b1-608d4d00-2b-62afdf80@101971638/ Soon to be moved out of staging], ffmpeg patch set [https://patchwork.ffmpeg.org/project/ffmpeg/patch/20201209202513.27449-3-jonas@kwiboo.se/ seemingly abandoned], does not work on newer kernels. [https://github.com/Kwiboo/FFmpeg/commits/v4l2-request-hwaccel-master-stable Git branch with commits]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Audio &lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;  style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;snd_soc_rockchip_*&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Power Button&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:PaleGreen; text-align:center;&amp;quot;|Linux Mainline&lt;br /&gt;
| &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt;&lt;br /&gt;
| If your PWR switch does nothing unless held, this may need to be loaded manually with &amp;lt;code&amp;gt;modprobe&amp;lt;/code&amp;gt; or by putting it in &amp;lt;code&amp;gt;/etc/modules-load.d/&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Analog Video Output&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background:#F99; text-align:center;&amp;quot;|Needs porting&lt;br /&gt;
| &amp;lt;code&amp;gt;rockchip_drm_tve&amp;lt;/code&amp;gt;&lt;br /&gt;
| Definitely needs some cleanup before it'd be ready for mainline, and needs some dt bindings written.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specification ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK33_Series/2017/0118/829.html Rockchip RK3328]&lt;br /&gt;
[[File:Rockchip_RK3328.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://www.arm.com/products/processors/cortex-a/cortex-a53-processor.php Quad-core Cortex-A53 up to 1.5GHz CPU]&lt;br /&gt;
* Full implementation of the ARM architecture v8-A instruction set&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* In-order pipeline with symmetric dual-issue of most instructions&lt;br /&gt;
* Unified system L2 cache&lt;br /&gt;
* Includes VFP v3 hardware to support single and double-precision operations&lt;br /&gt;
* Integrated 32KB L1 instruction cache, 32KB 4-way set associative L1 data cache&lt;br /&gt;
* TrustZone technology support&lt;br /&gt;
* Full CoreSight debug solution&lt;br /&gt;
* One separate power domain for CPU core system to support internal power switch, and to externally turn on/off based on different application scenario&lt;br /&gt;
* PD_A53: Cortex-A53 + Neon + FPU + L1 I/D Cache of core 2/3&lt;br /&gt;
* One isolated voltage domain to support DVFS&lt;br /&gt;
&lt;br /&gt;
==== Frequencies &amp;amp; Voltages ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Frequency&lt;br /&gt;
! Voltage&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 408 MHz&lt;br /&gt;
| 0.950 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 600 MHz&lt;br /&gt;
| 0.950 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 816 MHz&lt;br /&gt;
| 1.000 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1008 MHz&lt;br /&gt;
| 1.100 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1200 MHz&lt;br /&gt;
| 1.225 V&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1296 MHz&lt;br /&gt;
| 1.300 V&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Power Draw ====&lt;br /&gt;
&lt;br /&gt;
These numbers for power draw have been measured through an USB power monitor (FNB38) while running the &amp;lt;code&amp;gt;stress&amp;lt;/code&amp;gt; utility, whereby &amp;quot;cpu&amp;quot; stands for &amp;lt;code&amp;gt;stress --cpu 4&amp;lt;/code&amp;gt; and &amp;quot;vm&amp;quot; stands for &amp;lt;code&amp;gt;stress --vm 4&amp;lt;/code&amp;gt;. The former spins on the CPU, the latter stresses the memory. Real workloads are usually a mix of both. The tests were ran through ssh, with nothing besides power and ethernet plugged into the ROCK64&lt;br /&gt;
&lt;br /&gt;
Please keep in mind that under real world usage, many other factors come into play. Having a display connected, running a graphical session, I/O and most importantly the connected USB peripherals can add a lot.&lt;br /&gt;
&lt;br /&gt;
Helpful refresher on the formula for power (W) on DC: power = current &amp;amp;times; voltage, because the power factor is 1. The ROCK64 runs on 5V, so use that to calculate current if you need to.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Frequency&lt;br /&gt;
! Power cpu&lt;br /&gt;
! Power vm&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1296 MHz&lt;br /&gt;
| 2.64 W&lt;br /&gt;
| 2.95 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1200 MHz&lt;br /&gt;
| 2.32 W&lt;br /&gt;
| 2.69 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 1008 MHz&lt;br /&gt;
| 1.90 W&lt;br /&gt;
| 2.31 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 816 MHz&lt;br /&gt;
| 1.62 W&lt;br /&gt;
| 2.05 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 600 MHz&lt;br /&gt;
| 1.45 W&lt;br /&gt;
| 1.85 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| 408 MHz&lt;br /&gt;
| 1.33 W&lt;br /&gt;
| 1.72 W&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| Idle (no load)&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align:center;&amp;quot;| 1.10 W&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It appears a good upper bound for a headless setup is in the neighbourhood of 3 W, or the energy contained in 0.025 bananas per hour.&lt;br /&gt;
&lt;br /&gt;
=== GPU Architecture ===&lt;br /&gt;
* [https://www.arm.com/products/multimedia/mali-gpu/ultra-low-power/mali-450.php ARM Mali-450MP2 Dual-core GPU]&lt;br /&gt;
* OpenGL ES 1.1 and 2.0, OpenVG1.1&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* LPDDR3 RAM Memory Variants: 1GB, 2GB and 4GB.&lt;br /&gt;
&lt;br /&gt;
== Board Features ==&lt;br /&gt;
[[File:ROCK64_sideimg.jpg|400px|thumb|right|The ROCK64 and a size comparison]]&lt;br /&gt;
&lt;br /&gt;
=== Video ===&lt;br /&gt;
* Digital Video output up to 4K@60Hz&lt;br /&gt;
* 4K HDR @ 60fps&lt;br /&gt;
* H.264/AVC Base/Main/High/High10 profile @ level 5.1; up to 4Kx2K @ 60fps&lt;br /&gt;
* H.265/HEVC Main/Main10 profile @ level 5.1 High-tier; up to 4Kx2K @ 60fps&lt;br /&gt;
* VP9, up to 4Kx2K @ 60fps&lt;br /&gt;
* MPEG-1, ISO/IEC 11172-2, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-2, ISO/IEC 13818-2, SP@ML, MP@HL, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-4, ISO/IEC 14496-2, SP@L0-3, ASP@L0-5, up to 1080P @ 60fps&lt;br /&gt;
* VC-1, SP@ML, MP@HL, AP@L0-3, up to 1080P @ 60fps&lt;br /&gt;
* MVC is supported based on H.264 or H.265, up to 1080P @ 60fps&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* 3.5mm A/V Jack (Composite Video Output and RCA Stereo support using conversion cable)&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* 10/100/1000Mbps Ethernet&lt;br /&gt;
* WiFi 802.11 b/g/n with Bluetooth 4.0 (optional USB dongle)&lt;br /&gt;
&lt;br /&gt;
=== Storage ===&lt;br /&gt;
[[File:Rock64-emmc-disable-jumper.png|250px|thumb|right|Position of the two-pin header for disabling the optionally installed eMMC module (highlighted in red)]]&lt;br /&gt;
&lt;br /&gt;
* microSD - bootable, supports SDHC and SDXC and storage up to 256GB&lt;br /&gt;
* eMMC - bootable (optional eMMC Module)&lt;br /&gt;
* 128Mbit (16MB) on-board SPI flash memory (empty by default) - bootable? Usually accessible as a [http://linux-mtd.infradead.org/doc/general.html Linux MTD] device at &amp;lt;code&amp;gt;/dev/mtd0&amp;lt;/code&amp;gt;&lt;br /&gt;
* 1 USB3.0 Dedicated Host port&lt;br /&gt;
* 2 USB2.0 Dedicated Host port (top one is USB-OTG)&lt;br /&gt;
&lt;br /&gt;
Optionally installed eMMC module can be disabled by placing a jumper onto the two pins on the separate two-pin header, located near one of the mounting holes and two side-mounted buttons.  See the picture in this section, in which this two-pin header is highlighted in red.&lt;br /&gt;
&lt;br /&gt;
=== Expansion Ports ===&lt;br /&gt;
All GPIO pins, including UART, operate at 3.3V. (See VCCIO5 in the schematics.)&lt;br /&gt;
&lt;br /&gt;
* 2x20 pins &amp;quot;Pi2&amp;quot; GPIO Header&lt;br /&gt;
* 2x11 pins &amp;quot;Pi P5+&amp;quot; GPIO Header (with 2nd 10/100Mbps Ethernet pins)&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics and Certifications ==&lt;br /&gt;
{{Warning|While it's also possible to power the ROCK64 from the pins on the GPIO header, doing that isn't advisable because the inductor that's placed in series with that power input is rated for up to 1.5 A below 85 oC of its case temperature.  If you can guarantee not to go above those ratings, it may work reliably.}}&lt;br /&gt;
&lt;br /&gt;
Board dimensions: 85&amp;amp;nbsp;x 56&amp;amp;nbsp;x 18.8&amp;amp;nbsp;mm, see the [https://files.pine64.org/doc/rock64/rock64%20board%20dimension.pdf ROCK64 board dimension drawing]&lt;br /&gt;
&lt;br /&gt;
Power input: 3&amp;amp;nbsp;A at 5&amp;amp;nbsp;V DC, using 3.5&amp;amp;nbsp;mm OD&amp;amp;nbsp;/ 1.35&amp;amp;nbsp;mm ID type H barrel connector (also known as DC 35135, 2&amp;amp;nbsp;A at 5&amp;amp;nbsp;V will work if there is no heavy load on the USB 3.0 port)&lt;br /&gt;
&lt;br /&gt;
ROCK64 ver 3.0 SBC related info:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/Rock64%20Ver%203%20change%20notice.pdf ROCK64 SBC v3.0 Change Notice]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_Schematic_v3.0_20181105.pdf ROCK64 Schematic v3.0 (Production Release)]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_comp_ref_top_v3.0_20181105.pdf ROCK64 Component Reference location v3.0 (top layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_comp_ref_bottom_v3.0_20181105.pdf ROCK64 Component Reference location v3.0 (bottom layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_V3_Pi-2_and_Pi-P5+_Bus.pdf ROCK64 SBC v3.0 Pi-2 and Pi-P5+ Bus GPIO Assignment]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/R64V3%20RTC%20Batt%20connector.png ROCK64 Rev3 SBC RTC Battery Connector polarity]&lt;br /&gt;
&lt;br /&gt;
ROCK64 ver 2.0 SBC related info:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_Schematic_v2.0_20171019.pdf ROCK64 Schematic v2.0 (Production Release)] &lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_Pi-2%20_and_Pi_P5+_Bus.pdf ROCK64 SBC v2.0 Pi-2 and Pi-P5+ Bus GPIO Assignment]&lt;br /&gt;
* [https://github.com/Leapo/Rock64-R64.GPIO Github on ROCK64 GPIO library, thanks to Leapo]&lt;br /&gt;
* [http://synfare.com/599N105E/hwdocs/rock64/index.html Good documentation about ROCK64 GPIO pins article]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/ROCK64_ES9023_Audio_100Mbps_Ethernet_Board.pdf ROCK64 Audio DAC with 10/100Mbps Ethernet POT Board Schematic]&lt;br /&gt;
&lt;br /&gt;
ROCK64 3D autodesk drawing (from ''TeaPack''):&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761e818b9e1b31b54545?viewState=NoIgbgDAdAjCA0IAsSDMAzAnAQwCaoFoYBjAdhgICNTVcCA2S9AJgIFMJTsAOGTU3LmLYQAXSA ROCK64 board 2D drawing @courtesy of TeaPack]&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761e6078b748ecd478e1?viewState=NoIgbgDAdAjCA0IDeAdEAXAngBwKZoC40ARXAZwEsBzAOzXjQEMyzd1C0AmAEwGYZOAI0G4AtAA4ArABZeo6eIiNRggJwxuomAHYAxoOm6YMaQDZOvNAF8QAXSA ROCK64 board 3D drawing @courtesy of TeaPack]&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761e45a87155aecc813f?viewState=NoIgbgDAdAjCA0IDeAdEAXAngBwKZoC40ARXAZwEsBzAOzXjQEMyzd1C0BWAYwgGYYAEyEBaQQDYARoJEAWfjMmzckkQCYAHCs5LZAMxi41aAL4gAukA ROCK64 Audio DAC with 10/100Mbps Ethernet POT board 3D drawing @courtesy of TeaPack]&lt;br /&gt;
* [https://myhub.autodesk360.com/ue2b2f72e/g/shares/SH7f1edQT22b515c761ee09b497ae3f2f72e?viewState=NoIgbgDAdAjCA0IBmSYEMAcBmAbBgtACwBGhMRATMeQKYYYX5ICcAJhjYWjDBGgKwgAukA ROCK64 board with Audio DAC POT board 3D drawing @courtesy of TeaPack]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCK64%20FCC%20certification%20VOC20171129.pdf ROCK64 FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCK64%20CE%20certification%20VOC20171129.pdf ROCK64 CE Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCK64%20ROHS%20certification%20VOC20170927.pdf ROCK64 RoHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3328 SoC information:&lt;br /&gt;
* [https://www.rock-chips.com/a/en/products/RK33_Series/2017/0118/829.html Rockchip RK3328 SoC Brief]&lt;br /&gt;
* [https://rockchip.fr/RK3328%20datasheet%20V1.2.pdf Rockchip RK3328 Datasheet V1.2]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/9/97/Rockchip_RK3328TRM_V1.1-Part1-20170321.pdf Rockchip RK3328 Technical Reference Manual part 1]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/Rockchip_RK805_Datasheet_V1.1%C2%A020160921.pdf Rockchip RK805 Datasheet V1.1]&lt;br /&gt;
&lt;br /&gt;
LPDDR3 (178 Balls) SDRAM:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/H9CCNNNCLTMLAR(Rev1.2).pdf Hynix LPDDR3 Datasheet V1.2]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/K4E8E324EB-EGCF000_DRAM_178F_11x11.5_Ver.1.00.00.pdf Samsung LPDDR3 Datasheet V1.00.00]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/SPECTEK_178B_32GB_V91M_MOBILE_LPDDR3.pdf Spectek LPDDR3 Datasheet]&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf PINE64 eMMC module schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/usb%20emmc%20module%20adapter%20v2.pdf PINE64 USB adapter for eMMC module V2 schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/USB%20adapter%20for%20eMMC%20module%20PCB.tar PINE64 USB adapter for eMMC module PCB in JPEG]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/E-00517%20FORESEE_eMMC_NCEMAM8B-16G%20SPEC.pdf 16GB Foresee eMMC Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/SDINADF4-16-128GB-H%20data%20sheet%20v1.13.pdf 32Gb/64GB/128GB SanDisk eMMC Datasheet]&lt;br /&gt;
&lt;br /&gt;
SPI NOR Flash information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/w25q128jv%20spi%20revc%2011162016.pdf WinBond 128Mb SPI Flash Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/GD25Q128C-Rev2.5.pdf GigaDevice 128Mb SPI Flash Datasheet]&lt;br /&gt;
&lt;br /&gt;
Ethernet related info:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rock64/RTL8211F-CG-Realtek.pdf Realtek RTL8211F 10/100/1000M Ethernet Transceiver Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/DGKYD111B096GWA1D.pdf 10/100Mbps MegJack on Audio DAC POT board Datasheet]&lt;br /&gt;
&lt;br /&gt;
Peripheral related info:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/PDS-16002%20JMS578%20Datasheet%20(Rev.%201.01).pdf JMicron JMS578 to SATA  Datasheet]&lt;br /&gt;
&lt;br /&gt;
Enclosure information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/case/ROCK64%20Aluminum%20Waterproof%20Die%20Cast%20Casing.pdf Outdoor Aluminum Cast Dust-proof IP67 Enclosure Drawing]&lt;br /&gt;
&lt;br /&gt;
Remote control button mapping:&lt;br /&gt;
* [https://files.pine64.org/doc/Pine%20A64%20Schematic/remote-wit-logo.jpg Official Remote Control for the PINE A64 Button Mapping]&lt;br /&gt;
&lt;br /&gt;
== Enclosures ==&lt;br /&gt;
&lt;br /&gt;
[[File:Rock64-Al-Case1-1.jpg|thumb|100px]]&lt;br /&gt;
&lt;br /&gt;
The ROCK64 fits in three officially sold cases.&lt;br /&gt;
&lt;br /&gt;
* [[&amp;quot;Model B&amp;quot; Acrylic Open Enclosure]], [https://pine64.com/product/model-b-acrylic-open-enclosure/ Store]&lt;br /&gt;
* &amp;quot;Model B&amp;quot; Aluminum Waterproof Enclosure, [https://pine64.com/product/model-b-aluminum-waterproof-enclosure/ Store]&lt;br /&gt;
* [[ROCK64 Premium Aluminum Casing]], [https://pine64.com/product/model-b-premium-aluminum-casing/?v=0446c16e2e66 Store]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== HDMI output disconnects as soon as it connects ===&lt;br /&gt;
&lt;br /&gt;
Some older monitors seemingly can get into a weird state wherein the ROCK64 is unable to establish a proper connection with them. [[User:CounterPillow]] has seen this happen on an iiyama ProLite G2773HS connected over HDMI, and an Acer P225HQL connected over an HDMI to DVI adapter. The symptoms usually are that you see the monitor briefly turn on its backlight without displaying a picture, but then immediately either shutting off again or showing a &amp;quot;No Signal&amp;quot; message.&lt;br /&gt;
&lt;br /&gt;
The solution is to completely power down your ROCK64, also removing its power source. Then plug in the monitor, and start up the ROCK64 afterwards. You should now be getting a picture again.&lt;br /&gt;
&lt;br /&gt;
=== Power button doesn't do anything on a short press (Linux) ===&lt;br /&gt;
&lt;br /&gt;
Make sure the &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt; module is loaded, e.g. with &amp;lt;code&amp;gt;lsmod | grep rk805_pwrkey&amp;lt;/code&amp;gt;. The module auto loading of &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt; was fixed in the following upstream kernels: v6.0/v5.15.66/v5.10.142/v5.4.213/v4.19.258/v4.14.293 so there should be no requirement for fixes with those kernels or newer. If it doesn't show up, do a &amp;lt;code&amp;gt;modprobe rk805_pwrkey&amp;lt;/code&amp;gt; as root. To make this persistent, create a &amp;lt;code&amp;gt;99-rk805_pwrkey.conf&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/modules-load.d/&amp;lt;/code&amp;gt; with the content &amp;lt;code&amp;gt;rk805_pwrkey&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it still doesn't work, make sure your init system is actually listening to the button press. With systemd, check &amp;lt;code&amp;gt;/etc/systemd/logind.conf&amp;lt;/code&amp;gt; and make sure it's either all commented out (uses defaults) or contains something like &amp;lt;code&amp;gt;HandlePowerKey=poweroff&amp;lt;/code&amp;gt;. You can change the short press action by setting &amp;lt;code&amp;gt;HandlePowerKey&amp;lt;/code&amp;gt; to one of &amp;quot;ignore&amp;quot;, &amp;quot;poweroff&amp;quot;, &amp;quot;reboot&amp;quot;, &amp;quot;halt&amp;quot;, &amp;quot;kexec&amp;quot;, &amp;quot;suspend&amp;quot;, &amp;quot;hibernate&amp;quot;, &amp;quot;hybrid-sleep&amp;quot;, &amp;quot;suspend-then-hibernate&amp;quot;, or &amp;quot;lock&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Video output is glitchy during activity ===&lt;br /&gt;
&lt;br /&gt;
If your video output glitches out while there is memory bandwidth pressure, the likely reason is that the video output (VOP) quality-of-service (QoS) registers aren't set to high priority mode.&lt;br /&gt;
&lt;br /&gt;
[[User:CounterPillow]] submitted [https://overviewer.org/~pillow/up/c5179dcb67/0001-rockchip-rk3328-Set-VOP-QoS-to-high-priority.patch a patch] to u-boot to fix this, but someone still needs to write a kernel patch to save/restore the QoS registers from the power domain driver.&lt;br /&gt;
&lt;br /&gt;
== Other Resources ==&lt;br /&gt;
* [https://forum.pine64.org/forumdisplay.php?fid=85 ROCK64 Forum]&lt;br /&gt;
* IRC Server: irc.pine64.org Channel: ROCK64&lt;br /&gt;
* [https://github.com/rock64-linux ROCK64 Linux GitHub Repo]&lt;br /&gt;
* [https://github.com/ayufan-rock64 ROCK64 ayufan GitHub Repo]&lt;br /&gt;
* [https://github.com/rockchip-linux Rockchip Linux GitHub Repo]&lt;br /&gt;
* [https://github.com/JamesLinEngineer/RKMC Rockchip Android RKMC (Forked from Kodi 16.1)]&lt;br /&gt;
* [https://opensource.rock-chips.com/ Rockchip Open Source Wiki]&lt;br /&gt;
* [https://www.armbian.com/rock64 Armbian's ROCK64 Page]&lt;br /&gt;
&lt;br /&gt;
[[Category:ROCK64]] [[Category:Rockchip RK3328]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21670</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21670"/>
		<updated>2024-11-17T22:41:40Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* System Memory */ Ditto&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 Model-A single-board computer and powered by Rockchip RK3566 quad-core ARM Cortex-A55 64-bit SoC with Mali G52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains a U-Boot build that prevents suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  This was caused by the unfortunate timing, so the factory ended up installing version of the operating system image that contained these issues.  The required fixes are already available in the shipped Linux distribution, but they need to be [https://gist.github.com/m-weigand/efb1bef6097611d327533ab67b76903b installed manually] by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
{{Warning|The second PineNote batch, which started shipping during the first half of November 2024, is the last batch that has the USB UART dongle included in the box.}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (DAM) without having to open up the device. &lt;br /&gt;
The factory-installed firmware runs at a baud rate of 1,500,000 bps, 8 data bits and 1 stop bit, no parity, and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* RAM: 4 GB LPDDR4&lt;br /&gt;
* Flash: 128 GB eMMC (soldered)&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM: 4 GB LPDDR4&lt;br /&gt;
* Flash: 128 GB eMMC (soldered)&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21669</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21669"/>
		<updated>2024-11-17T22:41:15Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Core */ Fits better&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 Model-A single-board computer and powered by Rockchip RK3566 quad-core ARM Cortex-A55 64-bit SoC with Mali G52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains a U-Boot build that prevents suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  This was caused by the unfortunate timing, so the factory ended up installing version of the operating system image that contained these issues.  The required fixes are already available in the shipped Linux distribution, but they need to be [https://gist.github.com/m-weigand/efb1bef6097611d327533ab67b76903b installed manually] by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
{{Warning|The second PineNote batch, which started shipping during the first half of November 2024, is the last batch that has the USB UART dongle included in the box.}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (DAM) without having to open up the device. &lt;br /&gt;
The factory-installed firmware runs at a baud rate of 1,500,000 bps, 8 data bits and 1 stop bit, no parity, and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* RAM: 4 GB LPDDR4&lt;br /&gt;
* Flash: 128 GB eMMC (soldered)&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4 GB LPDDR4&lt;br /&gt;
* Flash Memory: 128 GB eMMC (soldered)&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21668</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21668"/>
		<updated>2024-11-17T22:36:51Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* System Memory */ Ditto&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 Model-A single-board computer and powered by Rockchip RK3566 quad-core ARM Cortex-A55 64-bit SoC with Mali G52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains a U-Boot build that prevents suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  This was caused by the unfortunate timing, so the factory ended up installing version of the operating system image that contained these issues.  The required fixes are already available in the shipped Linux distribution, but they need to be [https://gist.github.com/m-weigand/efb1bef6097611d327533ab67b76903b installed manually] by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
{{Warning|The second PineNote batch, which started shipping during the first half of November 2024, is the last batch that has the USB UART dongle included in the box.}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (DAM) without having to open up the device. &lt;br /&gt;
The factory-installed firmware runs at a baud rate of 1,500,000 bps, 8 data bits and 1 stop bit, no parity, and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4 GB LPDDR4&lt;br /&gt;
* Storage: 128 GB eMMC (soldered)&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4 GB LPDDR4&lt;br /&gt;
* Flash Memory: 128 GB eMMC (soldered)&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21667</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21667"/>
		<updated>2024-11-17T22:36:17Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Core */ Cleaned up a bit and clarified&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 Model-A single-board computer and powered by Rockchip RK3566 quad-core ARM Cortex-A55 64-bit SoC with Mali G52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains a U-Boot build that prevents suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  This was caused by the unfortunate timing, so the factory ended up installing version of the operating system image that contained these issues.  The required fixes are already available in the shipped Linux distribution, but they need to be [https://gist.github.com/m-weigand/efb1bef6097611d327533ab67b76903b installed manually] by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
{{Warning|The second PineNote batch, which started shipping during the first half of November 2024, is the last batch that has the USB UART dongle included in the box.}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (DAM) without having to open up the device. &lt;br /&gt;
The factory-installed firmware runs at a baud rate of 1,500,000 bps, 8 data bits and 1 stop bit, no parity, and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4 GB LPDDR4&lt;br /&gt;
* Storage: 128 GB eMMC (soldered)&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=ROCKPro64&amp;diff=21664</id>
		<title>ROCKPro64</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=ROCKPro64&amp;diff=21664"/>
		<updated>2024-11-17T07:30:50Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* No Video or GPU Acceleration on Debian */ Should fit here better&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:ROCKPro64v21FRONT.jpg|400px|thumb|right|The ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
The '''ROCKPro64''' is the most powerful single-board computer released by PINE64. It is powered by a Rockchip RK3399 hexa-core (dual ARM Cortex A72 and quad ARM Cortex A53) 64-bit processor with a Mali T-860 quad-core GPU. The key features include a PCI Express (PCIe) x4 open-ended slot, the use of LPDDR4 DRAM, and industry-standard heatsink mounting holes.&lt;br /&gt;
&lt;br /&gt;
The ROCKPro64 is equipped with 2 or 4&amp;amp;nbsp;GB of LPDDR4 system memory, and 128&amp;amp;nbsp;Mb of SPI boot flash. There is also an optional eMMC module (up to 128&amp;amp;nbsp;GB) and microSD slot for booting. The board is equipped with 1x USB 3.0 Type-C host port with DP 1.2, 1x USB 3.0 Type-A host port, 2x USB 2.0 host port, Gigabit Ethernet, PI-2 GPIO bus, MiPi DSI interface, eDP interface, touch panel interface, stereo MiPi CSI interface, as well as many other device interfaces such as UART, SPI, I&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;C, for makers to integrate with sensors and other peripherals. Many different operating systems (OSes) are freely available from the open-source community, such as Linux (Ubuntu, Debian, Arch), BSD and Android.&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
The article [[ROCKPro64 Getting Started]] gives important information to get the board up and running.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
&lt;br /&gt;
In the [[ROCKPro64 Software Releases]] page, you will find a complete list of currently supported Operating System images that work with the ROCKPro64, as well as other related software. The Software Release page has links to download the images as well as high level instructions to load each image.&lt;br /&gt;
&lt;br /&gt;
Please see the [[Getting started]] page for detailed discussion of what you need (prerequisites) as well as instructions if the high level instructions are insufficient.&lt;br /&gt;
&lt;br /&gt;
== Board Layout ==&lt;br /&gt;
[[Image:ROCKPro64v21REAR.jpg|thumb|right|A hi-res picture of v2.1 rear.]]&lt;br /&gt;
[[Image:FLIR 20220619 125451 686.jpg|thumb|right|A thermal image of v2.1 front (upside-down).]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:ROCKPro64_annotated.jpg|500px|An annotated ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
=== Main Chips ===&lt;br /&gt;
* RK3399 system-on-chip (1)&lt;br /&gt;
* LPDDR4 SDRAM 1 (18)&lt;br /&gt;
* LPDDR4 SDRAM 2 (3)&lt;br /&gt;
* SPI NOR flash memory (17)&lt;br /&gt;
* RK808 power management (near 19)&lt;br /&gt;
* RTL8211 ethernet transceiver (near 25)&lt;br /&gt;
* ES8316 Sound Codec (on rear of board)&lt;br /&gt;
* The heatsink mounting holes around the RK3399 are 59 mm apart&lt;br /&gt;
&lt;br /&gt;
=== Switches ===&lt;br /&gt;
&lt;br /&gt;
The Power button (11, SW3): is the same as on your mobile phone - press and release after about 1 second to power on. Press and hold for about 3 seconds to power off.&lt;br /&gt;
&lt;br /&gt;
The Reset button (10, SW901): performs a reset.&lt;br /&gt;
&lt;br /&gt;
The Recover button (28, SW900): used to enter maskrom mode.&lt;br /&gt;
&lt;br /&gt;
=== Connectors, Sockets and Headers ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;line-height: 1.4;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;font-size: .9em;&amp;quot;&lt;br /&gt;
! Diagram !! Schematic&amp;lt;br&amp;gt;designator !! Silkscreen&amp;lt;br&amp;gt;label !! Number&amp;lt;br&amp;gt;of pins !! Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2  || U39   || PI-2-bus || style=&amp;quot;text-align: center;&amp;quot; | 40 || Pi-2 bus &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4  || J8    || +FAN- || style=&amp;quot;text-align: center;&amp;quot; | 2 || PWM controlled fan header&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5  || J10   || SPDIF || style=&amp;quot;text-align: center;&amp;quot; | 3 || SPDIF header&lt;br /&gt;
|- &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6  || U6    || +RTC- || style=&amp;quot;text-align: center;&amp;quot; | 2 || RTC battery backup header&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7  || U31   || Wifi-BT || style=&amp;quot;text-align: center;&amp;quot; | 16 || SDIO WIFI/BT module-MIMO 2&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 8  || USB3  ||  || style=&amp;quot;text-align: center;&amp;quot; | 9 || USB-3 and USB Type C&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 9  || USB1  ||  || style=&amp;quot;text-align: center;&amp;quot; | 2×4 || Dual USB-2&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 12 || IR1   || IR || style=&amp;quot;text-align: center;&amp;quot; | 3 || infrared receiver socket &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 13 || J16   || Headphone+mic || style=&amp;quot;text-align: center;&amp;quot; | 4 || Headphone + mic 3.5mm jack&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -  || CON16 || GND PWR RST GND || style=&amp;quot;text-align: center;&amp;quot; | 4 || Power &amp;amp; reset, unpopulated&amp;lt;br&amp;gt;header near Headphone jack&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 14 || U29   || EMMC || style=&amp;quot;text-align: center;&amp;quot; | 34 || eMMC connector&amp;lt;br /&amp;gt;(Note: Some datasheets indicate a low&amp;lt;br /&amp;gt;supported number of mating cycles.)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 14* || J13  ||  || style=&amp;quot;text-align: center;&amp;quot; | 13 || TF-card, a.k.a. microSD&amp;lt;br&amp;gt;(* under 14 on the bottom side)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 15 || U30   ||  || style=&amp;quot;text-align: center;&amp;quot; | 14 || SDIO WIFI/BT module-MIMO 1&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 16 || SW4   ||  || style=&amp;quot;text-align: center;&amp;quot; | 2 || Jumper to [[#Disable eMMC]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 19 || J15   || PCI || style=&amp;quot;text-align: center;&amp;quot; | 64 || PCI-express X4 socket&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 20 || J21   || DSI || style=&amp;quot;text-align: center;&amp;quot; | 30 || DSI&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 21 || J22   || EDP || style=&amp;quot;text-align: center;&amp;quot; | 30 || LCD EDP&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 22 || CON1  || TP || style=&amp;quot;text-align: center;&amp;quot; | 6 || touch panel connector&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 23 || CON15 ||  || style=&amp;quot;text-align: center;&amp;quot; | 4 || DC out for SATA disk cable&amp;lt;br&amp;gt;(direct connect from DC-IN)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 24 || J11   || DC-IN || style=&amp;quot;text-align: center;&amp;quot; | 2 || Power input, positive tip;&amp;lt;br&amp;gt;12V/3A (minimum) recommended&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 25 || U32   ||  || style=&amp;quot;text-align: center;&amp;quot; | 8 || 8P8C (often referred to as 'RJ45')&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 26 || J14   ||  || style=&amp;quot;text-align: center;&amp;quot; | 19 || HDMI&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 27 || J17   || MIPI CAM || style=&amp;quot;text-align: center;&amp;quot; | 32 || MIPI-1&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 29 || J19   || MIPI CAM || style=&amp;quot;text-align: center;&amp;quot; | 32 || MIPI-2&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 30 || J18   || CIF || style=&amp;quot;text-align: center;&amp;quot; | 26 || CIF&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
&lt;br /&gt;
A green LED next to the 12V input barrel connector will light as long as there is 12V applied to the connector. (Even if the RockPro64 is powered off.)&lt;br /&gt;
&lt;br /&gt;
A white LED behind the reset button will light as long as the RockPro64 is running (it comes on a few seconds after power on, when control is passed to the operating system.)&lt;br /&gt;
&lt;br /&gt;
A red LED behind the reset button is DIY - it is lit for example if the board is in OTG mode with an Ayufan image, or if an Android image is in standby mode.&lt;br /&gt;
&lt;br /&gt;
Yellow and green LEDs on the LAN socket behave in a standard way.&lt;br /&gt;
&lt;br /&gt;
=== Jumpers ===&lt;br /&gt;
They are used for boot device selection, as described in the following section.&lt;br /&gt;
&lt;br /&gt;
==== Disable eMMC ====&lt;br /&gt;
&lt;br /&gt;
There is an unlabelled (on the PCB silk-screen) 2-pin jumper (16) between the eMMC socket (14) and the SPI chip (17). It is designated as SW4 on the [[#Board Information, Schematics and Certifications | schematic diagram]]. The default condition is OPEN (no jumper). It is useful for controlling the boot as follows:&lt;br /&gt;
&lt;br /&gt;
Default boot device (with no SPI software) is eMMC, then SDcard. If both the eMMC and the SDcard contain bootable images then the eMMC can be disabled by installing the jumper. This completely removes the eMMC from the resulting OS. If you wish the eMMC to be visible in the booted OS the jumper should be removed 2 seconds after applying power (and before the white LED comes on).&lt;br /&gt;
&lt;br /&gt;
The possible combinations are summarised in the table below.&lt;br /&gt;
&lt;br /&gt;
* 1 = present&lt;br /&gt;
* 0 = not present&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
! µSD !! eMMC !! SW4 !! boot from&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 0 || 0 || unsupported&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 0 || 1 || unsupported&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 1 || 0 || eMMC&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 1 || 1 || unsupported&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 0 || 0 || SDCard&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 0 || 1 || SDCard&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 1 || 0 || eMMC&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 1 || 1 || SDCard&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Disable SPI (while booting) ====&lt;br /&gt;
There is a second possibility to jumper your ROCKPro64: If you mess-up your SPI and are unable to boot, jumpering pins 23 (CLK) and 25 pin (GND) on the PI-2-bus header will disable the SPI as a boot device. (This was taken from the IRC logs, 09 August 2018 @ 17:23) You have to remove the jumper 2 seconds after having started your RP64 (before the white LED turns ON) otherwise the SPI will be missing and you won't be able to flash it.&lt;br /&gt;
Ayufan images contain (at the moment) only one script for the SPI and the RP64, it's &amp;quot;rockpro64_reset_spi_flash&amp;quot;. Other SPI scripts are dedicated to the R64 (as it is written on the name) and it will mess-up your RP64 SPI if you use them.&lt;br /&gt;
&lt;br /&gt;
== Hardware Compatibility ==&lt;br /&gt;
&lt;br /&gt;
The hardware compatibility list can be found under [[ROCKPro64 Hardware compatibility]].&lt;br /&gt;
&lt;br /&gt;
== Board Features ==&lt;br /&gt;
&lt;br /&gt;
This section outlines the most important characteristics of the board and its components.&lt;br /&gt;
&lt;br /&gt;
=== SoC and Memory Specification ===&lt;br /&gt;
* Based on Rockchip RK3399&lt;br /&gt;
[[File:Rockchip_RK3399.png|right]]&lt;br /&gt;
&lt;br /&gt;
==== CPU Architecture ====&lt;br /&gt;
&lt;br /&gt;
* [https://developer.arm.com/products/processors/cortex-a/cortex-a72 Dual-core Cortex-A72 up to 2.0GHz CPU]&lt;br /&gt;
* [https://developer.arm.com/products/processors/cortex-a/cortex-a53 Quad-core Cortex-A53 up to 1.5GHz CPU]&lt;br /&gt;
* big.LITTLE architecture: Dual Cortex-A72 + Quad Cortex-A53, 64-bit CPU&lt;br /&gt;
* Cortex-A72:&lt;br /&gt;
** 1-4x Symmetrical Multiprocessing (SMP) within a single processor cluster, and multiple coherent SMP processor clusters through AMBA 5 CHI or AMBA 4 ACE technology&lt;br /&gt;
** AArch64 for 64-bit support and new architectural features&lt;br /&gt;
** L1 cache 48KB Icache and 32KB Dcache for each A72 &lt;br /&gt;
** L2 cache 1024KB for big cluster &lt;br /&gt;
** DSP &amp;amp; SIMD extensions&lt;br /&gt;
** VFPv4 floating point&lt;br /&gt;
** Hardware virtualization support&lt;br /&gt;
* Cortex-A53:&lt;br /&gt;
** L1 cache 32KB Icache and 32KB Dcache for each A53&lt;br /&gt;
** L2 cache 512KB for little cluster &lt;br /&gt;
* Full implementation of the ARM architecture v8-A instruction set&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* In-order pipeline with symmetric dual-issue of most instructions&lt;br /&gt;
* Include VFP v3 hardware to support single and double-precision operations&lt;br /&gt;
* TrustZone technology support&lt;br /&gt;
* Full CoreSight debug solution&lt;br /&gt;
* One isolated voltage domain to support DVFS&lt;br /&gt;
&lt;br /&gt;
==== GPU Architecture ====&lt;br /&gt;
&lt;br /&gt;
* [https://developer.arm.com/products/graphics-and-multimedia/mali-gpus/mali-t860-and-mali-t880-gpus ARM Mali-T860MP4 Quad-core GPU]&lt;br /&gt;
* The highest performance GPUs built on Arm Mali’s famous Midgard architecture, the Mali-T860 GPU is designed for complex graphics use cases and provides stunning visuals for UHD content.&lt;br /&gt;
* Frequency: 650MHz &lt;br /&gt;
* Throughput: 1300Mtri/s, 10.4Gpix/s &lt;br /&gt;
* OpenGL® ES 1.1, 1.2, 2.0, 3.1, 3.2, Vulkan 1.0*, OpenCL™ 1.1, 1.2, DirectX® 11 FL11_1, RenderScript™.&lt;br /&gt;
&lt;br /&gt;
==== System Memory ====&lt;br /&gt;
* LPDDR4 RAM Memory Variants: Dual Channels 2GB and 4GB.&lt;br /&gt;
* Storage Memory: 128Mb built-in SPI Flash memory (as at August 2018 only support for USB boot).&lt;br /&gt;
&lt;br /&gt;
=== Display ===&lt;br /&gt;
&lt;br /&gt;
* Dual VOP: one supports resolutions up to 4096x2160 and [https://www.arm.com/why-arm/technologies/graphics-technologies/arm-frame-buffer-compression AFBC]; the other supports resolutions up to 2560x1600&lt;br /&gt;
* Dual channel MIPI-DSI (4 lanes per channel)&lt;br /&gt;
* eDP 1.3 (4 lanes with 10.8Gbps) to support displays, with PSR&lt;br /&gt;
* Digital Video port up to 4Kp60&lt;br /&gt;
* DisplayPort 1.2 (4 lanes, up to 4K 60Hz)&lt;br /&gt;
* Supports Rec.2020 and conversion to Rec.709 &lt;br /&gt;
&lt;br /&gt;
=== Video ===&lt;br /&gt;
&lt;br /&gt;
* Digital Video output up to 4K@60Hz&lt;br /&gt;
* 4K HDR @ 30fps&lt;br /&gt;
* H.264/AVC Base/Main/High/High10 profile @ level 5.1; up to 4Kx2K @ 60fps&lt;br /&gt;
* H.265/HEVC Main/Main10 profile @ level 5.1 High-tier; up to 4Kx2K @ 60fps&lt;br /&gt;
* VP9, up to 4Kx2K @ 60fps&lt;br /&gt;
* MPEG-1, ISO/IEC 11172-2, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-2, ISO/IEC 13818-2, SP@ML, MP@HL, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-4, ISO/IEC 14496-2, SP@L0-3, ASP@L0-5, up to 1080P @ 60fps&lt;br /&gt;
* VC-1, SP@ML, MP@HL, AP@L0-3, up to 1080P @ 60fps&lt;br /&gt;
* MVC is supported based on H.264 or H.265, up to 1080P @ 60fps&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
* 3.5mm Phone Jack&lt;br /&gt;
* 3-pin S/PDIF header &lt;br /&gt;
* Audio via Digital Video port&lt;br /&gt;
&lt;br /&gt;
=== Camera ===&lt;br /&gt;
&lt;br /&gt;
* Dual MIPI CSI，dual ISP, maximum input resolution of 13M pixels &lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
&lt;br /&gt;
* 10/100/1000Mbps Ethernet - Capable of pushing 941 MBit/s in iperf3&lt;br /&gt;
* Wi-Fi 802.11 ac/a/b/g/n with Bluetooth 4.01 (old version with 2x2) / Bluetooth 5 (new version with 1x1) (optional)&lt;br /&gt;
&lt;br /&gt;
=== Storage ===&lt;br /&gt;
&lt;br /&gt;
* microSD - bootable, supports SDHC and SDXC&lt;br /&gt;
* eMMC - bootable (optional eMMC module)&lt;br /&gt;
* 1x USB 3.0 host port&lt;br /&gt;
* 1x USB Type-C OTG port with alternate mode DP output &lt;br /&gt;
* 2x USB 2.0 dedicated host port&lt;br /&gt;
&lt;br /&gt;
=== Expansion Ports ===&lt;br /&gt;
&lt;br /&gt;
* 2x20 pins &amp;quot;Pi2&amp;quot; GPIO header&lt;br /&gt;
* PCI Express 2.1 x4 (four full-duplex lanes) open-ended port, [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=712fa1777207 limited] to the Gen1 speed&lt;br /&gt;
&lt;br /&gt;
==== GPIO Pins ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable plainrowheaders&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; style=&amp;quot;width:20em;&amp;quot; | Assigned To&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Pin Nr.&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Pin Nr.&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; style=&amp;quot;width:20em;&amp;quot; | Assigned To&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| 3.3 V&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 1&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 2&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| 5 V&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C4 (I2C8_SDA) &amp;lt;sup style=&amp;quot;font-style:italic;color:green&amp;quot;&amp;gt;a&amp;lt;/sup&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 3&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 4&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| 5 V&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C5 (I2C8_SCL) &amp;lt;sup style=&amp;quot;font-style:italic;color:green&amp;quot;&amp;gt;a&amp;lt;/sup&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 5&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 6&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO4_D0 (CPU_GPCLK)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 7&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 8&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_C4 (UART2_TX)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GND&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 9&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 10&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_C3 (UART2_RX)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C6&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 11&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 12&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D0 (I2S0_CLK)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C2&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 13&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 14&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_A1&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 15&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 16&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_A4&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| 3.3 V&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 17&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 18&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_C5 [SPDIF]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| [UART4_TX] GPIO1_B0 (SPI1_TXD)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 19&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 20&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| [UART4_RX] GPIO1_A7 (SPI1_RXD)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 21&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 22&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_D1&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_B1 (SPI1_CLK)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 23&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 24&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_B2 (SPI1_CSN0)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GND&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 25&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 26&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_B5&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_B3 (I2C4_SDA)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 27&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 28&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_B4 (I2C4_SCL)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO4_D3&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 29&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 30&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO4_D4&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 31&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 32&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D4 (I2S0_SDI1SDO3)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO3_D5 (I2S0_SDI2SDO2)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 33&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 34&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO3_D2 (I2S0_LRCKTX)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 35&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 36&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D6 (I2S0_SDI3SDO1)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO3_D1 (I2S0_LRCKRX)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 37&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 38&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D3 (I2S0_SDI0)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GND&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 39&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 40&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D7 (I2S0_SDO0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===== Notes =====&lt;br /&gt;
&lt;br /&gt;
* '''a:''' pulled high to 3.3V through 2.2kOhm resistor&lt;br /&gt;
&lt;br /&gt;
===== Linux /dev/gpiochip Assignments =====&lt;br /&gt;
&lt;br /&gt;
{| class=wikitable style=&amp;quot;max-width: 1000px; text-align: center;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Pin Nr.&lt;br /&gt;
| 3 || 5 || 7 || 8 || 10 || 11 || 12 || 13 || 15 || 16 || 18 || 19 || 21 || 22 || 23 || 24 || 26 || 27 || 28 || 29 || 31 || 32 || 33 || 35 || 36 || 37 || 38 || 40&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Chip&lt;br /&gt;
| 1 || 1 || 4 || 4 || 4 || 1 || 3 || 1 || 1 || 1 || 4 || 1 || 1 || 4 || 1 || 1 || 1 || 1 || 1 || 4 || 4 || 3 || 3 || 3 || 3 || 3 || 3 || 3&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Line&lt;br /&gt;
| 20 || 21 || 24 || 20 || 19 || 22 || 24 || 18 || 1 || 4 || 21 || 8 || 7 || 25 || 9 || 10 || 13 || 11 || 12 || 27 || 28 || 28 || 29 || 26 || 30 || 25 || 27 || 31&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
On Linux, using the new &amp;lt;code&amp;gt;/dev/gpiochip&amp;lt;/code&amp;gt; API, the &amp;lt;code&amp;gt;''n''&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;GPIO''n''_''XX''&amp;lt;/code&amp;gt; appears to correlate to the number of the &amp;lt;code&amp;gt;/dev/gpiochip''n''&amp;lt;/code&amp;gt;, and the &amp;lt;code&amp;gt;''XX''&amp;lt;/code&amp;gt; to the definition &amp;lt;code&amp;gt;RK_P''XX''&amp;lt;/code&amp;gt; of lines in &amp;lt;code&amp;gt;include/dt-bindings/pinctrl/rockchip.h&amp;lt;/code&amp;gt; of the Linux kernel source. Having these named in the dts would be nice.&lt;br /&gt;
&lt;br /&gt;
You can use [https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/ libgpiod] to drive them, and test them with the included tools (&amp;lt;code&amp;gt;gpioinfo&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gpioset&amp;lt;/code&amp;gt;, ...)&lt;br /&gt;
&lt;br /&gt;
For example, &amp;lt;code&amp;gt;gpioset 4 25=1&amp;lt;/code&amp;gt; (run as root) would turn pin 22 on. Do beware that poking the wrong GPIO pin can lock up your system.&lt;br /&gt;
&lt;br /&gt;
The conversion table at right is also available as a [https://gist.github.com/CounterPillow/fe066655bf2d929148fe6eb3f15b1dd5 C header file].&lt;br /&gt;
&lt;br /&gt;
=== Working Features ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Feature/Option&lt;br /&gt;
! Android&lt;br /&gt;
! Android Version&lt;br /&gt;
! Linux&lt;br /&gt;
! Linux Version&lt;br /&gt;
! Test/Verify Steps&lt;br /&gt;
! Notes&lt;br /&gt;
! Product Link&lt;br /&gt;
|-&lt;br /&gt;
| PINE64 LCD Touchscreen (Screen/Touch)&lt;br /&gt;
| Yes/Yes&lt;br /&gt;
| &lt;br /&gt;
| No/No&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Maybe [https://github.com/avafinger/pine64-touchscreen this] will help get this working?&lt;br /&gt;
| [https://pine64.com/?product=7-lcd-touch-screen-panel 7-inch LCD Touch Screen Panel]&lt;br /&gt;
|-&lt;br /&gt;
| Wireless&lt;br /&gt;
&amp;lt;small&amp;gt;ROCKPro64 2×2 MIMO Dual Band WiFi 802.11AC / Bluetooth 4.2 Module (old)&lt;br /&gt;
ROCKPro64 1x1 Dual Band WiFi 802.11AC / Bluetooth 5.0 Module (new)&amp;lt;/small&amp;gt;&lt;br /&gt;
| Yes/Yes&lt;br /&gt;
| &lt;br /&gt;
| No/Yes*&lt;br /&gt;
| &lt;br /&gt;
| For the &amp;quot;new&amp;quot; ROCKPro64 WIFI module: Verified with Manjaro ARM (kernel 6.2.5). A config file (&amp;quot;firmware file&amp;quot;) is needed at &amp;lt;code&amp;gt;/lib/firmware/brcm/brcmfmac43455-sdio.txt&amp;lt;/code&amp;gt;. See [[#Getting wifi working (&amp;quot;new&amp;quot; wifi module)]] for the file contents and details.&lt;br /&gt;
| In 0.7.9 Ayufan linux releases this is deliberately disabled for stability reasons. On Manjaro ARM (kernel 6.2.5), WIFI seems to be stable with the firmware file. On a 5GHz network (802.11AC), it is possible to get about 120Mbps using the &amp;quot;new&amp;quot; ROCKPro64 WIFI module.&lt;br /&gt;
| [https://store.pine64.org/product/rockpro64-1x1-dual-band-wifi-802-11acbluetooth-5-0-module ROCKPro64 1x1 Dual Band WiFi 802.11AC / Bluetooth 5.0 Module]&lt;br /&gt;
|-&lt;br /&gt;
| USB OTG&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| use this script: [https://github.com/ayufan-rock64/linux-package/blob/master/root-rockpro64/usr/local/sbin/rockpro64_enable_otg.sh rockpro64_enable_otg.sh], then configure ip on usb0: ifconfig usb0 169.169.222.222 and run iperf, you should likely see about 200-300MB/s&lt;br /&gt;
| [[ROCKPro64#OTG_mode]]&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| USB Mass Storage USB2/USB3&lt;br /&gt;
| Yes/yes&lt;br /&gt;
| &lt;br /&gt;
| Yes/Yes&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Dedicated Fan Power (pwm1)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| You might want to use [https://github.com/tuxd3v/ats ATS].&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| GPIO pins (raw or via RPI python scripts)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Check out [https://forum.frank-mankel.org/topic/292/rockpro64-rp64-gpio/2 what Frank Mankel has done].&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| MIPI CSI Camera 1 and 2&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| eDP&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| HDMI Audio&lt;br /&gt;
| Yes&lt;br /&gt;
| 7.1.2&lt;br /&gt;
| Yes&lt;br /&gt;
| 4.4.132-1083 - 4.4.138-1100&lt;br /&gt;
| &lt;br /&gt;
| Stopped working in 4.4.154.1105. Ayufan is looking into it. This is working in Manjaro ARM (kernel 6.2.5). Select the &amp;lt;code&amp;gt;Analog Output (Built-in Audio Stereo)&amp;lt;/code&amp;gt; option in the audio output device selection window (either use &amp;lt;code&amp;gt;pavucontrol&amp;lt;/code&amp;gt; or the volume button in the KDE desktop). Despite the slightly misleading name, audio does go through the HDMI port. See here for details: https://forum.manjaro.org/t/no-hdmi-audio-on-rockpro64/25595/2.&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 3.5mm Audio/Mic&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| USB-C Host&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Display via USB-C&lt;br /&gt;
| Yes&lt;br /&gt;
| 7.x and 8.x&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| eDP via USB-C per tillim. No sound on Android 7.x. Sound does work on Android 8.x&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| ROCKPro64 PLAYBOX ENCLOSURE&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| Ventilation does not exist, thus requires manual changes to add venting. Case should be modified to account power adapter not being centered in cut holes. Opening the case once close without modifying it first is nearly impossible without special tools. Graphene heatsink is included and does well for Linux but not Android.&lt;br /&gt;
| [https://pine64.com/?product=rockpro64-playbox-enclosure ROCKPro64 Playbox Enclosure]&lt;br /&gt;
|-&lt;br /&gt;
| ROCKPro64 30mm Tall Profile Heatsink&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| [https://pine64.com/product/rockpro64-30mm-tall-profile-heatsink/ ROCKPro64 30&amp;amp;nbsp;mm Tall-Profile Heatsink]&lt;br /&gt;
|-&lt;br /&gt;
| ROCKPro64 20mm Mid Profile Heatsink&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| [https://pine64.com/?product=rockpro64-20mm-mid-profile-heatsink ROCKPro64 20&amp;amp;nbsp;mm Mid-Profile Heatsink]&lt;br /&gt;
|-&lt;br /&gt;
| Fan For ROCKPro64 20mm Mid Profile Heatsink&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| You might want to use [https://github.com/tuxd3v/fanctl fanctl] to control the fan while keeping your CPU cool&lt;br /&gt;
| [https://pine64.com/?product=fan-for-rockpro64-20mm-mid-profile-heatsink Fan For ROCKPro64 20&amp;amp;nbsp;mm Mid-Profile Heatsink]&lt;br /&gt;
|-&lt;br /&gt;
| HDMI output 4K@60Hz&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| PCI Express 2.1&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| The PCI Express interface of the RK3399 [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=712fa1777207 is limited] to the Gen1 speed.  As a result, some installed PCI Express devices may operate with degraded performance, such as M.2 SSDs that support fewer than four PCI Express lanes, installed using an adapter like [https://pine64.com/product/rockpro64-pci-e-x4-to-m-2-ngff-nvme-ssd-interface-card/ this one].&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Real Time Clock (RTC) battery backup&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [https://pine64.com/product/rtc-backup-battery-holder-cr-2032/ RTC Backup Battery Holder CR2032]&lt;br /&gt;
|-&lt;br /&gt;
| Boot from USB/PXE&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
RockChip themselves have tables of supported features at 4.4 and mainline kernel versions [http://opensource.rock-chips.com/wiki_Status_Matrix in their wiki here].&lt;br /&gt;
&lt;br /&gt;
== Board Information, Schematics and Certifications ==&lt;br /&gt;
* Board dimensions: 133&amp;amp;nbsp;mm&amp;amp;nbsp;x 80&amp;amp;nbsp;mm&amp;amp;nbsp;x 19&amp;amp;nbsp;mm&lt;br /&gt;
* Power input: 12&amp;amp;nbsp;V, 3&amp;amp;nbsp;A or 5&amp;amp;nbsp;A, using 5.5&amp;amp;nbsp;mm (OD)&amp;amp;nbsp;/ 2.1&amp;amp;nbsp;mm (ID) type M barrel DC connector (also known as DC 5521)&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/rockpro64_v21-SCH.pdf ROCKPro64 Schematic v2.1 (Second Batch Production Release)]&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-top.dxf ROCKPro64 v2.1 Board Top Outline in AutoCad DXF format]&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-bottom.dxf ROCKPro64 v2.1 Board Bottom Outline in AutoCad DXF format]&lt;br /&gt;
** [[:File:Pine64-rockpro64-component-placement-top-v21-20180702.pdf|ROCKPro64 v2.1 Board Top Silkscreen in PDF format]] (contains component labels)&lt;br /&gt;
** [[:File:Pine64-rockpro64-component-placement-bottom-v21-20180702.pdf|ROCKPro64 v2.1 Board Bottom Silkscreen in PDF format]] (contains component labels)&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-top.pdf ROCKPro64 v2.1 Board Top Outline in PDF format]&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-bottom.pdf ROCKPro64 v2.1 Board Bottom Outline in PDF format]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/rockpro64_v20-SCH.pdf ROCKPro64 Schematic v2.0 (Pilot Production Release)]&lt;br /&gt;
** [http://files.pine64.org/doc/rockpro64/Rockpro64-ver2.0-topsilk_ref.pdf ROCKPro64 v2.0 Board Top Silkscreen in PDF format] (contains component labels)&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/ROCKPRo64%20Engineering%20Change%20Notice%2020180628RP01.pdf Engineering Change Notice for v2.0 to turn on 3.3V power on PCIe]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/rockpro64_wifi_ap6359SA.pdf ROCKPro64 AP6359SA Wifi/BT Schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/Rockpro64%20Pi-2%20Connector%20ver0.2.png ROCKPro64 Pi-2 Pin assignment and definition]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/RockPro-3D-model.zip ROCKPro64 3D model]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
&lt;br /&gt;
* Disclaimer: Please note that PINE64 SBC is not a &amp;quot;final&amp;quot; product and in general certification is not necessary. However, PINE64 still submit the SBC for FCC, CE, and ROHS certification and obtain the certificates to proof that SBC board is capable on passing the testing. Please note a final commercial product needs to performs its owns testing and obtains its owns certificates.&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCKPro64%20FCC%20SDOC%20Certificate.pdf ROCKPro64 FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCKPro64%20CE-EMC%20Certificate.pdf ROCKPro64 CE Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCKPro64%20ROHS%20%20SEC180529404001E%20Report.pdf ROCKPro64 RoHS Report]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3399 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://www.rock-chips.com/a/en/products/RK33_Series/2016/0419/758.html Rockchip RK3399 SoC Brief]&lt;br /&gt;
* [http://opensource.rock-chips.com/images/d/d7/Rockchip_RK3399_Datasheet_V2.1-20200323.pdf Rockchip RK3399 Datasheet V2.1]&lt;br /&gt;
* [http://opensource.rock-chips.com/images/e/ee/Rockchip_RK3399TRM_V1.4_Part1-20170408.pdf Rockchip RK3399 Technical Reference Manual part 1]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/RK808%20datasheet%20V0.8.pdf Rockchip RK808 Datasheet V0.8]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/SM512M32Z01MD2BNP(200BALL).pdf Micron LPDDR4 Mobile LPDDR4 Datasheet]&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf PINE64 eMMC module schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/usb%20emmc%20module%20adapter%20v2.pdf PINE64 USB adapter for eMMC module V2 schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/USB%20adapter%20for%20eMMC%20module%20PCB.tar PINE64 USB adapter for eMMC module PCB in JPEG]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/E-00517%20FORESEE_eMMC_NCEMAM8B-16G%20SPEC.pdf 16GB Foresee eMMC Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/SDINADF4-16-128GB-H%20data%20sheet%20v1.13.pdf 32GB/64GB/128GB SanDisk eMMC Datasheet]&lt;br /&gt;
&lt;br /&gt;
SPI NOR Flash information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/w25q128jv%20spi%20revc%2011162016.pdf WinBond 128Mb SPI Flash Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/GD25Q128C-Rev2.5.pdf GigaDevice 128Mb SPI Flash Datasheet]&lt;br /&gt;
&lt;br /&gt;
Heatsink related info:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/Rockpro%20Passive%20Heatsink%20Spec.jpg ROCKPro64 Passive Heatsink Dimension Drawing]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/LMS-TC150%20Silicon%20Thermal%20Pad.pdf Heatsink Thermal Pad Specification]&lt;br /&gt;
&lt;br /&gt;
Wireless related info:&lt;br /&gt;
&lt;br /&gt;
* AMPAK AP6256 11AC WiFi + Bluetooth5.0 Datasheet [https://files.pine64.org/doc/datasheet/rockpro64/AP6256%20datasheet_V1.3_12202017.pdf (v. 1.3)] [http://files.pine64.org/doc/datasheet/PinebookPro/AP6256%20datasheet_V1.7_12282018.pdf (v. 1.7)]&lt;br /&gt;
&lt;br /&gt;
Ethernet related info:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rock64/RTL8211F-CG-Realtek.pdf Realtek RTL8211F 10/100/1000M Ethernet Transceiver Datasheet]&lt;br /&gt;
&lt;br /&gt;
Peripheral related info:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/ASM1061_Data%20Sheet_R1_8.pdf asmedia ASM1061 PCIe SATA 2.0 Datasheet]&lt;br /&gt;
&lt;br /&gt;
Remote control button mapping:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/Pine%20A64%20Schematic/remote-wit-logo.jpg Official Remote Control for the PINE64 Button Mapping]&lt;br /&gt;
&lt;br /&gt;
Audio Codec (ES8316) (under board):&lt;br /&gt;
&lt;br /&gt;
* [http://everest-semi.com/pdf/ES8316%20PB.pdf Everest ES8316 Audio Codec]&lt;br /&gt;
&lt;br /&gt;
PWM controlled fan, SPDIF, and RTC Battery Backup headers:&lt;br /&gt;
&lt;br /&gt;
* [https://www.jst-mfg.com/product/pdf/eng/ePH.pdf JST-PH connector]&lt;br /&gt;
&lt;br /&gt;
== Useful Articles and Blog Posts ==&lt;br /&gt;
&lt;br /&gt;
If you want to dive in to the ecosystem, here's a short list of various articles and blog posts that can help you set up your soft- or hardware development environment.&lt;br /&gt;
&lt;br /&gt;
* [https://stikonas.eu/wordpress/2019/09/15/blobless-boot-with-rockpro64/ Blobless boot with RockPro64 by Andrius Štikonas]&lt;br /&gt;
* [https://marcin.juszkiewicz.com.pl/2020/06/17/ebbr-on-rockpro64/ EBBR on RockPro64 by Marcin Juszkiewicz]&lt;br /&gt;
* [[ROCKPro64 Device Tree Overlays on Mainline]]&lt;br /&gt;
* [[ROCKPro64 Hardware Tweaks]]&lt;br /&gt;
&lt;br /&gt;
== The NAS Case for the ROCKPro64 ==&lt;br /&gt;
&lt;br /&gt;
[[file:NASCaseMain.png|thumb|right|Front View of the PINE64 NAS Case for the ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
Please [[NAS Case|follow this this link]] for '''detailed instructions on how to assemble the ROCKPro64 NAS Case'''.&lt;br /&gt;
&lt;br /&gt;
The NAS Case instructions also contains detailed information about:&lt;br /&gt;
*what the NAS Case ships with&lt;br /&gt;
*What additional things you need to purchase for your NAS Case&lt;br /&gt;
*What optional things you can consider purchasing for your NAS build&lt;br /&gt;
*What OS Image we recommend you use for your NAS build&lt;br /&gt;
*IO accessibility after installing the ROCKPro64 into the NAS Case&lt;br /&gt;
*[https://files.pine64.org/doc/rockpro64/ROCKPro64%20NAS%20Case%20Exploded%20View%20Diagram.pdf NAS Case Exploded View]&lt;br /&gt;
*[https://files.pine64.org/doc/rockpro64/NAS%20Case%20Drawing.dwg NAS Case Drawing]&lt;br /&gt;
&lt;br /&gt;
== 3D printable ITX mounting brackets ==&lt;br /&gt;
&lt;br /&gt;
[[file:ITX-Bracket-Mounted.jpg|300px|thumb|right|A [[Quartz64]] Model-A mounted in an ITX case using 3D printed brackets, which can also be used for the ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
Allows mounting a ROCKPro64 or Quartz64 Model-A board inside a regular PC case that conforms to the ITX standard, using 3D printed brackets:&lt;br /&gt;
&lt;br /&gt;
* AMF/STL/STEP files plus the original FreeCAD file used to create the models [[File:RP64-A_Q64-A_to_ITX_mounting_brackets.zip]]&lt;br /&gt;
* Make sure to flip the two brackets by 180 degrees on one of the horizontal axes (X/Y) in your slicer of choice before printing to avoid unnecessary supports&lt;br /&gt;
* To allow enough clearance between the board and the bracket you either need to print four copies of the washer model or add nut(s) between the board and the bracket&lt;br /&gt;
* If using nuts for the clearance between the board and the brackets, make sure it creates at least 3.2mm of spacing in between&lt;br /&gt;
* Depending on the accuracy and calibration of a 3D printer, slight deviation can occur and you likely need to manually widen some of the holes to allow screws to fit&lt;br /&gt;
&lt;br /&gt;
== Other Resources ==&lt;br /&gt;
&lt;br /&gt;
* [https://forum.pine64.org/forumdisplay.php?fid=98 ROCKPro64 Forum]&lt;br /&gt;
* [https://pine64.com/?post_type=product PINE64 shop]&lt;br /&gt;
* [https://github.com/rockchip-linux Rockchip Linux GitHub Repo]&lt;br /&gt;
* [http://opensource.rock-chips.com/ Rockchip Open Source Wiki]&lt;br /&gt;
* ExplainingComputers have a video review [https://www.youtube.com/watch?v=CeoNHGFN_30 of the RockPro64 here, including linux first boot.]&lt;br /&gt;
* [[ROCKPro64 Installing Arch Linux ARM]]&lt;br /&gt;
* [[ROCKPro64 Powering From An ATX Supply]]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== No Video or GPU Acceleration on Debian ===&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This issue should be non-existent in newer versions of the Linux kernel, as well as in long-term support (LTS) kernels, with [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=80f4e62730a91572b7fdc657f7bb747e107ae308 this upstream kernel commit] that introduced the required module dependency.&lt;br /&gt;
&lt;br /&gt;
If you can log in through serial but don't get any video or GPU acceleration on Debian, this is likely due to Debian's decision to compile the devfreq governors as loadable modules but not including them early enough for panfrost to be able to be provided with one of them.&lt;br /&gt;
&lt;br /&gt;
The usual sign of this being the case is the following line in the kernel log: &amp;lt;code&amp;gt;[drm:panfrost_devfreq_init [panfrost]] *ERROR* Couldn't initialize GPU devfreq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To fix this issue, run the following as &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; and reboot:&lt;br /&gt;
&lt;br /&gt;
 echo governor_simpleondemand &amp;gt;&amp;gt; /etc/initramfs-tools/modules&lt;br /&gt;
 update-initramfs -u -k $(uname -r)&lt;br /&gt;
&lt;br /&gt;
=== PCIe probe failures on Linux kernel boot ===&lt;br /&gt;
&lt;br /&gt;
While booting the Linux kernel, you might experience PCIe probe failures, which render the attached PCIe device inaccessible.  The [https://lore.kernel.org/all/20230509153912.515218-1-vincenzopalazzodev@gmail.com/ &amp;quot;drivers: pci: introduce configurable delay for Rockchip PCIe bus scan&amp;quot;] thread on the Linux kernel mailing list (LKML) discusses this issue and proposes a fix.&lt;br /&gt;
&lt;br /&gt;
Manjaro ARM applies the following patches to the kernel package, which fix the issue:&lt;br /&gt;
&lt;br /&gt;
* [https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/44e81d83b7e002e9955ac3c54e276218dc9ac76d/1005-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch 1005-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch]&lt;br /&gt;
* [https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/44e81d83b7e002e9955ac3c54e276218dc9ac76d/1007-arm64-dts-rockchip-Add-PCIe-bus-scan-delay-to-RockPr.patch 1007-arm64-dts-rockchip-Add-PCIe-bus-scan-delay-to-RockPr.patch]&lt;br /&gt;
&lt;br /&gt;
[[Category:ROCKPro64]]&lt;br /&gt;
[[Category:Rockchip RK3399]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=ROCKPro64&amp;diff=21663</id>
		<title>ROCKPro64</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=ROCKPro64&amp;diff=21663"/>
		<updated>2024-11-17T07:29:20Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* No Video or GPU Acceleration on Debian */ Expanded a bit, to mention the upstream fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:ROCKPro64v21FRONT.jpg|400px|thumb|right|The ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
The '''ROCKPro64''' is the most powerful single-board computer released by PINE64. It is powered by a Rockchip RK3399 hexa-core (dual ARM Cortex A72 and quad ARM Cortex A53) 64-bit processor with a Mali T-860 quad-core GPU. The key features include a PCI Express (PCIe) x4 open-ended slot, the use of LPDDR4 DRAM, and industry-standard heatsink mounting holes.&lt;br /&gt;
&lt;br /&gt;
The ROCKPro64 is equipped with 2 or 4&amp;amp;nbsp;GB of LPDDR4 system memory, and 128&amp;amp;nbsp;Mb of SPI boot flash. There is also an optional eMMC module (up to 128&amp;amp;nbsp;GB) and microSD slot for booting. The board is equipped with 1x USB 3.0 Type-C host port with DP 1.2, 1x USB 3.0 Type-A host port, 2x USB 2.0 host port, Gigabit Ethernet, PI-2 GPIO bus, MiPi DSI interface, eDP interface, touch panel interface, stereo MiPi CSI interface, as well as many other device interfaces such as UART, SPI, I&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;C, for makers to integrate with sensors and other peripherals. Many different operating systems (OSes) are freely available from the open-source community, such as Linux (Ubuntu, Debian, Arch), BSD and Android.&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
The article [[ROCKPro64 Getting Started]] gives important information to get the board up and running.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
&lt;br /&gt;
In the [[ROCKPro64 Software Releases]] page, you will find a complete list of currently supported Operating System images that work with the ROCKPro64, as well as other related software. The Software Release page has links to download the images as well as high level instructions to load each image.&lt;br /&gt;
&lt;br /&gt;
Please see the [[Getting started]] page for detailed discussion of what you need (prerequisites) as well as instructions if the high level instructions are insufficient.&lt;br /&gt;
&lt;br /&gt;
== Board Layout ==&lt;br /&gt;
[[Image:ROCKPro64v21REAR.jpg|thumb|right|A hi-res picture of v2.1 rear.]]&lt;br /&gt;
[[Image:FLIR 20220619 125451 686.jpg|thumb|right|A thermal image of v2.1 front (upside-down).]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:ROCKPro64_annotated.jpg|500px|An annotated ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
=== Main Chips ===&lt;br /&gt;
* RK3399 system-on-chip (1)&lt;br /&gt;
* LPDDR4 SDRAM 1 (18)&lt;br /&gt;
* LPDDR4 SDRAM 2 (3)&lt;br /&gt;
* SPI NOR flash memory (17)&lt;br /&gt;
* RK808 power management (near 19)&lt;br /&gt;
* RTL8211 ethernet transceiver (near 25)&lt;br /&gt;
* ES8316 Sound Codec (on rear of board)&lt;br /&gt;
* The heatsink mounting holes around the RK3399 are 59 mm apart&lt;br /&gt;
&lt;br /&gt;
=== Switches ===&lt;br /&gt;
&lt;br /&gt;
The Power button (11, SW3): is the same as on your mobile phone - press and release after about 1 second to power on. Press and hold for about 3 seconds to power off.&lt;br /&gt;
&lt;br /&gt;
The Reset button (10, SW901): performs a reset.&lt;br /&gt;
&lt;br /&gt;
The Recover button (28, SW900): used to enter maskrom mode.&lt;br /&gt;
&lt;br /&gt;
=== Connectors, Sockets and Headers ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;line-height: 1.4;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;font-size: .9em;&amp;quot;&lt;br /&gt;
! Diagram !! Schematic&amp;lt;br&amp;gt;designator !! Silkscreen&amp;lt;br&amp;gt;label !! Number&amp;lt;br&amp;gt;of pins !! Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2  || U39   || PI-2-bus || style=&amp;quot;text-align: center;&amp;quot; | 40 || Pi-2 bus &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4  || J8    || +FAN- || style=&amp;quot;text-align: center;&amp;quot; | 2 || PWM controlled fan header&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5  || J10   || SPDIF || style=&amp;quot;text-align: center;&amp;quot; | 3 || SPDIF header&lt;br /&gt;
|- &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6  || U6    || +RTC- || style=&amp;quot;text-align: center;&amp;quot; | 2 || RTC battery backup header&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7  || U31   || Wifi-BT || style=&amp;quot;text-align: center;&amp;quot; | 16 || SDIO WIFI/BT module-MIMO 2&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 8  || USB3  ||  || style=&amp;quot;text-align: center;&amp;quot; | 9 || USB-3 and USB Type C&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 9  || USB1  ||  || style=&amp;quot;text-align: center;&amp;quot; | 2×4 || Dual USB-2&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 12 || IR1   || IR || style=&amp;quot;text-align: center;&amp;quot; | 3 || infrared receiver socket &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 13 || J16   || Headphone+mic || style=&amp;quot;text-align: center;&amp;quot; | 4 || Headphone + mic 3.5mm jack&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -  || CON16 || GND PWR RST GND || style=&amp;quot;text-align: center;&amp;quot; | 4 || Power &amp;amp; reset, unpopulated&amp;lt;br&amp;gt;header near Headphone jack&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 14 || U29   || EMMC || style=&amp;quot;text-align: center;&amp;quot; | 34 || eMMC connector&amp;lt;br /&amp;gt;(Note: Some datasheets indicate a low&amp;lt;br /&amp;gt;supported number of mating cycles.)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 14* || J13  ||  || style=&amp;quot;text-align: center;&amp;quot; | 13 || TF-card, a.k.a. microSD&amp;lt;br&amp;gt;(* under 14 on the bottom side)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 15 || U30   ||  || style=&amp;quot;text-align: center;&amp;quot; | 14 || SDIO WIFI/BT module-MIMO 1&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 16 || SW4   ||  || style=&amp;quot;text-align: center;&amp;quot; | 2 || Jumper to [[#Disable eMMC]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 19 || J15   || PCI || style=&amp;quot;text-align: center;&amp;quot; | 64 || PCI-express X4 socket&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 20 || J21   || DSI || style=&amp;quot;text-align: center;&amp;quot; | 30 || DSI&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 21 || J22   || EDP || style=&amp;quot;text-align: center;&amp;quot; | 30 || LCD EDP&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 22 || CON1  || TP || style=&amp;quot;text-align: center;&amp;quot; | 6 || touch panel connector&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 23 || CON15 ||  || style=&amp;quot;text-align: center;&amp;quot; | 4 || DC out for SATA disk cable&amp;lt;br&amp;gt;(direct connect from DC-IN)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 24 || J11   || DC-IN || style=&amp;quot;text-align: center;&amp;quot; | 2 || Power input, positive tip;&amp;lt;br&amp;gt;12V/3A (minimum) recommended&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 25 || U32   ||  || style=&amp;quot;text-align: center;&amp;quot; | 8 || 8P8C (often referred to as 'RJ45')&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 26 || J14   ||  || style=&amp;quot;text-align: center;&amp;quot; | 19 || HDMI&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 27 || J17   || MIPI CAM || style=&amp;quot;text-align: center;&amp;quot; | 32 || MIPI-1&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 29 || J19   || MIPI CAM || style=&amp;quot;text-align: center;&amp;quot; | 32 || MIPI-2&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 30 || J18   || CIF || style=&amp;quot;text-align: center;&amp;quot; | 26 || CIF&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
&lt;br /&gt;
A green LED next to the 12V input barrel connector will light as long as there is 12V applied to the connector. (Even if the RockPro64 is powered off.)&lt;br /&gt;
&lt;br /&gt;
A white LED behind the reset button will light as long as the RockPro64 is running (it comes on a few seconds after power on, when control is passed to the operating system.)&lt;br /&gt;
&lt;br /&gt;
A red LED behind the reset button is DIY - it is lit for example if the board is in OTG mode with an Ayufan image, or if an Android image is in standby mode.&lt;br /&gt;
&lt;br /&gt;
Yellow and green LEDs on the LAN socket behave in a standard way.&lt;br /&gt;
&lt;br /&gt;
=== Jumpers ===&lt;br /&gt;
They are used for boot device selection, as described in the following section.&lt;br /&gt;
&lt;br /&gt;
==== Disable eMMC ====&lt;br /&gt;
&lt;br /&gt;
There is an unlabelled (on the PCB silk-screen) 2-pin jumper (16) between the eMMC socket (14) and the SPI chip (17). It is designated as SW4 on the [[#Board Information, Schematics and Certifications | schematic diagram]]. The default condition is OPEN (no jumper). It is useful for controlling the boot as follows:&lt;br /&gt;
&lt;br /&gt;
Default boot device (with no SPI software) is eMMC, then SDcard. If both the eMMC and the SDcard contain bootable images then the eMMC can be disabled by installing the jumper. This completely removes the eMMC from the resulting OS. If you wish the eMMC to be visible in the booted OS the jumper should be removed 2 seconds after applying power (and before the white LED comes on).&lt;br /&gt;
&lt;br /&gt;
The possible combinations are summarised in the table below.&lt;br /&gt;
&lt;br /&gt;
* 1 = present&lt;br /&gt;
* 0 = not present&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
! µSD !! eMMC !! SW4 !! boot from&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 0 || 0 || unsupported&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 0 || 1 || unsupported&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 1 || 0 || eMMC&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 1 || 1 || unsupported&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 0 || 0 || SDCard&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 0 || 1 || SDCard&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 1 || 0 || eMMC&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 1 || 1 || SDCard&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Disable SPI (while booting) ====&lt;br /&gt;
There is a second possibility to jumper your ROCKPro64: If you mess-up your SPI and are unable to boot, jumpering pins 23 (CLK) and 25 pin (GND) on the PI-2-bus header will disable the SPI as a boot device. (This was taken from the IRC logs, 09 August 2018 @ 17:23) You have to remove the jumper 2 seconds after having started your RP64 (before the white LED turns ON) otherwise the SPI will be missing and you won't be able to flash it.&lt;br /&gt;
Ayufan images contain (at the moment) only one script for the SPI and the RP64, it's &amp;quot;rockpro64_reset_spi_flash&amp;quot;. Other SPI scripts are dedicated to the R64 (as it is written on the name) and it will mess-up your RP64 SPI if you use them.&lt;br /&gt;
&lt;br /&gt;
== Hardware Compatibility ==&lt;br /&gt;
&lt;br /&gt;
The hardware compatibility list can be found under [[ROCKPro64 Hardware compatibility]].&lt;br /&gt;
&lt;br /&gt;
== Board Features ==&lt;br /&gt;
&lt;br /&gt;
This section outlines the most important characteristics of the board and its components.&lt;br /&gt;
&lt;br /&gt;
=== SoC and Memory Specification ===&lt;br /&gt;
* Based on Rockchip RK3399&lt;br /&gt;
[[File:Rockchip_RK3399.png|right]]&lt;br /&gt;
&lt;br /&gt;
==== CPU Architecture ====&lt;br /&gt;
&lt;br /&gt;
* [https://developer.arm.com/products/processors/cortex-a/cortex-a72 Dual-core Cortex-A72 up to 2.0GHz CPU]&lt;br /&gt;
* [https://developer.arm.com/products/processors/cortex-a/cortex-a53 Quad-core Cortex-A53 up to 1.5GHz CPU]&lt;br /&gt;
* big.LITTLE architecture: Dual Cortex-A72 + Quad Cortex-A53, 64-bit CPU&lt;br /&gt;
* Cortex-A72:&lt;br /&gt;
** 1-4x Symmetrical Multiprocessing (SMP) within a single processor cluster, and multiple coherent SMP processor clusters through AMBA 5 CHI or AMBA 4 ACE technology&lt;br /&gt;
** AArch64 for 64-bit support and new architectural features&lt;br /&gt;
** L1 cache 48KB Icache and 32KB Dcache for each A72 &lt;br /&gt;
** L2 cache 1024KB for big cluster &lt;br /&gt;
** DSP &amp;amp; SIMD extensions&lt;br /&gt;
** VFPv4 floating point&lt;br /&gt;
** Hardware virtualization support&lt;br /&gt;
* Cortex-A53:&lt;br /&gt;
** L1 cache 32KB Icache and 32KB Dcache for each A53&lt;br /&gt;
** L2 cache 512KB for little cluster &lt;br /&gt;
* Full implementation of the ARM architecture v8-A instruction set&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* In-order pipeline with symmetric dual-issue of most instructions&lt;br /&gt;
* Include VFP v3 hardware to support single and double-precision operations&lt;br /&gt;
* TrustZone technology support&lt;br /&gt;
* Full CoreSight debug solution&lt;br /&gt;
* One isolated voltage domain to support DVFS&lt;br /&gt;
&lt;br /&gt;
==== GPU Architecture ====&lt;br /&gt;
&lt;br /&gt;
* [https://developer.arm.com/products/graphics-and-multimedia/mali-gpus/mali-t860-and-mali-t880-gpus ARM Mali-T860MP4 Quad-core GPU]&lt;br /&gt;
* The highest performance GPUs built on Arm Mali’s famous Midgard architecture, the Mali-T860 GPU is designed for complex graphics use cases and provides stunning visuals for UHD content.&lt;br /&gt;
* Frequency: 650MHz &lt;br /&gt;
* Throughput: 1300Mtri/s, 10.4Gpix/s &lt;br /&gt;
* OpenGL® ES 1.1, 1.2, 2.0, 3.1, 3.2, Vulkan 1.0*, OpenCL™ 1.1, 1.2, DirectX® 11 FL11_1, RenderScript™.&lt;br /&gt;
&lt;br /&gt;
==== System Memory ====&lt;br /&gt;
* LPDDR4 RAM Memory Variants: Dual Channels 2GB and 4GB.&lt;br /&gt;
* Storage Memory: 128Mb built-in SPI Flash memory (as at August 2018 only support for USB boot).&lt;br /&gt;
&lt;br /&gt;
=== Display ===&lt;br /&gt;
&lt;br /&gt;
* Dual VOP: one supports resolutions up to 4096x2160 and [https://www.arm.com/why-arm/technologies/graphics-technologies/arm-frame-buffer-compression AFBC]; the other supports resolutions up to 2560x1600&lt;br /&gt;
* Dual channel MIPI-DSI (4 lanes per channel)&lt;br /&gt;
* eDP 1.3 (4 lanes with 10.8Gbps) to support displays, with PSR&lt;br /&gt;
* Digital Video port up to 4Kp60&lt;br /&gt;
* DisplayPort 1.2 (4 lanes, up to 4K 60Hz)&lt;br /&gt;
* Supports Rec.2020 and conversion to Rec.709 &lt;br /&gt;
&lt;br /&gt;
=== Video ===&lt;br /&gt;
&lt;br /&gt;
* Digital Video output up to 4K@60Hz&lt;br /&gt;
* 4K HDR @ 30fps&lt;br /&gt;
* H.264/AVC Base/Main/High/High10 profile @ level 5.1; up to 4Kx2K @ 60fps&lt;br /&gt;
* H.265/HEVC Main/Main10 profile @ level 5.1 High-tier; up to 4Kx2K @ 60fps&lt;br /&gt;
* VP9, up to 4Kx2K @ 60fps&lt;br /&gt;
* MPEG-1, ISO/IEC 11172-2, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-2, ISO/IEC 13818-2, SP@ML, MP@HL, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-4, ISO/IEC 14496-2, SP@L0-3, ASP@L0-5, up to 1080P @ 60fps&lt;br /&gt;
* VC-1, SP@ML, MP@HL, AP@L0-3, up to 1080P @ 60fps&lt;br /&gt;
* MVC is supported based on H.264 or H.265, up to 1080P @ 60fps&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
* 3.5mm Phone Jack&lt;br /&gt;
* 3-pin S/PDIF header &lt;br /&gt;
* Audio via Digital Video port&lt;br /&gt;
&lt;br /&gt;
=== Camera ===&lt;br /&gt;
&lt;br /&gt;
* Dual MIPI CSI，dual ISP, maximum input resolution of 13M pixels &lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
&lt;br /&gt;
* 10/100/1000Mbps Ethernet - Capable of pushing 941 MBit/s in iperf3&lt;br /&gt;
* Wi-Fi 802.11 ac/a/b/g/n with Bluetooth 4.01 (old version with 2x2) / Bluetooth 5 (new version with 1x1) (optional)&lt;br /&gt;
&lt;br /&gt;
=== Storage ===&lt;br /&gt;
&lt;br /&gt;
* microSD - bootable, supports SDHC and SDXC&lt;br /&gt;
* eMMC - bootable (optional eMMC module)&lt;br /&gt;
* 1x USB 3.0 host port&lt;br /&gt;
* 1x USB Type-C OTG port with alternate mode DP output &lt;br /&gt;
* 2x USB 2.0 dedicated host port&lt;br /&gt;
&lt;br /&gt;
=== Expansion Ports ===&lt;br /&gt;
&lt;br /&gt;
* 2x20 pins &amp;quot;Pi2&amp;quot; GPIO header&lt;br /&gt;
* PCI Express 2.1 x4 (four full-duplex lanes) open-ended port, [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=712fa1777207 limited] to the Gen1 speed&lt;br /&gt;
&lt;br /&gt;
==== GPIO Pins ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable plainrowheaders&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; style=&amp;quot;width:20em;&amp;quot; | Assigned To&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Pin Nr.&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Pin Nr.&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; style=&amp;quot;width:20em;&amp;quot; | Assigned To&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| 3.3 V&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 1&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 2&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| 5 V&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C4 (I2C8_SDA) &amp;lt;sup style=&amp;quot;font-style:italic;color:green&amp;quot;&amp;gt;a&amp;lt;/sup&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 3&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 4&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| 5 V&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C5 (I2C8_SCL) &amp;lt;sup style=&amp;quot;font-style:italic;color:green&amp;quot;&amp;gt;a&amp;lt;/sup&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 5&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 6&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO4_D0 (CPU_GPCLK)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 7&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 8&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_C4 (UART2_TX)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GND&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 9&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 10&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_C3 (UART2_RX)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C6&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 11&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 12&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D0 (I2S0_CLK)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C2&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 13&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 14&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_A1&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 15&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 16&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_A4&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| 3.3 V&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 17&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 18&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_C5 [SPDIF]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| [UART4_TX] GPIO1_B0 (SPI1_TXD)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 19&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 20&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| [UART4_RX] GPIO1_A7 (SPI1_RXD)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 21&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 22&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_D1&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_B1 (SPI1_CLK)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 23&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 24&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_B2 (SPI1_CSN0)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GND&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 25&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 26&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_B5&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_B3 (I2C4_SDA)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 27&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 28&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_B4 (I2C4_SCL)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO4_D3&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 29&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 30&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO4_D4&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 31&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 32&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D4 (I2S0_SDI1SDO3)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO3_D5 (I2S0_SDI2SDO2)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 33&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 34&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO3_D2 (I2S0_LRCKTX)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 35&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 36&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D6 (I2S0_SDI3SDO1)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO3_D1 (I2S0_LRCKRX)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 37&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 38&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D3 (I2S0_SDI0)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GND&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 39&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 40&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D7 (I2S0_SDO0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===== Notes =====&lt;br /&gt;
&lt;br /&gt;
* '''a:''' pulled high to 3.3V through 2.2kOhm resistor&lt;br /&gt;
&lt;br /&gt;
===== Linux /dev/gpiochip Assignments =====&lt;br /&gt;
&lt;br /&gt;
{| class=wikitable style=&amp;quot;max-width: 1000px; text-align: center;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Pin Nr.&lt;br /&gt;
| 3 || 5 || 7 || 8 || 10 || 11 || 12 || 13 || 15 || 16 || 18 || 19 || 21 || 22 || 23 || 24 || 26 || 27 || 28 || 29 || 31 || 32 || 33 || 35 || 36 || 37 || 38 || 40&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Chip&lt;br /&gt;
| 1 || 1 || 4 || 4 || 4 || 1 || 3 || 1 || 1 || 1 || 4 || 1 || 1 || 4 || 1 || 1 || 1 || 1 || 1 || 4 || 4 || 3 || 3 || 3 || 3 || 3 || 3 || 3&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Line&lt;br /&gt;
| 20 || 21 || 24 || 20 || 19 || 22 || 24 || 18 || 1 || 4 || 21 || 8 || 7 || 25 || 9 || 10 || 13 || 11 || 12 || 27 || 28 || 28 || 29 || 26 || 30 || 25 || 27 || 31&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
On Linux, using the new &amp;lt;code&amp;gt;/dev/gpiochip&amp;lt;/code&amp;gt; API, the &amp;lt;code&amp;gt;''n''&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;GPIO''n''_''XX''&amp;lt;/code&amp;gt; appears to correlate to the number of the &amp;lt;code&amp;gt;/dev/gpiochip''n''&amp;lt;/code&amp;gt;, and the &amp;lt;code&amp;gt;''XX''&amp;lt;/code&amp;gt; to the definition &amp;lt;code&amp;gt;RK_P''XX''&amp;lt;/code&amp;gt; of lines in &amp;lt;code&amp;gt;include/dt-bindings/pinctrl/rockchip.h&amp;lt;/code&amp;gt; of the Linux kernel source. Having these named in the dts would be nice.&lt;br /&gt;
&lt;br /&gt;
You can use [https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/ libgpiod] to drive them, and test them with the included tools (&amp;lt;code&amp;gt;gpioinfo&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gpioset&amp;lt;/code&amp;gt;, ...)&lt;br /&gt;
&lt;br /&gt;
For example, &amp;lt;code&amp;gt;gpioset 4 25=1&amp;lt;/code&amp;gt; (run as root) would turn pin 22 on. Do beware that poking the wrong GPIO pin can lock up your system.&lt;br /&gt;
&lt;br /&gt;
The conversion table at right is also available as a [https://gist.github.com/CounterPillow/fe066655bf2d929148fe6eb3f15b1dd5 C header file].&lt;br /&gt;
&lt;br /&gt;
=== Working Features ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Feature/Option&lt;br /&gt;
! Android&lt;br /&gt;
! Android Version&lt;br /&gt;
! Linux&lt;br /&gt;
! Linux Version&lt;br /&gt;
! Test/Verify Steps&lt;br /&gt;
! Notes&lt;br /&gt;
! Product Link&lt;br /&gt;
|-&lt;br /&gt;
| PINE64 LCD Touchscreen (Screen/Touch)&lt;br /&gt;
| Yes/Yes&lt;br /&gt;
| &lt;br /&gt;
| No/No&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Maybe [https://github.com/avafinger/pine64-touchscreen this] will help get this working?&lt;br /&gt;
| [https://pine64.com/?product=7-lcd-touch-screen-panel 7-inch LCD Touch Screen Panel]&lt;br /&gt;
|-&lt;br /&gt;
| Wireless&lt;br /&gt;
&amp;lt;small&amp;gt;ROCKPro64 2×2 MIMO Dual Band WiFi 802.11AC / Bluetooth 4.2 Module (old)&lt;br /&gt;
ROCKPro64 1x1 Dual Band WiFi 802.11AC / Bluetooth 5.0 Module (new)&amp;lt;/small&amp;gt;&lt;br /&gt;
| Yes/Yes&lt;br /&gt;
| &lt;br /&gt;
| No/Yes*&lt;br /&gt;
| &lt;br /&gt;
| For the &amp;quot;new&amp;quot; ROCKPro64 WIFI module: Verified with Manjaro ARM (kernel 6.2.5). A config file (&amp;quot;firmware file&amp;quot;) is needed at &amp;lt;code&amp;gt;/lib/firmware/brcm/brcmfmac43455-sdio.txt&amp;lt;/code&amp;gt;. See [[#Getting wifi working (&amp;quot;new&amp;quot; wifi module)]] for the file contents and details.&lt;br /&gt;
| In 0.7.9 Ayufan linux releases this is deliberately disabled for stability reasons. On Manjaro ARM (kernel 6.2.5), WIFI seems to be stable with the firmware file. On a 5GHz network (802.11AC), it is possible to get about 120Mbps using the &amp;quot;new&amp;quot; ROCKPro64 WIFI module.&lt;br /&gt;
| [https://store.pine64.org/product/rockpro64-1x1-dual-band-wifi-802-11acbluetooth-5-0-module ROCKPro64 1x1 Dual Band WiFi 802.11AC / Bluetooth 5.0 Module]&lt;br /&gt;
|-&lt;br /&gt;
| USB OTG&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| use this script: [https://github.com/ayufan-rock64/linux-package/blob/master/root-rockpro64/usr/local/sbin/rockpro64_enable_otg.sh rockpro64_enable_otg.sh], then configure ip on usb0: ifconfig usb0 169.169.222.222 and run iperf, you should likely see about 200-300MB/s&lt;br /&gt;
| [[ROCKPro64#OTG_mode]]&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| USB Mass Storage USB2/USB3&lt;br /&gt;
| Yes/yes&lt;br /&gt;
| &lt;br /&gt;
| Yes/Yes&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Dedicated Fan Power (pwm1)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| You might want to use [https://github.com/tuxd3v/ats ATS].&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| GPIO pins (raw or via RPI python scripts)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Check out [https://forum.frank-mankel.org/topic/292/rockpro64-rp64-gpio/2 what Frank Mankel has done].&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| MIPI CSI Camera 1 and 2&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| eDP&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| HDMI Audio&lt;br /&gt;
| Yes&lt;br /&gt;
| 7.1.2&lt;br /&gt;
| Yes&lt;br /&gt;
| 4.4.132-1083 - 4.4.138-1100&lt;br /&gt;
| &lt;br /&gt;
| Stopped working in 4.4.154.1105. Ayufan is looking into it. This is working in Manjaro ARM (kernel 6.2.5). Select the &amp;lt;code&amp;gt;Analog Output (Built-in Audio Stereo)&amp;lt;/code&amp;gt; option in the audio output device selection window (either use &amp;lt;code&amp;gt;pavucontrol&amp;lt;/code&amp;gt; or the volume button in the KDE desktop). Despite the slightly misleading name, audio does go through the HDMI port. See here for details: https://forum.manjaro.org/t/no-hdmi-audio-on-rockpro64/25595/2.&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 3.5mm Audio/Mic&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| USB-C Host&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Display via USB-C&lt;br /&gt;
| Yes&lt;br /&gt;
| 7.x and 8.x&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| eDP via USB-C per tillim. No sound on Android 7.x. Sound does work on Android 8.x&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| ROCKPro64 PLAYBOX ENCLOSURE&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| Ventilation does not exist, thus requires manual changes to add venting. Case should be modified to account power adapter not being centered in cut holes. Opening the case once close without modifying it first is nearly impossible without special tools. Graphene heatsink is included and does well for Linux but not Android.&lt;br /&gt;
| [https://pine64.com/?product=rockpro64-playbox-enclosure ROCKPro64 Playbox Enclosure]&lt;br /&gt;
|-&lt;br /&gt;
| ROCKPro64 30mm Tall Profile Heatsink&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| [https://pine64.com/product/rockpro64-30mm-tall-profile-heatsink/ ROCKPro64 30&amp;amp;nbsp;mm Tall-Profile Heatsink]&lt;br /&gt;
|-&lt;br /&gt;
| ROCKPro64 20mm Mid Profile Heatsink&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| [https://pine64.com/?product=rockpro64-20mm-mid-profile-heatsink ROCKPro64 20&amp;amp;nbsp;mm Mid-Profile Heatsink]&lt;br /&gt;
|-&lt;br /&gt;
| Fan For ROCKPro64 20mm Mid Profile Heatsink&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| You might want to use [https://github.com/tuxd3v/fanctl fanctl] to control the fan while keeping your CPU cool&lt;br /&gt;
| [https://pine64.com/?product=fan-for-rockpro64-20mm-mid-profile-heatsink Fan For ROCKPro64 20&amp;amp;nbsp;mm Mid-Profile Heatsink]&lt;br /&gt;
|-&lt;br /&gt;
| HDMI output 4K@60Hz&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| PCI Express 2.1&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| The PCI Express interface of the RK3399 [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=712fa1777207 is limited] to the Gen1 speed.  As a result, some installed PCI Express devices may operate with degraded performance, such as M.2 SSDs that support fewer than four PCI Express lanes, installed using an adapter like [https://pine64.com/product/rockpro64-pci-e-x4-to-m-2-ngff-nvme-ssd-interface-card/ this one].&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Real Time Clock (RTC) battery backup&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [https://pine64.com/product/rtc-backup-battery-holder-cr-2032/ RTC Backup Battery Holder CR2032]&lt;br /&gt;
|-&lt;br /&gt;
| Boot from USB/PXE&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
RockChip themselves have tables of supported features at 4.4 and mainline kernel versions [http://opensource.rock-chips.com/wiki_Status_Matrix in their wiki here].&lt;br /&gt;
&lt;br /&gt;
== Board Information, Schematics and Certifications ==&lt;br /&gt;
* Board dimensions: 133&amp;amp;nbsp;mm&amp;amp;nbsp;x 80&amp;amp;nbsp;mm&amp;amp;nbsp;x 19&amp;amp;nbsp;mm&lt;br /&gt;
* Power input: 12&amp;amp;nbsp;V, 3&amp;amp;nbsp;A or 5&amp;amp;nbsp;A, using 5.5&amp;amp;nbsp;mm (OD)&amp;amp;nbsp;/ 2.1&amp;amp;nbsp;mm (ID) type M barrel DC connector (also known as DC 5521)&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/rockpro64_v21-SCH.pdf ROCKPro64 Schematic v2.1 (Second Batch Production Release)]&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-top.dxf ROCKPro64 v2.1 Board Top Outline in AutoCad DXF format]&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-bottom.dxf ROCKPro64 v2.1 Board Bottom Outline in AutoCad DXF format]&lt;br /&gt;
** [[:File:Pine64-rockpro64-component-placement-top-v21-20180702.pdf|ROCKPro64 v2.1 Board Top Silkscreen in PDF format]] (contains component labels)&lt;br /&gt;
** [[:File:Pine64-rockpro64-component-placement-bottom-v21-20180702.pdf|ROCKPro64 v2.1 Board Bottom Silkscreen in PDF format]] (contains component labels)&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-top.pdf ROCKPro64 v2.1 Board Top Outline in PDF format]&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-bottom.pdf ROCKPro64 v2.1 Board Bottom Outline in PDF format]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/rockpro64_v20-SCH.pdf ROCKPro64 Schematic v2.0 (Pilot Production Release)]&lt;br /&gt;
** [http://files.pine64.org/doc/rockpro64/Rockpro64-ver2.0-topsilk_ref.pdf ROCKPro64 v2.0 Board Top Silkscreen in PDF format] (contains component labels)&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/ROCKPRo64%20Engineering%20Change%20Notice%2020180628RP01.pdf Engineering Change Notice for v2.0 to turn on 3.3V power on PCIe]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/rockpro64_wifi_ap6359SA.pdf ROCKPro64 AP6359SA Wifi/BT Schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/Rockpro64%20Pi-2%20Connector%20ver0.2.png ROCKPro64 Pi-2 Pin assignment and definition]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/RockPro-3D-model.zip ROCKPro64 3D model]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
&lt;br /&gt;
* Disclaimer: Please note that PINE64 SBC is not a &amp;quot;final&amp;quot; product and in general certification is not necessary. However, PINE64 still submit the SBC for FCC, CE, and ROHS certification and obtain the certificates to proof that SBC board is capable on passing the testing. Please note a final commercial product needs to performs its owns testing and obtains its owns certificates.&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCKPro64%20FCC%20SDOC%20Certificate.pdf ROCKPro64 FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCKPro64%20CE-EMC%20Certificate.pdf ROCKPro64 CE Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCKPro64%20ROHS%20%20SEC180529404001E%20Report.pdf ROCKPro64 RoHS Report]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3399 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://www.rock-chips.com/a/en/products/RK33_Series/2016/0419/758.html Rockchip RK3399 SoC Brief]&lt;br /&gt;
* [http://opensource.rock-chips.com/images/d/d7/Rockchip_RK3399_Datasheet_V2.1-20200323.pdf Rockchip RK3399 Datasheet V2.1]&lt;br /&gt;
* [http://opensource.rock-chips.com/images/e/ee/Rockchip_RK3399TRM_V1.4_Part1-20170408.pdf Rockchip RK3399 Technical Reference Manual part 1]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/RK808%20datasheet%20V0.8.pdf Rockchip RK808 Datasheet V0.8]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/SM512M32Z01MD2BNP(200BALL).pdf Micron LPDDR4 Mobile LPDDR4 Datasheet]&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf PINE64 eMMC module schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/usb%20emmc%20module%20adapter%20v2.pdf PINE64 USB adapter for eMMC module V2 schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/USB%20adapter%20for%20eMMC%20module%20PCB.tar PINE64 USB adapter for eMMC module PCB in JPEG]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/E-00517%20FORESEE_eMMC_NCEMAM8B-16G%20SPEC.pdf 16GB Foresee eMMC Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/SDINADF4-16-128GB-H%20data%20sheet%20v1.13.pdf 32GB/64GB/128GB SanDisk eMMC Datasheet]&lt;br /&gt;
&lt;br /&gt;
SPI NOR Flash information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/w25q128jv%20spi%20revc%2011162016.pdf WinBond 128Mb SPI Flash Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/GD25Q128C-Rev2.5.pdf GigaDevice 128Mb SPI Flash Datasheet]&lt;br /&gt;
&lt;br /&gt;
Heatsink related info:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/Rockpro%20Passive%20Heatsink%20Spec.jpg ROCKPro64 Passive Heatsink Dimension Drawing]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/LMS-TC150%20Silicon%20Thermal%20Pad.pdf Heatsink Thermal Pad Specification]&lt;br /&gt;
&lt;br /&gt;
Wireless related info:&lt;br /&gt;
&lt;br /&gt;
* AMPAK AP6256 11AC WiFi + Bluetooth5.0 Datasheet [https://files.pine64.org/doc/datasheet/rockpro64/AP6256%20datasheet_V1.3_12202017.pdf (v. 1.3)] [http://files.pine64.org/doc/datasheet/PinebookPro/AP6256%20datasheet_V1.7_12282018.pdf (v. 1.7)]&lt;br /&gt;
&lt;br /&gt;
Ethernet related info:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rock64/RTL8211F-CG-Realtek.pdf Realtek RTL8211F 10/100/1000M Ethernet Transceiver Datasheet]&lt;br /&gt;
&lt;br /&gt;
Peripheral related info:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/ASM1061_Data%20Sheet_R1_8.pdf asmedia ASM1061 PCIe SATA 2.0 Datasheet]&lt;br /&gt;
&lt;br /&gt;
Remote control button mapping:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/Pine%20A64%20Schematic/remote-wit-logo.jpg Official Remote Control for the PINE64 Button Mapping]&lt;br /&gt;
&lt;br /&gt;
Audio Codec (ES8316) (under board):&lt;br /&gt;
&lt;br /&gt;
* [http://everest-semi.com/pdf/ES8316%20PB.pdf Everest ES8316 Audio Codec]&lt;br /&gt;
&lt;br /&gt;
PWM controlled fan, SPDIF, and RTC Battery Backup headers:&lt;br /&gt;
&lt;br /&gt;
* [https://www.jst-mfg.com/product/pdf/eng/ePH.pdf JST-PH connector]&lt;br /&gt;
&lt;br /&gt;
== Useful Articles and Blog Posts ==&lt;br /&gt;
&lt;br /&gt;
If you want to dive in to the ecosystem, here's a short list of various articles and blog posts that can help you set up your soft- or hardware development environment.&lt;br /&gt;
&lt;br /&gt;
* [https://stikonas.eu/wordpress/2019/09/15/blobless-boot-with-rockpro64/ Blobless boot with RockPro64 by Andrius Štikonas]&lt;br /&gt;
* [https://marcin.juszkiewicz.com.pl/2020/06/17/ebbr-on-rockpro64/ EBBR on RockPro64 by Marcin Juszkiewicz]&lt;br /&gt;
* [[ROCKPro64 Device Tree Overlays on Mainline]]&lt;br /&gt;
* [[ROCKPro64 Hardware Tweaks]]&lt;br /&gt;
&lt;br /&gt;
== The NAS Case for the ROCKPro64 ==&lt;br /&gt;
&lt;br /&gt;
[[file:NASCaseMain.png|thumb|right|Front View of the PINE64 NAS Case for the ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
Please [[NAS Case|follow this this link]] for '''detailed instructions on how to assemble the ROCKPro64 NAS Case'''.&lt;br /&gt;
&lt;br /&gt;
The NAS Case instructions also contains detailed information about:&lt;br /&gt;
*what the NAS Case ships with&lt;br /&gt;
*What additional things you need to purchase for your NAS Case&lt;br /&gt;
*What optional things you can consider purchasing for your NAS build&lt;br /&gt;
*What OS Image we recommend you use for your NAS build&lt;br /&gt;
*IO accessibility after installing the ROCKPro64 into the NAS Case&lt;br /&gt;
*[https://files.pine64.org/doc/rockpro64/ROCKPro64%20NAS%20Case%20Exploded%20View%20Diagram.pdf NAS Case Exploded View]&lt;br /&gt;
*[https://files.pine64.org/doc/rockpro64/NAS%20Case%20Drawing.dwg NAS Case Drawing]&lt;br /&gt;
&lt;br /&gt;
== 3D printable ITX mounting brackets ==&lt;br /&gt;
&lt;br /&gt;
[[file:ITX-Bracket-Mounted.jpg|300px|thumb|right|A [[Quartz64]] Model-A mounted in an ITX case using 3D printed brackets, which can also be used for the ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
Allows mounting a ROCKPro64 or Quartz64 Model-A board inside a regular PC case that conforms to the ITX standard, using 3D printed brackets:&lt;br /&gt;
&lt;br /&gt;
* AMF/STL/STEP files plus the original FreeCAD file used to create the models [[File:RP64-A_Q64-A_to_ITX_mounting_brackets.zip]]&lt;br /&gt;
* Make sure to flip the two brackets by 180 degrees on one of the horizontal axes (X/Y) in your slicer of choice before printing to avoid unnecessary supports&lt;br /&gt;
* To allow enough clearance between the board and the bracket you either need to print four copies of the washer model or add nut(s) between the board and the bracket&lt;br /&gt;
* If using nuts for the clearance between the board and the brackets, make sure it creates at least 3.2mm of spacing in between&lt;br /&gt;
* Depending on the accuracy and calibration of a 3D printer, slight deviation can occur and you likely need to manually widen some of the holes to allow screws to fit&lt;br /&gt;
&lt;br /&gt;
== Other Resources ==&lt;br /&gt;
&lt;br /&gt;
* [https://forum.pine64.org/forumdisplay.php?fid=98 ROCKPro64 Forum]&lt;br /&gt;
* [https://pine64.com/?post_type=product PINE64 shop]&lt;br /&gt;
* [https://github.com/rockchip-linux Rockchip Linux GitHub Repo]&lt;br /&gt;
* [http://opensource.rock-chips.com/ Rockchip Open Source Wiki]&lt;br /&gt;
* ExplainingComputers have a video review [https://www.youtube.com/watch?v=CeoNHGFN_30 of the RockPro64 here, including linux first boot.]&lt;br /&gt;
* [[ROCKPro64 Installing Arch Linux ARM]]&lt;br /&gt;
* [[ROCKPro64 Powering From An ATX Supply]]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== No Video or GPU Acceleration on Debian ===&lt;br /&gt;
&lt;br /&gt;
If you can log in through serial but don't get any video or GPU acceleration on Debian, this is likely due to Debian's decision to compile the devfreq governors as loadable modules but not including them early enough for panfrost to be able to be provided with one of them.&lt;br /&gt;
&lt;br /&gt;
The usual sign of this being the case is the following line in the kernel log: &amp;lt;code&amp;gt;[drm:panfrost_devfreq_init [panfrost]] *ERROR* Couldn't initialize GPU devfreq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To fix this issue, run the following as &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; and reboot:&lt;br /&gt;
&lt;br /&gt;
 echo governor_simpleondemand &amp;gt;&amp;gt; /etc/initramfs-tools/modules&lt;br /&gt;
 update-initramfs -u -k $(uname -r)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This issue should be non-existent in newer versions of the Linux kernel, as well as in long-term support (LTS) kernels, with [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=80f4e62730a91572b7fdc657f7bb747e107ae308 this upstream kernel commit] that introduced the required module dependency.&lt;br /&gt;
&lt;br /&gt;
=== PCIe probe failures on Linux kernel boot ===&lt;br /&gt;
&lt;br /&gt;
While booting the Linux kernel, you might experience PCIe probe failures, which render the attached PCIe device inaccessible.  The [https://lore.kernel.org/all/20230509153912.515218-1-vincenzopalazzodev@gmail.com/ &amp;quot;drivers: pci: introduce configurable delay for Rockchip PCIe bus scan&amp;quot;] thread on the Linux kernel mailing list (LKML) discusses this issue and proposes a fix.&lt;br /&gt;
&lt;br /&gt;
Manjaro ARM applies the following patches to the kernel package, which fix the issue:&lt;br /&gt;
&lt;br /&gt;
* [https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/44e81d83b7e002e9955ac3c54e276218dc9ac76d/1005-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch 1005-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch]&lt;br /&gt;
* [https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/44e81d83b7e002e9955ac3c54e276218dc9ac76d/1007-arm64-dts-rockchip-Add-PCIe-bus-scan-delay-to-RockPr.patch 1007-arm64-dts-rockchip-Add-PCIe-bus-scan-delay-to-RockPr.patch]&lt;br /&gt;
&lt;br /&gt;
[[Category:ROCKPro64]]&lt;br /&gt;
[[Category:Rockchip RK3399]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=ROCKPro64&amp;diff=21662</id>
		<title>ROCKPro64</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=ROCKPro64&amp;diff=21662"/>
		<updated>2024-11-17T07:22:12Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* 3D printable ITX mounting brackets */ Ditto&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:ROCKPro64v21FRONT.jpg|400px|thumb|right|The ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
The '''ROCKPro64''' is the most powerful single-board computer released by PINE64. It is powered by a Rockchip RK3399 hexa-core (dual ARM Cortex A72 and quad ARM Cortex A53) 64-bit processor with a Mali T-860 quad-core GPU. The key features include a PCI Express (PCIe) x4 open-ended slot, the use of LPDDR4 DRAM, and industry-standard heatsink mounting holes.&lt;br /&gt;
&lt;br /&gt;
The ROCKPro64 is equipped with 2 or 4&amp;amp;nbsp;GB of LPDDR4 system memory, and 128&amp;amp;nbsp;Mb of SPI boot flash. There is also an optional eMMC module (up to 128&amp;amp;nbsp;GB) and microSD slot for booting. The board is equipped with 1x USB 3.0 Type-C host port with DP 1.2, 1x USB 3.0 Type-A host port, 2x USB 2.0 host port, Gigabit Ethernet, PI-2 GPIO bus, MiPi DSI interface, eDP interface, touch panel interface, stereo MiPi CSI interface, as well as many other device interfaces such as UART, SPI, I&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;C, for makers to integrate with sensors and other peripherals. Many different operating systems (OSes) are freely available from the open-source community, such as Linux (Ubuntu, Debian, Arch), BSD and Android.&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
The article [[ROCKPro64 Getting Started]] gives important information to get the board up and running.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
&lt;br /&gt;
In the [[ROCKPro64 Software Releases]] page, you will find a complete list of currently supported Operating System images that work with the ROCKPro64, as well as other related software. The Software Release page has links to download the images as well as high level instructions to load each image.&lt;br /&gt;
&lt;br /&gt;
Please see the [[Getting started]] page for detailed discussion of what you need (prerequisites) as well as instructions if the high level instructions are insufficient.&lt;br /&gt;
&lt;br /&gt;
== Board Layout ==&lt;br /&gt;
[[Image:ROCKPro64v21REAR.jpg|thumb|right|A hi-res picture of v2.1 rear.]]&lt;br /&gt;
[[Image:FLIR 20220619 125451 686.jpg|thumb|right|A thermal image of v2.1 front (upside-down).]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:ROCKPro64_annotated.jpg|500px|An annotated ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
=== Main Chips ===&lt;br /&gt;
* RK3399 system-on-chip (1)&lt;br /&gt;
* LPDDR4 SDRAM 1 (18)&lt;br /&gt;
* LPDDR4 SDRAM 2 (3)&lt;br /&gt;
* SPI NOR flash memory (17)&lt;br /&gt;
* RK808 power management (near 19)&lt;br /&gt;
* RTL8211 ethernet transceiver (near 25)&lt;br /&gt;
* ES8316 Sound Codec (on rear of board)&lt;br /&gt;
* The heatsink mounting holes around the RK3399 are 59 mm apart&lt;br /&gt;
&lt;br /&gt;
=== Switches ===&lt;br /&gt;
&lt;br /&gt;
The Power button (11, SW3): is the same as on your mobile phone - press and release after about 1 second to power on. Press and hold for about 3 seconds to power off.&lt;br /&gt;
&lt;br /&gt;
The Reset button (10, SW901): performs a reset.&lt;br /&gt;
&lt;br /&gt;
The Recover button (28, SW900): used to enter maskrom mode.&lt;br /&gt;
&lt;br /&gt;
=== Connectors, Sockets and Headers ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;line-height: 1.4;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;font-size: .9em;&amp;quot;&lt;br /&gt;
! Diagram !! Schematic&amp;lt;br&amp;gt;designator !! Silkscreen&amp;lt;br&amp;gt;label !! Number&amp;lt;br&amp;gt;of pins !! Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2  || U39   || PI-2-bus || style=&amp;quot;text-align: center;&amp;quot; | 40 || Pi-2 bus &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4  || J8    || +FAN- || style=&amp;quot;text-align: center;&amp;quot; | 2 || PWM controlled fan header&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5  || J10   || SPDIF || style=&amp;quot;text-align: center;&amp;quot; | 3 || SPDIF header&lt;br /&gt;
|- &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6  || U6    || +RTC- || style=&amp;quot;text-align: center;&amp;quot; | 2 || RTC battery backup header&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7  || U31   || Wifi-BT || style=&amp;quot;text-align: center;&amp;quot; | 16 || SDIO WIFI/BT module-MIMO 2&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 8  || USB3  ||  || style=&amp;quot;text-align: center;&amp;quot; | 9 || USB-3 and USB Type C&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 9  || USB1  ||  || style=&amp;quot;text-align: center;&amp;quot; | 2×4 || Dual USB-2&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 12 || IR1   || IR || style=&amp;quot;text-align: center;&amp;quot; | 3 || infrared receiver socket &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 13 || J16   || Headphone+mic || style=&amp;quot;text-align: center;&amp;quot; | 4 || Headphone + mic 3.5mm jack&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -  || CON16 || GND PWR RST GND || style=&amp;quot;text-align: center;&amp;quot; | 4 || Power &amp;amp; reset, unpopulated&amp;lt;br&amp;gt;header near Headphone jack&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 14 || U29   || EMMC || style=&amp;quot;text-align: center;&amp;quot; | 34 || eMMC connector&amp;lt;br /&amp;gt;(Note: Some datasheets indicate a low&amp;lt;br /&amp;gt;supported number of mating cycles.)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 14* || J13  ||  || style=&amp;quot;text-align: center;&amp;quot; | 13 || TF-card, a.k.a. microSD&amp;lt;br&amp;gt;(* under 14 on the bottom side)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 15 || U30   ||  || style=&amp;quot;text-align: center;&amp;quot; | 14 || SDIO WIFI/BT module-MIMO 1&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 16 || SW4   ||  || style=&amp;quot;text-align: center;&amp;quot; | 2 || Jumper to [[#Disable eMMC]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 19 || J15   || PCI || style=&amp;quot;text-align: center;&amp;quot; | 64 || PCI-express X4 socket&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 20 || J21   || DSI || style=&amp;quot;text-align: center;&amp;quot; | 30 || DSI&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 21 || J22   || EDP || style=&amp;quot;text-align: center;&amp;quot; | 30 || LCD EDP&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 22 || CON1  || TP || style=&amp;quot;text-align: center;&amp;quot; | 6 || touch panel connector&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 23 || CON15 ||  || style=&amp;quot;text-align: center;&amp;quot; | 4 || DC out for SATA disk cable&amp;lt;br&amp;gt;(direct connect from DC-IN)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 24 || J11   || DC-IN || style=&amp;quot;text-align: center;&amp;quot; | 2 || Power input, positive tip;&amp;lt;br&amp;gt;12V/3A (minimum) recommended&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 25 || U32   ||  || style=&amp;quot;text-align: center;&amp;quot; | 8 || 8P8C (often referred to as 'RJ45')&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 26 || J14   ||  || style=&amp;quot;text-align: center;&amp;quot; | 19 || HDMI&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 27 || J17   || MIPI CAM || style=&amp;quot;text-align: center;&amp;quot; | 32 || MIPI-1&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 29 || J19   || MIPI CAM || style=&amp;quot;text-align: center;&amp;quot; | 32 || MIPI-2&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 30 || J18   || CIF || style=&amp;quot;text-align: center;&amp;quot; | 26 || CIF&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
&lt;br /&gt;
A green LED next to the 12V input barrel connector will light as long as there is 12V applied to the connector. (Even if the RockPro64 is powered off.)&lt;br /&gt;
&lt;br /&gt;
A white LED behind the reset button will light as long as the RockPro64 is running (it comes on a few seconds after power on, when control is passed to the operating system.)&lt;br /&gt;
&lt;br /&gt;
A red LED behind the reset button is DIY - it is lit for example if the board is in OTG mode with an Ayufan image, or if an Android image is in standby mode.&lt;br /&gt;
&lt;br /&gt;
Yellow and green LEDs on the LAN socket behave in a standard way.&lt;br /&gt;
&lt;br /&gt;
=== Jumpers ===&lt;br /&gt;
They are used for boot device selection, as described in the following section.&lt;br /&gt;
&lt;br /&gt;
==== Disable eMMC ====&lt;br /&gt;
&lt;br /&gt;
There is an unlabelled (on the PCB silk-screen) 2-pin jumper (16) between the eMMC socket (14) and the SPI chip (17). It is designated as SW4 on the [[#Board Information, Schematics and Certifications | schematic diagram]]. The default condition is OPEN (no jumper). It is useful for controlling the boot as follows:&lt;br /&gt;
&lt;br /&gt;
Default boot device (with no SPI software) is eMMC, then SDcard. If both the eMMC and the SDcard contain bootable images then the eMMC can be disabled by installing the jumper. This completely removes the eMMC from the resulting OS. If you wish the eMMC to be visible in the booted OS the jumper should be removed 2 seconds after applying power (and before the white LED comes on).&lt;br /&gt;
&lt;br /&gt;
The possible combinations are summarised in the table below.&lt;br /&gt;
&lt;br /&gt;
* 1 = present&lt;br /&gt;
* 0 = not present&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
! µSD !! eMMC !! SW4 !! boot from&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 0 || 0 || unsupported&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 0 || 1 || unsupported&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 1 || 0 || eMMC&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 1 || 1 || unsupported&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 0 || 0 || SDCard&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 0 || 1 || SDCard&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 1 || 0 || eMMC&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 1 || 1 || SDCard&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Disable SPI (while booting) ====&lt;br /&gt;
There is a second possibility to jumper your ROCKPro64: If you mess-up your SPI and are unable to boot, jumpering pins 23 (CLK) and 25 pin (GND) on the PI-2-bus header will disable the SPI as a boot device. (This was taken from the IRC logs, 09 August 2018 @ 17:23) You have to remove the jumper 2 seconds after having started your RP64 (before the white LED turns ON) otherwise the SPI will be missing and you won't be able to flash it.&lt;br /&gt;
Ayufan images contain (at the moment) only one script for the SPI and the RP64, it's &amp;quot;rockpro64_reset_spi_flash&amp;quot;. Other SPI scripts are dedicated to the R64 (as it is written on the name) and it will mess-up your RP64 SPI if you use them.&lt;br /&gt;
&lt;br /&gt;
== Hardware Compatibility ==&lt;br /&gt;
&lt;br /&gt;
The hardware compatibility list can be found under [[ROCKPro64 Hardware compatibility]].&lt;br /&gt;
&lt;br /&gt;
== Board Features ==&lt;br /&gt;
&lt;br /&gt;
This section outlines the most important characteristics of the board and its components.&lt;br /&gt;
&lt;br /&gt;
=== SoC and Memory Specification ===&lt;br /&gt;
* Based on Rockchip RK3399&lt;br /&gt;
[[File:Rockchip_RK3399.png|right]]&lt;br /&gt;
&lt;br /&gt;
==== CPU Architecture ====&lt;br /&gt;
&lt;br /&gt;
* [https://developer.arm.com/products/processors/cortex-a/cortex-a72 Dual-core Cortex-A72 up to 2.0GHz CPU]&lt;br /&gt;
* [https://developer.arm.com/products/processors/cortex-a/cortex-a53 Quad-core Cortex-A53 up to 1.5GHz CPU]&lt;br /&gt;
* big.LITTLE architecture: Dual Cortex-A72 + Quad Cortex-A53, 64-bit CPU&lt;br /&gt;
* Cortex-A72:&lt;br /&gt;
** 1-4x Symmetrical Multiprocessing (SMP) within a single processor cluster, and multiple coherent SMP processor clusters through AMBA 5 CHI or AMBA 4 ACE technology&lt;br /&gt;
** AArch64 for 64-bit support and new architectural features&lt;br /&gt;
** L1 cache 48KB Icache and 32KB Dcache for each A72 &lt;br /&gt;
** L2 cache 1024KB for big cluster &lt;br /&gt;
** DSP &amp;amp; SIMD extensions&lt;br /&gt;
** VFPv4 floating point&lt;br /&gt;
** Hardware virtualization support&lt;br /&gt;
* Cortex-A53:&lt;br /&gt;
** L1 cache 32KB Icache and 32KB Dcache for each A53&lt;br /&gt;
** L2 cache 512KB for little cluster &lt;br /&gt;
* Full implementation of the ARM architecture v8-A instruction set&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* In-order pipeline with symmetric dual-issue of most instructions&lt;br /&gt;
* Include VFP v3 hardware to support single and double-precision operations&lt;br /&gt;
* TrustZone technology support&lt;br /&gt;
* Full CoreSight debug solution&lt;br /&gt;
* One isolated voltage domain to support DVFS&lt;br /&gt;
&lt;br /&gt;
==== GPU Architecture ====&lt;br /&gt;
&lt;br /&gt;
* [https://developer.arm.com/products/graphics-and-multimedia/mali-gpus/mali-t860-and-mali-t880-gpus ARM Mali-T860MP4 Quad-core GPU]&lt;br /&gt;
* The highest performance GPUs built on Arm Mali’s famous Midgard architecture, the Mali-T860 GPU is designed for complex graphics use cases and provides stunning visuals for UHD content.&lt;br /&gt;
* Frequency: 650MHz &lt;br /&gt;
* Throughput: 1300Mtri/s, 10.4Gpix/s &lt;br /&gt;
* OpenGL® ES 1.1, 1.2, 2.0, 3.1, 3.2, Vulkan 1.0*, OpenCL™ 1.1, 1.2, DirectX® 11 FL11_1, RenderScript™.&lt;br /&gt;
&lt;br /&gt;
==== System Memory ====&lt;br /&gt;
* LPDDR4 RAM Memory Variants: Dual Channels 2GB and 4GB.&lt;br /&gt;
* Storage Memory: 128Mb built-in SPI Flash memory (as at August 2018 only support for USB boot).&lt;br /&gt;
&lt;br /&gt;
=== Display ===&lt;br /&gt;
&lt;br /&gt;
* Dual VOP: one supports resolutions up to 4096x2160 and [https://www.arm.com/why-arm/technologies/graphics-technologies/arm-frame-buffer-compression AFBC]; the other supports resolutions up to 2560x1600&lt;br /&gt;
* Dual channel MIPI-DSI (4 lanes per channel)&lt;br /&gt;
* eDP 1.3 (4 lanes with 10.8Gbps) to support displays, with PSR&lt;br /&gt;
* Digital Video port up to 4Kp60&lt;br /&gt;
* DisplayPort 1.2 (4 lanes, up to 4K 60Hz)&lt;br /&gt;
* Supports Rec.2020 and conversion to Rec.709 &lt;br /&gt;
&lt;br /&gt;
=== Video ===&lt;br /&gt;
&lt;br /&gt;
* Digital Video output up to 4K@60Hz&lt;br /&gt;
* 4K HDR @ 30fps&lt;br /&gt;
* H.264/AVC Base/Main/High/High10 profile @ level 5.1; up to 4Kx2K @ 60fps&lt;br /&gt;
* H.265/HEVC Main/Main10 profile @ level 5.1 High-tier; up to 4Kx2K @ 60fps&lt;br /&gt;
* VP9, up to 4Kx2K @ 60fps&lt;br /&gt;
* MPEG-1, ISO/IEC 11172-2, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-2, ISO/IEC 13818-2, SP@ML, MP@HL, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-4, ISO/IEC 14496-2, SP@L0-3, ASP@L0-5, up to 1080P @ 60fps&lt;br /&gt;
* VC-1, SP@ML, MP@HL, AP@L0-3, up to 1080P @ 60fps&lt;br /&gt;
* MVC is supported based on H.264 or H.265, up to 1080P @ 60fps&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
* 3.5mm Phone Jack&lt;br /&gt;
* 3-pin S/PDIF header &lt;br /&gt;
* Audio via Digital Video port&lt;br /&gt;
&lt;br /&gt;
=== Camera ===&lt;br /&gt;
&lt;br /&gt;
* Dual MIPI CSI，dual ISP, maximum input resolution of 13M pixels &lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
&lt;br /&gt;
* 10/100/1000Mbps Ethernet - Capable of pushing 941 MBit/s in iperf3&lt;br /&gt;
* Wi-Fi 802.11 ac/a/b/g/n with Bluetooth 4.01 (old version with 2x2) / Bluetooth 5 (new version with 1x1) (optional)&lt;br /&gt;
&lt;br /&gt;
=== Storage ===&lt;br /&gt;
&lt;br /&gt;
* microSD - bootable, supports SDHC and SDXC&lt;br /&gt;
* eMMC - bootable (optional eMMC module)&lt;br /&gt;
* 1x USB 3.0 host port&lt;br /&gt;
* 1x USB Type-C OTG port with alternate mode DP output &lt;br /&gt;
* 2x USB 2.0 dedicated host port&lt;br /&gt;
&lt;br /&gt;
=== Expansion Ports ===&lt;br /&gt;
&lt;br /&gt;
* 2x20 pins &amp;quot;Pi2&amp;quot; GPIO header&lt;br /&gt;
* PCI Express 2.1 x4 (four full-duplex lanes) open-ended port, [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=712fa1777207 limited] to the Gen1 speed&lt;br /&gt;
&lt;br /&gt;
==== GPIO Pins ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable plainrowheaders&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; style=&amp;quot;width:20em;&amp;quot; | Assigned To&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Pin Nr.&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Pin Nr.&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; style=&amp;quot;width:20em;&amp;quot; | Assigned To&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| 3.3 V&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 1&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 2&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| 5 V&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C4 (I2C8_SDA) &amp;lt;sup style=&amp;quot;font-style:italic;color:green&amp;quot;&amp;gt;a&amp;lt;/sup&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 3&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 4&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| 5 V&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C5 (I2C8_SCL) &amp;lt;sup style=&amp;quot;font-style:italic;color:green&amp;quot;&amp;gt;a&amp;lt;/sup&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 5&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 6&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO4_D0 (CPU_GPCLK)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 7&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 8&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_C4 (UART2_TX)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GND&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 9&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 10&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_C3 (UART2_RX)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C6&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 11&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 12&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D0 (I2S0_CLK)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C2&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 13&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 14&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_A1&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 15&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 16&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_A4&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| 3.3 V&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 17&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 18&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_C5 [SPDIF]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| [UART4_TX] GPIO1_B0 (SPI1_TXD)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 19&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 20&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| [UART4_RX] GPIO1_A7 (SPI1_RXD)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 21&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 22&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_D1&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_B1 (SPI1_CLK)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 23&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 24&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_B2 (SPI1_CSN0)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GND&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 25&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 26&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_B5&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_B3 (I2C4_SDA)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 27&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 28&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_B4 (I2C4_SCL)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO4_D3&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 29&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 30&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO4_D4&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 31&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 32&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D4 (I2S0_SDI1SDO3)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO3_D5 (I2S0_SDI2SDO2)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 33&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 34&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO3_D2 (I2S0_LRCKTX)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 35&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 36&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D6 (I2S0_SDI3SDO1)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO3_D1 (I2S0_LRCKRX)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 37&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 38&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D3 (I2S0_SDI0)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GND&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 39&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 40&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D7 (I2S0_SDO0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===== Notes =====&lt;br /&gt;
&lt;br /&gt;
* '''a:''' pulled high to 3.3V through 2.2kOhm resistor&lt;br /&gt;
&lt;br /&gt;
===== Linux /dev/gpiochip Assignments =====&lt;br /&gt;
&lt;br /&gt;
{| class=wikitable style=&amp;quot;max-width: 1000px; text-align: center;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Pin Nr.&lt;br /&gt;
| 3 || 5 || 7 || 8 || 10 || 11 || 12 || 13 || 15 || 16 || 18 || 19 || 21 || 22 || 23 || 24 || 26 || 27 || 28 || 29 || 31 || 32 || 33 || 35 || 36 || 37 || 38 || 40&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Chip&lt;br /&gt;
| 1 || 1 || 4 || 4 || 4 || 1 || 3 || 1 || 1 || 1 || 4 || 1 || 1 || 4 || 1 || 1 || 1 || 1 || 1 || 4 || 4 || 3 || 3 || 3 || 3 || 3 || 3 || 3&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Line&lt;br /&gt;
| 20 || 21 || 24 || 20 || 19 || 22 || 24 || 18 || 1 || 4 || 21 || 8 || 7 || 25 || 9 || 10 || 13 || 11 || 12 || 27 || 28 || 28 || 29 || 26 || 30 || 25 || 27 || 31&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
On Linux, using the new &amp;lt;code&amp;gt;/dev/gpiochip&amp;lt;/code&amp;gt; API, the &amp;lt;code&amp;gt;''n''&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;GPIO''n''_''XX''&amp;lt;/code&amp;gt; appears to correlate to the number of the &amp;lt;code&amp;gt;/dev/gpiochip''n''&amp;lt;/code&amp;gt;, and the &amp;lt;code&amp;gt;''XX''&amp;lt;/code&amp;gt; to the definition &amp;lt;code&amp;gt;RK_P''XX''&amp;lt;/code&amp;gt; of lines in &amp;lt;code&amp;gt;include/dt-bindings/pinctrl/rockchip.h&amp;lt;/code&amp;gt; of the Linux kernel source. Having these named in the dts would be nice.&lt;br /&gt;
&lt;br /&gt;
You can use [https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/ libgpiod] to drive them, and test them with the included tools (&amp;lt;code&amp;gt;gpioinfo&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gpioset&amp;lt;/code&amp;gt;, ...)&lt;br /&gt;
&lt;br /&gt;
For example, &amp;lt;code&amp;gt;gpioset 4 25=1&amp;lt;/code&amp;gt; (run as root) would turn pin 22 on. Do beware that poking the wrong GPIO pin can lock up your system.&lt;br /&gt;
&lt;br /&gt;
The conversion table at right is also available as a [https://gist.github.com/CounterPillow/fe066655bf2d929148fe6eb3f15b1dd5 C header file].&lt;br /&gt;
&lt;br /&gt;
=== Working Features ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Feature/Option&lt;br /&gt;
! Android&lt;br /&gt;
! Android Version&lt;br /&gt;
! Linux&lt;br /&gt;
! Linux Version&lt;br /&gt;
! Test/Verify Steps&lt;br /&gt;
! Notes&lt;br /&gt;
! Product Link&lt;br /&gt;
|-&lt;br /&gt;
| PINE64 LCD Touchscreen (Screen/Touch)&lt;br /&gt;
| Yes/Yes&lt;br /&gt;
| &lt;br /&gt;
| No/No&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Maybe [https://github.com/avafinger/pine64-touchscreen this] will help get this working?&lt;br /&gt;
| [https://pine64.com/?product=7-lcd-touch-screen-panel 7-inch LCD Touch Screen Panel]&lt;br /&gt;
|-&lt;br /&gt;
| Wireless&lt;br /&gt;
&amp;lt;small&amp;gt;ROCKPro64 2×2 MIMO Dual Band WiFi 802.11AC / Bluetooth 4.2 Module (old)&lt;br /&gt;
ROCKPro64 1x1 Dual Band WiFi 802.11AC / Bluetooth 5.0 Module (new)&amp;lt;/small&amp;gt;&lt;br /&gt;
| Yes/Yes&lt;br /&gt;
| &lt;br /&gt;
| No/Yes*&lt;br /&gt;
| &lt;br /&gt;
| For the &amp;quot;new&amp;quot; ROCKPro64 WIFI module: Verified with Manjaro ARM (kernel 6.2.5). A config file (&amp;quot;firmware file&amp;quot;) is needed at &amp;lt;code&amp;gt;/lib/firmware/brcm/brcmfmac43455-sdio.txt&amp;lt;/code&amp;gt;. See [[#Getting wifi working (&amp;quot;new&amp;quot; wifi module)]] for the file contents and details.&lt;br /&gt;
| In 0.7.9 Ayufan linux releases this is deliberately disabled for stability reasons. On Manjaro ARM (kernel 6.2.5), WIFI seems to be stable with the firmware file. On a 5GHz network (802.11AC), it is possible to get about 120Mbps using the &amp;quot;new&amp;quot; ROCKPro64 WIFI module.&lt;br /&gt;
| [https://store.pine64.org/product/rockpro64-1x1-dual-band-wifi-802-11acbluetooth-5-0-module ROCKPro64 1x1 Dual Band WiFi 802.11AC / Bluetooth 5.0 Module]&lt;br /&gt;
|-&lt;br /&gt;
| USB OTG&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| use this script: [https://github.com/ayufan-rock64/linux-package/blob/master/root-rockpro64/usr/local/sbin/rockpro64_enable_otg.sh rockpro64_enable_otg.sh], then configure ip on usb0: ifconfig usb0 169.169.222.222 and run iperf, you should likely see about 200-300MB/s&lt;br /&gt;
| [[ROCKPro64#OTG_mode]]&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| USB Mass Storage USB2/USB3&lt;br /&gt;
| Yes/yes&lt;br /&gt;
| &lt;br /&gt;
| Yes/Yes&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Dedicated Fan Power (pwm1)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| You might want to use [https://github.com/tuxd3v/ats ATS].&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| GPIO pins (raw or via RPI python scripts)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Check out [https://forum.frank-mankel.org/topic/292/rockpro64-rp64-gpio/2 what Frank Mankel has done].&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| MIPI CSI Camera 1 and 2&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| eDP&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| HDMI Audio&lt;br /&gt;
| Yes&lt;br /&gt;
| 7.1.2&lt;br /&gt;
| Yes&lt;br /&gt;
| 4.4.132-1083 - 4.4.138-1100&lt;br /&gt;
| &lt;br /&gt;
| Stopped working in 4.4.154.1105. Ayufan is looking into it. This is working in Manjaro ARM (kernel 6.2.5). Select the &amp;lt;code&amp;gt;Analog Output (Built-in Audio Stereo)&amp;lt;/code&amp;gt; option in the audio output device selection window (either use &amp;lt;code&amp;gt;pavucontrol&amp;lt;/code&amp;gt; or the volume button in the KDE desktop). Despite the slightly misleading name, audio does go through the HDMI port. See here for details: https://forum.manjaro.org/t/no-hdmi-audio-on-rockpro64/25595/2.&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 3.5mm Audio/Mic&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| USB-C Host&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Display via USB-C&lt;br /&gt;
| Yes&lt;br /&gt;
| 7.x and 8.x&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| eDP via USB-C per tillim. No sound on Android 7.x. Sound does work on Android 8.x&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| ROCKPro64 PLAYBOX ENCLOSURE&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| Ventilation does not exist, thus requires manual changes to add venting. Case should be modified to account power adapter not being centered in cut holes. Opening the case once close without modifying it first is nearly impossible without special tools. Graphene heatsink is included and does well for Linux but not Android.&lt;br /&gt;
| [https://pine64.com/?product=rockpro64-playbox-enclosure ROCKPro64 Playbox Enclosure]&lt;br /&gt;
|-&lt;br /&gt;
| ROCKPro64 30mm Tall Profile Heatsink&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| [https://pine64.com/product/rockpro64-30mm-tall-profile-heatsink/ ROCKPro64 30&amp;amp;nbsp;mm Tall-Profile Heatsink]&lt;br /&gt;
|-&lt;br /&gt;
| ROCKPro64 20mm Mid Profile Heatsink&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| [https://pine64.com/?product=rockpro64-20mm-mid-profile-heatsink ROCKPro64 20&amp;amp;nbsp;mm Mid-Profile Heatsink]&lt;br /&gt;
|-&lt;br /&gt;
| Fan For ROCKPro64 20mm Mid Profile Heatsink&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| You might want to use [https://github.com/tuxd3v/fanctl fanctl] to control the fan while keeping your CPU cool&lt;br /&gt;
| [https://pine64.com/?product=fan-for-rockpro64-20mm-mid-profile-heatsink Fan For ROCKPro64 20&amp;amp;nbsp;mm Mid-Profile Heatsink]&lt;br /&gt;
|-&lt;br /&gt;
| HDMI output 4K@60Hz&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| PCI Express 2.1&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| The PCI Express interface of the RK3399 [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=712fa1777207 is limited] to the Gen1 speed.  As a result, some installed PCI Express devices may operate with degraded performance, such as M.2 SSDs that support fewer than four PCI Express lanes, installed using an adapter like [https://pine64.com/product/rockpro64-pci-e-x4-to-m-2-ngff-nvme-ssd-interface-card/ this one].&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Real Time Clock (RTC) battery backup&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [https://pine64.com/product/rtc-backup-battery-holder-cr-2032/ RTC Backup Battery Holder CR2032]&lt;br /&gt;
|-&lt;br /&gt;
| Boot from USB/PXE&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
RockChip themselves have tables of supported features at 4.4 and mainline kernel versions [http://opensource.rock-chips.com/wiki_Status_Matrix in their wiki here].&lt;br /&gt;
&lt;br /&gt;
== Board Information, Schematics and Certifications ==&lt;br /&gt;
* Board dimensions: 133&amp;amp;nbsp;mm&amp;amp;nbsp;x 80&amp;amp;nbsp;mm&amp;amp;nbsp;x 19&amp;amp;nbsp;mm&lt;br /&gt;
* Power input: 12&amp;amp;nbsp;V, 3&amp;amp;nbsp;A or 5&amp;amp;nbsp;A, using 5.5&amp;amp;nbsp;mm (OD)&amp;amp;nbsp;/ 2.1&amp;amp;nbsp;mm (ID) type M barrel DC connector (also known as DC 5521)&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/rockpro64_v21-SCH.pdf ROCKPro64 Schematic v2.1 (Second Batch Production Release)]&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-top.dxf ROCKPro64 v2.1 Board Top Outline in AutoCad DXF format]&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-bottom.dxf ROCKPro64 v2.1 Board Bottom Outline in AutoCad DXF format]&lt;br /&gt;
** [[:File:Pine64-rockpro64-component-placement-top-v21-20180702.pdf|ROCKPro64 v2.1 Board Top Silkscreen in PDF format]] (contains component labels)&lt;br /&gt;
** [[:File:Pine64-rockpro64-component-placement-bottom-v21-20180702.pdf|ROCKPro64 v2.1 Board Bottom Silkscreen in PDF format]] (contains component labels)&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-top.pdf ROCKPro64 v2.1 Board Top Outline in PDF format]&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-bottom.pdf ROCKPro64 v2.1 Board Bottom Outline in PDF format]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/rockpro64_v20-SCH.pdf ROCKPro64 Schematic v2.0 (Pilot Production Release)]&lt;br /&gt;
** [http://files.pine64.org/doc/rockpro64/Rockpro64-ver2.0-topsilk_ref.pdf ROCKPro64 v2.0 Board Top Silkscreen in PDF format] (contains component labels)&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/ROCKPRo64%20Engineering%20Change%20Notice%2020180628RP01.pdf Engineering Change Notice for v2.0 to turn on 3.3V power on PCIe]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/rockpro64_wifi_ap6359SA.pdf ROCKPro64 AP6359SA Wifi/BT Schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/Rockpro64%20Pi-2%20Connector%20ver0.2.png ROCKPro64 Pi-2 Pin assignment and definition]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/RockPro-3D-model.zip ROCKPro64 3D model]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
&lt;br /&gt;
* Disclaimer: Please note that PINE64 SBC is not a &amp;quot;final&amp;quot; product and in general certification is not necessary. However, PINE64 still submit the SBC for FCC, CE, and ROHS certification and obtain the certificates to proof that SBC board is capable on passing the testing. Please note a final commercial product needs to performs its owns testing and obtains its owns certificates.&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCKPro64%20FCC%20SDOC%20Certificate.pdf ROCKPro64 FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCKPro64%20CE-EMC%20Certificate.pdf ROCKPro64 CE Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCKPro64%20ROHS%20%20SEC180529404001E%20Report.pdf ROCKPro64 RoHS Report]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3399 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://www.rock-chips.com/a/en/products/RK33_Series/2016/0419/758.html Rockchip RK3399 SoC Brief]&lt;br /&gt;
* [http://opensource.rock-chips.com/images/d/d7/Rockchip_RK3399_Datasheet_V2.1-20200323.pdf Rockchip RK3399 Datasheet V2.1]&lt;br /&gt;
* [http://opensource.rock-chips.com/images/e/ee/Rockchip_RK3399TRM_V1.4_Part1-20170408.pdf Rockchip RK3399 Technical Reference Manual part 1]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/RK808%20datasheet%20V0.8.pdf Rockchip RK808 Datasheet V0.8]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/SM512M32Z01MD2BNP(200BALL).pdf Micron LPDDR4 Mobile LPDDR4 Datasheet]&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf PINE64 eMMC module schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/usb%20emmc%20module%20adapter%20v2.pdf PINE64 USB adapter for eMMC module V2 schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/USB%20adapter%20for%20eMMC%20module%20PCB.tar PINE64 USB adapter for eMMC module PCB in JPEG]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/E-00517%20FORESEE_eMMC_NCEMAM8B-16G%20SPEC.pdf 16GB Foresee eMMC Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/SDINADF4-16-128GB-H%20data%20sheet%20v1.13.pdf 32GB/64GB/128GB SanDisk eMMC Datasheet]&lt;br /&gt;
&lt;br /&gt;
SPI NOR Flash information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/w25q128jv%20spi%20revc%2011162016.pdf WinBond 128Mb SPI Flash Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/GD25Q128C-Rev2.5.pdf GigaDevice 128Mb SPI Flash Datasheet]&lt;br /&gt;
&lt;br /&gt;
Heatsink related info:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/Rockpro%20Passive%20Heatsink%20Spec.jpg ROCKPro64 Passive Heatsink Dimension Drawing]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/LMS-TC150%20Silicon%20Thermal%20Pad.pdf Heatsink Thermal Pad Specification]&lt;br /&gt;
&lt;br /&gt;
Wireless related info:&lt;br /&gt;
&lt;br /&gt;
* AMPAK AP6256 11AC WiFi + Bluetooth5.0 Datasheet [https://files.pine64.org/doc/datasheet/rockpro64/AP6256%20datasheet_V1.3_12202017.pdf (v. 1.3)] [http://files.pine64.org/doc/datasheet/PinebookPro/AP6256%20datasheet_V1.7_12282018.pdf (v. 1.7)]&lt;br /&gt;
&lt;br /&gt;
Ethernet related info:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rock64/RTL8211F-CG-Realtek.pdf Realtek RTL8211F 10/100/1000M Ethernet Transceiver Datasheet]&lt;br /&gt;
&lt;br /&gt;
Peripheral related info:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/ASM1061_Data%20Sheet_R1_8.pdf asmedia ASM1061 PCIe SATA 2.0 Datasheet]&lt;br /&gt;
&lt;br /&gt;
Remote control button mapping:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/Pine%20A64%20Schematic/remote-wit-logo.jpg Official Remote Control for the PINE64 Button Mapping]&lt;br /&gt;
&lt;br /&gt;
Audio Codec (ES8316) (under board):&lt;br /&gt;
&lt;br /&gt;
* [http://everest-semi.com/pdf/ES8316%20PB.pdf Everest ES8316 Audio Codec]&lt;br /&gt;
&lt;br /&gt;
PWM controlled fan, SPDIF, and RTC Battery Backup headers:&lt;br /&gt;
&lt;br /&gt;
* [https://www.jst-mfg.com/product/pdf/eng/ePH.pdf JST-PH connector]&lt;br /&gt;
&lt;br /&gt;
== Useful Articles and Blog Posts ==&lt;br /&gt;
&lt;br /&gt;
If you want to dive in to the ecosystem, here's a short list of various articles and blog posts that can help you set up your soft- or hardware development environment.&lt;br /&gt;
&lt;br /&gt;
* [https://stikonas.eu/wordpress/2019/09/15/blobless-boot-with-rockpro64/ Blobless boot with RockPro64 by Andrius Štikonas]&lt;br /&gt;
* [https://marcin.juszkiewicz.com.pl/2020/06/17/ebbr-on-rockpro64/ EBBR on RockPro64 by Marcin Juszkiewicz]&lt;br /&gt;
* [[ROCKPro64 Device Tree Overlays on Mainline]]&lt;br /&gt;
* [[ROCKPro64 Hardware Tweaks]]&lt;br /&gt;
&lt;br /&gt;
== The NAS Case for the ROCKPro64 ==&lt;br /&gt;
&lt;br /&gt;
[[file:NASCaseMain.png|thumb|right|Front View of the PINE64 NAS Case for the ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
Please [[NAS Case|follow this this link]] for '''detailed instructions on how to assemble the ROCKPro64 NAS Case'''.&lt;br /&gt;
&lt;br /&gt;
The NAS Case instructions also contains detailed information about:&lt;br /&gt;
*what the NAS Case ships with&lt;br /&gt;
*What additional things you need to purchase for your NAS Case&lt;br /&gt;
*What optional things you can consider purchasing for your NAS build&lt;br /&gt;
*What OS Image we recommend you use for your NAS build&lt;br /&gt;
*IO accessibility after installing the ROCKPro64 into the NAS Case&lt;br /&gt;
*[https://files.pine64.org/doc/rockpro64/ROCKPro64%20NAS%20Case%20Exploded%20View%20Diagram.pdf NAS Case Exploded View]&lt;br /&gt;
*[https://files.pine64.org/doc/rockpro64/NAS%20Case%20Drawing.dwg NAS Case Drawing]&lt;br /&gt;
&lt;br /&gt;
== 3D printable ITX mounting brackets ==&lt;br /&gt;
&lt;br /&gt;
[[file:ITX-Bracket-Mounted.jpg|300px|thumb|right|A [[Quartz64]] Model-A mounted in an ITX case using 3D printed brackets, which can also be used for the ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
Allows mounting a ROCKPro64 or Quartz64 Model-A board inside a regular PC case that conforms to the ITX standard, using 3D printed brackets:&lt;br /&gt;
&lt;br /&gt;
* AMF/STL/STEP files plus the original FreeCAD file used to create the models [[File:RP64-A_Q64-A_to_ITX_mounting_brackets.zip]]&lt;br /&gt;
* Make sure to flip the two brackets by 180 degrees on one of the horizontal axes (X/Y) in your slicer of choice before printing to avoid unnecessary supports&lt;br /&gt;
* To allow enough clearance between the board and the bracket you either need to print four copies of the washer model or add nut(s) between the board and the bracket&lt;br /&gt;
* If using nuts for the clearance between the board and the brackets, make sure it creates at least 3.2mm of spacing in between&lt;br /&gt;
* Depending on the accuracy and calibration of a 3D printer, slight deviation can occur and you likely need to manually widen some of the holes to allow screws to fit&lt;br /&gt;
&lt;br /&gt;
== Other Resources ==&lt;br /&gt;
&lt;br /&gt;
* [https://forum.pine64.org/forumdisplay.php?fid=98 ROCKPro64 Forum]&lt;br /&gt;
* [https://pine64.com/?post_type=product PINE64 shop]&lt;br /&gt;
* [https://github.com/rockchip-linux Rockchip Linux GitHub Repo]&lt;br /&gt;
* [http://opensource.rock-chips.com/ Rockchip Open Source Wiki]&lt;br /&gt;
* ExplainingComputers have a video review [https://www.youtube.com/watch?v=CeoNHGFN_30 of the RockPro64 here, including linux first boot.]&lt;br /&gt;
* [[ROCKPro64 Installing Arch Linux ARM]]&lt;br /&gt;
* [[ROCKPro64 Powering From An ATX Supply]]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== No Video or GPU Acceleration on Debian ===&lt;br /&gt;
&lt;br /&gt;
If you can log in through serial but don't get any video or GPU acceleration on Debian, this is likely due to Debian's decision to compile the devfreq governors as loadable modules but not including them early enough for panfrost to be able to be provided with one of them.&lt;br /&gt;
&lt;br /&gt;
The usual sign of this being the case is the following line in the kernel log: &amp;lt;code&amp;gt;[drm:panfrost_devfreq_init [panfrost]] *ERROR* Couldn't initialize GPU devfreq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To fix this issue, run the following as &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; and reboot:&lt;br /&gt;
&lt;br /&gt;
 echo governor_simpleondemand &amp;gt;&amp;gt; /etc/initramfs-tools/modules&lt;br /&gt;
 update-initramfs -u -k $(uname -r)&lt;br /&gt;
&lt;br /&gt;
=== PCIe probe failures on Linux kernel boot ===&lt;br /&gt;
&lt;br /&gt;
While booting the Linux kernel, you might experience PCIe probe failures, which render the attached PCIe device inaccessible.  The [https://lore.kernel.org/all/20230509153912.515218-1-vincenzopalazzodev@gmail.com/ &amp;quot;drivers: pci: introduce configurable delay for Rockchip PCIe bus scan&amp;quot;] thread on the Linux kernel mailing list (LKML) discusses this issue and proposes a fix.&lt;br /&gt;
&lt;br /&gt;
Manjaro ARM applies the following patches to the kernel package, which fix the issue:&lt;br /&gt;
&lt;br /&gt;
* [https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/44e81d83b7e002e9955ac3c54e276218dc9ac76d/1005-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch 1005-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch]&lt;br /&gt;
* [https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/44e81d83b7e002e9955ac3c54e276218dc9ac76d/1007-arm64-dts-rockchip-Add-PCIe-bus-scan-delay-to-RockPr.patch 1007-arm64-dts-rockchip-Add-PCIe-bus-scan-delay-to-RockPr.patch]&lt;br /&gt;
&lt;br /&gt;
[[Category:ROCKPro64]]&lt;br /&gt;
[[Category:Rockchip RK3399]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=ROCKPro64&amp;diff=21661</id>
		<title>ROCKPro64</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=ROCKPro64&amp;diff=21661"/>
		<updated>2024-11-17T07:21:45Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* 3D printable ITX mounting brackets */ Clarified a bit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:ROCKPro64v21FRONT.jpg|400px|thumb|right|The ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
The '''ROCKPro64''' is the most powerful single-board computer released by PINE64. It is powered by a Rockchip RK3399 hexa-core (dual ARM Cortex A72 and quad ARM Cortex A53) 64-bit processor with a Mali T-860 quad-core GPU. The key features include a PCI Express (PCIe) x4 open-ended slot, the use of LPDDR4 DRAM, and industry-standard heatsink mounting holes.&lt;br /&gt;
&lt;br /&gt;
The ROCKPro64 is equipped with 2 or 4&amp;amp;nbsp;GB of LPDDR4 system memory, and 128&amp;amp;nbsp;Mb of SPI boot flash. There is also an optional eMMC module (up to 128&amp;amp;nbsp;GB) and microSD slot for booting. The board is equipped with 1x USB 3.0 Type-C host port with DP 1.2, 1x USB 3.0 Type-A host port, 2x USB 2.0 host port, Gigabit Ethernet, PI-2 GPIO bus, MiPi DSI interface, eDP interface, touch panel interface, stereo MiPi CSI interface, as well as many other device interfaces such as UART, SPI, I&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;C, for makers to integrate with sensors and other peripherals. Many different operating systems (OSes) are freely available from the open-source community, such as Linux (Ubuntu, Debian, Arch), BSD and Android.&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
The article [[ROCKPro64 Getting Started]] gives important information to get the board up and running.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
&lt;br /&gt;
In the [[ROCKPro64 Software Releases]] page, you will find a complete list of currently supported Operating System images that work with the ROCKPro64, as well as other related software. The Software Release page has links to download the images as well as high level instructions to load each image.&lt;br /&gt;
&lt;br /&gt;
Please see the [[Getting started]] page for detailed discussion of what you need (prerequisites) as well as instructions if the high level instructions are insufficient.&lt;br /&gt;
&lt;br /&gt;
== Board Layout ==&lt;br /&gt;
[[Image:ROCKPro64v21REAR.jpg|thumb|right|A hi-res picture of v2.1 rear.]]&lt;br /&gt;
[[Image:FLIR 20220619 125451 686.jpg|thumb|right|A thermal image of v2.1 front (upside-down).]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:ROCKPro64_annotated.jpg|500px|An annotated ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
=== Main Chips ===&lt;br /&gt;
* RK3399 system-on-chip (1)&lt;br /&gt;
* LPDDR4 SDRAM 1 (18)&lt;br /&gt;
* LPDDR4 SDRAM 2 (3)&lt;br /&gt;
* SPI NOR flash memory (17)&lt;br /&gt;
* RK808 power management (near 19)&lt;br /&gt;
* RTL8211 ethernet transceiver (near 25)&lt;br /&gt;
* ES8316 Sound Codec (on rear of board)&lt;br /&gt;
* The heatsink mounting holes around the RK3399 are 59 mm apart&lt;br /&gt;
&lt;br /&gt;
=== Switches ===&lt;br /&gt;
&lt;br /&gt;
The Power button (11, SW3): is the same as on your mobile phone - press and release after about 1 second to power on. Press and hold for about 3 seconds to power off.&lt;br /&gt;
&lt;br /&gt;
The Reset button (10, SW901): performs a reset.&lt;br /&gt;
&lt;br /&gt;
The Recover button (28, SW900): used to enter maskrom mode.&lt;br /&gt;
&lt;br /&gt;
=== Connectors, Sockets and Headers ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;line-height: 1.4;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;font-size: .9em;&amp;quot;&lt;br /&gt;
! Diagram !! Schematic&amp;lt;br&amp;gt;designator !! Silkscreen&amp;lt;br&amp;gt;label !! Number&amp;lt;br&amp;gt;of pins !! Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2  || U39   || PI-2-bus || style=&amp;quot;text-align: center;&amp;quot; | 40 || Pi-2 bus &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4  || J8    || +FAN- || style=&amp;quot;text-align: center;&amp;quot; | 2 || PWM controlled fan header&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5  || J10   || SPDIF || style=&amp;quot;text-align: center;&amp;quot; | 3 || SPDIF header&lt;br /&gt;
|- &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6  || U6    || +RTC- || style=&amp;quot;text-align: center;&amp;quot; | 2 || RTC battery backup header&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7  || U31   || Wifi-BT || style=&amp;quot;text-align: center;&amp;quot; | 16 || SDIO WIFI/BT module-MIMO 2&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 8  || USB3  ||  || style=&amp;quot;text-align: center;&amp;quot; | 9 || USB-3 and USB Type C&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 9  || USB1  ||  || style=&amp;quot;text-align: center;&amp;quot; | 2×4 || Dual USB-2&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 12 || IR1   || IR || style=&amp;quot;text-align: center;&amp;quot; | 3 || infrared receiver socket &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 13 || J16   || Headphone+mic || style=&amp;quot;text-align: center;&amp;quot; | 4 || Headphone + mic 3.5mm jack&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -  || CON16 || GND PWR RST GND || style=&amp;quot;text-align: center;&amp;quot; | 4 || Power &amp;amp; reset, unpopulated&amp;lt;br&amp;gt;header near Headphone jack&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 14 || U29   || EMMC || style=&amp;quot;text-align: center;&amp;quot; | 34 || eMMC connector&amp;lt;br /&amp;gt;(Note: Some datasheets indicate a low&amp;lt;br /&amp;gt;supported number of mating cycles.)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 14* || J13  ||  || style=&amp;quot;text-align: center;&amp;quot; | 13 || TF-card, a.k.a. microSD&amp;lt;br&amp;gt;(* under 14 on the bottom side)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 15 || U30   ||  || style=&amp;quot;text-align: center;&amp;quot; | 14 || SDIO WIFI/BT module-MIMO 1&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 16 || SW4   ||  || style=&amp;quot;text-align: center;&amp;quot; | 2 || Jumper to [[#Disable eMMC]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 19 || J15   || PCI || style=&amp;quot;text-align: center;&amp;quot; | 64 || PCI-express X4 socket&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 20 || J21   || DSI || style=&amp;quot;text-align: center;&amp;quot; | 30 || DSI&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 21 || J22   || EDP || style=&amp;quot;text-align: center;&amp;quot; | 30 || LCD EDP&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 22 || CON1  || TP || style=&amp;quot;text-align: center;&amp;quot; | 6 || touch panel connector&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 23 || CON15 ||  || style=&amp;quot;text-align: center;&amp;quot; | 4 || DC out for SATA disk cable&amp;lt;br&amp;gt;(direct connect from DC-IN)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 24 || J11   || DC-IN || style=&amp;quot;text-align: center;&amp;quot; | 2 || Power input, positive tip;&amp;lt;br&amp;gt;12V/3A (minimum) recommended&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 25 || U32   ||  || style=&amp;quot;text-align: center;&amp;quot; | 8 || 8P8C (often referred to as 'RJ45')&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 26 || J14   ||  || style=&amp;quot;text-align: center;&amp;quot; | 19 || HDMI&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 27 || J17   || MIPI CAM || style=&amp;quot;text-align: center;&amp;quot; | 32 || MIPI-1&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 29 || J19   || MIPI CAM || style=&amp;quot;text-align: center;&amp;quot; | 32 || MIPI-2&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 30 || J18   || CIF || style=&amp;quot;text-align: center;&amp;quot; | 26 || CIF&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
&lt;br /&gt;
A green LED next to the 12V input barrel connector will light as long as there is 12V applied to the connector. (Even if the RockPro64 is powered off.)&lt;br /&gt;
&lt;br /&gt;
A white LED behind the reset button will light as long as the RockPro64 is running (it comes on a few seconds after power on, when control is passed to the operating system.)&lt;br /&gt;
&lt;br /&gt;
A red LED behind the reset button is DIY - it is lit for example if the board is in OTG mode with an Ayufan image, or if an Android image is in standby mode.&lt;br /&gt;
&lt;br /&gt;
Yellow and green LEDs on the LAN socket behave in a standard way.&lt;br /&gt;
&lt;br /&gt;
=== Jumpers ===&lt;br /&gt;
They are used for boot device selection, as described in the following section.&lt;br /&gt;
&lt;br /&gt;
==== Disable eMMC ====&lt;br /&gt;
&lt;br /&gt;
There is an unlabelled (on the PCB silk-screen) 2-pin jumper (16) between the eMMC socket (14) and the SPI chip (17). It is designated as SW4 on the [[#Board Information, Schematics and Certifications | schematic diagram]]. The default condition is OPEN (no jumper). It is useful for controlling the boot as follows:&lt;br /&gt;
&lt;br /&gt;
Default boot device (with no SPI software) is eMMC, then SDcard. If both the eMMC and the SDcard contain bootable images then the eMMC can be disabled by installing the jumper. This completely removes the eMMC from the resulting OS. If you wish the eMMC to be visible in the booted OS the jumper should be removed 2 seconds after applying power (and before the white LED comes on).&lt;br /&gt;
&lt;br /&gt;
The possible combinations are summarised in the table below.&lt;br /&gt;
&lt;br /&gt;
* 1 = present&lt;br /&gt;
* 0 = not present&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
! µSD !! eMMC !! SW4 !! boot from&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 0 || 0 || unsupported&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 0 || 1 || unsupported&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 1 || 0 || eMMC&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 1 || 1 || unsupported&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 0 || 0 || SDCard&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 0 || 1 || SDCard&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 1 || 0 || eMMC&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 1 || 1 || SDCard&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Disable SPI (while booting) ====&lt;br /&gt;
There is a second possibility to jumper your ROCKPro64: If you mess-up your SPI and are unable to boot, jumpering pins 23 (CLK) and 25 pin (GND) on the PI-2-bus header will disable the SPI as a boot device. (This was taken from the IRC logs, 09 August 2018 @ 17:23) You have to remove the jumper 2 seconds after having started your RP64 (before the white LED turns ON) otherwise the SPI will be missing and you won't be able to flash it.&lt;br /&gt;
Ayufan images contain (at the moment) only one script for the SPI and the RP64, it's &amp;quot;rockpro64_reset_spi_flash&amp;quot;. Other SPI scripts are dedicated to the R64 (as it is written on the name) and it will mess-up your RP64 SPI if you use them.&lt;br /&gt;
&lt;br /&gt;
== Hardware Compatibility ==&lt;br /&gt;
&lt;br /&gt;
The hardware compatibility list can be found under [[ROCKPro64 Hardware compatibility]].&lt;br /&gt;
&lt;br /&gt;
== Board Features ==&lt;br /&gt;
&lt;br /&gt;
This section outlines the most important characteristics of the board and its components.&lt;br /&gt;
&lt;br /&gt;
=== SoC and Memory Specification ===&lt;br /&gt;
* Based on Rockchip RK3399&lt;br /&gt;
[[File:Rockchip_RK3399.png|right]]&lt;br /&gt;
&lt;br /&gt;
==== CPU Architecture ====&lt;br /&gt;
&lt;br /&gt;
* [https://developer.arm.com/products/processors/cortex-a/cortex-a72 Dual-core Cortex-A72 up to 2.0GHz CPU]&lt;br /&gt;
* [https://developer.arm.com/products/processors/cortex-a/cortex-a53 Quad-core Cortex-A53 up to 1.5GHz CPU]&lt;br /&gt;
* big.LITTLE architecture: Dual Cortex-A72 + Quad Cortex-A53, 64-bit CPU&lt;br /&gt;
* Cortex-A72:&lt;br /&gt;
** 1-4x Symmetrical Multiprocessing (SMP) within a single processor cluster, and multiple coherent SMP processor clusters through AMBA 5 CHI or AMBA 4 ACE technology&lt;br /&gt;
** AArch64 for 64-bit support and new architectural features&lt;br /&gt;
** L1 cache 48KB Icache and 32KB Dcache for each A72 &lt;br /&gt;
** L2 cache 1024KB for big cluster &lt;br /&gt;
** DSP &amp;amp; SIMD extensions&lt;br /&gt;
** VFPv4 floating point&lt;br /&gt;
** Hardware virtualization support&lt;br /&gt;
* Cortex-A53:&lt;br /&gt;
** L1 cache 32KB Icache and 32KB Dcache for each A53&lt;br /&gt;
** L2 cache 512KB for little cluster &lt;br /&gt;
* Full implementation of the ARM architecture v8-A instruction set&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* In-order pipeline with symmetric dual-issue of most instructions&lt;br /&gt;
* Include VFP v3 hardware to support single and double-precision operations&lt;br /&gt;
* TrustZone technology support&lt;br /&gt;
* Full CoreSight debug solution&lt;br /&gt;
* One isolated voltage domain to support DVFS&lt;br /&gt;
&lt;br /&gt;
==== GPU Architecture ====&lt;br /&gt;
&lt;br /&gt;
* [https://developer.arm.com/products/graphics-and-multimedia/mali-gpus/mali-t860-and-mali-t880-gpus ARM Mali-T860MP4 Quad-core GPU]&lt;br /&gt;
* The highest performance GPUs built on Arm Mali’s famous Midgard architecture, the Mali-T860 GPU is designed for complex graphics use cases and provides stunning visuals for UHD content.&lt;br /&gt;
* Frequency: 650MHz &lt;br /&gt;
* Throughput: 1300Mtri/s, 10.4Gpix/s &lt;br /&gt;
* OpenGL® ES 1.1, 1.2, 2.0, 3.1, 3.2, Vulkan 1.0*, OpenCL™ 1.1, 1.2, DirectX® 11 FL11_1, RenderScript™.&lt;br /&gt;
&lt;br /&gt;
==== System Memory ====&lt;br /&gt;
* LPDDR4 RAM Memory Variants: Dual Channels 2GB and 4GB.&lt;br /&gt;
* Storage Memory: 128Mb built-in SPI Flash memory (as at August 2018 only support for USB boot).&lt;br /&gt;
&lt;br /&gt;
=== Display ===&lt;br /&gt;
&lt;br /&gt;
* Dual VOP: one supports resolutions up to 4096x2160 and [https://www.arm.com/why-arm/technologies/graphics-technologies/arm-frame-buffer-compression AFBC]; the other supports resolutions up to 2560x1600&lt;br /&gt;
* Dual channel MIPI-DSI (4 lanes per channel)&lt;br /&gt;
* eDP 1.3 (4 lanes with 10.8Gbps) to support displays, with PSR&lt;br /&gt;
* Digital Video port up to 4Kp60&lt;br /&gt;
* DisplayPort 1.2 (4 lanes, up to 4K 60Hz)&lt;br /&gt;
* Supports Rec.2020 and conversion to Rec.709 &lt;br /&gt;
&lt;br /&gt;
=== Video ===&lt;br /&gt;
&lt;br /&gt;
* Digital Video output up to 4K@60Hz&lt;br /&gt;
* 4K HDR @ 30fps&lt;br /&gt;
* H.264/AVC Base/Main/High/High10 profile @ level 5.1; up to 4Kx2K @ 60fps&lt;br /&gt;
* H.265/HEVC Main/Main10 profile @ level 5.1 High-tier; up to 4Kx2K @ 60fps&lt;br /&gt;
* VP9, up to 4Kx2K @ 60fps&lt;br /&gt;
* MPEG-1, ISO/IEC 11172-2, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-2, ISO/IEC 13818-2, SP@ML, MP@HL, up to 1080P @ 60fps&lt;br /&gt;
* MPEG-4, ISO/IEC 14496-2, SP@L0-3, ASP@L0-5, up to 1080P @ 60fps&lt;br /&gt;
* VC-1, SP@ML, MP@HL, AP@L0-3, up to 1080P @ 60fps&lt;br /&gt;
* MVC is supported based on H.264 or H.265, up to 1080P @ 60fps&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
* 3.5mm Phone Jack&lt;br /&gt;
* 3-pin S/PDIF header &lt;br /&gt;
* Audio via Digital Video port&lt;br /&gt;
&lt;br /&gt;
=== Camera ===&lt;br /&gt;
&lt;br /&gt;
* Dual MIPI CSI，dual ISP, maximum input resolution of 13M pixels &lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
&lt;br /&gt;
* 10/100/1000Mbps Ethernet - Capable of pushing 941 MBit/s in iperf3&lt;br /&gt;
* Wi-Fi 802.11 ac/a/b/g/n with Bluetooth 4.01 (old version with 2x2) / Bluetooth 5 (new version with 1x1) (optional)&lt;br /&gt;
&lt;br /&gt;
=== Storage ===&lt;br /&gt;
&lt;br /&gt;
* microSD - bootable, supports SDHC and SDXC&lt;br /&gt;
* eMMC - bootable (optional eMMC module)&lt;br /&gt;
* 1x USB 3.0 host port&lt;br /&gt;
* 1x USB Type-C OTG port with alternate mode DP output &lt;br /&gt;
* 2x USB 2.0 dedicated host port&lt;br /&gt;
&lt;br /&gt;
=== Expansion Ports ===&lt;br /&gt;
&lt;br /&gt;
* 2x20 pins &amp;quot;Pi2&amp;quot; GPIO header&lt;br /&gt;
* PCI Express 2.1 x4 (four full-duplex lanes) open-ended port, [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=712fa1777207 limited] to the Gen1 speed&lt;br /&gt;
&lt;br /&gt;
==== GPIO Pins ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable plainrowheaders&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; style=&amp;quot;width:20em;&amp;quot; | Assigned To&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Pin Nr.&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Pin Nr.&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; style=&amp;quot;width:20em;&amp;quot; | Assigned To&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| 3.3 V&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 1&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 2&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| 5 V&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C4 (I2C8_SDA) &amp;lt;sup style=&amp;quot;font-style:italic;color:green&amp;quot;&amp;gt;a&amp;lt;/sup&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 3&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 4&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| 5 V&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C5 (I2C8_SCL) &amp;lt;sup style=&amp;quot;font-style:italic;color:green&amp;quot;&amp;gt;a&amp;lt;/sup&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 5&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 6&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO4_D0 (CPU_GPCLK)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 7&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 8&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_C4 (UART2_TX)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GND&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 9&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 10&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_C3 (UART2_RX)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C6&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 11&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 12&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D0 (I2S0_CLK)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_C2&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 13&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 14&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_A1&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 15&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 16&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_A4&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| 3.3 V&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 17&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 18&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_C5 [SPDIF]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| [UART4_TX] GPIO1_B0 (SPI1_TXD)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 19&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 20&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| [UART4_RX] GPIO1_A7 (SPI1_RXD)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 21&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 22&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO4_D1&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_B1 (SPI1_CLK)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 23&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 24&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_B2 (SPI1_CSN0)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GND&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 25&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 26&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_B5&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO1_B3 (I2C4_SDA)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 27&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 28&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO1_B4 (I2C4_SCL)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO4_D3&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 29&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 30&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO4_D4&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 31&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 32&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D4 (I2S0_SDI1SDO3)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO3_D5 (I2S0_SDI2SDO2)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 33&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 34&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO3_D2 (I2S0_LRCKTX)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 35&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 36&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D6 (I2S0_SDI3SDO1)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GPIO3_D1 (I2S0_LRCKRX)&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 37&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 38&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D3 (I2S0_SDI0)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:right;&amp;quot;| GND&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 39&lt;br /&gt;
| style=&amp;quot;text-align:center; background-color:black; color:gold; font-weight:bold;&amp;quot;| 40&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot;| GPIO3_D7 (I2S0_SDO0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===== Notes =====&lt;br /&gt;
&lt;br /&gt;
* '''a:''' pulled high to 3.3V through 2.2kOhm resistor&lt;br /&gt;
&lt;br /&gt;
===== Linux /dev/gpiochip Assignments =====&lt;br /&gt;
&lt;br /&gt;
{| class=wikitable style=&amp;quot;max-width: 1000px; text-align: center;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Pin Nr.&lt;br /&gt;
| 3 || 5 || 7 || 8 || 10 || 11 || 12 || 13 || 15 || 16 || 18 || 19 || 21 || 22 || 23 || 24 || 26 || 27 || 28 || 29 || 31 || 32 || 33 || 35 || 36 || 37 || 38 || 40&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Chip&lt;br /&gt;
| 1 || 1 || 4 || 4 || 4 || 1 || 3 || 1 || 1 || 1 || 4 || 1 || 1 || 4 || 1 || 1 || 1 || 1 || 1 || 4 || 4 || 3 || 3 || 3 || 3 || 3 || 3 || 3&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Line&lt;br /&gt;
| 20 || 21 || 24 || 20 || 19 || 22 || 24 || 18 || 1 || 4 || 21 || 8 || 7 || 25 || 9 || 10 || 13 || 11 || 12 || 27 || 28 || 28 || 29 || 26 || 30 || 25 || 27 || 31&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
On Linux, using the new &amp;lt;code&amp;gt;/dev/gpiochip&amp;lt;/code&amp;gt; API, the &amp;lt;code&amp;gt;''n''&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;GPIO''n''_''XX''&amp;lt;/code&amp;gt; appears to correlate to the number of the &amp;lt;code&amp;gt;/dev/gpiochip''n''&amp;lt;/code&amp;gt;, and the &amp;lt;code&amp;gt;''XX''&amp;lt;/code&amp;gt; to the definition &amp;lt;code&amp;gt;RK_P''XX''&amp;lt;/code&amp;gt; of lines in &amp;lt;code&amp;gt;include/dt-bindings/pinctrl/rockchip.h&amp;lt;/code&amp;gt; of the Linux kernel source. Having these named in the dts would be nice.&lt;br /&gt;
&lt;br /&gt;
You can use [https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/ libgpiod] to drive them, and test them with the included tools (&amp;lt;code&amp;gt;gpioinfo&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gpioset&amp;lt;/code&amp;gt;, ...)&lt;br /&gt;
&lt;br /&gt;
For example, &amp;lt;code&amp;gt;gpioset 4 25=1&amp;lt;/code&amp;gt; (run as root) would turn pin 22 on. Do beware that poking the wrong GPIO pin can lock up your system.&lt;br /&gt;
&lt;br /&gt;
The conversion table at right is also available as a [https://gist.github.com/CounterPillow/fe066655bf2d929148fe6eb3f15b1dd5 C header file].&lt;br /&gt;
&lt;br /&gt;
=== Working Features ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Feature/Option&lt;br /&gt;
! Android&lt;br /&gt;
! Android Version&lt;br /&gt;
! Linux&lt;br /&gt;
! Linux Version&lt;br /&gt;
! Test/Verify Steps&lt;br /&gt;
! Notes&lt;br /&gt;
! Product Link&lt;br /&gt;
|-&lt;br /&gt;
| PINE64 LCD Touchscreen (Screen/Touch)&lt;br /&gt;
| Yes/Yes&lt;br /&gt;
| &lt;br /&gt;
| No/No&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Maybe [https://github.com/avafinger/pine64-touchscreen this] will help get this working?&lt;br /&gt;
| [https://pine64.com/?product=7-lcd-touch-screen-panel 7-inch LCD Touch Screen Panel]&lt;br /&gt;
|-&lt;br /&gt;
| Wireless&lt;br /&gt;
&amp;lt;small&amp;gt;ROCKPro64 2×2 MIMO Dual Band WiFi 802.11AC / Bluetooth 4.2 Module (old)&lt;br /&gt;
ROCKPro64 1x1 Dual Band WiFi 802.11AC / Bluetooth 5.0 Module (new)&amp;lt;/small&amp;gt;&lt;br /&gt;
| Yes/Yes&lt;br /&gt;
| &lt;br /&gt;
| No/Yes*&lt;br /&gt;
| &lt;br /&gt;
| For the &amp;quot;new&amp;quot; ROCKPro64 WIFI module: Verified with Manjaro ARM (kernel 6.2.5). A config file (&amp;quot;firmware file&amp;quot;) is needed at &amp;lt;code&amp;gt;/lib/firmware/brcm/brcmfmac43455-sdio.txt&amp;lt;/code&amp;gt;. See [[#Getting wifi working (&amp;quot;new&amp;quot; wifi module)]] for the file contents and details.&lt;br /&gt;
| In 0.7.9 Ayufan linux releases this is deliberately disabled for stability reasons. On Manjaro ARM (kernel 6.2.5), WIFI seems to be stable with the firmware file. On a 5GHz network (802.11AC), it is possible to get about 120Mbps using the &amp;quot;new&amp;quot; ROCKPro64 WIFI module.&lt;br /&gt;
| [https://store.pine64.org/product/rockpro64-1x1-dual-band-wifi-802-11acbluetooth-5-0-module ROCKPro64 1x1 Dual Band WiFi 802.11AC / Bluetooth 5.0 Module]&lt;br /&gt;
|-&lt;br /&gt;
| USB OTG&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| use this script: [https://github.com/ayufan-rock64/linux-package/blob/master/root-rockpro64/usr/local/sbin/rockpro64_enable_otg.sh rockpro64_enable_otg.sh], then configure ip on usb0: ifconfig usb0 169.169.222.222 and run iperf, you should likely see about 200-300MB/s&lt;br /&gt;
| [[ROCKPro64#OTG_mode]]&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| USB Mass Storage USB2/USB3&lt;br /&gt;
| Yes/yes&lt;br /&gt;
| &lt;br /&gt;
| Yes/Yes&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Dedicated Fan Power (pwm1)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| You might want to use [https://github.com/tuxd3v/ats ATS].&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| GPIO pins (raw or via RPI python scripts)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Check out [https://forum.frank-mankel.org/topic/292/rockpro64-rp64-gpio/2 what Frank Mankel has done].&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| MIPI CSI Camera 1 and 2&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| eDP&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| HDMI Audio&lt;br /&gt;
| Yes&lt;br /&gt;
| 7.1.2&lt;br /&gt;
| Yes&lt;br /&gt;
| 4.4.132-1083 - 4.4.138-1100&lt;br /&gt;
| &lt;br /&gt;
| Stopped working in 4.4.154.1105. Ayufan is looking into it. This is working in Manjaro ARM (kernel 6.2.5). Select the &amp;lt;code&amp;gt;Analog Output (Built-in Audio Stereo)&amp;lt;/code&amp;gt; option in the audio output device selection window (either use &amp;lt;code&amp;gt;pavucontrol&amp;lt;/code&amp;gt; or the volume button in the KDE desktop). Despite the slightly misleading name, audio does go through the HDMI port. See here for details: https://forum.manjaro.org/t/no-hdmi-audio-on-rockpro64/25595/2.&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 3.5mm Audio/Mic&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| USB-C Host&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Display via USB-C&lt;br /&gt;
| Yes&lt;br /&gt;
| 7.x and 8.x&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| eDP via USB-C per tillim. No sound on Android 7.x. Sound does work on Android 8.x&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| ROCKPro64 PLAYBOX ENCLOSURE&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| Ventilation does not exist, thus requires manual changes to add venting. Case should be modified to account power adapter not being centered in cut holes. Opening the case once close without modifying it first is nearly impossible without special tools. Graphene heatsink is included and does well for Linux but not Android.&lt;br /&gt;
| [https://pine64.com/?product=rockpro64-playbox-enclosure ROCKPro64 Playbox Enclosure]&lt;br /&gt;
|-&lt;br /&gt;
| ROCKPro64 30mm Tall Profile Heatsink&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| [https://pine64.com/product/rockpro64-30mm-tall-profile-heatsink/ ROCKPro64 30&amp;amp;nbsp;mm Tall-Profile Heatsink]&lt;br /&gt;
|-&lt;br /&gt;
| ROCKPro64 20mm Mid Profile Heatsink&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| [https://pine64.com/?product=rockpro64-20mm-mid-profile-heatsink ROCKPro64 20&amp;amp;nbsp;mm Mid-Profile Heatsink]&lt;br /&gt;
|-&lt;br /&gt;
| Fan For ROCKPro64 20mm Mid Profile Heatsink&lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| &lt;br /&gt;
| N/A&lt;br /&gt;
| You might want to use [https://github.com/tuxd3v/fanctl fanctl] to control the fan while keeping your CPU cool&lt;br /&gt;
| [https://pine64.com/?product=fan-for-rockpro64-20mm-mid-profile-heatsink Fan For ROCKPro64 20&amp;amp;nbsp;mm Mid-Profile Heatsink]&lt;br /&gt;
|-&lt;br /&gt;
| HDMI output 4K@60Hz&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| PCI Express 2.1&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| The PCI Express interface of the RK3399 [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=712fa1777207 is limited] to the Gen1 speed.  As a result, some installed PCI Express devices may operate with degraded performance, such as M.2 SSDs that support fewer than four PCI Express lanes, installed using an adapter like [https://pine64.com/product/rockpro64-pci-e-x4-to-m-2-ngff-nvme-ssd-interface-card/ this one].&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Real Time Clock (RTC) battery backup&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [https://pine64.com/product/rtc-backup-battery-holder-cr-2032/ RTC Backup Battery Holder CR2032]&lt;br /&gt;
|-&lt;br /&gt;
| Boot from USB/PXE&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
RockChip themselves have tables of supported features at 4.4 and mainline kernel versions [http://opensource.rock-chips.com/wiki_Status_Matrix in their wiki here].&lt;br /&gt;
&lt;br /&gt;
== Board Information, Schematics and Certifications ==&lt;br /&gt;
* Board dimensions: 133&amp;amp;nbsp;mm&amp;amp;nbsp;x 80&amp;amp;nbsp;mm&amp;amp;nbsp;x 19&amp;amp;nbsp;mm&lt;br /&gt;
* Power input: 12&amp;amp;nbsp;V, 3&amp;amp;nbsp;A or 5&amp;amp;nbsp;A, using 5.5&amp;amp;nbsp;mm (OD)&amp;amp;nbsp;/ 2.1&amp;amp;nbsp;mm (ID) type M barrel DC connector (also known as DC 5521)&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/rockpro64_v21-SCH.pdf ROCKPro64 Schematic v2.1 (Second Batch Production Release)]&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-top.dxf ROCKPro64 v2.1 Board Top Outline in AutoCad DXF format]&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-bottom.dxf ROCKPro64 v2.1 Board Bottom Outline in AutoCad DXF format]&lt;br /&gt;
** [[:File:Pine64-rockpro64-component-placement-top-v21-20180702.pdf|ROCKPro64 v2.1 Board Top Silkscreen in PDF format]] (contains component labels)&lt;br /&gt;
** [[:File:Pine64-rockpro64-component-placement-bottom-v21-20180702.pdf|ROCKPro64 v2.1 Board Bottom Silkscreen in PDF format]] (contains component labels)&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-top.pdf ROCKPro64 v2.1 Board Top Outline in PDF format]&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/RockPro64_v21_Boardoutline-bottom.pdf ROCKPro64 v2.1 Board Bottom Outline in PDF format]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/rockpro64_v20-SCH.pdf ROCKPro64 Schematic v2.0 (Pilot Production Release)]&lt;br /&gt;
** [http://files.pine64.org/doc/rockpro64/Rockpro64-ver2.0-topsilk_ref.pdf ROCKPro64 v2.0 Board Top Silkscreen in PDF format] (contains component labels)&lt;br /&gt;
** [https://files.pine64.org/doc/rockpro64/ROCKPRo64%20Engineering%20Change%20Notice%2020180628RP01.pdf Engineering Change Notice for v2.0 to turn on 3.3V power on PCIe]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/rockpro64_wifi_ap6359SA.pdf ROCKPro64 AP6359SA Wifi/BT Schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/Rockpro64%20Pi-2%20Connector%20ver0.2.png ROCKPro64 Pi-2 Pin assignment and definition]&lt;br /&gt;
* [https://files.pine64.org/doc/rockpro64/RockPro-3D-model.zip ROCKPro64 3D model]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
&lt;br /&gt;
* Disclaimer: Please note that PINE64 SBC is not a &amp;quot;final&amp;quot; product and in general certification is not necessary. However, PINE64 still submit the SBC for FCC, CE, and ROHS certification and obtain the certificates to proof that SBC board is capable on passing the testing. Please note a final commercial product needs to performs its owns testing and obtains its owns certificates.&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCKPro64%20FCC%20SDOC%20Certificate.pdf ROCKPro64 FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCKPro64%20CE-EMC%20Certificate.pdf ROCKPro64 CE Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/ROCKPro64%20ROHS%20%20SEC180529404001E%20Report.pdf ROCKPro64 RoHS Report]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3399 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://www.rock-chips.com/a/en/products/RK33_Series/2016/0419/758.html Rockchip RK3399 SoC Brief]&lt;br /&gt;
* [http://opensource.rock-chips.com/images/d/d7/Rockchip_RK3399_Datasheet_V2.1-20200323.pdf Rockchip RK3399 Datasheet V2.1]&lt;br /&gt;
* [http://opensource.rock-chips.com/images/e/ee/Rockchip_RK3399TRM_V1.4_Part1-20170408.pdf Rockchip RK3399 Technical Reference Manual part 1]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/RK808%20datasheet%20V0.8.pdf Rockchip RK808 Datasheet V0.8]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/SM512M32Z01MD2BNP(200BALL).pdf Micron LPDDR4 Mobile LPDDR4 Datasheet]&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf PINE64 eMMC module schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/usb%20emmc%20module%20adapter%20v2.pdf PINE64 USB adapter for eMMC module V2 schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/USB%20adapter%20for%20eMMC%20module%20PCB.tar PINE64 USB adapter for eMMC module PCB in JPEG]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/E-00517%20FORESEE_eMMC_NCEMAM8B-16G%20SPEC.pdf 16GB Foresee eMMC Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/SDINADF4-16-128GB-H%20data%20sheet%20v1.13.pdf 32GB/64GB/128GB SanDisk eMMC Datasheet]&lt;br /&gt;
&lt;br /&gt;
SPI NOR Flash information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/w25q128jv%20spi%20revc%2011162016.pdf WinBond 128Mb SPI Flash Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/GD25Q128C-Rev2.5.pdf GigaDevice 128Mb SPI Flash Datasheet]&lt;br /&gt;
&lt;br /&gt;
Heatsink related info:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/Rockpro%20Passive%20Heatsink%20Spec.jpg ROCKPro64 Passive Heatsink Dimension Drawing]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/LMS-TC150%20Silicon%20Thermal%20Pad.pdf Heatsink Thermal Pad Specification]&lt;br /&gt;
&lt;br /&gt;
Wireless related info:&lt;br /&gt;
&lt;br /&gt;
* AMPAK AP6256 11AC WiFi + Bluetooth5.0 Datasheet [https://files.pine64.org/doc/datasheet/rockpro64/AP6256%20datasheet_V1.3_12202017.pdf (v. 1.3)] [http://files.pine64.org/doc/datasheet/PinebookPro/AP6256%20datasheet_V1.7_12282018.pdf (v. 1.7)]&lt;br /&gt;
&lt;br /&gt;
Ethernet related info:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rock64/RTL8211F-CG-Realtek.pdf Realtek RTL8211F 10/100/1000M Ethernet Transceiver Datasheet]&lt;br /&gt;
&lt;br /&gt;
Peripheral related info:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/ASM1061_Data%20Sheet_R1_8.pdf asmedia ASM1061 PCIe SATA 2.0 Datasheet]&lt;br /&gt;
&lt;br /&gt;
Remote control button mapping:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/Pine%20A64%20Schematic/remote-wit-logo.jpg Official Remote Control for the PINE64 Button Mapping]&lt;br /&gt;
&lt;br /&gt;
Audio Codec (ES8316) (under board):&lt;br /&gt;
&lt;br /&gt;
* [http://everest-semi.com/pdf/ES8316%20PB.pdf Everest ES8316 Audio Codec]&lt;br /&gt;
&lt;br /&gt;
PWM controlled fan, SPDIF, and RTC Battery Backup headers:&lt;br /&gt;
&lt;br /&gt;
* [https://www.jst-mfg.com/product/pdf/eng/ePH.pdf JST-PH connector]&lt;br /&gt;
&lt;br /&gt;
== Useful Articles and Blog Posts ==&lt;br /&gt;
&lt;br /&gt;
If you want to dive in to the ecosystem, here's a short list of various articles and blog posts that can help you set up your soft- or hardware development environment.&lt;br /&gt;
&lt;br /&gt;
* [https://stikonas.eu/wordpress/2019/09/15/blobless-boot-with-rockpro64/ Blobless boot with RockPro64 by Andrius Štikonas]&lt;br /&gt;
* [https://marcin.juszkiewicz.com.pl/2020/06/17/ebbr-on-rockpro64/ EBBR on RockPro64 by Marcin Juszkiewicz]&lt;br /&gt;
* [[ROCKPro64 Device Tree Overlays on Mainline]]&lt;br /&gt;
* [[ROCKPro64 Hardware Tweaks]]&lt;br /&gt;
&lt;br /&gt;
== The NAS Case for the ROCKPro64 ==&lt;br /&gt;
&lt;br /&gt;
[[file:NASCaseMain.png|thumb|right|Front View of the PINE64 NAS Case for the ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
Please [[NAS Case|follow this this link]] for '''detailed instructions on how to assemble the ROCKPro64 NAS Case'''.&lt;br /&gt;
&lt;br /&gt;
The NAS Case instructions also contains detailed information about:&lt;br /&gt;
*what the NAS Case ships with&lt;br /&gt;
*What additional things you need to purchase for your NAS Case&lt;br /&gt;
*What optional things you can consider purchasing for your NAS build&lt;br /&gt;
*What OS Image we recommend you use for your NAS build&lt;br /&gt;
*IO accessibility after installing the ROCKPro64 into the NAS Case&lt;br /&gt;
*[https://files.pine64.org/doc/rockpro64/ROCKPro64%20NAS%20Case%20Exploded%20View%20Diagram.pdf NAS Case Exploded View]&lt;br /&gt;
*[https://files.pine64.org/doc/rockpro64/NAS%20Case%20Drawing.dwg NAS Case Drawing]&lt;br /&gt;
&lt;br /&gt;
== 3D printable ITX mounting brackets ==&lt;br /&gt;
&lt;br /&gt;
[[file:ITX-Bracket-Mounted.jpg|300px|thumb|right|A [[Quartz64]] Model-A mounted in an ITX case using 3D printed brackets, which can also be used for the ROCKPro64]]&lt;br /&gt;
&lt;br /&gt;
Allows mounting a ROCKPro64-A or Quartz64-A board inside a regular PC case that conforms to the ITX standard, using 3D printed brackets:&lt;br /&gt;
&lt;br /&gt;
* AMF/STL/STEP files plus the original FreeCAD file used to create the models [[File:RP64-A_Q64-A_to_ITX_mounting_brackets.zip]]&lt;br /&gt;
* Make sure to flip the two brackets by 180 degrees on one of the horizontal axes (X/Y) in your slicer of choice before printing to avoid unnecessary supports&lt;br /&gt;
* To allow enough clearance between the board and the bracket you either need to print four copies of the washer model or add nut(s) between the board and the bracket&lt;br /&gt;
* If using nuts for the clearance between the board and the brackets, make sure it creates at least 3.2mm of spacing in between&lt;br /&gt;
* Depending on the accuracy and calibration of a 3D printer, slight deviation can occur and you likely need to manually widen some of the holes to allow screws to fit&lt;br /&gt;
&lt;br /&gt;
== Other Resources ==&lt;br /&gt;
&lt;br /&gt;
* [https://forum.pine64.org/forumdisplay.php?fid=98 ROCKPro64 Forum]&lt;br /&gt;
* [https://pine64.com/?post_type=product PINE64 shop]&lt;br /&gt;
* [https://github.com/rockchip-linux Rockchip Linux GitHub Repo]&lt;br /&gt;
* [http://opensource.rock-chips.com/ Rockchip Open Source Wiki]&lt;br /&gt;
* ExplainingComputers have a video review [https://www.youtube.com/watch?v=CeoNHGFN_30 of the RockPro64 here, including linux first boot.]&lt;br /&gt;
* [[ROCKPro64 Installing Arch Linux ARM]]&lt;br /&gt;
* [[ROCKPro64 Powering From An ATX Supply]]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== No Video or GPU Acceleration on Debian ===&lt;br /&gt;
&lt;br /&gt;
If you can log in through serial but don't get any video or GPU acceleration on Debian, this is likely due to Debian's decision to compile the devfreq governors as loadable modules but not including them early enough for panfrost to be able to be provided with one of them.&lt;br /&gt;
&lt;br /&gt;
The usual sign of this being the case is the following line in the kernel log: &amp;lt;code&amp;gt;[drm:panfrost_devfreq_init [panfrost]] *ERROR* Couldn't initialize GPU devfreq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To fix this issue, run the following as &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; and reboot:&lt;br /&gt;
&lt;br /&gt;
 echo governor_simpleondemand &amp;gt;&amp;gt; /etc/initramfs-tools/modules&lt;br /&gt;
 update-initramfs -u -k $(uname -r)&lt;br /&gt;
&lt;br /&gt;
=== PCIe probe failures on Linux kernel boot ===&lt;br /&gt;
&lt;br /&gt;
While booting the Linux kernel, you might experience PCIe probe failures, which render the attached PCIe device inaccessible.  The [https://lore.kernel.org/all/20230509153912.515218-1-vincenzopalazzodev@gmail.com/ &amp;quot;drivers: pci: introduce configurable delay for Rockchip PCIe bus scan&amp;quot;] thread on the Linux kernel mailing list (LKML) discusses this issue and proposes a fix.&lt;br /&gt;
&lt;br /&gt;
Manjaro ARM applies the following patches to the kernel package, which fix the issue:&lt;br /&gt;
&lt;br /&gt;
* [https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/44e81d83b7e002e9955ac3c54e276218dc9ac76d/1005-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch 1005-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch]&lt;br /&gt;
* [https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/44e81d83b7e002e9955ac3c54e276218dc9ac76d/1007-arm64-dts-rockchip-Add-PCIe-bus-scan-delay-to-RockPr.patch 1007-arm64-dts-rockchip-Add-PCIe-bus-scan-delay-to-RockPr.patch]&lt;br /&gt;
&lt;br /&gt;
[[Category:ROCKPro64]]&lt;br /&gt;
[[Category:Rockchip RK3399]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Pinecil:_Test,_Repair,_Issues&amp;diff=21660</id>
		<title>Pinecil: Test, Repair, Issues</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Pinecil:_Test,_Repair,_Issues&amp;diff=21660"/>
		<updated>2024-11-16T20:23:04Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Assemble steps */ Fixed a typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains some common issues and fixes which includes how to dismantle, test and do some repairs.&lt;br /&gt;
&lt;br /&gt;
== Cautions ==&lt;br /&gt;
&lt;br /&gt;
{{warning| while opening your Pinecil will not necessarily void your warranty, all self-repairs are '''done at your own risk'''. Read everything in this section and related or linked articles to get a good idea of the procedure, and go to the Pinecil community chat if you desire advice/support from experienced volunteers. Self-repairs or modifications might void your warranty so proceed if this is not a concern. This information is for educational purposes only.}}&lt;br /&gt;
&lt;br /&gt;
Pinecil V1 and V2 have slightly different schematics and have different MCU chips. Doing repairs often requires referencing the correct schematics or photos. The datasheets are also important to get information about the chips, and to order replacement parts. The schematics and known datasheets are all at the bottom of this article and linked in the contents table at the top. Chatting with other owners of Pinecil is encouraged as they have experience - already broke things so you don't have to (see Pinecil volunteer [[Pinecil#Live_Community_Chat |chat link here]]).&lt;br /&gt;
&lt;br /&gt;
{{Info|This is a new work in progress (WIP) started Feb. 18, 2023 which may be updated over time as volunteers have time to write up information. For sections that are missing, try asking in the live chat as a volunteer may have some clues to get you headed in the right path.}}&lt;br /&gt;
&lt;br /&gt;
== Tools needed ==&lt;br /&gt;
&lt;br /&gt;
# Digital multimeter (DMM)&lt;br /&gt;
# Philips screwdriver&lt;br /&gt;
# All schematics, datasheets for known common parts, and links to where to buy replacement parts are all in this article under [[#Schematics_and_Board_Data| Schematics and board data]].&lt;br /&gt;
#* Refer to the correct section for V1 or V2 parts.&lt;br /&gt;
#* Which model do I have? The older V1 model has an all black handle with a blue silicone grip and was discontinued in July 2022. The new V2 model has a black handle with a green thumb grip and is the only model PINE64 and authorized resellers started selling after August 1, 2022.&lt;br /&gt;
# Magnifying lamp or jeweler's glasses with led light and good room light.&lt;br /&gt;
# Photos/videos will help to chat with volunteers in the [[Pinecil#Live_Community_Chat|live Pinecil chat channel]] if getting clarification or troubleshooting.&lt;br /&gt;
# Optional: mobile phone to take macro photos or video. A macro lens to take phone photos is helpful; there are cheap ones that simply clip on.&lt;br /&gt;
# Possibly another soldering iron to do the repair, some flux, solder, and isopropyl alcohol (IPA) for cleaning the PCB. See [[Pinecil_Cases,_Stands,_Supplies#Soldering_supplies| this guide]] for some basic supply options.&lt;br /&gt;
# Optional: better needle size probe leads for DMM makes things easier and are nice for electronic work. &lt;br /&gt;
# Reference photos are in the [[#Images| Images section below]].&lt;br /&gt;
&lt;br /&gt;
== Dismantle steps ==&lt;br /&gt;
&lt;br /&gt;
=== Easy trick to open Pinecil ===&lt;br /&gt;
&lt;br /&gt;
* Video of easy trick: https://www.youtube.com/watch?v=aK01V5DrrVk  &lt;br /&gt;
&lt;br /&gt;
* Handle replacement [https://wiki.pine64.org/wiki/File:Pinecil_Shell_Replacement_Guide.pdf graphic]&lt;br /&gt;
&lt;br /&gt;
* Step-by-step&lt;br /&gt;
&lt;br /&gt;
# It is recommended to take photos to help with reassembly.&lt;br /&gt;
# Loosen the top tip screw (PH1) (top is the side with the screen).&lt;br /&gt;
# Gently pull the tip out and set aside (let the tip cool down first or use protection to prevent burns).&lt;br /&gt;
# Slide the rubber thumb grip off the front.&lt;br /&gt;
# Remove the bottom-front screw (between the bottom feet (PH1)).&lt;br /&gt;
# Remove the ground screw (longer m2x4mm screw next to the screen near the (-) button (PH1)).&lt;br /&gt;
# Slightly pull the two halves of the case apart at the tip front end first, enough to get a fingernail or guitar pick between 2 parts.&lt;br /&gt;
# Move the pick down the length of the split to loosen the bottom half's clips from the top half of the case.&lt;br /&gt;
# Once loose, remove the bottom half by sliding it a little forward (it is retained by the top half at the DC barrel side).&lt;br /&gt;
# Remove the screws retaining the copper tip contacts (PH000, M1.4 x 5).&lt;br /&gt;
# Remove the copper tip contacts (note the orientation of the contacts &amp;amp; tiny tab hole).&lt;br /&gt;
# Lift the PCB gently up from Tip end.&lt;br /&gt;
# Remove the round copper ring contact from under the PCB, near the tip end of the handle (this is installed first before the PCB because it provides ground contact from the front of the Pinecil to the rear ground screw).&lt;br /&gt;
# Remove the two small round buttons so they do not get lost.&lt;br /&gt;
&lt;br /&gt;
== Assemble steps ==&lt;br /&gt;
&lt;br /&gt;
# Place the two round buttons into the two holes in the top half of the case.&lt;br /&gt;
# Install the round copper ground ring at the tip end '''before installing the PCB'''.&lt;br /&gt;
# Place the PCB board into handle at an angle, DC barrel end goes in first.&lt;br /&gt;
## Lower the rest of the board into the case and align the PCB with the two contact screw holes.&lt;br /&gt;
# Install the two copper tip contacts (note the small tab on the contact and the small hole in the PCB for it).&lt;br /&gt;
## Orient the contact to align the alignment pin with the alignment hole next to the big hole on one of the big gold pads.&lt;br /&gt;
## Install and gently tighten the PH000 screw until the clip is no longer loose.&lt;br /&gt;
# Place the bottom half of the case into the top half by sliding the lip on the port side (side without the feet) of the bottom half under the arch of the port side of the top half.&lt;br /&gt;
# Gently close the case by bringing the two halves together, paying attention to each clip's alignment and ensuring the case edges align.  Also make sure that the protective baffle in the top half of the case, which keeps the copper ground ring in its place, aligns properly with the ring itself.&lt;br /&gt;
# Install the short PH1 screw at the bottom of the tip side of the case.&lt;br /&gt;
# Install the longer PH1 screw at the ground connection point at the top side of the case (between the display and the ports).&lt;br /&gt;
# Slide the rubber sleeve on (larger ridge first).&lt;br /&gt;
# Gently insert tip.&lt;br /&gt;
# Gently tighten the top PH1 screw to retain the tip.&lt;br /&gt;
&lt;br /&gt;
{{Info|For normal operation of the iron, omission of the copper ring in step #2 does not impact operation. If you are working with ESD components, you need it in order to ground the iron tip via the earth screw at the back of the iron. It is recommended to keep this installed.}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|Make sure that the copper ground ring in step #2 is installed so it sits flush with the grounding metal insert in the bottom half of the case.  Failure to do so may cause the copper ground ring touch one of the copper tip contacts in step #6, which may later cause damage to some of the components on the PCB.}}&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
=== Common Fixes ===&lt;br /&gt;
&lt;br /&gt;
# Sometimes, just updating to the newest firmware fixes issues as Ralim and team are very active in adding features and &amp;lt;s&amp;gt;bug fixes&amp;lt;/s&amp;gt; enhancements (see [[Pinecil#Firmware_&amp;amp;_Updates| Firmware]]). &lt;br /&gt;
# Some [https://ralim.github.io/IronOS/Troubleshooting/ Troubleshooting information] is also on GitHub Ralim's IronOS (which is the firmware that is on the Pinecil). There are several hidden Debug tools in the firmware that also help with diagnosis.&lt;br /&gt;
# Clean all new Tips (Cartridges) with 90%-99% IPA (Isopropyl Alcohol) especially the white end with the 2 silver contacts.&lt;br /&gt;
# If you can't find the information here or it hasn't been written yet; simply join the volunteer run [[Pinecil#Live_Community_Chat| live Pinecil chat channel]]. Sometimes you can get a clue to the right path.&lt;br /&gt;
&lt;br /&gt;
=== Common Questions ===&lt;br /&gt;
&lt;br /&gt;
# '''Temperature is flickering wildly''': &lt;br /&gt;
#* Most likely just need to clean whole cartridge/tip with IPA ([https://github.com/Ralim/IronOS/issues/1601 reference issue]). See [[#Poor_Contact_Fix|Poor Contact Fix here]]. &lt;br /&gt;
#* If it's jumping wildly after reaching set temperature, this is also caused by using a low amp/volt charger that is below the 3amp minimum required for pinecil (per manufacturer rating), upgrading to a 3.25amp/20V USB-C charger often fixes this ([https://github.com/Ralim/IronOS/issues/1644 reference issue]).&lt;br /&gt;
#* Some people might see a random spike while idle. Solution: update firmware, there are some ADC timing adjustments in IronOS 2.21+; it's a good idea to keep your firmware updated to newest stable release ([https://github.com/Ralim/IronOS/issues/1485 reference issue]). This fix is included in 2.21+ release.&lt;br /&gt;
# '''Screen shows X symbol''' (no tip installed) and I have a tip installed. Ensure the cartridge/tip is properly installed: remove the front Tip screw, check that the cartridge/tip is pushed all the way in and the round metal collar is pressed against the black handle [https://wiki.pine64.org/wiki/File:Pinecilv2-1.jpg see photo here]. Reinstall the screw. See [[#Tip_Problems|Tip Problems]] and [[#Poor_Contact_repair|Poor Contact repair]].&lt;br /&gt;
# '''Screen shows the symbol (X) randomly on new Pinecil''': tip is installed and it heats up and works fine, but randomly I see the no tip symbol (X) come and go for a second. See #1 above, it is most likely the same reason, clean the metal contacts on the rear of the cartridge/tip (even if it looks clean, could have residue/oils). Follow the same instructions for [[#Poor_Contact_Fix|Poor Contact Fix here]]. [https://github.com/Ralim/IronOS/issues/1601 Reference ticket on Github].&lt;br /&gt;
# '''How do I install the optional Hall Effect Sensor?''' See the [[Pinecil_Hall_Effect_Sensor| Hall Effect Sensor]] article for installation; location is U14 on the PCB &amp;amp; in the Schematics. Reference schematics section [[#Schematics_and_Board_Data| here]] also.&lt;br /&gt;
# '''Help, I think I bricked Pinecil doing an update''': no worries, it's very hard to brick a Pinecil because of the way the firmware is loaded in ROM. Usually just flashing again with a newer or different version brings it back to life ([[Pinecil#Firmware_&amp;amp;_Updates|see Firmware]]). This can be done even if you can't see your screen anymore.&lt;br /&gt;
# '''My Pinecil keeps rebooting''': some laptop ports are not compatible to do updates and show pinecil screen rebooting, change to a different ports on the laptop or different machine (e.g., sometimes the USB-A port works where the usb-C did not). If it is rebooting connected to a power charger, change to a different charger or add a ground wire to your Pinecil ground screw (search for ''ts100 ground wire'' on a search engine). Also see the [[Pinecil#Power_Supplies_and_Watts|Power Supplies article]]. This could happen because of the way 2-prong no-ground chargers are made with no ground path for small current leakage. Also try to plug the charger into a surge protector strip (type that have 3-prong ground and plug the surge protector into a 3-prong grounded wall outlet). Try a different cable or flipping the cable over also.&lt;br /&gt;
# '''Tip is glowing red hot'''. Unplug immediately, you have most likely a blown MOSFET, check that out, replacement parts in Datasheets below. Tip is probably damaged too. Make sure you are using the correct rated charger for Pinecil (some cheap, universal or no-brand DC bricks can damage electronics from spiking voltages). &lt;br /&gt;
# '''My temperature display is way off and Pinecil is at room temerature''': first, check [[#Poor_Contact_Fix| poor contact fix here]]. Then enter the hidden debug menu and look for HAN C which is the internal handle temperature. This should normally be close to or slightly higher than the room temperature if the pinecil tip is also at room temperature. Under load, the HAN C can go up a bit, otherwise when the tip is cold, the HAN C should be close to ambient. Depending on your version of IronOS, the debug menu will show as HAN C or C Han. See IronOS [https://ralim.github.io/IronOS/Troubleshooting/ Troubleshooting here], especially about CHan and the Temperature sensor. If the reading is out of spec (very low/high), and reflowing/resoldering the Temperature sensor does not work, replacement might be needed.&lt;br /&gt;
# '''I see &amp;lt;code&amp;gt;Thermal Runaway&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Undervoltage&amp;lt;/code&amp;gt; messages on the screen'''. This is often caused by using a weak power supply that does not have a minimum of 12V-3amps and is not rated to work with Pinecil. Pinecil will stop heat to the tip and display &amp;lt;code&amp;gt;Thermal Runaway&amp;lt;/code&amp;gt;.&lt;br /&gt;
#* TL;DR get a USB-C charger 20V 3.25 amps, PD 65W (best bang for the buck for good Pinecil performance) many available between $15-$25.&lt;br /&gt;
#* Detailed information on chargers and suggested types is in the article [[Pinecil Power Supplies]].&lt;br /&gt;
# '''I plugged in the wrong kind of DC barrel charger, it was a not Center-positive pin and now the Pinecil won't turn on''': see [[#Reverse_polarity_damage| Reverse polarity damage]]. Usually requires replacing the MOSFET (U13) and Buck Converter/Step-down (U8). See the datasheets for links to parts.&lt;br /&gt;
# '''I hear a sizzling/crackle sound from my new Pinecil''': this small noise is usually fine and may disappear after a few days of use, see [[#Hissing_Crackle_Sound| Hissing Crackle Sound]].&lt;br /&gt;
# '''Screen is black''': first try to update firmware. Check out the IronOS troubleshooting [https://ralim.github.io/IronOS/Troubleshooting/#no-display-or-dots-on-the-display guide here] for possible issues. See the [[#Datasheets_for_Components|datasheets here]] at the bottom of this article for links to replacement parts. Repair method would be similar to ts100 screens of which there are many guides like [https://www.youtube.com/watch?v=HlWAY0oYPFI this video]. If the tip heats up, but screen is black, the OLED may have failed/burned out. If tip does not heat up, it may be something else. Sometimes just reflow/reheat the solder for the OLED screen fixes issues. Using OLED screen at lower brightness extends the life.&lt;br /&gt;
&lt;br /&gt;
== Solutions ==&lt;br /&gt;
&lt;br /&gt;
=== Hissing Crackle Sound ===&lt;br /&gt;
&lt;br /&gt;
# The sizzle sound will usually go away after a few days of use and heating up the iron. First, clean the tip contacts (at the white end of the cartridge) with IPA (isopropyl alcohol), heat it up a few times to 350 °C to break it in (add solder to the tip to protect it).&lt;br /&gt;
# Ralim said, &amp;quot;there is usually a bit of noise when you first use it, and a slight hiss/pop noise from the handle and that is normal. depends a bit on exactly what batch of caps are in your unit. The Tip drive signal is AC coupled through a capacitor for safety, downside is that it means the firmware is hitting that cap with a square wave the whole time the tip is on. Once you have heated up the duty cycle, it drops off so it's not as noticeable.&amp;quot;&lt;br /&gt;
# Some members reported that after they opened their new Pinecil, wiped the PCB and tips gently with IPA, let it dry, all the sizzling noise went away. They also did a break-in of the new tips, bringing the temperature to 350 C a few times.&lt;br /&gt;
# Video of similar [https://www.reddit.com/r/soldering/comments/qv66a6/weird_crackling_noise_from_ts100_not_from_the_hot/ crackle sound] on the ts100 iron (don't have example of Pinecil, but it's similar sound).&lt;br /&gt;
&lt;br /&gt;
=== Cartridge/Tip Problems ===&lt;br /&gt;
&lt;br /&gt;
# Wipe entire tip (cartridge) clean, details in [[#Poor_Contact_test_and_repair|Poor Contact]] section&lt;br /&gt;
# Using a multimeter, switch it to ohms to measure resistance. Measure the two silver bands at the rear (white end).&lt;br /&gt;
# If it measures OL or infinity, or extremely out of the spec range below, it might be bad.&lt;br /&gt;
# Note, only measure when cartridge/tip is cold and unused for a couple hours (a warm tip will have much higher resistance/ohm reading).&lt;br /&gt;
#* Normal ts100 style tips should measure ~7.8 ohms - 8.3 ohms (when cold)&lt;br /&gt;
#* PINE64 brand Short tips should measure ~6.1-6.5 ohms (when cold).&lt;br /&gt;
#* See the [[Pinecil Tips]] for more details.&lt;br /&gt;
&lt;br /&gt;
=== Poor Contact Fix ===&lt;br /&gt;
&lt;br /&gt;
[[File:CleanTip-Cartridge-Contacts.jpg|none|300px|thumb| Clean contacts with IPA]]&lt;br /&gt;
&lt;br /&gt;
# Most likely the tip (cartridge) is not making good contact (at the silver bands on the rear white end). Usually this issue goes away after a few days of use as the cartridge rubs against the internal contacts more. New cartridges could have factory residue or oils on them that interferes with the R-tip reading.&lt;br /&gt;
# To fix this issue quicker, wipe all new tips (cartridges) with a dry towel or 90-99% IPA (isopropyl alcohol) especially the two silver contacts at the white end (do not use water to wipe as it could get into the seam line on the white end). &lt;br /&gt;
# With the Pinecil unplugged, remove and reinsert the tip a couple times and spin it a little inside against the contacts. Then plug it in and heat it up to 350 °C a few times for a couple minutes. These steps tend to resolve most new Pinecil or new cartridges causing flickering temperatures or &amp;quot;no-tip&amp;quot; icon displays randomly.&lt;br /&gt;
# Always unplug Pinecil before swapping tips. Hot swapping is not a good idea, and for the V2 this could cause strange behavior as the V2 auto-detects tip resistance only on power-up or reboot.&lt;br /&gt;
# Sometimes just disassembling and reassembling all parts back correctly and installing the 2 internal contacts with screws correctly also helps.&lt;br /&gt;
# Poor contact could happen if the tips are not clean or brand new with factory residue or not making good contact with the internal clips inside the Pinecil. The two contacts inside might need to also be removed, wiped and reinstalled with the two screws (ensure the small metal tab on the clip sits into the small hole in the PCB).&lt;br /&gt;
# See '''[[Pinecil_Tips#How_to_check_new_tips?| Pinecil Tips]]''' article for more details on testing.&lt;br /&gt;
&lt;br /&gt;
=== Not Powering Up Anymore ===&lt;br /&gt;
&lt;br /&gt;
There are reports&lt;br /&gt;
([https://forum.pine64.org/showthread.php?tid=12661 #1],&lt;br /&gt;
[https://www.reddit.com/r/PINE64official/comments/q8d08a/pinecil_does_not_power_on/ #2])&lt;br /&gt;
that Pinecil that has been working stopped powering on. Note this is different from black screen issue mentioned above - in this case, Pinecil simply does not power on and also does not recognized as an USB device. Also, it is not an USB-PD compatibility issue as the device has been working fine up until this issue.&lt;br /&gt;
&lt;br /&gt;
It has been reported that dead USB-PD controller (FUSB302MPX) was the cause. While the root cause of the failure is still unknown, Pinecil can be 'repaired' by removing the chip, allowing it to be used as a DC-powered soldering iron.  Removing FUSB302MPX (small 5x5mm QFN) requires some effort, but it is doable by careful desoldering (or hotair desoldering).&lt;br /&gt;
&lt;br /&gt;
=== Reverse Polarity Damage ===&lt;br /&gt;
&lt;br /&gt;
Pinecil requires a center-positive DC power supply which most are, but some are reverse polarity and will destroy the electronics if used. If you plugged in a &amp;quot;center-negative&amp;quot; DC power supply, most likely the MOSFET and the buck converter are broken. This usually requires replacing the MOSFET (U13) and buck converter / step-down (U8). See the datasheets for links to replacement parts which is at the bottom of this article [[#Datasheets_for_Components| here]].&lt;br /&gt;
&lt;br /&gt;
{{Note|1='''Check the polarity''' of the DC barrel plug before plugging in a random charger. Incorrect polarity will break the Pinecil. The [https://www.youtube.com/watch?v=5DBTNplNTfA video here] shows how to check.}}&lt;br /&gt;
&lt;br /&gt;
[[File:AC adaptor polarity.png|400px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Nintendo-center-negative.png|300px]]&lt;br /&gt;
&lt;br /&gt;
Reference the article on [[Pinecil_Power_Supplies#DC_Barrel_Power| DC barrel chargers here]], (i.e., laptop bricks) for appropriate USB-C and DC chargers that will work with the Pinecil.&lt;br /&gt;
&lt;br /&gt;
== Images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot;&amp;gt;&lt;br /&gt;
Image:PCP-Top-side-screen.jpg|Screen side: V2 on top, V1 below&lt;br /&gt;
Image:PCP-Bottom-Side.jpg|Pinecone side: V2 on top, V1 below&lt;br /&gt;
File:Pinecil v2 MOSFET.JPG | MOSFET V2 |alt=alt language&lt;br /&gt;
File:FUSB302-V2-02.JPG | FUSB302 V2 |alt=alt language&lt;br /&gt;
File:Pinecil LDOandOP-Amp.png| LDO and OP-Amp|alt=alt language&lt;br /&gt;
File:Under OLED screen01.png| Under the OLED screen, V2|alt=alt language&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Schematics and Board Data ==&lt;br /&gt;
&lt;br /&gt;
=== Pinecil V2 mainboard schematic ===&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil_schematic_v2.0_20220608.pdf Pinecil mainboard schematic ver 2.0 20220608, this is production version schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil_PCB_placement_v2.0_20220608.pdf Pinecil mainboard ver 2.0 PCB Component Placement PDF file]&lt;br /&gt;
&lt;br /&gt;
=== Pinecil V1 mainboard schematic ===&lt;br /&gt;
&lt;br /&gt;
V1 was only sold until July 2022, and then discontinued for newer V2 model&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil_schematic_v1.0a_20201120.pdf Pinecil mainboard schematic ver 1.0 20201120, this is production version schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Top PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Bottom PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Top Drawing file]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Bottom Drawing file]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components ==&lt;br /&gt;
&lt;br /&gt;
=== Pinecil V2 datasheets ===&lt;br /&gt;
&lt;br /&gt;
* Power MOSFET Switch: [https://datasheet.lcsc.com/lcsc/2105241831_HUASHUO-HSM4313_C2828487.pdf HSM4313], location U13 (replacement [https://lcsc.com/product-detail/MOSFETs_HUASHUO-HSM4313_C2828487.html HSM4313])&lt;br /&gt;
* LDO Regulator: [https://datasheet.lcsc.com/lcsc/1912111437_LOWPOWER-LP3986-33B3F_C387689.pdf LP 3986-33], Ultra-low noise, location U5 (replacement [https://www.lcsc.com/product-detail/Linear-Voltage-Regulators-LDO_LOWPOWER-LP3986-33B3F_C387689.html LP 3986-33])&lt;br /&gt;
* Buck Converter: [https://datasheet.lcsc.com/lcsc/2108072230_TECH-PUBLIC-TP6841S6_C2844736.pdf TP6841S6 40V], Step-Down, location U8 (replacement [https://www.lcsc.com/product-detail/DC-DC-Converters_TECH-PUBLIC-TP6841S6-A_C2844924.html TP6841S6-A])&lt;br /&gt;
* USB-C PD Controller: [https://rocelec.widen.net/view/pdf/0av2cqef3a/FAIR-S-A0001311862-1.pdf?t.download=true&amp;amp;u=5oefqw FUSB302MPX], location U1 (replacement [https://www.lcsc.com/product-detail/span-style-background-color-ff0-USB-span-ICs_onsemi-Fusb302mpx_C442699.html FUSB302MPX])&lt;br /&gt;
* Acceleration/Gyroscope: [https://lcsc.com/product-detail/Attitude-Sensor-Gyroscope_Hangzhou-Silan-Microelectronics-SC7A20TR_C5126709.html SC7A20 sensor], Silan, location U9 (replacement unknown)&lt;br /&gt;
* NTC Temperature Sensor: [https://media.digikey.com/pdf/Data%20Sheets/TDK%20PDFs/NTCG163JF103FTDS_Spec.pdf NTCG163JF103FTDS], location NTC1 (replacement [https://lcsc.com/product-detail/span-style-background-color-ff0-NTC-span-Thermistors_TDK-NTCG163JF103FTDS_C435270.html NTC here]). Note that U10 is empty if NTC type thermistor is used.&lt;br /&gt;
* Optional Hall Effect Sensor: [https://files.pine64.org/doc/datasheet/pinecil/si7210-datasheet.pdf Si7210-B-00-IV(R)] by Silicon Labs, location U14. This is a user add-on and does not come installed on the PCB.&lt;br /&gt;
** [https://www.silabs.com/documents/public/application-notes/an1018-si72xx-sensors.pdf How magnets work near Hall Sensor Si7210]&lt;br /&gt;
** Replacement [https://lcsc.com/product-detail/Position-Sensor_SILICON-LABS-SI7210-B-00-IVR_C2654956.html Si7210-B-00-IV], also at Digikey and Mouser&lt;br /&gt;
* Operational Amplifier [https://files.pine64.org/doc/datasheet/pinecil/SGM8557.pdf SGM8557-1AXN5G], SGMicro, Low Noise OP Amp Datasheet, location U11 (replacement unknown).&lt;br /&gt;
* Display Screen OLED [https://files.pine64.org/doc/datasheet/pinecil/1810010328_UG-Univision-Semicon-UG-9616TSWCG02_C88335.pdf QUG-9616TSWCG02] datasheet (replacement [https://www.lcsc.com/product-detail/OLED-Displays-Modules_UG-Univision-Semicon-UG-9616TSWCG02_C88335.html QUG-9616TSWCG02] OLED Display).&lt;br /&gt;
&lt;br /&gt;
MCU: Bouffalo Labs, BL-706_QFN48, RISC-V + 2.4 GHz RF SoC&lt;br /&gt;
* [https://lupyuen.github.io/articles/bl706 BL706 Analysis], by Lupyuen, includes datasheet, location U15.&lt;br /&gt;
* [https://dev.bouffalolab.com/media/doc/702/open/datasheet/en/html/index.html BL706 datasheet] and its [https://github.com/bouffalolab/bl_docs/blob/main/BL702_DS/en/BL702_704_706_DS_en_2.6.pdf PDF version]&lt;br /&gt;
* [https://dev.bouffalolab.com/media/doc/702/open/reference_manual/en/html/index.html BL706 Reference Manual] and its [https://github.com/bouffalolab/bl_docs/blob/main/BL702_RM/en/BL702_BL704_BL706_RM_en_1.2.pdf PDF version]&lt;br /&gt;
* [https://github.com/bouffalolab/bl_mcu_sdk SDK and Bouffalo documents]&lt;br /&gt;
* [https://datasheet.lcsc.com/lcsc/1912111437_TAE-Zhejiang-Abel-Elec-TAXM32M4ZFBCCT2T_C388797.pdf SMD Resonator] for Bluetooth BLE,  32MHZ/12PF-10PPM, SMD2016-4P, location UX1 (replacement [https://lcsc.com/product-detail/Crystals_TAE-Zhejiang-Abel-Elec-TAXM32M4ZFBCCT2T_C388797.html SMD Resonator]).&lt;br /&gt;
&lt;br /&gt;
USB-C port:&lt;br /&gt;
* possible part, has not been verified: [https://www.lcsc.com/product-detail/span-style-background-color-ff0-USB-span-Connectors_SHOU-HAN-TYPE-C-24P-QT_C2681555.html Replacement USB-C port]&lt;br /&gt;
&lt;br /&gt;
=== Pinecil V1 datasheets ===&lt;br /&gt;
&lt;br /&gt;
* Buck converter: [https://files.pine64.org/doc/datasheet/pinecil/RT7272B-05.pdf RT7272B 3A Datasheet], Ricktek, Step-Down converter, location U8 &lt;br /&gt;
* LDO Regulator: [https://datasheet.lcsc.com/lcsc/1912111437_LOWPOWER-LP3986-33B3F_C387689.pdf LP 3986-33], location U5, ([https://www.lcsc.com/product-detail/Linear-Voltage-Regulators-LDO_LOWPOWER-LP3986-33B3F_C387689.html Replacement here]).&lt;br /&gt;
* MOSFET Switch: [https://files.pine64.org/doc/datasheet/pinecil/Changjiang-Electronics-Tech-CJ-CJQ7328.pdf CJQ7328 8A datasheet], Chang Jiang.&lt;br /&gt;
** Hint: people have replaced V1 mosfet using the better rated one from the newer V2 datasheets (HSM4313 has same footprint and higher rating), see V2 section for MOSFET.&lt;br /&gt;
* Acceleration [https://files.pine64.org/doc/datasheet/pinecil/BMA223-Bosch.pdf Bosch BMA223 Sensor Datasheet]&lt;br /&gt;
* Temperature Sensor: [https://files.pine64.org/doc/datasheet/pinecil/TMP35_36_37.pdf Analog Device TMP36 Datasheet], location U10, (possible [https://www.lcsc.com/product-detail/Temperature-Sensors_Analog-Devices-TMP36GRTZ-REEL7_C129489.html replacement here]).&lt;br /&gt;
* Optional Hall Effect Sensor: [https://files.pine64.org/doc/datasheet/pinecil/si7210-datasheet.pdf  Si7210-B-00-IV(R) by Silicon Labs, location U14]. This is a user add-on and does not come installed on the pcb.&lt;br /&gt;
** ([https://www.silabs.com/documents/public/application-notes/an1018-si72xx-sensors.pdf How magnets work near Hall Sensor Si7210])&lt;br /&gt;
** ([https://lcsc.com/product-detail/Position-Sensor_SILICON-LABS-SI7210-B-00-IVR_C2654956.html One place to buy it], also at Digikey and Mouser)&lt;br /&gt;
* OLED Display screen: [https://files.pine64.org/doc/datasheet/pinecil/1810010328_UG-Univision-Semicon-UG-9616TSWCG02_C88335.pdf QUG 9616TSWCG02 Display Module Datasheet]&lt;br /&gt;
* USB Type-C PD Controller: [https://files.pine64.org/doc/datasheet/pinecil/FUSB302-D.PDF FUSB302 USB PD Datasheet]&lt;br /&gt;
* OP Amp information: [https://files.pine64.org/doc/datasheet/pinecil/SGM8557.pdf SGMicro SGM8557-1 Low Noise OP Amp Datasheet (U11)]&lt;br /&gt;
* Capacitors: [https://lcsc.com/product-detail/Multilayer-Ceramic-Capacitors-MLCC-SMD-SMT_YAGEO-CC0603KRX7R9BB105_C559769.html possible replacement part for C5, 1uF/50V]&lt;br /&gt;
* USB-C port: possible part, has not been verified: [https://www.lcsc.com/product-detail/span-style-background-color-ff0-USB-span-Connectors_SHOU-HAN-TYPE-C-24P-QT_C2681555.html Replacement]&lt;br /&gt;
&lt;br /&gt;
GigaDevice RISC-V SoC data:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_Datasheet_Rev%201.1.pdf GigaDevice RISC-V GD32VF103TB SoC Datasheet V1.1]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_User_Manual_EN_V1.2.pdf GigaDevice RISC-V GD32VF103TB SoC Usermanual V1.2]&lt;br /&gt;
&lt;br /&gt;
Breakout Board Datasheet: [https://files.pine64.org/doc/datasheet/pinecil/LP6498B6F.pdf LP6498B6F 1.2A Switching Power Regulator]&lt;br /&gt;
&lt;br /&gt;
== Pinecil V1, 24V Mod ==&lt;br /&gt;
&lt;br /&gt;
{{warning|Do this at your own risk, read everything in this section and related/linked articles, and go to the Pinecil community chat if you desire advice. An incorrect cut of the trace could render the Pinecil non-working.}}&lt;br /&gt;
&lt;br /&gt;
[[File:Pinecil-V1andV2.png|350px|thumb|right| Pinecil V1 has blue rubber. Newer Pinecil V2 has green rubber &amp;amp; Bluetooth LE chip]]&lt;br /&gt;
&lt;br /&gt;
# This modification is '''Not''' for the V2 (sold after Aug 1, 2022 with green thumb grip) as the V2 '''already''' has 24V DC barrel charger capability.&lt;br /&gt;
# If you have an older V1 model, then first upgrade to the newest [[Pinecil#Firmware_&amp;amp;_Updates|firmware here]] before starting this modification. The PD debug menu was added to the firmware in 2.17 and other important fixes came later. Access to the hidden PD debug menu is necessary to assist with this mod.&lt;br /&gt;
# See Ralim's IronOS for how to use the hidden [https://ralim.github.io/IronOS/DebugMenu/#pd-debug-menu PD Debug here] and check if your version of Pinecil V1 could benefit from the modification.&lt;br /&gt;
# If PD-Debug menu says &amp;quot;No VBUS&amp;quot;, then stop here, you do not need the modification or any cut of the trace line, it will not benefit you because there is no connection to the VBUS already. If it says &amp;quot;w. Vbus&amp;quot; then continue. If you don't have a PD-Debug menu, then upgrade to the newest firmware first, see instructions above.&lt;br /&gt;
# Some models of V1 came with the PCB already capable of 24V as the Pine Store made modifications to the PCB (not all batches of V1 were the same). Do the PD debug test first to see if the mod is not required.&lt;br /&gt;
# See the February 2022 [https://www.pine64.org/2022/02/15/february-update-chat-with-the-machine/ Community update here]. The photo is incorrect in the article. It is ''not'' a before and after photo. &lt;br /&gt;
#* Photo shows two separate PCBs of Pinecil V1 made at different times; therefore, the trace is cut in a slightly different location depending on which one it looks like.&lt;br /&gt;
#* The PCB with 2 small via holes and is harder to cut in the correct location to avoid damaging the holes. This is called the &amp;quot;whalecil&amp;quot; in community chat (looks like a whale).&lt;br /&gt;
&lt;br /&gt;
[[File:Pinecil V1 24V Mod.png|400px]]&lt;br /&gt;
&lt;br /&gt;
PCB 1 style (left photo) is easier to cut the trace. Cut all the way across the trace and deep enough to cut the copper contact. PCB 2 style (right photo) is harder because the trace has to be cut without damaging the 2 via holes.&lt;br /&gt;
&lt;br /&gt;
7. Don't plug in 24V until you first check with a USB-C PD charger that PD debug says '''No VBUS''' which means the mod is complete. If it still says '''W. Vbus''', then the connection still exist. Cut a little deeper and clean the cut with some IPA (isopropyl alcohol) to remove any copper dust, dry it and check again. Taking a macro photo with a phone helps to examine the cut. &lt;br /&gt;
If a USB-C charger is not available, often a phone with a USB-C port is a PD type, and can be used like a charger to plug in and check the PD debug messages (unfortunately, a PC port is not normally &amp;quot;PD&amp;quot; and won't give proper PD Debug).  &lt;br /&gt;
&lt;br /&gt;
8. If you want another set of eyes on it before you cut, post a photo of your PCB (near the Pinecone) on the Pine64 &amp;gt; [[Pinecil#Live_Community_Chat|live Pinecil chat channel]]. Ask for a volunteer who has ''completed'' the 24V mod on a Pinecil V1 to assist. Not all chat people own a Pinecil even if they are in the Pinecil channel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Pinecil]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Pinecil:_Test,_Repair,_Issues&amp;diff=21659</id>
		<title>Pinecil: Test, Repair, Issues</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Pinecil:_Test,_Repair,_Issues&amp;diff=21659"/>
		<updated>2024-11-16T20:10:56Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Assemble steps */ Described the protective baffle and its relation with the ground ring&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains some common issues and fixes which includes how to dismantle, test and do some repairs.&lt;br /&gt;
&lt;br /&gt;
== Cautions ==&lt;br /&gt;
&lt;br /&gt;
{{warning| while opening your Pinecil will not necessarily void your warranty, all self-repairs are '''done at your own risk'''. Read everything in this section and related or linked articles to get a good idea of the procedure, and go to the Pinecil community chat if you desire advice/support from experienced volunteers. Self-repairs or modifications might void your warranty so proceed if this is not a concern. This information is for educational purposes only.}}&lt;br /&gt;
&lt;br /&gt;
Pinecil V1 and V2 have slightly different schematics and have different MCU chips. Doing repairs often requires referencing the correct schematics or photos. The datasheets are also important to get information about the chips, and to order replacement parts. The schematics and known datasheets are all at the bottom of this article and linked in the contents table at the top. Chatting with other owners of Pinecil is encouraged as they have experience - already broke things so you don't have to (see Pinecil volunteer [[Pinecil#Live_Community_Chat |chat link here]]).&lt;br /&gt;
&lt;br /&gt;
{{Info|This is a new work in progress (WIP) started Feb. 18, 2023 which may be updated over time as volunteers have time to write up information. For sections that are missing, try asking in the live chat as a volunteer may have some clues to get you headed in the right path.}}&lt;br /&gt;
&lt;br /&gt;
== Tools needed ==&lt;br /&gt;
&lt;br /&gt;
# Digital multimeter (DMM)&lt;br /&gt;
# Philips screwdriver&lt;br /&gt;
# All schematics, datasheets for known common parts, and links to where to buy replacement parts are all in this article under [[#Schematics_and_Board_Data| Schematics and board data]].&lt;br /&gt;
#* Refer to the correct section for V1 or V2 parts.&lt;br /&gt;
#* Which model do I have? The older V1 model has an all black handle with a blue silicone grip and was discontinued in July 2022. The new V2 model has a black handle with a green thumb grip and is the only model PINE64 and authorized resellers started selling after August 1, 2022.&lt;br /&gt;
# Magnifying lamp or jeweler's glasses with led light and good room light.&lt;br /&gt;
# Photos/videos will help to chat with volunteers in the [[Pinecil#Live_Community_Chat|live Pinecil chat channel]] if getting clarification or troubleshooting.&lt;br /&gt;
# Optional: mobile phone to take macro photos or video. A macro lens to take phone photos is helpful; there are cheap ones that simply clip on.&lt;br /&gt;
# Possibly another soldering iron to do the repair, some flux, solder, and isopropyl alcohol (IPA) for cleaning the PCB. See [[Pinecil_Cases,_Stands,_Supplies#Soldering_supplies| this guide]] for some basic supply options.&lt;br /&gt;
# Optional: better needle size probe leads for DMM makes things easier and are nice for electronic work. &lt;br /&gt;
# Reference photos are in the [[#Images| Images section below]].&lt;br /&gt;
&lt;br /&gt;
== Dismantle steps ==&lt;br /&gt;
&lt;br /&gt;
=== Easy trick to open Pinecil ===&lt;br /&gt;
&lt;br /&gt;
* Video of easy trick: https://www.youtube.com/watch?v=aK01V5DrrVk  &lt;br /&gt;
&lt;br /&gt;
* Handle replacement [https://wiki.pine64.org/wiki/File:Pinecil_Shell_Replacement_Guide.pdf graphic]&lt;br /&gt;
&lt;br /&gt;
* Step-by-step&lt;br /&gt;
&lt;br /&gt;
# It is recommended to take photos to help with reassembly.&lt;br /&gt;
# Loosen the top tip screw (PH1) (top is the side with the screen).&lt;br /&gt;
# Gently pull the tip out and set aside (let the tip cool down first or use protection to prevent burns).&lt;br /&gt;
# Slide the rubber thumb grip off the front.&lt;br /&gt;
# Remove the bottom-front screw (between the bottom feet (PH1)).&lt;br /&gt;
# Remove the ground screw (longer m2x4mm screw next to the screen near the (-) button (PH1)).&lt;br /&gt;
# Slightly pull the two halves of the case apart at the tip front end first, enough to get a fingernail or guitar pick between 2 parts.&lt;br /&gt;
# Move the pick down the length of the split to loosen the bottom half's clips from the top half of the case.&lt;br /&gt;
# Once loose, remove the bottom half by sliding it a little forward (it is retained by the top half at the DC barrel side).&lt;br /&gt;
# Remove the screws retaining the copper tip contacts (PH000, M1.4 x 5).&lt;br /&gt;
# Remove the copper tip contacts (note the orientation of the contacts &amp;amp; tiny tab hole).&lt;br /&gt;
# Lift the PCB gently up from Tip end.&lt;br /&gt;
# Remove the round copper ring contact from under the PCB, near the tip end of the handle (this is installed first before the PCB because it provides ground contact from the front of the Pinecil to the rear ground screw).&lt;br /&gt;
# Remove the two small round buttons so they do not get lost.&lt;br /&gt;
&lt;br /&gt;
== Assemble steps ==&lt;br /&gt;
&lt;br /&gt;
# Place the two round buttons into the two holes in the top half of the case.&lt;br /&gt;
# Install the round copper ground ring at the tip end '''before installing the PCB'''.&lt;br /&gt;
# Place the PCB board into handle at an angle, DC barrel end goes in first.&lt;br /&gt;
## Lower the rest of the board into the case and align the PCB with the two contact screw holes.&lt;br /&gt;
# Install the two copper tip contacts (note the small tab on the contact and the small hole in the PCB for it).&lt;br /&gt;
## Orient the contact to align the alignment pin with the alignment hole next to the big hole on one of the big gold pads.&lt;br /&gt;
## Install and gently tighten the PH000 screw until the clip is no longer loose.&lt;br /&gt;
# Place the bottom half of the case into the top half by sliding the lip on the port side (side without the feet) of the bottom half under the arch of the port side of the top half.&lt;br /&gt;
# Gently close the case by bringing the two halves together, paying attention to each clip's alignment and ensuring the case edges align.  Also make sure that the protective baffle in the top half of the case, which keeps the copper ground ring in its place, aligns properly with the ring itself.&lt;br /&gt;
# Install the short PH1 screw at the bottom of the tip side of the case.&lt;br /&gt;
# Install the longer PH1 screw at the ground connection point at the top side of the case (between the display and the ports).&lt;br /&gt;
# Slide the rubber sleeve on (larger ridge first).&lt;br /&gt;
# Gently insert tip.&lt;br /&gt;
# Gently tighten the top PH1 screw to retain the tip.&lt;br /&gt;
&lt;br /&gt;
{{Info|For normal operation of the iron, omission of the copper ring in step #2 does not impact operation. If you are working with ESD components, you need it in order to ground the iron tip via the earth screw at the back of the iron. It is recommended to keep this installed.}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|Make sure that the copper ground ring in step #2 is installed so it fits flush with the grounding metal insert in the bottom half of the case.  Failure to do so may cause the copper ground ring touch one of the copper tip contacts in step #6, which may later cause damage to some of the components on the PCB.}}&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
=== Common Fixes ===&lt;br /&gt;
&lt;br /&gt;
# Sometimes, just updating to the newest firmware fixes issues as Ralim and team are very active in adding features and &amp;lt;s&amp;gt;bug fixes&amp;lt;/s&amp;gt; enhancements (see [[Pinecil#Firmware_&amp;amp;_Updates| Firmware]]). &lt;br /&gt;
# Some [https://ralim.github.io/IronOS/Troubleshooting/ Troubleshooting information] is also on GitHub Ralim's IronOS (which is the firmware that is on the Pinecil). There are several hidden Debug tools in the firmware that also help with diagnosis.&lt;br /&gt;
# Clean all new Tips (Cartridges) with 90%-99% IPA (Isopropyl Alcohol) especially the white end with the 2 silver contacts.&lt;br /&gt;
# If you can't find the information here or it hasn't been written yet; simply join the volunteer run [[Pinecil#Live_Community_Chat| live Pinecil chat channel]]. Sometimes you can get a clue to the right path.&lt;br /&gt;
&lt;br /&gt;
=== Common Questions ===&lt;br /&gt;
&lt;br /&gt;
# '''Temperature is flickering wildly''': &lt;br /&gt;
#* Most likely just need to clean whole cartridge/tip with IPA ([https://github.com/Ralim/IronOS/issues/1601 reference issue]). See [[#Poor_Contact_Fix|Poor Contact Fix here]]. &lt;br /&gt;
#* If it's jumping wildly after reaching set temperature, this is also caused by using a low amp/volt charger that is below the 3amp minimum required for pinecil (per manufacturer rating), upgrading to a 3.25amp/20V USB-C charger often fixes this ([https://github.com/Ralim/IronOS/issues/1644 reference issue]).&lt;br /&gt;
#* Some people might see a random spike while idle. Solution: update firmware, there are some ADC timing adjustments in IronOS 2.21+; it's a good idea to keep your firmware updated to newest stable release ([https://github.com/Ralim/IronOS/issues/1485 reference issue]). This fix is included in 2.21+ release.&lt;br /&gt;
# '''Screen shows X symbol''' (no tip installed) and I have a tip installed. Ensure the cartridge/tip is properly installed: remove the front Tip screw, check that the cartridge/tip is pushed all the way in and the round metal collar is pressed against the black handle [https://wiki.pine64.org/wiki/File:Pinecilv2-1.jpg see photo here]. Reinstall the screw. See [[#Tip_Problems|Tip Problems]] and [[#Poor_Contact_repair|Poor Contact repair]].&lt;br /&gt;
# '''Screen shows the symbol (X) randomly on new Pinecil''': tip is installed and it heats up and works fine, but randomly I see the no tip symbol (X) come and go for a second. See #1 above, it is most likely the same reason, clean the metal contacts on the rear of the cartridge/tip (even if it looks clean, could have residue/oils). Follow the same instructions for [[#Poor_Contact_Fix|Poor Contact Fix here]]. [https://github.com/Ralim/IronOS/issues/1601 Reference ticket on Github].&lt;br /&gt;
# '''How do I install the optional Hall Effect Sensor?''' See the [[Pinecil_Hall_Effect_Sensor| Hall Effect Sensor]] article for installation; location is U14 on the PCB &amp;amp; in the Schematics. Reference schematics section [[#Schematics_and_Board_Data| here]] also.&lt;br /&gt;
# '''Help, I think I bricked Pinecil doing an update''': no worries, it's very hard to brick a Pinecil because of the way the firmware is loaded in ROM. Usually just flashing again with a newer or different version brings it back to life ([[Pinecil#Firmware_&amp;amp;_Updates|see Firmware]]). This can be done even if you can't see your screen anymore.&lt;br /&gt;
# '''My Pinecil keeps rebooting''': some laptop ports are not compatible to do updates and show pinecil screen rebooting, change to a different ports on the laptop or different machine (e.g., sometimes the USB-A port works where the usb-C did not). If it is rebooting connected to a power charger, change to a different charger or add a ground wire to your Pinecil ground screw (search for ''ts100 ground wire'' on a search engine). Also see the [[Pinecil#Power_Supplies_and_Watts|Power Supplies article]]. This could happen because of the way 2-prong no-ground chargers are made with no ground path for small current leakage. Also try to plug the charger into a surge protector strip (type that have 3-prong ground and plug the surge protector into a 3-prong grounded wall outlet). Try a different cable or flipping the cable over also.&lt;br /&gt;
# '''Tip is glowing red hot'''. Unplug immediately, you have most likely a blown MOSFET, check that out, replacement parts in Datasheets below. Tip is probably damaged too. Make sure you are using the correct rated charger for Pinecil (some cheap, universal or no-brand DC bricks can damage electronics from spiking voltages). &lt;br /&gt;
# '''My temperature display is way off and Pinecil is at room temerature''': first, check [[#Poor_Contact_Fix| poor contact fix here]]. Then enter the hidden debug menu and look for HAN C which is the internal handle temperature. This should normally be close to or slightly higher than the room temperature if the pinecil tip is also at room temperature. Under load, the HAN C can go up a bit, otherwise when the tip is cold, the HAN C should be close to ambient. Depending on your version of IronOS, the debug menu will show as HAN C or C Han. See IronOS [https://ralim.github.io/IronOS/Troubleshooting/ Troubleshooting here], especially about CHan and the Temperature sensor. If the reading is out of spec (very low/high), and reflowing/resoldering the Temperature sensor does not work, replacement might be needed.&lt;br /&gt;
# '''I see &amp;lt;code&amp;gt;Thermal Runaway&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Undervoltage&amp;lt;/code&amp;gt; messages on the screen'''. This is often caused by using a weak power supply that does not have a minimum of 12V-3amps and is not rated to work with Pinecil. Pinecil will stop heat to the tip and display &amp;lt;code&amp;gt;Thermal Runaway&amp;lt;/code&amp;gt;.&lt;br /&gt;
#* TL;DR get a USB-C charger 20V 3.25 amps, PD 65W (best bang for the buck for good Pinecil performance) many available between $15-$25.&lt;br /&gt;
#* Detailed information on chargers and suggested types is in the article [[Pinecil Power Supplies]].&lt;br /&gt;
# '''I plugged in the wrong kind of DC barrel charger, it was a not Center-positive pin and now the Pinecil won't turn on''': see [[#Reverse_polarity_damage| Reverse polarity damage]]. Usually requires replacing the MOSFET (U13) and Buck Converter/Step-down (U8). See the datasheets for links to parts.&lt;br /&gt;
# '''I hear a sizzling/crackle sound from my new Pinecil''': this small noise is usually fine and may disappear after a few days of use, see [[#Hissing_Crackle_Sound| Hissing Crackle Sound]].&lt;br /&gt;
# '''Screen is black''': first try to update firmware. Check out the IronOS troubleshooting [https://ralim.github.io/IronOS/Troubleshooting/#no-display-or-dots-on-the-display guide here] for possible issues. See the [[#Datasheets_for_Components|datasheets here]] at the bottom of this article for links to replacement parts. Repair method would be similar to ts100 screens of which there are many guides like [https://www.youtube.com/watch?v=HlWAY0oYPFI this video]. If the tip heats up, but screen is black, the OLED may have failed/burned out. If tip does not heat up, it may be something else. Sometimes just reflow/reheat the solder for the OLED screen fixes issues. Using OLED screen at lower brightness extends the life.&lt;br /&gt;
&lt;br /&gt;
== Solutions ==&lt;br /&gt;
&lt;br /&gt;
=== Hissing Crackle Sound ===&lt;br /&gt;
&lt;br /&gt;
# The sizzle sound will usually go away after a few days of use and heating up the iron. First, clean the tip contacts (at the white end of the cartridge) with IPA (isopropyl alcohol), heat it up a few times to 350 °C to break it in (add solder to the tip to protect it).&lt;br /&gt;
# Ralim said, &amp;quot;there is usually a bit of noise when you first use it, and a slight hiss/pop noise from the handle and that is normal. depends a bit on exactly what batch of caps are in your unit. The Tip drive signal is AC coupled through a capacitor for safety, downside is that it means the firmware is hitting that cap with a square wave the whole time the tip is on. Once you have heated up the duty cycle, it drops off so it's not as noticeable.&amp;quot;&lt;br /&gt;
# Some members reported that after they opened their new Pinecil, wiped the PCB and tips gently with IPA, let it dry, all the sizzling noise went away. They also did a break-in of the new tips, bringing the temperature to 350 C a few times.&lt;br /&gt;
# Video of similar [https://www.reddit.com/r/soldering/comments/qv66a6/weird_crackling_noise_from_ts100_not_from_the_hot/ crackle sound] on the ts100 iron (don't have example of Pinecil, but it's similar sound).&lt;br /&gt;
&lt;br /&gt;
=== Cartridge/Tip Problems ===&lt;br /&gt;
&lt;br /&gt;
# Wipe entire tip (cartridge) clean, details in [[#Poor_Contact_test_and_repair|Poor Contact]] section&lt;br /&gt;
# Using a multimeter, switch it to ohms to measure resistance. Measure the two silver bands at the rear (white end).&lt;br /&gt;
# If it measures OL or infinity, or extremely out of the spec range below, it might be bad.&lt;br /&gt;
# Note, only measure when cartridge/tip is cold and unused for a couple hours (a warm tip will have much higher resistance/ohm reading).&lt;br /&gt;
#* Normal ts100 style tips should measure ~7.8 ohms - 8.3 ohms (when cold)&lt;br /&gt;
#* PINE64 brand Short tips should measure ~6.1-6.5 ohms (when cold).&lt;br /&gt;
#* See the [[Pinecil Tips]] for more details.&lt;br /&gt;
&lt;br /&gt;
=== Poor Contact Fix ===&lt;br /&gt;
&lt;br /&gt;
[[File:CleanTip-Cartridge-Contacts.jpg|none|300px|thumb| Clean contacts with IPA]]&lt;br /&gt;
&lt;br /&gt;
# Most likely the tip (cartridge) is not making good contact (at the silver bands on the rear white end). Usually this issue goes away after a few days of use as the cartridge rubs against the internal contacts more. New cartridges could have factory residue or oils on them that interferes with the R-tip reading.&lt;br /&gt;
# To fix this issue quicker, wipe all new tips (cartridges) with a dry towel or 90-99% IPA (isopropyl alcohol) especially the two silver contacts at the white end (do not use water to wipe as it could get into the seam line on the white end). &lt;br /&gt;
# With the Pinecil unplugged, remove and reinsert the tip a couple times and spin it a little inside against the contacts. Then plug it in and heat it up to 350 °C a few times for a couple minutes. These steps tend to resolve most new Pinecil or new cartridges causing flickering temperatures or &amp;quot;no-tip&amp;quot; icon displays randomly.&lt;br /&gt;
# Always unplug Pinecil before swapping tips. Hot swapping is not a good idea, and for the V2 this could cause strange behavior as the V2 auto-detects tip resistance only on power-up or reboot.&lt;br /&gt;
# Sometimes just disassembling and reassembling all parts back correctly and installing the 2 internal contacts with screws correctly also helps.&lt;br /&gt;
# Poor contact could happen if the tips are not clean or brand new with factory residue or not making good contact with the internal clips inside the Pinecil. The two contacts inside might need to also be removed, wiped and reinstalled with the two screws (ensure the small metal tab on the clip sits into the small hole in the PCB).&lt;br /&gt;
# See '''[[Pinecil_Tips#How_to_check_new_tips?| Pinecil Tips]]''' article for more details on testing.&lt;br /&gt;
&lt;br /&gt;
=== Not Powering Up Anymore ===&lt;br /&gt;
&lt;br /&gt;
There are reports&lt;br /&gt;
([https://forum.pine64.org/showthread.php?tid=12661 #1],&lt;br /&gt;
[https://www.reddit.com/r/PINE64official/comments/q8d08a/pinecil_does_not_power_on/ #2])&lt;br /&gt;
that Pinecil that has been working stopped powering on. Note this is different from black screen issue mentioned above - in this case, Pinecil simply does not power on and also does not recognized as an USB device. Also, it is not an USB-PD compatibility issue as the device has been working fine up until this issue.&lt;br /&gt;
&lt;br /&gt;
It has been reported that dead USB-PD controller (FUSB302MPX) was the cause. While the root cause of the failure is still unknown, Pinecil can be 'repaired' by removing the chip, allowing it to be used as a DC-powered soldering iron.  Removing FUSB302MPX (small 5x5mm QFN) requires some effort, but it is doable by careful desoldering (or hotair desoldering).&lt;br /&gt;
&lt;br /&gt;
=== Reverse Polarity Damage ===&lt;br /&gt;
&lt;br /&gt;
Pinecil requires a center-positive DC power supply which most are, but some are reverse polarity and will destroy the electronics if used. If you plugged in a &amp;quot;center-negative&amp;quot; DC power supply, most likely the MOSFET and the buck converter are broken. This usually requires replacing the MOSFET (U13) and buck converter / step-down (U8). See the datasheets for links to replacement parts which is at the bottom of this article [[#Datasheets_for_Components| here]].&lt;br /&gt;
&lt;br /&gt;
{{Note|1='''Check the polarity''' of the DC barrel plug before plugging in a random charger. Incorrect polarity will break the Pinecil. The [https://www.youtube.com/watch?v=5DBTNplNTfA video here] shows how to check.}}&lt;br /&gt;
&lt;br /&gt;
[[File:AC adaptor polarity.png|400px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Nintendo-center-negative.png|300px]]&lt;br /&gt;
&lt;br /&gt;
Reference the article on [[Pinecil_Power_Supplies#DC_Barrel_Power| DC barrel chargers here]], (i.e., laptop bricks) for appropriate USB-C and DC chargers that will work with the Pinecil.&lt;br /&gt;
&lt;br /&gt;
== Images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot;&amp;gt;&lt;br /&gt;
Image:PCP-Top-side-screen.jpg|Screen side: V2 on top, V1 below&lt;br /&gt;
Image:PCP-Bottom-Side.jpg|Pinecone side: V2 on top, V1 below&lt;br /&gt;
File:Pinecil v2 MOSFET.JPG | MOSFET V2 |alt=alt language&lt;br /&gt;
File:FUSB302-V2-02.JPG | FUSB302 V2 |alt=alt language&lt;br /&gt;
File:Pinecil LDOandOP-Amp.png| LDO and OP-Amp|alt=alt language&lt;br /&gt;
File:Under OLED screen01.png| Under the OLED screen, V2|alt=alt language&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Schematics and Board Data ==&lt;br /&gt;
&lt;br /&gt;
=== Pinecil V2 mainboard schematic ===&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil_schematic_v2.0_20220608.pdf Pinecil mainboard schematic ver 2.0 20220608, this is production version schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil_PCB_placement_v2.0_20220608.pdf Pinecil mainboard ver 2.0 PCB Component Placement PDF file]&lt;br /&gt;
&lt;br /&gt;
=== Pinecil V1 mainboard schematic ===&lt;br /&gt;
&lt;br /&gt;
V1 was only sold until July 2022, and then discontinued for newer V2 model&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil_schematic_v1.0a_20201120.pdf Pinecil mainboard schematic ver 1.0 20201120, this is production version schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Top PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Bottom PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Top Drawing file]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Bottom Drawing file]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components ==&lt;br /&gt;
&lt;br /&gt;
=== Pinecil V2 datasheets ===&lt;br /&gt;
&lt;br /&gt;
* Power MOSFET Switch: [https://datasheet.lcsc.com/lcsc/2105241831_HUASHUO-HSM4313_C2828487.pdf HSM4313], location U13 (replacement [https://lcsc.com/product-detail/MOSFETs_HUASHUO-HSM4313_C2828487.html HSM4313])&lt;br /&gt;
* LDO Regulator: [https://datasheet.lcsc.com/lcsc/1912111437_LOWPOWER-LP3986-33B3F_C387689.pdf LP 3986-33], Ultra-low noise, location U5 (replacement [https://www.lcsc.com/product-detail/Linear-Voltage-Regulators-LDO_LOWPOWER-LP3986-33B3F_C387689.html LP 3986-33])&lt;br /&gt;
* Buck Converter: [https://datasheet.lcsc.com/lcsc/2108072230_TECH-PUBLIC-TP6841S6_C2844736.pdf TP6841S6 40V], Step-Down, location U8 (replacement [https://www.lcsc.com/product-detail/DC-DC-Converters_TECH-PUBLIC-TP6841S6-A_C2844924.html TP6841S6-A])&lt;br /&gt;
* USB-C PD Controller: [https://rocelec.widen.net/view/pdf/0av2cqef3a/FAIR-S-A0001311862-1.pdf?t.download=true&amp;amp;u=5oefqw FUSB302MPX], location U1 (replacement [https://www.lcsc.com/product-detail/span-style-background-color-ff0-USB-span-ICs_onsemi-Fusb302mpx_C442699.html FUSB302MPX])&lt;br /&gt;
* Acceleration/Gyroscope: [https://lcsc.com/product-detail/Attitude-Sensor-Gyroscope_Hangzhou-Silan-Microelectronics-SC7A20TR_C5126709.html SC7A20 sensor], Silan, location U9 (replacement unknown)&lt;br /&gt;
* NTC Temperature Sensor: [https://media.digikey.com/pdf/Data%20Sheets/TDK%20PDFs/NTCG163JF103FTDS_Spec.pdf NTCG163JF103FTDS], location NTC1 (replacement [https://lcsc.com/product-detail/span-style-background-color-ff0-NTC-span-Thermistors_TDK-NTCG163JF103FTDS_C435270.html NTC here]). Note that U10 is empty if NTC type thermistor is used.&lt;br /&gt;
* Optional Hall Effect Sensor: [https://files.pine64.org/doc/datasheet/pinecil/si7210-datasheet.pdf Si7210-B-00-IV(R)] by Silicon Labs, location U14. This is a user add-on and does not come installed on the PCB.&lt;br /&gt;
** [https://www.silabs.com/documents/public/application-notes/an1018-si72xx-sensors.pdf How magnets work near Hall Sensor Si7210]&lt;br /&gt;
** Replacement [https://lcsc.com/product-detail/Position-Sensor_SILICON-LABS-SI7210-B-00-IVR_C2654956.html Si7210-B-00-IV], also at Digikey and Mouser&lt;br /&gt;
* Operational Amplifier [https://files.pine64.org/doc/datasheet/pinecil/SGM8557.pdf SGM8557-1AXN5G], SGMicro, Low Noise OP Amp Datasheet, location U11 (replacement unknown).&lt;br /&gt;
* Display Screen OLED [https://files.pine64.org/doc/datasheet/pinecil/1810010328_UG-Univision-Semicon-UG-9616TSWCG02_C88335.pdf QUG-9616TSWCG02] datasheet (replacement [https://www.lcsc.com/product-detail/OLED-Displays-Modules_UG-Univision-Semicon-UG-9616TSWCG02_C88335.html QUG-9616TSWCG02] OLED Display).&lt;br /&gt;
&lt;br /&gt;
MCU: Bouffalo Labs, BL-706_QFN48, RISC-V + 2.4 GHz RF SoC&lt;br /&gt;
* [https://lupyuen.github.io/articles/bl706 BL706 Analysis], by Lupyuen, includes datasheet, location U15.&lt;br /&gt;
* [https://dev.bouffalolab.com/media/doc/702/open/datasheet/en/html/index.html BL706 datasheet] and its [https://github.com/bouffalolab/bl_docs/blob/main/BL702_DS/en/BL702_704_706_DS_en_2.6.pdf PDF version]&lt;br /&gt;
* [https://dev.bouffalolab.com/media/doc/702/open/reference_manual/en/html/index.html BL706 Reference Manual] and its [https://github.com/bouffalolab/bl_docs/blob/main/BL702_RM/en/BL702_BL704_BL706_RM_en_1.2.pdf PDF version]&lt;br /&gt;
* [https://github.com/bouffalolab/bl_mcu_sdk SDK and Bouffalo documents]&lt;br /&gt;
* [https://datasheet.lcsc.com/lcsc/1912111437_TAE-Zhejiang-Abel-Elec-TAXM32M4ZFBCCT2T_C388797.pdf SMD Resonator] for Bluetooth BLE,  32MHZ/12PF-10PPM, SMD2016-4P, location UX1 (replacement [https://lcsc.com/product-detail/Crystals_TAE-Zhejiang-Abel-Elec-TAXM32M4ZFBCCT2T_C388797.html SMD Resonator]).&lt;br /&gt;
&lt;br /&gt;
USB-C port:&lt;br /&gt;
* possible part, has not been verified: [https://www.lcsc.com/product-detail/span-style-background-color-ff0-USB-span-Connectors_SHOU-HAN-TYPE-C-24P-QT_C2681555.html Replacement USB-C port]&lt;br /&gt;
&lt;br /&gt;
=== Pinecil V1 datasheets ===&lt;br /&gt;
&lt;br /&gt;
* Buck converter: [https://files.pine64.org/doc/datasheet/pinecil/RT7272B-05.pdf RT7272B 3A Datasheet], Ricktek, Step-Down converter, location U8 &lt;br /&gt;
* LDO Regulator: [https://datasheet.lcsc.com/lcsc/1912111437_LOWPOWER-LP3986-33B3F_C387689.pdf LP 3986-33], location U5, ([https://www.lcsc.com/product-detail/Linear-Voltage-Regulators-LDO_LOWPOWER-LP3986-33B3F_C387689.html Replacement here]).&lt;br /&gt;
* MOSFET Switch: [https://files.pine64.org/doc/datasheet/pinecil/Changjiang-Electronics-Tech-CJ-CJQ7328.pdf CJQ7328 8A datasheet], Chang Jiang.&lt;br /&gt;
** Hint: people have replaced V1 mosfet using the better rated one from the newer V2 datasheets (HSM4313 has same footprint and higher rating), see V2 section for MOSFET.&lt;br /&gt;
* Acceleration [https://files.pine64.org/doc/datasheet/pinecil/BMA223-Bosch.pdf Bosch BMA223 Sensor Datasheet]&lt;br /&gt;
* Temperature Sensor: [https://files.pine64.org/doc/datasheet/pinecil/TMP35_36_37.pdf Analog Device TMP36 Datasheet], location U10, (possible [https://www.lcsc.com/product-detail/Temperature-Sensors_Analog-Devices-TMP36GRTZ-REEL7_C129489.html replacement here]).&lt;br /&gt;
* Optional Hall Effect Sensor: [https://files.pine64.org/doc/datasheet/pinecil/si7210-datasheet.pdf  Si7210-B-00-IV(R) by Silicon Labs, location U14]. This is a user add-on and does not come installed on the pcb.&lt;br /&gt;
** ([https://www.silabs.com/documents/public/application-notes/an1018-si72xx-sensors.pdf How magnets work near Hall Sensor Si7210])&lt;br /&gt;
** ([https://lcsc.com/product-detail/Position-Sensor_SILICON-LABS-SI7210-B-00-IVR_C2654956.html One place to buy it], also at Digikey and Mouser)&lt;br /&gt;
* OLED Display screen: [https://files.pine64.org/doc/datasheet/pinecil/1810010328_UG-Univision-Semicon-UG-9616TSWCG02_C88335.pdf QUG 9616TSWCG02 Display Module Datasheet]&lt;br /&gt;
* USB Type-C PD Controller: [https://files.pine64.org/doc/datasheet/pinecil/FUSB302-D.PDF FUSB302 USB PD Datasheet]&lt;br /&gt;
* OP Amp information: [https://files.pine64.org/doc/datasheet/pinecil/SGM8557.pdf SGMicro SGM8557-1 Low Noise OP Amp Datasheet (U11)]&lt;br /&gt;
* Capacitors: [https://lcsc.com/product-detail/Multilayer-Ceramic-Capacitors-MLCC-SMD-SMT_YAGEO-CC0603KRX7R9BB105_C559769.html possible replacement part for C5, 1uF/50V]&lt;br /&gt;
* USB-C port: possible part, has not been verified: [https://www.lcsc.com/product-detail/span-style-background-color-ff0-USB-span-Connectors_SHOU-HAN-TYPE-C-24P-QT_C2681555.html Replacement]&lt;br /&gt;
&lt;br /&gt;
GigaDevice RISC-V SoC data:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_Datasheet_Rev%201.1.pdf GigaDevice RISC-V GD32VF103TB SoC Datasheet V1.1]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_User_Manual_EN_V1.2.pdf GigaDevice RISC-V GD32VF103TB SoC Usermanual V1.2]&lt;br /&gt;
&lt;br /&gt;
Breakout Board Datasheet: [https://files.pine64.org/doc/datasheet/pinecil/LP6498B6F.pdf LP6498B6F 1.2A Switching Power Regulator]&lt;br /&gt;
&lt;br /&gt;
== Pinecil V1, 24V Mod ==&lt;br /&gt;
&lt;br /&gt;
{{warning|Do this at your own risk, read everything in this section and related/linked articles, and go to the Pinecil community chat if you desire advice. An incorrect cut of the trace could render the Pinecil non-working.}}&lt;br /&gt;
&lt;br /&gt;
[[File:Pinecil-V1andV2.png|350px|thumb|right| Pinecil V1 has blue rubber. Newer Pinecil V2 has green rubber &amp;amp; Bluetooth LE chip]]&lt;br /&gt;
&lt;br /&gt;
# This modification is '''Not''' for the V2 (sold after Aug 1, 2022 with green thumb grip) as the V2 '''already''' has 24V DC barrel charger capability.&lt;br /&gt;
# If you have an older V1 model, then first upgrade to the newest [[Pinecil#Firmware_&amp;amp;_Updates|firmware here]] before starting this modification. The PD debug menu was added to the firmware in 2.17 and other important fixes came later. Access to the hidden PD debug menu is necessary to assist with this mod.&lt;br /&gt;
# See Ralim's IronOS for how to use the hidden [https://ralim.github.io/IronOS/DebugMenu/#pd-debug-menu PD Debug here] and check if your version of Pinecil V1 could benefit from the modification.&lt;br /&gt;
# If PD-Debug menu says &amp;quot;No VBUS&amp;quot;, then stop here, you do not need the modification or any cut of the trace line, it will not benefit you because there is no connection to the VBUS already. If it says &amp;quot;w. Vbus&amp;quot; then continue. If you don't have a PD-Debug menu, then upgrade to the newest firmware first, see instructions above.&lt;br /&gt;
# Some models of V1 came with the PCB already capable of 24V as the Pine Store made modifications to the PCB (not all batches of V1 were the same). Do the PD debug test first to see if the mod is not required.&lt;br /&gt;
# See the February 2022 [https://www.pine64.org/2022/02/15/february-update-chat-with-the-machine/ Community update here]. The photo is incorrect in the article. It is ''not'' a before and after photo. &lt;br /&gt;
#* Photo shows two separate PCBs of Pinecil V1 made at different times; therefore, the trace is cut in a slightly different location depending on which one it looks like.&lt;br /&gt;
#* The PCB with 2 small via holes and is harder to cut in the correct location to avoid damaging the holes. This is called the &amp;quot;whalecil&amp;quot; in community chat (looks like a whale).&lt;br /&gt;
&lt;br /&gt;
[[File:Pinecil V1 24V Mod.png|400px]]&lt;br /&gt;
&lt;br /&gt;
PCB 1 style (left photo) is easier to cut the trace. Cut all the way across the trace and deep enough to cut the copper contact. PCB 2 style (right photo) is harder because the trace has to be cut without damaging the 2 via holes.&lt;br /&gt;
&lt;br /&gt;
7. Don't plug in 24V until you first check with a USB-C PD charger that PD debug says '''No VBUS''' which means the mod is complete. If it still says '''W. Vbus''', then the connection still exist. Cut a little deeper and clean the cut with some IPA (isopropyl alcohol) to remove any copper dust, dry it and check again. Taking a macro photo with a phone helps to examine the cut. &lt;br /&gt;
If a USB-C charger is not available, often a phone with a USB-C port is a PD type, and can be used like a charger to plug in and check the PD debug messages (unfortunately, a PC port is not normally &amp;quot;PD&amp;quot; and won't give proper PD Debug).  &lt;br /&gt;
&lt;br /&gt;
8. If you want another set of eyes on it before you cut, post a photo of your PCB (near the Pinecone) on the Pine64 &amp;gt; [[Pinecil#Live_Community_Chat|live Pinecil chat channel]]. Ask for a volunteer who has ''completed'' the 24V mod on a Pinecil V1 to assist. Not all chat people own a Pinecil even if they are in the Pinecil channel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Pinecil]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Pinecil:_Test,_Repair,_Issues&amp;diff=21658</id>
		<title>Pinecil: Test, Repair, Issues</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Pinecil:_Test,_Repair,_Issues&amp;diff=21658"/>
		<updated>2024-11-16T20:02:56Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Assemble steps */ Minor wording tweak&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains some common issues and fixes which includes how to dismantle, test and do some repairs.&lt;br /&gt;
&lt;br /&gt;
== Cautions ==&lt;br /&gt;
&lt;br /&gt;
{{warning| while opening your Pinecil will not necessarily void your warranty, all self-repairs are '''done at your own risk'''. Read everything in this section and related or linked articles to get a good idea of the procedure, and go to the Pinecil community chat if you desire advice/support from experienced volunteers. Self-repairs or modifications might void your warranty so proceed if this is not a concern. This information is for educational purposes only.}}&lt;br /&gt;
&lt;br /&gt;
Pinecil V1 and V2 have slightly different schematics and have different MCU chips. Doing repairs often requires referencing the correct schematics or photos. The datasheets are also important to get information about the chips, and to order replacement parts. The schematics and known datasheets are all at the bottom of this article and linked in the contents table at the top. Chatting with other owners of Pinecil is encouraged as they have experience - already broke things so you don't have to (see Pinecil volunteer [[Pinecil#Live_Community_Chat |chat link here]]).&lt;br /&gt;
&lt;br /&gt;
{{Info|This is a new work in progress (WIP) started Feb. 18, 2023 which may be updated over time as volunteers have time to write up information. For sections that are missing, try asking in the live chat as a volunteer may have some clues to get you headed in the right path.}}&lt;br /&gt;
&lt;br /&gt;
== Tools needed ==&lt;br /&gt;
&lt;br /&gt;
# Digital multimeter (DMM)&lt;br /&gt;
# Philips screwdriver&lt;br /&gt;
# All schematics, datasheets for known common parts, and links to where to buy replacement parts are all in this article under [[#Schematics_and_Board_Data| Schematics and board data]].&lt;br /&gt;
#* Refer to the correct section for V1 or V2 parts.&lt;br /&gt;
#* Which model do I have? The older V1 model has an all black handle with a blue silicone grip and was discontinued in July 2022. The new V2 model has a black handle with a green thumb grip and is the only model PINE64 and authorized resellers started selling after August 1, 2022.&lt;br /&gt;
# Magnifying lamp or jeweler's glasses with led light and good room light.&lt;br /&gt;
# Photos/videos will help to chat with volunteers in the [[Pinecil#Live_Community_Chat|live Pinecil chat channel]] if getting clarification or troubleshooting.&lt;br /&gt;
# Optional: mobile phone to take macro photos or video. A macro lens to take phone photos is helpful; there are cheap ones that simply clip on.&lt;br /&gt;
# Possibly another soldering iron to do the repair, some flux, solder, and isopropyl alcohol (IPA) for cleaning the PCB. See [[Pinecil_Cases,_Stands,_Supplies#Soldering_supplies| this guide]] for some basic supply options.&lt;br /&gt;
# Optional: better needle size probe leads for DMM makes things easier and are nice for electronic work. &lt;br /&gt;
# Reference photos are in the [[#Images| Images section below]].&lt;br /&gt;
&lt;br /&gt;
== Dismantle steps ==&lt;br /&gt;
&lt;br /&gt;
=== Easy trick to open Pinecil ===&lt;br /&gt;
&lt;br /&gt;
* Video of easy trick: https://www.youtube.com/watch?v=aK01V5DrrVk  &lt;br /&gt;
&lt;br /&gt;
* Handle replacement [https://wiki.pine64.org/wiki/File:Pinecil_Shell_Replacement_Guide.pdf graphic]&lt;br /&gt;
&lt;br /&gt;
* Step-by-step&lt;br /&gt;
&lt;br /&gt;
# It is recommended to take photos to help with reassembly.&lt;br /&gt;
# Loosen the top tip screw (PH1) (top is the side with the screen).&lt;br /&gt;
# Gently pull the tip out and set aside (let the tip cool down first or use protection to prevent burns).&lt;br /&gt;
# Slide the rubber thumb grip off the front.&lt;br /&gt;
# Remove the bottom-front screw (between the bottom feet (PH1)).&lt;br /&gt;
# Remove the ground screw (longer m2x4mm screw next to the screen near the (-) button (PH1)).&lt;br /&gt;
# Slightly pull the two halves of the case apart at the tip front end first, enough to get a fingernail or guitar pick between 2 parts.&lt;br /&gt;
# Move the pick down the length of the split to loosen the bottom half's clips from the top half of the case.&lt;br /&gt;
# Once loose, remove the bottom half by sliding it a little forward (it is retained by the top half at the DC barrel side).&lt;br /&gt;
# Remove the screws retaining the copper tip contacts (PH000, M1.4 x 5).&lt;br /&gt;
# Remove the copper tip contacts (note the orientation of the contacts &amp;amp; tiny tab hole).&lt;br /&gt;
# Lift the PCB gently up from Tip end.&lt;br /&gt;
# Remove the round copper ring contact from under the PCB, near the tip end of the handle (this is installed first before the PCB because it provides ground contact from the front of the Pinecil to the rear ground screw).&lt;br /&gt;
# Remove the two small round buttons so they do not get lost.&lt;br /&gt;
&lt;br /&gt;
== Assemble steps ==&lt;br /&gt;
&lt;br /&gt;
# Place the two round buttons into the two holes in the top half of the case.&lt;br /&gt;
# Install the round copper ground ring at the tip end '''before installing the PCB'''.&lt;br /&gt;
# Place the PCB board into handle at an angle, DC barrel end goes in first.&lt;br /&gt;
## Lower the rest of the board into the case and align the PCB with the two contact screw holes.&lt;br /&gt;
# Install the two copper tip contacts (note the small tab on the contact and the small hole in the PCB for it).&lt;br /&gt;
## Orient the contact to align the alignment pin with the alignment hole next to the big hole on one of the big gold pads.&lt;br /&gt;
## Install and gently tighten the PH000 screw until the clip is no longer loose.&lt;br /&gt;
# Place the bottom half of the case into the top half by sliding the lip on the port side (side without the feet) of the bottom half under the arch of the port side of the top half.&lt;br /&gt;
# Gently close the case by bringing the two halves together, paying attention to each clip's alignment and ensuring the case edges align.&lt;br /&gt;
# Install the short PH1 screw at the bottom of the tip side of the case.&lt;br /&gt;
# Install the longer PH1 screw at the ground connection point at the top side of the case (between the display and the ports).&lt;br /&gt;
# Slide the rubber sleeve on (larger ridge first).&lt;br /&gt;
# Gently insert tip.&lt;br /&gt;
# Gently tighten the top PH1 screw to retain the tip.&lt;br /&gt;
{{Info| For normal operation of the iron, omission of the copper ring in step #2 does not impact operation. If you are working with ESD components, you need it in order to ground the iron tip via the earth screw at the back of the iron. It is recommended to keep this installed.}}&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
=== Common Fixes ===&lt;br /&gt;
&lt;br /&gt;
# Sometimes, just updating to the newest firmware fixes issues as Ralim and team are very active in adding features and &amp;lt;s&amp;gt;bug fixes&amp;lt;/s&amp;gt; enhancements (see [[Pinecil#Firmware_&amp;amp;_Updates| Firmware]]). &lt;br /&gt;
# Some [https://ralim.github.io/IronOS/Troubleshooting/ Troubleshooting information] is also on GitHub Ralim's IronOS (which is the firmware that is on the Pinecil). There are several hidden Debug tools in the firmware that also help with diagnosis.&lt;br /&gt;
# Clean all new Tips (Cartridges) with 90%-99% IPA (Isopropyl Alcohol) especially the white end with the 2 silver contacts.&lt;br /&gt;
# If you can't find the information here or it hasn't been written yet; simply join the volunteer run [[Pinecil#Live_Community_Chat| live Pinecil chat channel]]. Sometimes you can get a clue to the right path.&lt;br /&gt;
&lt;br /&gt;
=== Common Questions ===&lt;br /&gt;
&lt;br /&gt;
# '''Temperature is flickering wildly''': &lt;br /&gt;
#* Most likely just need to clean whole cartridge/tip with IPA ([https://github.com/Ralim/IronOS/issues/1601 reference issue]). See [[#Poor_Contact_Fix|Poor Contact Fix here]]. &lt;br /&gt;
#* If it's jumping wildly after reaching set temperature, this is also caused by using a low amp/volt charger that is below the 3amp minimum required for pinecil (per manufacturer rating), upgrading to a 3.25amp/20V USB-C charger often fixes this ([https://github.com/Ralim/IronOS/issues/1644 reference issue]).&lt;br /&gt;
#* Some people might see a random spike while idle. Solution: update firmware, there are some ADC timing adjustments in IronOS 2.21+; it's a good idea to keep your firmware updated to newest stable release ([https://github.com/Ralim/IronOS/issues/1485 reference issue]). This fix is included in 2.21+ release.&lt;br /&gt;
# '''Screen shows X symbol''' (no tip installed) and I have a tip installed. Ensure the cartridge/tip is properly installed: remove the front Tip screw, check that the cartridge/tip is pushed all the way in and the round metal collar is pressed against the black handle [https://wiki.pine64.org/wiki/File:Pinecilv2-1.jpg see photo here]. Reinstall the screw. See [[#Tip_Problems|Tip Problems]] and [[#Poor_Contact_repair|Poor Contact repair]].&lt;br /&gt;
# '''Screen shows the symbol (X) randomly on new Pinecil''': tip is installed and it heats up and works fine, but randomly I see the no tip symbol (X) come and go for a second. See #1 above, it is most likely the same reason, clean the metal contacts on the rear of the cartridge/tip (even if it looks clean, could have residue/oils). Follow the same instructions for [[#Poor_Contact_Fix|Poor Contact Fix here]]. [https://github.com/Ralim/IronOS/issues/1601 Reference ticket on Github].&lt;br /&gt;
# '''How do I install the optional Hall Effect Sensor?''' See the [[Pinecil_Hall_Effect_Sensor| Hall Effect Sensor]] article for installation; location is U14 on the PCB &amp;amp; in the Schematics. Reference schematics section [[#Schematics_and_Board_Data| here]] also.&lt;br /&gt;
# '''Help, I think I bricked Pinecil doing an update''': no worries, it's very hard to brick a Pinecil because of the way the firmware is loaded in ROM. Usually just flashing again with a newer or different version brings it back to life ([[Pinecil#Firmware_&amp;amp;_Updates|see Firmware]]). This can be done even if you can't see your screen anymore.&lt;br /&gt;
# '''My Pinecil keeps rebooting''': some laptop ports are not compatible to do updates and show pinecil screen rebooting, change to a different ports on the laptop or different machine (e.g., sometimes the USB-A port works where the usb-C did not). If it is rebooting connected to a power charger, change to a different charger or add a ground wire to your Pinecil ground screw (search for ''ts100 ground wire'' on a search engine). Also see the [[Pinecil#Power_Supplies_and_Watts|Power Supplies article]]. This could happen because of the way 2-prong no-ground chargers are made with no ground path for small current leakage. Also try to plug the charger into a surge protector strip (type that have 3-prong ground and plug the surge protector into a 3-prong grounded wall outlet). Try a different cable or flipping the cable over also.&lt;br /&gt;
# '''Tip is glowing red hot'''. Unplug immediately, you have most likely a blown MOSFET, check that out, replacement parts in Datasheets below. Tip is probably damaged too. Make sure you are using the correct rated charger for Pinecil (some cheap, universal or no-brand DC bricks can damage electronics from spiking voltages). &lt;br /&gt;
# '''My temperature display is way off and Pinecil is at room temerature''': first, check [[#Poor_Contact_Fix| poor contact fix here]]. Then enter the hidden debug menu and look for HAN C which is the internal handle temperature. This should normally be close to or slightly higher than the room temperature if the pinecil tip is also at room temperature. Under load, the HAN C can go up a bit, otherwise when the tip is cold, the HAN C should be close to ambient. Depending on your version of IronOS, the debug menu will show as HAN C or C Han. See IronOS [https://ralim.github.io/IronOS/Troubleshooting/ Troubleshooting here], especially about CHan and the Temperature sensor. If the reading is out of spec (very low/high), and reflowing/resoldering the Temperature sensor does not work, replacement might be needed.&lt;br /&gt;
# '''I see &amp;lt;code&amp;gt;Thermal Runaway&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Undervoltage&amp;lt;/code&amp;gt; messages on the screen'''. This is often caused by using a weak power supply that does not have a minimum of 12V-3amps and is not rated to work with Pinecil. Pinecil will stop heat to the tip and display &amp;lt;code&amp;gt;Thermal Runaway&amp;lt;/code&amp;gt;.&lt;br /&gt;
#* TL;DR get a USB-C charger 20V 3.25 amps, PD 65W (best bang for the buck for good Pinecil performance) many available between $15-$25.&lt;br /&gt;
#* Detailed information on chargers and suggested types is in the article [[Pinecil Power Supplies]].&lt;br /&gt;
# '''I plugged in the wrong kind of DC barrel charger, it was a not Center-positive pin and now the Pinecil won't turn on''': see [[#Reverse_polarity_damage| Reverse polarity damage]]. Usually requires replacing the MOSFET (U13) and Buck Converter/Step-down (U8). See the datasheets for links to parts.&lt;br /&gt;
# '''I hear a sizzling/crackle sound from my new Pinecil''': this small noise is usually fine and may disappear after a few days of use, see [[#Hissing_Crackle_Sound| Hissing Crackle Sound]].&lt;br /&gt;
# '''Screen is black''': first try to update firmware. Check out the IronOS troubleshooting [https://ralim.github.io/IronOS/Troubleshooting/#no-display-or-dots-on-the-display guide here] for possible issues. See the [[#Datasheets_for_Components|datasheets here]] at the bottom of this article for links to replacement parts. Repair method would be similar to ts100 screens of which there are many guides like [https://www.youtube.com/watch?v=HlWAY0oYPFI this video]. If the tip heats up, but screen is black, the OLED may have failed/burned out. If tip does not heat up, it may be something else. Sometimes just reflow/reheat the solder for the OLED screen fixes issues. Using OLED screen at lower brightness extends the life.&lt;br /&gt;
&lt;br /&gt;
== Solutions ==&lt;br /&gt;
&lt;br /&gt;
=== Hissing Crackle Sound ===&lt;br /&gt;
&lt;br /&gt;
# The sizzle sound will usually go away after a few days of use and heating up the iron. First, clean the tip contacts (at the white end of the cartridge) with IPA (isopropyl alcohol), heat it up a few times to 350 °C to break it in (add solder to the tip to protect it).&lt;br /&gt;
# Ralim said, &amp;quot;there is usually a bit of noise when you first use it, and a slight hiss/pop noise from the handle and that is normal. depends a bit on exactly what batch of caps are in your unit. The Tip drive signal is AC coupled through a capacitor for safety, downside is that it means the firmware is hitting that cap with a square wave the whole time the tip is on. Once you have heated up the duty cycle, it drops off so it's not as noticeable.&amp;quot;&lt;br /&gt;
# Some members reported that after they opened their new Pinecil, wiped the PCB and tips gently with IPA, let it dry, all the sizzling noise went away. They also did a break-in of the new tips, bringing the temperature to 350 C a few times.&lt;br /&gt;
# Video of similar [https://www.reddit.com/r/soldering/comments/qv66a6/weird_crackling_noise_from_ts100_not_from_the_hot/ crackle sound] on the ts100 iron (don't have example of Pinecil, but it's similar sound).&lt;br /&gt;
&lt;br /&gt;
=== Cartridge/Tip Problems ===&lt;br /&gt;
&lt;br /&gt;
# Wipe entire tip (cartridge) clean, details in [[#Poor_Contact_test_and_repair|Poor Contact]] section&lt;br /&gt;
# Using a multimeter, switch it to ohms to measure resistance. Measure the two silver bands at the rear (white end).&lt;br /&gt;
# If it measures OL or infinity, or extremely out of the spec range below, it might be bad.&lt;br /&gt;
# Note, only measure when cartridge/tip is cold and unused for a couple hours (a warm tip will have much higher resistance/ohm reading).&lt;br /&gt;
#* Normal ts100 style tips should measure ~7.8 ohms - 8.3 ohms (when cold)&lt;br /&gt;
#* PINE64 brand Short tips should measure ~6.1-6.5 ohms (when cold).&lt;br /&gt;
#* See the [[Pinecil Tips]] for more details.&lt;br /&gt;
&lt;br /&gt;
=== Poor Contact Fix ===&lt;br /&gt;
&lt;br /&gt;
[[File:CleanTip-Cartridge-Contacts.jpg|none|300px|thumb| Clean contacts with IPA]]&lt;br /&gt;
&lt;br /&gt;
# Most likely the tip (cartridge) is not making good contact (at the silver bands on the rear white end). Usually this issue goes away after a few days of use as the cartridge rubs against the internal contacts more. New cartridges could have factory residue or oils on them that interferes with the R-tip reading.&lt;br /&gt;
# To fix this issue quicker, wipe all new tips (cartridges) with a dry towel or 90-99% IPA (isopropyl alcohol) especially the two silver contacts at the white end (do not use water to wipe as it could get into the seam line on the white end). &lt;br /&gt;
# With the Pinecil unplugged, remove and reinsert the tip a couple times and spin it a little inside against the contacts. Then plug it in and heat it up to 350 °C a few times for a couple minutes. These steps tend to resolve most new Pinecil or new cartridges causing flickering temperatures or &amp;quot;no-tip&amp;quot; icon displays randomly.&lt;br /&gt;
# Always unplug Pinecil before swapping tips. Hot swapping is not a good idea, and for the V2 this could cause strange behavior as the V2 auto-detects tip resistance only on power-up or reboot.&lt;br /&gt;
# Sometimes just disassembling and reassembling all parts back correctly and installing the 2 internal contacts with screws correctly also helps.&lt;br /&gt;
# Poor contact could happen if the tips are not clean or brand new with factory residue or not making good contact with the internal clips inside the Pinecil. The two contacts inside might need to also be removed, wiped and reinstalled with the two screws (ensure the small metal tab on the clip sits into the small hole in the PCB).&lt;br /&gt;
# See '''[[Pinecil_Tips#How_to_check_new_tips?| Pinecil Tips]]''' article for more details on testing.&lt;br /&gt;
&lt;br /&gt;
=== Not Powering Up Anymore ===&lt;br /&gt;
&lt;br /&gt;
There are reports&lt;br /&gt;
([https://forum.pine64.org/showthread.php?tid=12661 #1],&lt;br /&gt;
[https://www.reddit.com/r/PINE64official/comments/q8d08a/pinecil_does_not_power_on/ #2])&lt;br /&gt;
that Pinecil that has been working stopped powering on. Note this is different from black screen issue mentioned above - in this case, Pinecil simply does not power on and also does not recognized as an USB device. Also, it is not an USB-PD compatibility issue as the device has been working fine up until this issue.&lt;br /&gt;
&lt;br /&gt;
It has been reported that dead USB-PD controller (FUSB302MPX) was the cause. While the root cause of the failure is still unknown, Pinecil can be 'repaired' by removing the chip, allowing it to be used as a DC-powered soldering iron.  Removing FUSB302MPX (small 5x5mm QFN) requires some effort, but it is doable by careful desoldering (or hotair desoldering).&lt;br /&gt;
&lt;br /&gt;
=== Reverse Polarity Damage ===&lt;br /&gt;
&lt;br /&gt;
Pinecil requires a center-positive DC power supply which most are, but some are reverse polarity and will destroy the electronics if used. If you plugged in a &amp;quot;center-negative&amp;quot; DC power supply, most likely the MOSFET and the buck converter are broken. This usually requires replacing the MOSFET (U13) and buck converter / step-down (U8). See the datasheets for links to replacement parts which is at the bottom of this article [[#Datasheets_for_Components| here]].&lt;br /&gt;
&lt;br /&gt;
{{Note|1='''Check the polarity''' of the DC barrel plug before plugging in a random charger. Incorrect polarity will break the Pinecil. The [https://www.youtube.com/watch?v=5DBTNplNTfA video here] shows how to check.}}&lt;br /&gt;
&lt;br /&gt;
[[File:AC adaptor polarity.png|400px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Nintendo-center-negative.png|300px]]&lt;br /&gt;
&lt;br /&gt;
Reference the article on [[Pinecil_Power_Supplies#DC_Barrel_Power| DC barrel chargers here]], (i.e., laptop bricks) for appropriate USB-C and DC chargers that will work with the Pinecil.&lt;br /&gt;
&lt;br /&gt;
== Images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot;&amp;gt;&lt;br /&gt;
Image:PCP-Top-side-screen.jpg|Screen side: V2 on top, V1 below&lt;br /&gt;
Image:PCP-Bottom-Side.jpg|Pinecone side: V2 on top, V1 below&lt;br /&gt;
File:Pinecil v2 MOSFET.JPG | MOSFET V2 |alt=alt language&lt;br /&gt;
File:FUSB302-V2-02.JPG | FUSB302 V2 |alt=alt language&lt;br /&gt;
File:Pinecil LDOandOP-Amp.png| LDO and OP-Amp|alt=alt language&lt;br /&gt;
File:Under OLED screen01.png| Under the OLED screen, V2|alt=alt language&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Schematics and Board Data ==&lt;br /&gt;
&lt;br /&gt;
=== Pinecil V2 mainboard schematic ===&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil_schematic_v2.0_20220608.pdf Pinecil mainboard schematic ver 2.0 20220608, this is production version schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil_PCB_placement_v2.0_20220608.pdf Pinecil mainboard ver 2.0 PCB Component Placement PDF file]&lt;br /&gt;
&lt;br /&gt;
=== Pinecil V1 mainboard schematic ===&lt;br /&gt;
&lt;br /&gt;
V1 was only sold until July 2022, and then discontinued for newer V2 model&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil_schematic_v1.0a_20201120.pdf Pinecil mainboard schematic ver 1.0 20201120, this is production version schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Top PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Bottom PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Top Drawing file]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Bottom Drawing file]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components ==&lt;br /&gt;
&lt;br /&gt;
=== Pinecil V2 datasheets ===&lt;br /&gt;
&lt;br /&gt;
* Power MOSFET Switch: [https://datasheet.lcsc.com/lcsc/2105241831_HUASHUO-HSM4313_C2828487.pdf HSM4313], location U13 (replacement [https://lcsc.com/product-detail/MOSFETs_HUASHUO-HSM4313_C2828487.html HSM4313])&lt;br /&gt;
* LDO Regulator: [https://datasheet.lcsc.com/lcsc/1912111437_LOWPOWER-LP3986-33B3F_C387689.pdf LP 3986-33], Ultra-low noise, location U5 (replacement [https://www.lcsc.com/product-detail/Linear-Voltage-Regulators-LDO_LOWPOWER-LP3986-33B3F_C387689.html LP 3986-33])&lt;br /&gt;
* Buck Converter: [https://datasheet.lcsc.com/lcsc/2108072230_TECH-PUBLIC-TP6841S6_C2844736.pdf TP6841S6 40V], Step-Down, location U8 (replacement [https://www.lcsc.com/product-detail/DC-DC-Converters_TECH-PUBLIC-TP6841S6-A_C2844924.html TP6841S6-A])&lt;br /&gt;
* USB-C PD Controller: [https://rocelec.widen.net/view/pdf/0av2cqef3a/FAIR-S-A0001311862-1.pdf?t.download=true&amp;amp;u=5oefqw FUSB302MPX], location U1 (replacement [https://www.lcsc.com/product-detail/span-style-background-color-ff0-USB-span-ICs_onsemi-Fusb302mpx_C442699.html FUSB302MPX])&lt;br /&gt;
* Acceleration/Gyroscope: [https://lcsc.com/product-detail/Attitude-Sensor-Gyroscope_Hangzhou-Silan-Microelectronics-SC7A20TR_C5126709.html SC7A20 sensor], Silan, location U9 (replacement unknown)&lt;br /&gt;
* NTC Temperature Sensor: [https://media.digikey.com/pdf/Data%20Sheets/TDK%20PDFs/NTCG163JF103FTDS_Spec.pdf NTCG163JF103FTDS], location NTC1 (replacement [https://lcsc.com/product-detail/span-style-background-color-ff0-NTC-span-Thermistors_TDK-NTCG163JF103FTDS_C435270.html NTC here]). Note that U10 is empty if NTC type thermistor is used.&lt;br /&gt;
* Optional Hall Effect Sensor: [https://files.pine64.org/doc/datasheet/pinecil/si7210-datasheet.pdf Si7210-B-00-IV(R)] by Silicon Labs, location U14. This is a user add-on and does not come installed on the PCB.&lt;br /&gt;
** [https://www.silabs.com/documents/public/application-notes/an1018-si72xx-sensors.pdf How magnets work near Hall Sensor Si7210]&lt;br /&gt;
** Replacement [https://lcsc.com/product-detail/Position-Sensor_SILICON-LABS-SI7210-B-00-IVR_C2654956.html Si7210-B-00-IV], also at Digikey and Mouser&lt;br /&gt;
* Operational Amplifier [https://files.pine64.org/doc/datasheet/pinecil/SGM8557.pdf SGM8557-1AXN5G], SGMicro, Low Noise OP Amp Datasheet, location U11 (replacement unknown).&lt;br /&gt;
* Display Screen OLED [https://files.pine64.org/doc/datasheet/pinecil/1810010328_UG-Univision-Semicon-UG-9616TSWCG02_C88335.pdf QUG-9616TSWCG02] datasheet (replacement [https://www.lcsc.com/product-detail/OLED-Displays-Modules_UG-Univision-Semicon-UG-9616TSWCG02_C88335.html QUG-9616TSWCG02] OLED Display).&lt;br /&gt;
&lt;br /&gt;
MCU: Bouffalo Labs, BL-706_QFN48, RISC-V + 2.4 GHz RF SoC&lt;br /&gt;
* [https://lupyuen.github.io/articles/bl706 BL706 Analysis], by Lupyuen, includes datasheet, location U15.&lt;br /&gt;
* [https://dev.bouffalolab.com/media/doc/702/open/datasheet/en/html/index.html BL706 datasheet] and its [https://github.com/bouffalolab/bl_docs/blob/main/BL702_DS/en/BL702_704_706_DS_en_2.6.pdf PDF version]&lt;br /&gt;
* [https://dev.bouffalolab.com/media/doc/702/open/reference_manual/en/html/index.html BL706 Reference Manual] and its [https://github.com/bouffalolab/bl_docs/blob/main/BL702_RM/en/BL702_BL704_BL706_RM_en_1.2.pdf PDF version]&lt;br /&gt;
* [https://github.com/bouffalolab/bl_mcu_sdk SDK and Bouffalo documents]&lt;br /&gt;
* [https://datasheet.lcsc.com/lcsc/1912111437_TAE-Zhejiang-Abel-Elec-TAXM32M4ZFBCCT2T_C388797.pdf SMD Resonator] for Bluetooth BLE,  32MHZ/12PF-10PPM, SMD2016-4P, location UX1 (replacement [https://lcsc.com/product-detail/Crystals_TAE-Zhejiang-Abel-Elec-TAXM32M4ZFBCCT2T_C388797.html SMD Resonator]).&lt;br /&gt;
&lt;br /&gt;
USB-C port:&lt;br /&gt;
* possible part, has not been verified: [https://www.lcsc.com/product-detail/span-style-background-color-ff0-USB-span-Connectors_SHOU-HAN-TYPE-C-24P-QT_C2681555.html Replacement USB-C port]&lt;br /&gt;
&lt;br /&gt;
=== Pinecil V1 datasheets ===&lt;br /&gt;
&lt;br /&gt;
* Buck converter: [https://files.pine64.org/doc/datasheet/pinecil/RT7272B-05.pdf RT7272B 3A Datasheet], Ricktek, Step-Down converter, location U8 &lt;br /&gt;
* LDO Regulator: [https://datasheet.lcsc.com/lcsc/1912111437_LOWPOWER-LP3986-33B3F_C387689.pdf LP 3986-33], location U5, ([https://www.lcsc.com/product-detail/Linear-Voltage-Regulators-LDO_LOWPOWER-LP3986-33B3F_C387689.html Replacement here]).&lt;br /&gt;
* MOSFET Switch: [https://files.pine64.org/doc/datasheet/pinecil/Changjiang-Electronics-Tech-CJ-CJQ7328.pdf CJQ7328 8A datasheet], Chang Jiang.&lt;br /&gt;
** Hint: people have replaced V1 mosfet using the better rated one from the newer V2 datasheets (HSM4313 has same footprint and higher rating), see V2 section for MOSFET.&lt;br /&gt;
* Acceleration [https://files.pine64.org/doc/datasheet/pinecil/BMA223-Bosch.pdf Bosch BMA223 Sensor Datasheet]&lt;br /&gt;
* Temperature Sensor: [https://files.pine64.org/doc/datasheet/pinecil/TMP35_36_37.pdf Analog Device TMP36 Datasheet], location U10, (possible [https://www.lcsc.com/product-detail/Temperature-Sensors_Analog-Devices-TMP36GRTZ-REEL7_C129489.html replacement here]).&lt;br /&gt;
* Optional Hall Effect Sensor: [https://files.pine64.org/doc/datasheet/pinecil/si7210-datasheet.pdf  Si7210-B-00-IV(R) by Silicon Labs, location U14]. This is a user add-on and does not come installed on the pcb.&lt;br /&gt;
** ([https://www.silabs.com/documents/public/application-notes/an1018-si72xx-sensors.pdf How magnets work near Hall Sensor Si7210])&lt;br /&gt;
** ([https://lcsc.com/product-detail/Position-Sensor_SILICON-LABS-SI7210-B-00-IVR_C2654956.html One place to buy it], also at Digikey and Mouser)&lt;br /&gt;
* OLED Display screen: [https://files.pine64.org/doc/datasheet/pinecil/1810010328_UG-Univision-Semicon-UG-9616TSWCG02_C88335.pdf QUG 9616TSWCG02 Display Module Datasheet]&lt;br /&gt;
* USB Type-C PD Controller: [https://files.pine64.org/doc/datasheet/pinecil/FUSB302-D.PDF FUSB302 USB PD Datasheet]&lt;br /&gt;
* OP Amp information: [https://files.pine64.org/doc/datasheet/pinecil/SGM8557.pdf SGMicro SGM8557-1 Low Noise OP Amp Datasheet (U11)]&lt;br /&gt;
* Capacitors: [https://lcsc.com/product-detail/Multilayer-Ceramic-Capacitors-MLCC-SMD-SMT_YAGEO-CC0603KRX7R9BB105_C559769.html possible replacement part for C5, 1uF/50V]&lt;br /&gt;
* USB-C port: possible part, has not been verified: [https://www.lcsc.com/product-detail/span-style-background-color-ff0-USB-span-Connectors_SHOU-HAN-TYPE-C-24P-QT_C2681555.html Replacement]&lt;br /&gt;
&lt;br /&gt;
GigaDevice RISC-V SoC data:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_Datasheet_Rev%201.1.pdf GigaDevice RISC-V GD32VF103TB SoC Datasheet V1.1]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_User_Manual_EN_V1.2.pdf GigaDevice RISC-V GD32VF103TB SoC Usermanual V1.2]&lt;br /&gt;
&lt;br /&gt;
Breakout Board Datasheet: [https://files.pine64.org/doc/datasheet/pinecil/LP6498B6F.pdf LP6498B6F 1.2A Switching Power Regulator]&lt;br /&gt;
&lt;br /&gt;
== Pinecil V1, 24V Mod ==&lt;br /&gt;
&lt;br /&gt;
{{warning|Do this at your own risk, read everything in this section and related/linked articles, and go to the Pinecil community chat if you desire advice. An incorrect cut of the trace could render the Pinecil non-working.}}&lt;br /&gt;
&lt;br /&gt;
[[File:Pinecil-V1andV2.png|350px|thumb|right| Pinecil V1 has blue rubber. Newer Pinecil V2 has green rubber &amp;amp; Bluetooth LE chip]]&lt;br /&gt;
&lt;br /&gt;
# This modification is '''Not''' for the V2 (sold after Aug 1, 2022 with green thumb grip) as the V2 '''already''' has 24V DC barrel charger capability.&lt;br /&gt;
# If you have an older V1 model, then first upgrade to the newest [[Pinecil#Firmware_&amp;amp;_Updates|firmware here]] before starting this modification. The PD debug menu was added to the firmware in 2.17 and other important fixes came later. Access to the hidden PD debug menu is necessary to assist with this mod.&lt;br /&gt;
# See Ralim's IronOS for how to use the hidden [https://ralim.github.io/IronOS/DebugMenu/#pd-debug-menu PD Debug here] and check if your version of Pinecil V1 could benefit from the modification.&lt;br /&gt;
# If PD-Debug menu says &amp;quot;No VBUS&amp;quot;, then stop here, you do not need the modification or any cut of the trace line, it will not benefit you because there is no connection to the VBUS already. If it says &amp;quot;w. Vbus&amp;quot; then continue. If you don't have a PD-Debug menu, then upgrade to the newest firmware first, see instructions above.&lt;br /&gt;
# Some models of V1 came with the PCB already capable of 24V as the Pine Store made modifications to the PCB (not all batches of V1 were the same). Do the PD debug test first to see if the mod is not required.&lt;br /&gt;
# See the February 2022 [https://www.pine64.org/2022/02/15/february-update-chat-with-the-machine/ Community update here]. The photo is incorrect in the article. It is ''not'' a before and after photo. &lt;br /&gt;
#* Photo shows two separate PCBs of Pinecil V1 made at different times; therefore, the trace is cut in a slightly different location depending on which one it looks like.&lt;br /&gt;
#* The PCB with 2 small via holes and is harder to cut in the correct location to avoid damaging the holes. This is called the &amp;quot;whalecil&amp;quot; in community chat (looks like a whale).&lt;br /&gt;
&lt;br /&gt;
[[File:Pinecil V1 24V Mod.png|400px]]&lt;br /&gt;
&lt;br /&gt;
PCB 1 style (left photo) is easier to cut the trace. Cut all the way across the trace and deep enough to cut the copper contact. PCB 2 style (right photo) is harder because the trace has to be cut without damaging the 2 via holes.&lt;br /&gt;
&lt;br /&gt;
7. Don't plug in 24V until you first check with a USB-C PD charger that PD debug says '''No VBUS''' which means the mod is complete. If it still says '''W. Vbus''', then the connection still exist. Cut a little deeper and clean the cut with some IPA (isopropyl alcohol) to remove any copper dust, dry it and check again. Taking a macro photo with a phone helps to examine the cut. &lt;br /&gt;
If a USB-C charger is not available, often a phone with a USB-C port is a PD type, and can be used like a charger to plug in and check the PD debug messages (unfortunately, a PC port is not normally &amp;quot;PD&amp;quot; and won't give proper PD Debug).  &lt;br /&gt;
&lt;br /&gt;
8. If you want another set of eyes on it before you cut, post a photo of your PCB (near the Pinecone) on the Pine64 &amp;gt; [[Pinecil#Live_Community_Chat|live Pinecil chat channel]]. Ask for a volunteer who has ''completed'' the 24V mod on a Pinecil V1 to assist. Not all chat people own a Pinecil even if they are in the Pinecil channel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Pinecil]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote_Development/UART&amp;diff=21656</id>
		<title>PineNote Development/UART</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote_Development/UART&amp;diff=21656"/>
		<updated>2024-11-15T20:23:29Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Stock dongle */ Ditto&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pinenote-uart-dongle.jpeg|thumb|Basic non-stock PineNote UART dongle]]&lt;br /&gt;
&lt;br /&gt;
This page contains information on creating and using a [https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter UART] dongle for the [[PineNote]].&lt;br /&gt;
The PineNote was shipped with a compatible UART dongle, but replacements are not available to order in case of loss or hardware fault.&lt;br /&gt;
Thankfully it is not difficult to make your own from easily-acquired components and a small bit of soldering.&lt;br /&gt;
&lt;br /&gt;
Fear not if you've never soldered anything before!&lt;br /&gt;
This serves as an excellent first soldering project.&lt;br /&gt;
Borrow the tools from a friend, local hackerspace, or tool library.&lt;br /&gt;
Pine64 also makes [[Pinecil|a nice soldering iron]] themselves.&lt;br /&gt;
&lt;br /&gt;
A PineNote UART dongle enables you to:&lt;br /&gt;
# Interact with the system boot menu&lt;br /&gt;
# Read system events in real time as the PineNote is used&lt;br /&gt;
# Fix the PineNote without opening the case if something goes wrong while [[PineNote Development/Flashing|flashing it]]&lt;br /&gt;
&lt;br /&gt;
Since the PineNote is an embedded system, interfacing with it during boot is more complicated than with an ordinary computer.&lt;br /&gt;
The UART dongle enables you to do this.&lt;br /&gt;
&lt;br /&gt;
The PineNote factory firmware runs UART at a baud rate of 1500000 bps, 8 data bits, 1 stop bit, no parity and no flow control.&lt;br /&gt;
The process by which the PineNote design was modified to include closed-case UART is documented [[PineNote/Hardware Changes/Closed Case UART|here]].&lt;br /&gt;
&lt;br /&gt;
== Stock dongle ==&lt;br /&gt;
{{Warning|The second PineNote batch, which started shipping during the first half of November 2024, is the last batch that has the USB UART dongle included in the box.}}&lt;br /&gt;
&lt;br /&gt;
The stock UART dongle included with the PineNote is a simple device that plugs directly into the PineNote's USB-C port.  The dongle exposes a female USB-C port, which the user connects to their host computer to get access to the serial console UART.  This design unfortunately ruled out passthrough USB connections, where the user connects to the PineNote via UART and USB simultaneously.  The dongle is not currently available separately for purchase.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Pinenote-stock-uart-dongle-front.jpg|Front&lt;br /&gt;
Pinenote-stock-uart-dongle-back.jpg|Back&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Creating a dongle ==&lt;br /&gt;
&lt;br /&gt;
A typical self-built PineNote UART dongle design has the following components:&lt;br /&gt;
# A USB-C breakout board with a male connector exposing the 24 pins of the PineNote's USB-C port&lt;br /&gt;
# A USB-UART adapter, to plug into a USB port of the computer you'll use to interface with the PineNote&lt;br /&gt;
# [https://en.wikipedia.org/wiki/Jump_wire Jump wires] to connect specific breakout board pins to pins on the USB-UART adapter&lt;br /&gt;
# Two 1,000 Ohm through-hole resistors to splice into the jump wires&lt;br /&gt;
# Electrical tape or heat shrink to wrap connectors and prevent shorts&lt;br /&gt;
&lt;br /&gt;
You will also need the following tools:&lt;br /&gt;
# Soldering iron with solder&lt;br /&gt;
# Wire cutters &amp;amp; strippers&lt;br /&gt;
&lt;br /&gt;
The PineNote's internal UART system is documented in [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf this schematic].&lt;br /&gt;
The purpose of all 24 USB-C pins is documented [https://en.wikipedia.org/wiki/USB-C#Receptacles on the USB-C Wikipedia page].&lt;br /&gt;
We are interested in three sets of pins:&lt;br /&gt;
# The SBU1 (A8) and SBU2 (B8) side band use pins&lt;br /&gt;
# The CC1 (A5) and CC2 (B5) configuration channel pins&lt;br /&gt;
# The GND [https://en.wikipedia.org/wiki/Ground_(electricity) ground return] pins (A1, A12, B1, and B12)&lt;br /&gt;
&lt;br /&gt;
In the PineNote UART schematic you can see (on the bottom right diagram labeled &amp;lt;code&amp;gt;USB_TYPEC_Male&amp;lt;/code&amp;gt;) the side band pins are given the labels &amp;lt;code&amp;gt;UART2_TX_SUB1&amp;lt;/code&amp;gt; for A8 and &amp;lt;code&amp;gt;UART2_RX_SUB2&amp;lt;/code&amp;gt; for B8.&lt;br /&gt;
The first (TX) is used for transmitting data and the second (RX) is used for receiving data, from the perspective of the PineNote.&lt;br /&gt;
Also note the configuration channel pins labeled &amp;lt;code&amp;gt;TYPEC_CC1&amp;lt;/code&amp;gt; for A5 and &amp;lt;code&amp;gt;TYPEC_CC2&amp;lt;/code&amp;gt; for B5.&lt;br /&gt;
The diagram shows they must be connected to a 3.3V source in parallel, mediated by resistors.&lt;br /&gt;
Per the USB-C standard, when these pins are pulled high this indicates the device should enter [https://en.wikipedia.org/wiki/USB-C#Debug_Accessory_Mode Debug Accessory Mode]; connecting them to a voltage source &amp;amp; limiting the current with [https://www.electronics-tutorials.ws/logic/pull-up-resistor.html pull-up resistors] accomplishes this.&lt;br /&gt;
The schematic indicates 10,000 Ohm resistors, but community member Visti Andresen (talpadk) experimented and found 1,000 Ohm resistors work better.&lt;br /&gt;
Our mission is to wire up pins from a USB-UART adapter to a USB-C breakout board following these requirements.&lt;br /&gt;
&lt;br /&gt;
=== Buying components ===&lt;br /&gt;
&lt;br /&gt;
There are many possible USB-C breakout board designs available for purchase online.&lt;br /&gt;
One particularly useful design is a &amp;quot;passthrough&amp;quot; or &amp;quot;intercept&amp;quot; style, with both male and female USB-C ports.&lt;br /&gt;
This design is more versatile in case you want to reuse it in other projects, and also enables you to connect to the PineNote via UART and USB at the same time.&lt;br /&gt;
An example of this product can be found [https://pmdway.com/products/usb-3-1-type-c-male-to-female-breakout-test-board here], although you are encouraged to shop around for cheaper options.&lt;br /&gt;
If you're fine with a bit more soldering, there is a very cheap one [https://www.ebay.com/itm/275407037613 here].&lt;br /&gt;
&lt;br /&gt;
Similarly, there are many USB-UART adapter designs available.&lt;br /&gt;
These devices plug into your computer and expose a number of pins themselves, connecting to specific pins on the breakout board with jump wires.&lt;br /&gt;
It is important to get a 3.3V model, or at least a model with the option of 3.3V, as a 5V source might fry the PineNote.&lt;br /&gt;
[https://pmdway.com/products/usb-to-ttl-serial-cp2104-6-pin-converter-module Here] is one example with jump wires included, although you are again encouraged to shop around for alternatives.&lt;br /&gt;
&lt;br /&gt;
All other necessary components of our UART dongle are readily &amp;amp; cheaply available in many locations.&lt;br /&gt;
&lt;br /&gt;
=== Splicing resistors ===&lt;br /&gt;
&lt;br /&gt;
[[File:PineNote-UART-Y-pull-up-resistor-cable.jpg|thumb|The desired end result; wrap removed from resistors for illustration purposes.]]&lt;br /&gt;
&lt;br /&gt;
This is the only difficult part of the whole process.&lt;br /&gt;
Your goal is to create a Y-shaped jump wire with 1,000 Ohm through-hole resistors spliced into each of the twin arms.&lt;br /&gt;
The solitary leg will connect to a 3.3V source on your USB-UART adapter.&lt;br /&gt;
The twin arms will connect to the configuration channel pins on your USB-C breakout board.&lt;br /&gt;
Per the USB-C standard, when these pins are pulled high this indicates the device should enter [https://en.wikipedia.org/wiki/USB-C#Debug_Accessory_Mode Debug Accessory Mode]; connecting them to a voltage source &amp;amp; limiting the current with [https://www.electronics-tutorials.ws/logic/pull-up-resistor.html pull-up resistors] accomplishes this.&lt;br /&gt;
&lt;br /&gt;
For this project you'll need:&lt;br /&gt;
# A soldering iron with solder&lt;br /&gt;
# Wire cutters &amp;amp; strippers&lt;br /&gt;
# 2x jumper wires, male/female as compatible with your board designs&lt;br /&gt;
# 2x 1,000 Ohm through-hole resistors&lt;br /&gt;
# Electrical tape or heat shrink wrap&lt;br /&gt;
&lt;br /&gt;
Consider buying extra jumper wires and resistors in case you mess up.&lt;br /&gt;
Also double-check that you have 1K resistors with [https://resistorcolorcodecalc.com/ this color code calculator].&lt;br /&gt;
Although the PineNote UART schematic says to use 10K Ohm resistors, community member Visti Andresen (talpadk) experimented and found 1K is more appropriate.&lt;br /&gt;
Assemble your Y-cable as follows:&lt;br /&gt;
# Graft one jump wire onto the other to form a Y shape using [https://www.youtube.com/watch?v=KpiEfuhPqew this] technique, ensuring solitary leg end is compatible with your USB-UART adapter&lt;br /&gt;
# Splice resistors into the twin arms using [https://www.youtube.com/watch?v=RMgMVqqjPZ0 this] technique&lt;br /&gt;
# Splice remaining jump wire onto the ends of the resistors, ensuring ends are compatible with your USB-C breakout board&lt;br /&gt;
# Cover all exposed wire &amp;amp; resistors with electrical tape or heat shrink wrap&lt;br /&gt;
&lt;br /&gt;
=== Assembly ===&lt;br /&gt;
&lt;br /&gt;
Once you have acquired all necessary components, assemble the UART dongle as follows:&lt;br /&gt;
# Connect a jump wire from the GND pin on the USB-UART adapter to any one of the four GND pins on the USB-C breakout board (A1, A12, B1, or B12)&lt;br /&gt;
# Connect a jump wire from the RXD pin on the USB-UART adapter to the &amp;lt;code&amp;gt;UART2_TX_SUB1&amp;lt;/code&amp;gt; SBU1 pin on the USB-C breakout board (A8)&lt;br /&gt;
# Connect a jump wire from the TXD pin on the USB-UART adapter to the &amp;lt;code&amp;gt;UART2_RX_SUB2&amp;lt;/code&amp;gt; SBU2 pin on the USB-C breakout board (B8)&lt;br /&gt;
# Connect your Y-shaped jump wire from the 3.3V source pin on the USB-UART adapter to the CC1 and CC2 pins on the USB-C breakout board (A5 and B5)&lt;br /&gt;
# Wrap all metal connectors in electrical tape or heat shrink to prevent accidental shorts&lt;br /&gt;
&lt;br /&gt;
Be '''very certain''' of your connections for the 3.3V source and its cable, as there is a real risk of irreparably frying your PineNote if they're wrong!&lt;br /&gt;
Especially be sure you are connecting to a 3.3V source and not a 5V source.&lt;br /&gt;
&lt;br /&gt;
Note that if you mix up the TX/RX pins, it will still work but the USB-C breakout board will just plug into the PineNote upside down.&lt;br /&gt;
You can therefore choose which orientation you want by swapping the TX/RX pin connections.&lt;br /&gt;
Experience shows that RX/TX-TX/RX connections will have the PineNote face down while connected, while RX/RX-TX/TX connections will put the PineNote face up.&lt;br /&gt;
&lt;br /&gt;
== Using the dongle ==&lt;br /&gt;
&lt;br /&gt;
First, use your UART dongle to physically connect your PineNote to your computer:&lt;br /&gt;
# Plug the USB-UART adapter into one of your computer's USB ports&lt;br /&gt;
# Plug the USB-C breakout board into the USB-C port on the bottom of your PineNote; the orientation matters, so try both and remember which one works&lt;br /&gt;
&lt;br /&gt;
Once the hardware is connected, we need some program on your computer to communicate over that connection with 1500000 (1.5 million) bps, 8 data bits, 1 stop bit, no parity and no flow control.&lt;br /&gt;
Here's how you do that:&lt;br /&gt;
# Identify the USB-UART adapter in your &amp;lt;code&amp;gt;/dev&amp;lt;/code&amp;gt; directory by running &amp;lt;code&amp;gt;ls /dev&amp;lt;/code&amp;gt; with it plugged in, unplugging it, then again running &amp;lt;code&amp;gt;ls /dev&amp;lt;/code&amp;gt; and seeing what changed; it is likely to be called &amp;lt;code&amp;gt;/dev/ttyUSB0&amp;lt;/code&amp;gt;&lt;br /&gt;
# Check your permissions; run &amp;lt;code&amp;gt;ls -l /dev/ttyUSB0&amp;lt;/code&amp;gt; to see which groups have access to the dongle (probably &amp;lt;code&amp;gt;dialout&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;uucp&amp;lt;/code&amp;gt;), and add your user to that group; remember you need to log out before group changes take effect&lt;br /&gt;
# Install [https://salsa.debian.org/minicom-team/minicom minicom] (or [https://askubuntu.com/q/40959 some other option], but the instructions below are written for &amp;lt;code&amp;gt;minicom&amp;lt;/code&amp;gt;)&lt;br /&gt;
# In a terminal window, run &amp;lt;code&amp;gt;minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or run &amp;lt;code&amp;gt;minicom --setup&amp;lt;/code&amp;gt; to specify these settings by default&lt;br /&gt;
&lt;br /&gt;
Once the software is set up, power-cycle your PineNote; as the system boots you should see text appearing in your terminal window.&lt;br /&gt;
You can exit the session with &amp;lt;code&amp;gt;ctrl+a x&amp;lt;/code&amp;gt; then pressing &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; to confirm.&lt;br /&gt;
Run &amp;lt;code&amp;gt;man minicom&amp;lt;/code&amp;gt; for more details.&lt;br /&gt;
&lt;br /&gt;
=== Sending commands ===&lt;br /&gt;
&lt;br /&gt;
Pressing &amp;lt;code&amp;gt;ctrl+a&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;minicom&amp;lt;/code&amp;gt; enables you to send keystrokes to your PineNote.&lt;br /&gt;
The most important of these is &amp;lt;code&amp;gt;ctrl+c&amp;lt;/code&amp;gt;, which if sent during boot will put you in the U-Boot command prompt.&lt;br /&gt;
You can then type &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; to list possible commands.&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
If you don't see any text in your terminal as the PineNote boots, or the text is garbled, try the following:&lt;br /&gt;
* Ensure your GND, RX/TX, and CC jump wires are connected to the correct pins on both the USB-UART adapter and the USB-C breakout board&lt;br /&gt;
* Connect your USB-C breakout board to your PineNote in the opposite orientation&lt;br /&gt;
* Run &amp;lt;code&amp;gt;minicom&amp;lt;/code&amp;gt; as sudo in case your user doesn't have appropriate permissions&lt;br /&gt;
* Ensure you are setting the baud rate to 1500000 (1.5 million), and (less importantly because these are probably used by default) 8 data bits, 1 stop bit, no parity and no flow control&lt;br /&gt;
&lt;br /&gt;
If you can see text but are having trouble sending &amp;lt;code&amp;gt;ctrl+c&amp;lt;/code&amp;gt; to the PineNote during boot:&lt;br /&gt;
* Be sure you're typing &amp;lt;code&amp;gt;ctrl+a&amp;lt;/code&amp;gt; first, or whatever escape sequence your terminal emulator uses&lt;br /&gt;
* Send it right as the PineNote is booting, before the loading bar appears on screen&lt;br /&gt;
* Double-check your Y-shaped pull-up resistor cable; if this isn't working properly you'll probably be able to read text but not send text&lt;br /&gt;
&lt;br /&gt;
== USB passthrough ==&lt;br /&gt;
&lt;br /&gt;
If your USB-C breakout board has a passthrough/intercept design, you can connect to your PineNote over USB and UART at the same time.&lt;br /&gt;
This can be useful when you're doing development work on the PineNote boot process so you don't have to continually reconnect cables.&lt;br /&gt;
You'll need a USB-A to USB-C cable, connecting directly from your computer's USB-A hub to your USB-C breakout board's female USB-C port.&lt;br /&gt;
It's important to connect directly from USB-A, without any intermediate USB-C components.&lt;br /&gt;
Note that connecting a live USB cable to your USB-C breakout board in this way dramatically increases the danger of frying your PineNote with a short, so you should only do this if all connectors are safely wrapped in electrical tape.&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote_Development/UART&amp;diff=21655</id>
		<title>PineNote Development/UART</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote_Development/UART&amp;diff=21655"/>
		<updated>2024-11-15T20:22:40Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Stock dongle */ Wording improvements&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pinenote-uart-dongle.jpeg|thumb|Basic non-stock PineNote UART dongle]]&lt;br /&gt;
&lt;br /&gt;
This page contains information on creating and using a [https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter UART] dongle for the [[PineNote]].&lt;br /&gt;
The PineNote was shipped with a compatible UART dongle, but replacements are not available to order in case of loss or hardware fault.&lt;br /&gt;
Thankfully it is not difficult to make your own from easily-acquired components and a small bit of soldering.&lt;br /&gt;
&lt;br /&gt;
Fear not if you've never soldered anything before!&lt;br /&gt;
This serves as an excellent first soldering project.&lt;br /&gt;
Borrow the tools from a friend, local hackerspace, or tool library.&lt;br /&gt;
Pine64 also makes [[Pinecil|a nice soldering iron]] themselves.&lt;br /&gt;
&lt;br /&gt;
A PineNote UART dongle enables you to:&lt;br /&gt;
# Interact with the system boot menu&lt;br /&gt;
# Read system events in real time as the PineNote is used&lt;br /&gt;
# Fix the PineNote without opening the case if something goes wrong while [[PineNote Development/Flashing|flashing it]]&lt;br /&gt;
&lt;br /&gt;
Since the PineNote is an embedded system, interfacing with it during boot is more complicated than with an ordinary computer.&lt;br /&gt;
The UART dongle enables you to do this.&lt;br /&gt;
&lt;br /&gt;
The PineNote factory firmware runs UART at a baud rate of 1500000 bps, 8 data bits, 1 stop bit, no parity and no flow control.&lt;br /&gt;
The process by which the PineNote design was modified to include closed-case UART is documented [[PineNote/Hardware Changes/Closed Case UART|here]].&lt;br /&gt;
&lt;br /&gt;
== Stock dongle ==&lt;br /&gt;
{{Warning|The second PineNote batch, which started shipping during the first half of November 2024, is the last batch that has the USB UART dongle included in the box.}}&lt;br /&gt;
&lt;br /&gt;
The stock UART dongle included with the PineNote is a simple device plugging directly into the PineNote's USB-C port.  The dongle exposes a female USB-C port, which the user uses to get access to the serial console UART.  This design unfortunately ruled out passthrough USB connections, where the user connects to the PineNote via UART and USB simultaneously.  The dongle is not currently available separately for purchase.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Pinenote-stock-uart-dongle-front.jpg|Front&lt;br /&gt;
Pinenote-stock-uart-dongle-back.jpg|Back&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Creating a dongle ==&lt;br /&gt;
&lt;br /&gt;
A typical self-built PineNote UART dongle design has the following components:&lt;br /&gt;
# A USB-C breakout board with a male connector exposing the 24 pins of the PineNote's USB-C port&lt;br /&gt;
# A USB-UART adapter, to plug into a USB port of the computer you'll use to interface with the PineNote&lt;br /&gt;
# [https://en.wikipedia.org/wiki/Jump_wire Jump wires] to connect specific breakout board pins to pins on the USB-UART adapter&lt;br /&gt;
# Two 1,000 Ohm through-hole resistors to splice into the jump wires&lt;br /&gt;
# Electrical tape or heat shrink to wrap connectors and prevent shorts&lt;br /&gt;
&lt;br /&gt;
You will also need the following tools:&lt;br /&gt;
# Soldering iron with solder&lt;br /&gt;
# Wire cutters &amp;amp; strippers&lt;br /&gt;
&lt;br /&gt;
The PineNote's internal UART system is documented in [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf this schematic].&lt;br /&gt;
The purpose of all 24 USB-C pins is documented [https://en.wikipedia.org/wiki/USB-C#Receptacles on the USB-C Wikipedia page].&lt;br /&gt;
We are interested in three sets of pins:&lt;br /&gt;
# The SBU1 (A8) and SBU2 (B8) side band use pins&lt;br /&gt;
# The CC1 (A5) and CC2 (B5) configuration channel pins&lt;br /&gt;
# The GND [https://en.wikipedia.org/wiki/Ground_(electricity) ground return] pins (A1, A12, B1, and B12)&lt;br /&gt;
&lt;br /&gt;
In the PineNote UART schematic you can see (on the bottom right diagram labeled &amp;lt;code&amp;gt;USB_TYPEC_Male&amp;lt;/code&amp;gt;) the side band pins are given the labels &amp;lt;code&amp;gt;UART2_TX_SUB1&amp;lt;/code&amp;gt; for A8 and &amp;lt;code&amp;gt;UART2_RX_SUB2&amp;lt;/code&amp;gt; for B8.&lt;br /&gt;
The first (TX) is used for transmitting data and the second (RX) is used for receiving data, from the perspective of the PineNote.&lt;br /&gt;
Also note the configuration channel pins labeled &amp;lt;code&amp;gt;TYPEC_CC1&amp;lt;/code&amp;gt; for A5 and &amp;lt;code&amp;gt;TYPEC_CC2&amp;lt;/code&amp;gt; for B5.&lt;br /&gt;
The diagram shows they must be connected to a 3.3V source in parallel, mediated by resistors.&lt;br /&gt;
Per the USB-C standard, when these pins are pulled high this indicates the device should enter [https://en.wikipedia.org/wiki/USB-C#Debug_Accessory_Mode Debug Accessory Mode]; connecting them to a voltage source &amp;amp; limiting the current with [https://www.electronics-tutorials.ws/logic/pull-up-resistor.html pull-up resistors] accomplishes this.&lt;br /&gt;
The schematic indicates 10,000 Ohm resistors, but community member Visti Andresen (talpadk) experimented and found 1,000 Ohm resistors work better.&lt;br /&gt;
Our mission is to wire up pins from a USB-UART adapter to a USB-C breakout board following these requirements.&lt;br /&gt;
&lt;br /&gt;
=== Buying components ===&lt;br /&gt;
&lt;br /&gt;
There are many possible USB-C breakout board designs available for purchase online.&lt;br /&gt;
One particularly useful design is a &amp;quot;passthrough&amp;quot; or &amp;quot;intercept&amp;quot; style, with both male and female USB-C ports.&lt;br /&gt;
This design is more versatile in case you want to reuse it in other projects, and also enables you to connect to the PineNote via UART and USB at the same time.&lt;br /&gt;
An example of this product can be found [https://pmdway.com/products/usb-3-1-type-c-male-to-female-breakout-test-board here], although you are encouraged to shop around for cheaper options.&lt;br /&gt;
If you're fine with a bit more soldering, there is a very cheap one [https://www.ebay.com/itm/275407037613 here].&lt;br /&gt;
&lt;br /&gt;
Similarly, there are many USB-UART adapter designs available.&lt;br /&gt;
These devices plug into your computer and expose a number of pins themselves, connecting to specific pins on the breakout board with jump wires.&lt;br /&gt;
It is important to get a 3.3V model, or at least a model with the option of 3.3V, as a 5V source might fry the PineNote.&lt;br /&gt;
[https://pmdway.com/products/usb-to-ttl-serial-cp2104-6-pin-converter-module Here] is one example with jump wires included, although you are again encouraged to shop around for alternatives.&lt;br /&gt;
&lt;br /&gt;
All other necessary components of our UART dongle are readily &amp;amp; cheaply available in many locations.&lt;br /&gt;
&lt;br /&gt;
=== Splicing resistors ===&lt;br /&gt;
&lt;br /&gt;
[[File:PineNote-UART-Y-pull-up-resistor-cable.jpg|thumb|The desired end result; wrap removed from resistors for illustration purposes.]]&lt;br /&gt;
&lt;br /&gt;
This is the only difficult part of the whole process.&lt;br /&gt;
Your goal is to create a Y-shaped jump wire with 1,000 Ohm through-hole resistors spliced into each of the twin arms.&lt;br /&gt;
The solitary leg will connect to a 3.3V source on your USB-UART adapter.&lt;br /&gt;
The twin arms will connect to the configuration channel pins on your USB-C breakout board.&lt;br /&gt;
Per the USB-C standard, when these pins are pulled high this indicates the device should enter [https://en.wikipedia.org/wiki/USB-C#Debug_Accessory_Mode Debug Accessory Mode]; connecting them to a voltage source &amp;amp; limiting the current with [https://www.electronics-tutorials.ws/logic/pull-up-resistor.html pull-up resistors] accomplishes this.&lt;br /&gt;
&lt;br /&gt;
For this project you'll need:&lt;br /&gt;
# A soldering iron with solder&lt;br /&gt;
# Wire cutters &amp;amp; strippers&lt;br /&gt;
# 2x jumper wires, male/female as compatible with your board designs&lt;br /&gt;
# 2x 1,000 Ohm through-hole resistors&lt;br /&gt;
# Electrical tape or heat shrink wrap&lt;br /&gt;
&lt;br /&gt;
Consider buying extra jumper wires and resistors in case you mess up.&lt;br /&gt;
Also double-check that you have 1K resistors with [https://resistorcolorcodecalc.com/ this color code calculator].&lt;br /&gt;
Although the PineNote UART schematic says to use 10K Ohm resistors, community member Visti Andresen (talpadk) experimented and found 1K is more appropriate.&lt;br /&gt;
Assemble your Y-cable as follows:&lt;br /&gt;
# Graft one jump wire onto the other to form a Y shape using [https://www.youtube.com/watch?v=KpiEfuhPqew this] technique, ensuring solitary leg end is compatible with your USB-UART adapter&lt;br /&gt;
# Splice resistors into the twin arms using [https://www.youtube.com/watch?v=RMgMVqqjPZ0 this] technique&lt;br /&gt;
# Splice remaining jump wire onto the ends of the resistors, ensuring ends are compatible with your USB-C breakout board&lt;br /&gt;
# Cover all exposed wire &amp;amp; resistors with electrical tape or heat shrink wrap&lt;br /&gt;
&lt;br /&gt;
=== Assembly ===&lt;br /&gt;
&lt;br /&gt;
Once you have acquired all necessary components, assemble the UART dongle as follows:&lt;br /&gt;
# Connect a jump wire from the GND pin on the USB-UART adapter to any one of the four GND pins on the USB-C breakout board (A1, A12, B1, or B12)&lt;br /&gt;
# Connect a jump wire from the RXD pin on the USB-UART adapter to the &amp;lt;code&amp;gt;UART2_TX_SUB1&amp;lt;/code&amp;gt; SBU1 pin on the USB-C breakout board (A8)&lt;br /&gt;
# Connect a jump wire from the TXD pin on the USB-UART adapter to the &amp;lt;code&amp;gt;UART2_RX_SUB2&amp;lt;/code&amp;gt; SBU2 pin on the USB-C breakout board (B8)&lt;br /&gt;
# Connect your Y-shaped jump wire from the 3.3V source pin on the USB-UART adapter to the CC1 and CC2 pins on the USB-C breakout board (A5 and B5)&lt;br /&gt;
# Wrap all metal connectors in electrical tape or heat shrink to prevent accidental shorts&lt;br /&gt;
&lt;br /&gt;
Be '''very certain''' of your connections for the 3.3V source and its cable, as there is a real risk of irreparably frying your PineNote if they're wrong!&lt;br /&gt;
Especially be sure you are connecting to a 3.3V source and not a 5V source.&lt;br /&gt;
&lt;br /&gt;
Note that if you mix up the TX/RX pins, it will still work but the USB-C breakout board will just plug into the PineNote upside down.&lt;br /&gt;
You can therefore choose which orientation you want by swapping the TX/RX pin connections.&lt;br /&gt;
Experience shows that RX/TX-TX/RX connections will have the PineNote face down while connected, while RX/RX-TX/TX connections will put the PineNote face up.&lt;br /&gt;
&lt;br /&gt;
== Using the dongle ==&lt;br /&gt;
&lt;br /&gt;
First, use your UART dongle to physically connect your PineNote to your computer:&lt;br /&gt;
# Plug the USB-UART adapter into one of your computer's USB ports&lt;br /&gt;
# Plug the USB-C breakout board into the USB-C port on the bottom of your PineNote; the orientation matters, so try both and remember which one works&lt;br /&gt;
&lt;br /&gt;
Once the hardware is connected, we need some program on your computer to communicate over that connection with 1500000 (1.5 million) bps, 8 data bits, 1 stop bit, no parity and no flow control.&lt;br /&gt;
Here's how you do that:&lt;br /&gt;
# Identify the USB-UART adapter in your &amp;lt;code&amp;gt;/dev&amp;lt;/code&amp;gt; directory by running &amp;lt;code&amp;gt;ls /dev&amp;lt;/code&amp;gt; with it plugged in, unplugging it, then again running &amp;lt;code&amp;gt;ls /dev&amp;lt;/code&amp;gt; and seeing what changed; it is likely to be called &amp;lt;code&amp;gt;/dev/ttyUSB0&amp;lt;/code&amp;gt;&lt;br /&gt;
# Check your permissions; run &amp;lt;code&amp;gt;ls -l /dev/ttyUSB0&amp;lt;/code&amp;gt; to see which groups have access to the dongle (probably &amp;lt;code&amp;gt;dialout&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;uucp&amp;lt;/code&amp;gt;), and add your user to that group; remember you need to log out before group changes take effect&lt;br /&gt;
# Install [https://salsa.debian.org/minicom-team/minicom minicom] (or [https://askubuntu.com/q/40959 some other option], but the instructions below are written for &amp;lt;code&amp;gt;minicom&amp;lt;/code&amp;gt;)&lt;br /&gt;
# In a terminal window, run &amp;lt;code&amp;gt;minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or run &amp;lt;code&amp;gt;minicom --setup&amp;lt;/code&amp;gt; to specify these settings by default&lt;br /&gt;
&lt;br /&gt;
Once the software is set up, power-cycle your PineNote; as the system boots you should see text appearing in your terminal window.&lt;br /&gt;
You can exit the session with &amp;lt;code&amp;gt;ctrl+a x&amp;lt;/code&amp;gt; then pressing &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; to confirm.&lt;br /&gt;
Run &amp;lt;code&amp;gt;man minicom&amp;lt;/code&amp;gt; for more details.&lt;br /&gt;
&lt;br /&gt;
=== Sending commands ===&lt;br /&gt;
&lt;br /&gt;
Pressing &amp;lt;code&amp;gt;ctrl+a&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;minicom&amp;lt;/code&amp;gt; enables you to send keystrokes to your PineNote.&lt;br /&gt;
The most important of these is &amp;lt;code&amp;gt;ctrl+c&amp;lt;/code&amp;gt;, which if sent during boot will put you in the U-Boot command prompt.&lt;br /&gt;
You can then type &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; to list possible commands.&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
If you don't see any text in your terminal as the PineNote boots, or the text is garbled, try the following:&lt;br /&gt;
* Ensure your GND, RX/TX, and CC jump wires are connected to the correct pins on both the USB-UART adapter and the USB-C breakout board&lt;br /&gt;
* Connect your USB-C breakout board to your PineNote in the opposite orientation&lt;br /&gt;
* Run &amp;lt;code&amp;gt;minicom&amp;lt;/code&amp;gt; as sudo in case your user doesn't have appropriate permissions&lt;br /&gt;
* Ensure you are setting the baud rate to 1500000 (1.5 million), and (less importantly because these are probably used by default) 8 data bits, 1 stop bit, no parity and no flow control&lt;br /&gt;
&lt;br /&gt;
If you can see text but are having trouble sending &amp;lt;code&amp;gt;ctrl+c&amp;lt;/code&amp;gt; to the PineNote during boot:&lt;br /&gt;
* Be sure you're typing &amp;lt;code&amp;gt;ctrl+a&amp;lt;/code&amp;gt; first, or whatever escape sequence your terminal emulator uses&lt;br /&gt;
* Send it right as the PineNote is booting, before the loading bar appears on screen&lt;br /&gt;
* Double-check your Y-shaped pull-up resistor cable; if this isn't working properly you'll probably be able to read text but not send text&lt;br /&gt;
&lt;br /&gt;
== USB passthrough ==&lt;br /&gt;
&lt;br /&gt;
If your USB-C breakout board has a passthrough/intercept design, you can connect to your PineNote over USB and UART at the same time.&lt;br /&gt;
This can be useful when you're doing development work on the PineNote boot process so you don't have to continually reconnect cables.&lt;br /&gt;
You'll need a USB-A to USB-C cable, connecting directly from your computer's USB-A hub to your USB-C breakout board's female USB-C port.&lt;br /&gt;
It's important to connect directly from USB-A, without any intermediate USB-C components.&lt;br /&gt;
Note that connecting a live USB cable to your USB-C breakout board in this way dramatically increases the danger of frying your PineNote with a short, so you should only do this if all connectors are safely wrapped in electrical tape.&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote_Development/UART&amp;diff=21654</id>
		<title>PineNote Development/UART</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote_Development/UART&amp;diff=21654"/>
		<updated>2024-11-15T20:21:01Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Stock dongle */ Describe the presence of the USB UART adapter&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pinenote-uart-dongle.jpeg|thumb|Basic non-stock PineNote UART dongle]]&lt;br /&gt;
&lt;br /&gt;
This page contains information on creating and using a [https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter UART] dongle for the [[PineNote]].&lt;br /&gt;
The PineNote was shipped with a compatible UART dongle, but replacements are not available to order in case of loss or hardware fault.&lt;br /&gt;
Thankfully it is not difficult to make your own from easily-acquired components and a small bit of soldering.&lt;br /&gt;
&lt;br /&gt;
Fear not if you've never soldered anything before!&lt;br /&gt;
This serves as an excellent first soldering project.&lt;br /&gt;
Borrow the tools from a friend, local hackerspace, or tool library.&lt;br /&gt;
Pine64 also makes [[Pinecil|a nice soldering iron]] themselves.&lt;br /&gt;
&lt;br /&gt;
A PineNote UART dongle enables you to:&lt;br /&gt;
# Interact with the system boot menu&lt;br /&gt;
# Read system events in real time as the PineNote is used&lt;br /&gt;
# Fix the PineNote without opening the case if something goes wrong while [[PineNote Development/Flashing|flashing it]]&lt;br /&gt;
&lt;br /&gt;
Since the PineNote is an embedded system, interfacing with it during boot is more complicated than with an ordinary computer.&lt;br /&gt;
The UART dongle enables you to do this.&lt;br /&gt;
&lt;br /&gt;
The PineNote factory firmware runs UART at a baud rate of 1500000 bps, 8 data bits, 1 stop bit, no parity and no flow control.&lt;br /&gt;
The process by which the PineNote design was modified to include closed-case UART is documented [[PineNote/Hardware Changes/Closed Case UART|here]].&lt;br /&gt;
&lt;br /&gt;
== Stock dongle ==&lt;br /&gt;
{{Warning|The second PineNote batch, which started shipping during the first half of November 2024, is the last batch that has the USB UART dongle included in the box.}}&lt;br /&gt;
&lt;br /&gt;
The stock UART dongle included with the PineNote was a simple device plugging directly into the PineNote's USB-C port.&lt;br /&gt;
The dongle exposed a female USB-C port, which the user plugged into to get UART access.&lt;br /&gt;
This design unfortunately ruled out passthrough USB connections, where the user connects to the PineNote via UART and USB simultaneously.&lt;br /&gt;
The dongle is not currently available for purchase.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Pinenote-stock-uart-dongle-front.jpg|Front&lt;br /&gt;
Pinenote-stock-uart-dongle-back.jpg|Back&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Creating a dongle ==&lt;br /&gt;
&lt;br /&gt;
A typical self-built PineNote UART dongle design has the following components:&lt;br /&gt;
# A USB-C breakout board with a male connector exposing the 24 pins of the PineNote's USB-C port&lt;br /&gt;
# A USB-UART adapter, to plug into a USB port of the computer you'll use to interface with the PineNote&lt;br /&gt;
# [https://en.wikipedia.org/wiki/Jump_wire Jump wires] to connect specific breakout board pins to pins on the USB-UART adapter&lt;br /&gt;
# Two 1,000 Ohm through-hole resistors to splice into the jump wires&lt;br /&gt;
# Electrical tape or heat shrink to wrap connectors and prevent shorts&lt;br /&gt;
&lt;br /&gt;
You will also need the following tools:&lt;br /&gt;
# Soldering iron with solder&lt;br /&gt;
# Wire cutters &amp;amp; strippers&lt;br /&gt;
&lt;br /&gt;
The PineNote's internal UART system is documented in [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf this schematic].&lt;br /&gt;
The purpose of all 24 USB-C pins is documented [https://en.wikipedia.org/wiki/USB-C#Receptacles on the USB-C Wikipedia page].&lt;br /&gt;
We are interested in three sets of pins:&lt;br /&gt;
# The SBU1 (A8) and SBU2 (B8) side band use pins&lt;br /&gt;
# The CC1 (A5) and CC2 (B5) configuration channel pins&lt;br /&gt;
# The GND [https://en.wikipedia.org/wiki/Ground_(electricity) ground return] pins (A1, A12, B1, and B12)&lt;br /&gt;
&lt;br /&gt;
In the PineNote UART schematic you can see (on the bottom right diagram labeled &amp;lt;code&amp;gt;USB_TYPEC_Male&amp;lt;/code&amp;gt;) the side band pins are given the labels &amp;lt;code&amp;gt;UART2_TX_SUB1&amp;lt;/code&amp;gt; for A8 and &amp;lt;code&amp;gt;UART2_RX_SUB2&amp;lt;/code&amp;gt; for B8.&lt;br /&gt;
The first (TX) is used for transmitting data and the second (RX) is used for receiving data, from the perspective of the PineNote.&lt;br /&gt;
Also note the configuration channel pins labeled &amp;lt;code&amp;gt;TYPEC_CC1&amp;lt;/code&amp;gt; for A5 and &amp;lt;code&amp;gt;TYPEC_CC2&amp;lt;/code&amp;gt; for B5.&lt;br /&gt;
The diagram shows they must be connected to a 3.3V source in parallel, mediated by resistors.&lt;br /&gt;
Per the USB-C standard, when these pins are pulled high this indicates the device should enter [https://en.wikipedia.org/wiki/USB-C#Debug_Accessory_Mode Debug Accessory Mode]; connecting them to a voltage source &amp;amp; limiting the current with [https://www.electronics-tutorials.ws/logic/pull-up-resistor.html pull-up resistors] accomplishes this.&lt;br /&gt;
The schematic indicates 10,000 Ohm resistors, but community member Visti Andresen (talpadk) experimented and found 1,000 Ohm resistors work better.&lt;br /&gt;
Our mission is to wire up pins from a USB-UART adapter to a USB-C breakout board following these requirements.&lt;br /&gt;
&lt;br /&gt;
=== Buying components ===&lt;br /&gt;
&lt;br /&gt;
There are many possible USB-C breakout board designs available for purchase online.&lt;br /&gt;
One particularly useful design is a &amp;quot;passthrough&amp;quot; or &amp;quot;intercept&amp;quot; style, with both male and female USB-C ports.&lt;br /&gt;
This design is more versatile in case you want to reuse it in other projects, and also enables you to connect to the PineNote via UART and USB at the same time.&lt;br /&gt;
An example of this product can be found [https://pmdway.com/products/usb-3-1-type-c-male-to-female-breakout-test-board here], although you are encouraged to shop around for cheaper options.&lt;br /&gt;
If you're fine with a bit more soldering, there is a very cheap one [https://www.ebay.com/itm/275407037613 here].&lt;br /&gt;
&lt;br /&gt;
Similarly, there are many USB-UART adapter designs available.&lt;br /&gt;
These devices plug into your computer and expose a number of pins themselves, connecting to specific pins on the breakout board with jump wires.&lt;br /&gt;
It is important to get a 3.3V model, or at least a model with the option of 3.3V, as a 5V source might fry the PineNote.&lt;br /&gt;
[https://pmdway.com/products/usb-to-ttl-serial-cp2104-6-pin-converter-module Here] is one example with jump wires included, although you are again encouraged to shop around for alternatives.&lt;br /&gt;
&lt;br /&gt;
All other necessary components of our UART dongle are readily &amp;amp; cheaply available in many locations.&lt;br /&gt;
&lt;br /&gt;
=== Splicing resistors ===&lt;br /&gt;
&lt;br /&gt;
[[File:PineNote-UART-Y-pull-up-resistor-cable.jpg|thumb|The desired end result; wrap removed from resistors for illustration purposes.]]&lt;br /&gt;
&lt;br /&gt;
This is the only difficult part of the whole process.&lt;br /&gt;
Your goal is to create a Y-shaped jump wire with 1,000 Ohm through-hole resistors spliced into each of the twin arms.&lt;br /&gt;
The solitary leg will connect to a 3.3V source on your USB-UART adapter.&lt;br /&gt;
The twin arms will connect to the configuration channel pins on your USB-C breakout board.&lt;br /&gt;
Per the USB-C standard, when these pins are pulled high this indicates the device should enter [https://en.wikipedia.org/wiki/USB-C#Debug_Accessory_Mode Debug Accessory Mode]; connecting them to a voltage source &amp;amp; limiting the current with [https://www.electronics-tutorials.ws/logic/pull-up-resistor.html pull-up resistors] accomplishes this.&lt;br /&gt;
&lt;br /&gt;
For this project you'll need:&lt;br /&gt;
# A soldering iron with solder&lt;br /&gt;
# Wire cutters &amp;amp; strippers&lt;br /&gt;
# 2x jumper wires, male/female as compatible with your board designs&lt;br /&gt;
# 2x 1,000 Ohm through-hole resistors&lt;br /&gt;
# Electrical tape or heat shrink wrap&lt;br /&gt;
&lt;br /&gt;
Consider buying extra jumper wires and resistors in case you mess up.&lt;br /&gt;
Also double-check that you have 1K resistors with [https://resistorcolorcodecalc.com/ this color code calculator].&lt;br /&gt;
Although the PineNote UART schematic says to use 10K Ohm resistors, community member Visti Andresen (talpadk) experimented and found 1K is more appropriate.&lt;br /&gt;
Assemble your Y-cable as follows:&lt;br /&gt;
# Graft one jump wire onto the other to form a Y shape using [https://www.youtube.com/watch?v=KpiEfuhPqew this] technique, ensuring solitary leg end is compatible with your USB-UART adapter&lt;br /&gt;
# Splice resistors into the twin arms using [https://www.youtube.com/watch?v=RMgMVqqjPZ0 this] technique&lt;br /&gt;
# Splice remaining jump wire onto the ends of the resistors, ensuring ends are compatible with your USB-C breakout board&lt;br /&gt;
# Cover all exposed wire &amp;amp; resistors with electrical tape or heat shrink wrap&lt;br /&gt;
&lt;br /&gt;
=== Assembly ===&lt;br /&gt;
&lt;br /&gt;
Once you have acquired all necessary components, assemble the UART dongle as follows:&lt;br /&gt;
# Connect a jump wire from the GND pin on the USB-UART adapter to any one of the four GND pins on the USB-C breakout board (A1, A12, B1, or B12)&lt;br /&gt;
# Connect a jump wire from the RXD pin on the USB-UART adapter to the &amp;lt;code&amp;gt;UART2_TX_SUB1&amp;lt;/code&amp;gt; SBU1 pin on the USB-C breakout board (A8)&lt;br /&gt;
# Connect a jump wire from the TXD pin on the USB-UART adapter to the &amp;lt;code&amp;gt;UART2_RX_SUB2&amp;lt;/code&amp;gt; SBU2 pin on the USB-C breakout board (B8)&lt;br /&gt;
# Connect your Y-shaped jump wire from the 3.3V source pin on the USB-UART adapter to the CC1 and CC2 pins on the USB-C breakout board (A5 and B5)&lt;br /&gt;
# Wrap all metal connectors in electrical tape or heat shrink to prevent accidental shorts&lt;br /&gt;
&lt;br /&gt;
Be '''very certain''' of your connections for the 3.3V source and its cable, as there is a real risk of irreparably frying your PineNote if they're wrong!&lt;br /&gt;
Especially be sure you are connecting to a 3.3V source and not a 5V source.&lt;br /&gt;
&lt;br /&gt;
Note that if you mix up the TX/RX pins, it will still work but the USB-C breakout board will just plug into the PineNote upside down.&lt;br /&gt;
You can therefore choose which orientation you want by swapping the TX/RX pin connections.&lt;br /&gt;
Experience shows that RX/TX-TX/RX connections will have the PineNote face down while connected, while RX/RX-TX/TX connections will put the PineNote face up.&lt;br /&gt;
&lt;br /&gt;
== Using the dongle ==&lt;br /&gt;
&lt;br /&gt;
First, use your UART dongle to physically connect your PineNote to your computer:&lt;br /&gt;
# Plug the USB-UART adapter into one of your computer's USB ports&lt;br /&gt;
# Plug the USB-C breakout board into the USB-C port on the bottom of your PineNote; the orientation matters, so try both and remember which one works&lt;br /&gt;
&lt;br /&gt;
Once the hardware is connected, we need some program on your computer to communicate over that connection with 1500000 (1.5 million) bps, 8 data bits, 1 stop bit, no parity and no flow control.&lt;br /&gt;
Here's how you do that:&lt;br /&gt;
# Identify the USB-UART adapter in your &amp;lt;code&amp;gt;/dev&amp;lt;/code&amp;gt; directory by running &amp;lt;code&amp;gt;ls /dev&amp;lt;/code&amp;gt; with it plugged in, unplugging it, then again running &amp;lt;code&amp;gt;ls /dev&amp;lt;/code&amp;gt; and seeing what changed; it is likely to be called &amp;lt;code&amp;gt;/dev/ttyUSB0&amp;lt;/code&amp;gt;&lt;br /&gt;
# Check your permissions; run &amp;lt;code&amp;gt;ls -l /dev/ttyUSB0&amp;lt;/code&amp;gt; to see which groups have access to the dongle (probably &amp;lt;code&amp;gt;dialout&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;uucp&amp;lt;/code&amp;gt;), and add your user to that group; remember you need to log out before group changes take effect&lt;br /&gt;
# Install [https://salsa.debian.org/minicom-team/minicom minicom] (or [https://askubuntu.com/q/40959 some other option], but the instructions below are written for &amp;lt;code&amp;gt;minicom&amp;lt;/code&amp;gt;)&lt;br /&gt;
# In a terminal window, run &amp;lt;code&amp;gt;minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or run &amp;lt;code&amp;gt;minicom --setup&amp;lt;/code&amp;gt; to specify these settings by default&lt;br /&gt;
&lt;br /&gt;
Once the software is set up, power-cycle your PineNote; as the system boots you should see text appearing in your terminal window.&lt;br /&gt;
You can exit the session with &amp;lt;code&amp;gt;ctrl+a x&amp;lt;/code&amp;gt; then pressing &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; to confirm.&lt;br /&gt;
Run &amp;lt;code&amp;gt;man minicom&amp;lt;/code&amp;gt; for more details.&lt;br /&gt;
&lt;br /&gt;
=== Sending commands ===&lt;br /&gt;
&lt;br /&gt;
Pressing &amp;lt;code&amp;gt;ctrl+a&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;minicom&amp;lt;/code&amp;gt; enables you to send keystrokes to your PineNote.&lt;br /&gt;
The most important of these is &amp;lt;code&amp;gt;ctrl+c&amp;lt;/code&amp;gt;, which if sent during boot will put you in the U-Boot command prompt.&lt;br /&gt;
You can then type &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; to list possible commands.&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
If you don't see any text in your terminal as the PineNote boots, or the text is garbled, try the following:&lt;br /&gt;
* Ensure your GND, RX/TX, and CC jump wires are connected to the correct pins on both the USB-UART adapter and the USB-C breakout board&lt;br /&gt;
* Connect your USB-C breakout board to your PineNote in the opposite orientation&lt;br /&gt;
* Run &amp;lt;code&amp;gt;minicom&amp;lt;/code&amp;gt; as sudo in case your user doesn't have appropriate permissions&lt;br /&gt;
* Ensure you are setting the baud rate to 1500000 (1.5 million), and (less importantly because these are probably used by default) 8 data bits, 1 stop bit, no parity and no flow control&lt;br /&gt;
&lt;br /&gt;
If you can see text but are having trouble sending &amp;lt;code&amp;gt;ctrl+c&amp;lt;/code&amp;gt; to the PineNote during boot:&lt;br /&gt;
* Be sure you're typing &amp;lt;code&amp;gt;ctrl+a&amp;lt;/code&amp;gt; first, or whatever escape sequence your terminal emulator uses&lt;br /&gt;
* Send it right as the PineNote is booting, before the loading bar appears on screen&lt;br /&gt;
* Double-check your Y-shaped pull-up resistor cable; if this isn't working properly you'll probably be able to read text but not send text&lt;br /&gt;
&lt;br /&gt;
== USB passthrough ==&lt;br /&gt;
&lt;br /&gt;
If your USB-C breakout board has a passthrough/intercept design, you can connect to your PineNote over USB and UART at the same time.&lt;br /&gt;
This can be useful when you're doing development work on the PineNote boot process so you don't have to continually reconnect cables.&lt;br /&gt;
You'll need a USB-A to USB-C cable, connecting directly from your computer's USB-A hub to your USB-C breakout board's female USB-C port.&lt;br /&gt;
It's important to connect directly from USB-A, without any intermediate USB-C components.&lt;br /&gt;
Note that connecting a live USB cable to your USB-C breakout board in this way dramatically increases the danger of frying your PineNote with a short, so you should only do this if all connectors are safely wrapped in electrical tape.&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21653</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21653"/>
		<updated>2024-11-15T20:18:45Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* UART Dongle */ Describe the presence of the USB UART adapter&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 Model-A single-board computer and powered by Rockchip RK3566 quad-core ARM Cortex-A55 64-bit SoC with Mali G52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains a U-Boot build that prevents suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  This was caused by the unfortunate timing, so the factory ended up installing version of the operating system image that contained these issues.  The required fixes are already available in the shipped Linux distribution, but they need to be [https://gist.github.com/m-weigand/efb1bef6097611d327533ab67b76903b installed manually] by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
{{Warning|The second PineNote batch, which started shipping during the first half of November 2024, is the last batch that has the USB UART dongle included in the box.}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (DAM) without having to open up the device. &lt;br /&gt;
The factory-installed firmware runs at a baud rate of 1,500,000 bps, 8 data bits and 1 stop bit, no parity, and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21652</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21652"/>
		<updated>2024-11-15T20:16:45Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* UART Dongle */ Small cleanups&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 Model-A single-board computer and powered by Rockchip RK3566 quad-core ARM Cortex-A55 64-bit SoC with Mali G52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains a U-Boot build that prevents suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  This was caused by the unfortunate timing, so the factory ended up installing version of the operating system image that contained these issues.  The required fixes are already available in the shipped Linux distribution, but they need to be [https://gist.github.com/m-weigand/efb1bef6097611d327533ab67b76903b installed manually] by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (DAM) without having to open up the device. &lt;br /&gt;
The factory-installed firmware runs at a baud rate of 1,500,000 bps, 8 data bits and 1 stop bit, no parity, and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21649</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21649"/>
		<updated>2024-11-15T11:08:40Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* State of the software */ Be more specific&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 Model-A single-board computer and powered by Rockchip RK3566 quad-core ARM Cortex-A55 64-bit SoC with Mali G52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains a U-Boot build that prevents suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  This was caused by the unfortunate timing, so the factory ended up installing version of the operating system image that contained these issues.  The required fixes are already available in the shipped Linux distribution, but they need to be [https://gist.github.com/m-weigand/efb1bef6097611d327533ab67b76903b installed manually] by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (''DAM'') without having to open up the device. &lt;br /&gt;
The factory firmware runs at a baud rate of 1500000bps, 8 data bits 1 stop bit, no parity and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab-V&amp;diff=21648</id>
		<title>PineTab-V</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab-V&amp;diff=21648"/>
		<updated>2024-11-15T09:06:14Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Schematics and certifications */ Fixed a small typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:pinetabv_1.jpg|250px|thumb|right|The PineTab-V with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab-V''' is ''PINE64's'' first RISC-V tablet. It is based on the JH7110 64-bit RISC-V SoC. The packaging is very similar to ARM-based [[PineTab2]].&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
In late 2022, PINE64 announced plans to help grow the RISC-V hardware ecosystem alongside the existing ARM-based device line-up. The PineTab-V is an experimental device, which ships without an OS and without any promises. The JH7110 RISC-V SoC, and the RISC-V architecture in more general, is currently best described as having limited Linux support. You can think of it as a convenient development platform targeted at those of you interested in bringing Linux support to JH7110 and, by extension, the entire RISC-V ecosystem.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
&lt;br /&gt;
The PineTab-V is an experimental device and lacks dedicated working software – it should therefore only be purchased by people interested in helping with the bring-up process of Linux and BSDs on the RISC-V architecture. &lt;br /&gt;
&lt;br /&gt;
{{Warning|Do not buy the device unless you intend to use it for operating system development purposes.}}&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
The releases for the PineTab-V can be found under [[PineTab-V Releases]].&lt;br /&gt;
&lt;br /&gt;
== Variants ==&lt;br /&gt;
&lt;br /&gt;
There are currently two variants of the PineTab-V:&lt;br /&gt;
&lt;br /&gt;
* PineTab-V – 4GB RAM and 64GB eMMC storage&lt;br /&gt;
* PineTab-V – 8GB RAM and 128GB eMMC storage&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
[[File:pinetabv_2.jpg|250px|thumb|right|Front- and backside of the PineTab-V]]&lt;br /&gt;
[[File:pinetabv_3.jpg|250px|thumb|right|Backside of the PineTab-V]]&lt;br /&gt;
&lt;br /&gt;
Chassis:&lt;br /&gt;
&lt;br /&gt;
* Dimensions: 242mm x 161mm x 9mm&lt;br /&gt;
* Weight: 520 grams (without keyboard), 990 grams (includes keyboard)&lt;br /&gt;
* Build: Metal and Plastic&lt;br /&gt;
* Color: Matte Black&lt;br /&gt;
&lt;br /&gt;
Display:&lt;br /&gt;
&lt;br /&gt;
* Type: HD IPS capacitive touchscreen, 16.7M colors&lt;br /&gt;
* Size: 10.1 inches&lt;br /&gt;
* Resolution: 1280×800 pixels, 16:10 ratio&lt;br /&gt;
&lt;br /&gt;
Platform:&lt;br /&gt;
&lt;br /&gt;
* Chipset: StarFive JH7110&lt;br /&gt;
* CPU: 64-bit Quad-core 1.5 GHz SiFive U74 RISC-V&lt;br /&gt;
* GPU: Imagination Technology BXE-4-32&lt;br /&gt;
&lt;br /&gt;
Memory:&lt;br /&gt;
&lt;br /&gt;
* Internal Flash Memory: 64GB (variant 1) or 128GB (variant 2) eMMC module&lt;br /&gt;
* System Memory: 4GB (variant 1) or 8GB (variant 2) LPDDR4 SDRAM&lt;br /&gt;
* Expansion: micro SD Card support SDHC and SDXC, up to 2TB&lt;br /&gt;
&lt;br /&gt;
Camera:&lt;br /&gt;
&lt;br /&gt;
* Main Camera: Single 5MP, LED Flash (chipset: Omnivision OV5648)&lt;br /&gt;
* Selfie Camera: Single 2MP (chipset: Galaxycore GC02M2)&lt;br /&gt;
&lt;br /&gt;
Sound:&lt;br /&gt;
&lt;br /&gt;
* Loudspeaker: Yes, stereo&lt;br /&gt;
* 3.5mm jack with mic: Yes, stereo&lt;br /&gt;
* Sound IC: [http://everest-semi.com/pdf/ES8316%20PB.pdf ES8316]&lt;br /&gt;
&lt;br /&gt;
Wireless:&lt;br /&gt;
&lt;br /&gt;
* Chipset: Realtek RTL8852BU&lt;br /&gt;
* WLAN: Wi-Fi 802.11 ax/ac/b/g/n, dual-band, hotspot&lt;br /&gt;
* Bluetooth: 5.2, A2DP&lt;br /&gt;
&lt;br /&gt;
I/O:&lt;br /&gt;
&lt;br /&gt;
* 1x USB 3.0 Type-C port (front side 3.0, rear side 2.0)&lt;br /&gt;
* 1x USB 2.0 Type-C port (also use as charging and debug port)&lt;br /&gt;
* 1x USB 2.0 Pogo keyboard port&lt;br /&gt;
* 1x microHDMI HD Video output&lt;br /&gt;
&lt;br /&gt;
Battery:&lt;br /&gt;
&lt;br /&gt;
* Removable Li-Po 6000mAh battery&lt;br /&gt;
* Charging: 15W – 5V 3A&lt;br /&gt;
* Model 30100140 from [https://zgszjjy.com/ zgszjjy]&lt;br /&gt;
* Charge IC: [https://www.ti.com/product/BQ25890H BQ25890H]&lt;br /&gt;
* Fuel Guage: [http://en.cellwise-semi.com/Public/assests/menu/20230314/64102656c943b.pdf CW2015CHBD]&lt;br /&gt;
&lt;br /&gt;
== Schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PineTab-V-PCB.jpg|thumb|right|PineTab-V Board]]&lt;br /&gt;
PineTab-V mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab-V_Schematic_Ver1-20230614.pdf PineTab-V mainboard Released Schematic-20230614 ver 1.0]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab-V_comp_ref_top-20230614.pdf PineTab-V PCB Component Reference location v1.0 (top layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab-V_comp_ref_bottom-20230614.pdf PineTab-V PCB Component Reference location v1.0 (bottom layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/pinetab2-V_uart_console_schematic-20221107.pdf PineTab2/PineTab-V UART Dongle Schematic-20221107]&lt;br /&gt;
&lt;br /&gt;
PineTab-V certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinetab-V%20FCC-SDOC%20Certificate-LCSA08013059E.pdf PineTab-V FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinetab-V%20CE%20RED%20Certificate-LCSA08013058E.pdf PineTab-V CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab-V%20CE%20EMC%20Certificate-LCSA08013057E.pdf PineTab-V CE EMC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab-V%20ROHS%20Report-LCSA08013061R.pdf PineTab-V ROHS Test Report]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20Keyboard%20CE%20EMC%20Certificate-LCSA062623001E.pdf PineTab2/PineTab-V Detached Keyboard CE EMC Certificate]&lt;br /&gt;
&lt;br /&gt;
== Tutorials ==&lt;br /&gt;
&lt;br /&gt;
=== Connecting the UART adapter ===&lt;br /&gt;
&lt;br /&gt;
[[File:PineTab2 USB UARTv2.jpg|thumb|right|300px|UART Adapter]]&lt;br /&gt;
&lt;br /&gt;
The UART serves as a console for early boot and kernel messages, and also offers access to a root shell in the factory test image. The UART adapter allows access to the UART through the USB 2.0 Type-C port:&lt;br /&gt;
* Insert the UART adapter face-up in the USB 2.0 Type-C port (the USB port furthest from the power button).&lt;br /&gt;
* Connect a USB cable from another computer to the port on the adapter marked &amp;quot;DEBUG&amp;quot;. The green LED on the adapter should light up. The other adapter port can be connected to USB power if you don't want to run the tablet on its battery.&lt;br /&gt;
* In a terminal window on the other computer, use ''tio'', ''screen'', ''minicom'', or another application that supports serial port communication to connect via USB serial at 115200 bit/s 8N1 (8 data bits, no parity, 1 stop bit):&lt;br /&gt;
*: &amp;lt;code&amp;gt;tio /dev/ttyUSB0&amp;lt;/code&amp;gt;&lt;br /&gt;
*: &amp;lt;code&amp;gt;screen /dev/ttyUSB0 115200&amp;lt;/code&amp;gt;&lt;br /&gt;
*: &amp;lt;code&amp;gt;minicom -D /dev/ttyUSB0 -b 115200&amp;lt;/code&amp;gt;&lt;br /&gt;
** Install one of the above from your distribution's package manager if none are already installed.&lt;br /&gt;
** The device may have a different name, particularly if multiple USB serial devices are connected. On macOS it will have a name like &amp;lt;code&amp;gt;/dev/tty.usbserial-''nnnn''&amp;lt;/code&amp;gt;.&lt;br /&gt;
** If ''Permission denied'' is reported, you may need to be added to the group that can access the port with a command like &amp;lt;code&amp;gt;sudo usermod -a -G dialout $USER&amp;lt;/code&amp;gt;. Then log out and log back in or use a command like &amp;lt;code&amp;gt;newgrp dialout&amp;lt;/code&amp;gt; to create a new shell in that group.&lt;br /&gt;
** Ubuntu-based distro users may encounter the error, &amp;quot;cannot open /dev/ttyUSB0: No such file or directory&amp;quot;.  If this occurs, check the output of &amp;lt;code&amp;gt;sudo dmesg --follow&amp;lt;/code&amp;gt; and unplug/replug the USB to look for any errors.  If you see an error like, &amp;quot;usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1&amp;quot;, then the brltty service is likely conflicting with this device.  Brltty provides access to blind users who use a braille display; if you do not need this service, try disabling it using these commands:&lt;br /&gt;
**: &amp;lt;code&amp;gt;sudo systemctl stop brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
**: &amp;lt;code&amp;gt;sudo systemctl mask brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
**: &amp;lt;code&amp;gt;sudo systemctl stop brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
**: &amp;lt;code&amp;gt;sudo systemctl mask brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The switch on the UART adapter has no function on the PineTab-V; the boot order is controlled by the Vol-/Vol+ switches.&lt;br /&gt;
&lt;br /&gt;
== Frequently asked questions ==&lt;br /&gt;
&lt;br /&gt;
'''What is the Performance of the PineTab2 compared to the PineTab-V?'''&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is notably faster than the PineTab-V. You can see this by [https://github.com/ThomasKaiser/sbc-bench/blob/master/Results.md comparing the Quartz64 sbc-bench results to the Star64 ones]. Performance should not be a factor of consideration when purchasing a PineTab-V.&lt;br /&gt;
&lt;br /&gt;
== External resources ==&lt;br /&gt;
&lt;br /&gt;
* PINE64: Introduction of the PineTab-V, [https://www.pine64.org/2023/04/01/march-update-tablet-bonanza/ March Update: Tablet Bonanza!]&lt;br /&gt;
* PINE64: Launch of the PineTab-V [https://www.pine64.org/2023/04/10/pinetab-v-and-pinetab2-launch/ PineTab-V and PineTab2 launch]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineTab-V]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21647</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21647"/>
		<updated>2024-11-15T09:00:13Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: Small wording improvements, as spotted&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 Model-A single-board computer and powered by Rockchip RK3566 quad-core ARM Cortex-A55 64-bit SoC with Mali G52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains some issues that prevent suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  This was caused by the unfortunate timing, so the factory ended up installing version of the operating system image that contained these issues.  The required fixes are already available in the shipped Linux distribution, but they need to be [https://gist.github.com/m-weigand/efb1bef6097611d327533ab67b76903b installed manually] by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (''DAM'') without having to open up the device. &lt;br /&gt;
The factory firmware runs at a baud rate of 1500000bps, 8 data bits 1 stop bit, no parity and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21646</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21646"/>
		<updated>2024-11-15T08:58:37Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* State of the software */ Grammar&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 model A SBC and powered by a Rockchip RK3566 quad-core ARM Cortex A55 64-bit processor with a MALI G-52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains some issues that prevent suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  This was caused by the unfortunate timing, so the factory ended up installing version of the operating system image that contained these issues.  The required fixes are already available in the shipped Linux distribution, but they need to be [https://gist.github.com/m-weigand/efb1bef6097611d327533ab67b76903b installed manually] by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (''DAM'') without having to open up the device. &lt;br /&gt;
The factory firmware runs at a baud rate of 1500000bps, 8 data bits 1 stop bit, no parity and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21645</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21645"/>
		<updated>2024-11-15T08:53:33Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* State of the software */ Expanded a bit, by providing the reasons&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 model A SBC and powered by a Rockchip RK3566 quad-core ARM Cortex A55 64-bit processor with a MALI G-52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains some issues that prevent suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  This was caused by the unfortunate timing, so the factory ended up installing version of the operating system image that contains these issues.  The required fixes are already available in the shipped Linux distribution, but they need to be [https://gist.github.com/m-weigand/efb1bef6097611d327533ab67b76903b installed manually] by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (''DAM'') without having to open up the device. &lt;br /&gt;
The factory firmware runs at a baud rate of 1500000bps, 8 data bits 1 stop bit, no parity and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=21644</id>
		<title>PineTab2</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=21644"/>
		<updated>2024-11-15T08:05:37Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Board information, schematics and certifications */ Fixed a small typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineTab2 Front.jpg|250px|thumb|right|The PineTab2 with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab2''' is PINE64's successor to the original [[PineTab]] Linux tablet computer, featuring a faster processor and better availability. The tablet is available in two configurations, 4GB of RAM and 64GB of internal storage or 8GB of RAM and 128GB of internal storage. The tablet ships with a detachable keyboard that doubles as a protective cover.&lt;br /&gt;
&lt;br /&gt;
The tablet is designed around the Rockchip RK3566 processor, which features 4 energy-efficient Cortex-A55 64-bit ARM cores and enjoys good mainline Linux support. A similarly packaged RISC-V tablet is the [[PineTab-V]].&lt;br /&gt;
&lt;br /&gt;
Pre-orders started on the 13th of April 2023, with pricing starting at USD 159 for the 4GB/64GB version and USD 209 for the 8GB/128GB version. The PineTab2 began shipping on June 2, 2023.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
&lt;br /&gt;
The PineTab2 box contains two smaller boxes.&lt;br /&gt;
&lt;br /&gt;
The first box includes the following items:&lt;br /&gt;
&lt;br /&gt;
* The PineTab2&lt;br /&gt;
* Short [[:File:Pinetab2 quick start guide en ger fr pl final.pdf|user guide]]&lt;br /&gt;
* Power cable&lt;br /&gt;
* The UART adapter board&lt;br /&gt;
&lt;br /&gt;
Note that the UART adapter is in the same package as the power cable, in a second compartment, and can be a bit hidden. &lt;br /&gt;
&lt;br /&gt;
The second box has the keyboard in it.&lt;br /&gt;
&lt;br /&gt;
=== First start ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 can be started by pressing and holding the power button for two seconds. The device is initialized at the first boot and will power-cycle while the partition table is populated.&lt;br /&gt;
&lt;br /&gt;
{{Info|If the initialization process is interrupted it might lead to a corrupted operating system installation. In that case reinstall the operating system as explained below.}}&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''DanctNix Arch Linux'' and comes with a pre-set user and the default password &amp;lt;code&amp;gt;123456&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;alarm / 123456&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can create a new user and set your own password after the initial boot. To do so, go to ''system settings'' -&amp;gt; ''users'' and create a new profile using your preferred name and password.&lt;br /&gt;
&lt;br /&gt;
=== Keyboard cover ===&lt;br /&gt;
&lt;br /&gt;
When connecting the keyboard to the Pinetab2 ensure that the camera and the golden pogo pin connectors are correctly aligned. &lt;br /&gt;
The external keyboard has 5 connection pins (the golden pins). four are standard USB connectors and one is used to detect that the keyboard is connected.&lt;br /&gt;
&lt;br /&gt;
The backlight can be changed with the key combination ''Pinekey + Ctrl (right)''.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
All operating systems for the PineTab2 are delivered by community developers and partner projects. Aside from the operating system that comes pre-installed on your device, you can install and run any other operating system available for the PineTab2. Most, if not all operating systems for the PineTab2 are open and free, such as Linux and BSD.&lt;br /&gt;
&lt;br /&gt;
Since most software issues will be release-specific, please see the [[PineTab2 Releases]] page for additional software related instructions, tips, and tricks.&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
The releases for the PineTab2 can be found under [[PineTab2 Releases]].&lt;br /&gt;
&lt;br /&gt;
=== Installation instructions ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is capable of running different operating systems from the internal flash memory (eMMC) and from microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Preparing the microSD card'''&lt;br /&gt;
&lt;br /&gt;
To write an operating system to the microSD card (typically called &amp;quot;flashing&amp;quot; in the community), you need to first download a compatible image from the [[#Releases|releases]] section.&lt;br /&gt;
&lt;br /&gt;
Next you need to decompress the downloaded image. The images are typically compressed in an archive format such as ''xz'' to reduce the download size. If you are using a graphical tool such as ''balenaEtcher'' or ''Gnome Disks'' it will handle the decompression of the image in the flashing step automatically.&lt;br /&gt;
&lt;br /&gt;
Further you need to flash the image to the microSD card. This can be done using various tools, for example ''balenaEtcher'' (recommended for new users), ''Gnome Disks'' or command-line tools such as ''cp'' and ''dd''. Insert the microSD card in a microSD card reader connected to your computer and then choose a tool of your liking.&lt;br /&gt;
&lt;br /&gt;
Graphical applications:&lt;br /&gt;
&lt;br /&gt;
* '''balenaEtcher''' (Microsoft Windows, macOS, Linux): Click on ''Flash from file'' and select the image. Then select the microSD card target device and click on ''Flash!''.&lt;br /&gt;
&lt;br /&gt;
* '''Gnome Disks''' (Linux): Select the microSD card target device on the left side in the ''Disks'' list. Then select the three dot menu on the top right and click on ''Restore Disk Image...''. Select the image, verify the correct device is selected and then click on ''Start Restoring...''.&lt;br /&gt;
&lt;br /&gt;
Command-line tools:&lt;br /&gt;
&lt;br /&gt;
* '''cp''': &amp;lt;code&amp;gt;sudo cp '''IMAGE.img''' /dev/'''[DEVICE]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''dd''': &amp;lt;code&amp;gt;sudo dd if='''IMAGE.img''' of=/dev/'''[DEVICE]''' bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Info|Make sure to replace '''IMAGE.img''' and '''[DEVICE]''' with the filename of the image (double check if it is decompressed and has the file extension ''.img'') and the device name. You can use the command &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; to find the device name. Make sure to flash to the whole device instead of partition 1 and that you're NOT selecting ''/dev/sda1'' or ''/dev/mmcblk0p1'' as target. Be very careful to select the correct device, as the tools can overwrite your data when the wrong device is selected.}}&lt;br /&gt;
&lt;br /&gt;
Then insert the microSD card into the PineTab2. &lt;br /&gt;
&lt;br /&gt;
[[File:PineTab2 USB UARTv2.jpg|thumb|right|400px|Using the USB UART adapter can be required in some cases as explained in the info box about the boot order. The adapter is shipped with the PineTab2 in the box which is also containing the charging cable. The switch to disable the eMMC and SPI is located on the top right of the image.]]&lt;br /&gt;
&lt;br /&gt;
{{Hint|'''Note regarding the boot order:''' The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card. The pre-installed bootloader on the internal memory (eMMC) tries to boot from the microSD card first. '''In some cases''' it can be required to bypass the bootloader, for example if the bootloader is corrupted or was overwritten by a bootloader with varying settings.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To force the device to boot from the microSD card, the eMMC and the SPI can be disabled by using the debug UART adapter shipped with the device in the box also containing the charging cable. Set the ''SD BOOT MASKROM'' switch on the adapter to the position ''ON'' and plug it into the USB/PD charging port. Then power on the tablet and '''unplug the debug board or set the switch to the position ''OFF'' again''' when the factory image is started, otherwise the factory image won't find the eMMC.}}&lt;br /&gt;
&lt;br /&gt;
Power on the device with the microSD card inserted (and optionally with the USB UART adapter inserted and the bypass switch set to ''ON'' depending on the software situation, see the info box above). It should now boot the new operating system from the microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Something is not working?''' Please join the [[Main_Page#Chat_Platforms|PineTab channel in the community chat]], the community is always happy to help. In the section [[#Connecting the UART adapter]] you can find information about how to connect the USB UART adapter and how to retrieve the boot logs if the device is not booting properly even after the above procudere.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
[[File:Pinetab2-side.jpeg|thumb|400px|right|Tablet's side ports: USB-C (with PD), MicroSD, USB-C 3.0, volume rocker, power button]]&lt;br /&gt;
* '''SoC:''' Rockchip RK3566&lt;br /&gt;
* '''CPU:''' 4x ARM Cortex-A55 @ 1.8 GHz&lt;br /&gt;
** 32KB L1 Instruction Cache and 32KB L1 Data Cache per core&lt;br /&gt;
** 512KB unified system L3 cache&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
* '''GPU:''' Mali-G52 MP2 @ 800 MHz&lt;br /&gt;
** Supported by the open source 'Panfrost' driver in Linux and Mesa&lt;br /&gt;
** Supports OpenGL 3.1 and OpenGL ES 3.1 with many newer extensions&lt;br /&gt;
* '''NPU:''' 0.8 TOPS Neural Processing Unit&lt;br /&gt;
* '''RAM:''' 4GB or 8GB LPDDR4&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** 64GB or 128GB internal eMMC ([https://www.szyuda88.com/product-77313-276594.html SiliconGo SGM8 100C-S36BCG]; eMMC 5.1, up o 400MB/s)&lt;br /&gt;
** 1x MicroSD slot&lt;br /&gt;
* '''Display:''' 10.1&amp;quot; IPS LCD Resolution 1280x800&lt;br /&gt;
* '''Cameras:'''&lt;br /&gt;
** Front: 2Mpx, chipset: Galaxycore GC02M2&lt;br /&gt;
** Rear: 5Mpx, chipset: Omnivision OV5648&lt;br /&gt;
* '''Battery:''' 6000 mAh (22.2Wh)&lt;br /&gt;
* '''Buttons:''' Power, volume up, volume down&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** Wi-Fi: BES2600&lt;br /&gt;
*** Driver under development, use a USB wifi dongle for now&lt;br /&gt;
** Bluetooth: BES2600&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 1x USB-C 3.0 (top, host mode only; power output up to 680mA)&lt;br /&gt;
** 1x USB-C 2.0 + PD (bottom, device mode by default; power input)&lt;br /&gt;
** 1x MicroHDMI&lt;br /&gt;
** 1x 4 pole 3.5mm audio jack (microphone right) and headphone detection&lt;br /&gt;
** 2x speakers + microphone (microphone left)&lt;br /&gt;
** 1x 5 pin (USB 2.0; &amp;lt;=680mA) Pogo connector for keyboard&lt;br /&gt;
** (PCIe on PCB as a flat flex ribbon connector, no room for M.2 NVMe drives in case)&lt;br /&gt;
* '''Sensors:'''&lt;br /&gt;
** Accelerometer: Silan SC7A20&lt;br /&gt;
** Ambient Light &amp;amp; Proximity Sensor&lt;br /&gt;
* '''Multimedia:'''&lt;br /&gt;
** rkdjpeg: 1080p120 JPEG decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** hantro: JPEG/VP8/H.264 encode, 1080p MPEG-2/H.263/VP8/H.264 AVC decode&lt;br /&gt;
*** mainline driver does not yet support all codecs/functions&lt;br /&gt;
*** see [[Mainline Hardware Decoding]] and [[Mainline Hardware Encoding]]&lt;br /&gt;
** rkvdec2: 4K H.264 AVC Main10 L5.1/H.265 HEVC Main10 L5.1/VP9 Profile 0 and 2 L5.1 decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** rkvenc2: 4K H.264 AVC/H.265 HEVC encode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
* '''Build:''' Metal and Plastic&lt;br /&gt;
* '''Dimensions:''' 242x161x9mm&lt;br /&gt;
* '''Weight:''' 538g&lt;br /&gt;
* '''Misc:'''&lt;br /&gt;
** Protective cover with keyboard&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{{SeeMainArticle|Quartz64 Development}}&lt;br /&gt;
&lt;br /&gt;
Linux mainline is already quite far along for the device, as the SoC is the same as is used in the Quartz64 line of devices. Some minor pinetab2-specific adjustments can be found [https://github.com/TuxThePenguin0/linux/tree/device/pine64-pinetab2_stable here] Check the main article for the big picture; PineTab2 specific issues are listed here.&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
* WiFi/Bluetooth chip BES2600:&lt;br /&gt;
** The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing (at the moment it often causes system crashes). This is a priority, but for now, you can [[PineTab2_FAQ#Performing_USB_Tethering_with_an_Android_Phone|USB tether a phone]] or [[PineTab2_FAQ#Selecting_a_USB_WIFI_Adapter|use a supported WI-FI dongle]]. There are at least two code releases available, with two respective/non-interchangeable firmware versions. The latest danctnix kernel has a pretty well working wifi driver.&lt;br /&gt;
** The BES2600 Bluetooth driver needs to be implemented.&lt;br /&gt;
** Hardware bugs - the power and reset circuitry is not properly implemented in the circuitry, so hard reset of the chip (in the theoretical case it freezes) is impossible without power cycling the whole board.&lt;br /&gt;
* The camera drivers needs to be ported ([https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/media/i2c/gc02m2.c gc02m2], [https://elixir.bootlin.com/linux/latest/source/drivers/media/i2c/ov5648.c ov5648]), Rockchip CSI/ISP driver needs to be extended to handle 2 lanes.&lt;br /&gt;
* Suspend does not currently work reliably due to a driver issue. It is therefore disabled in the factory image. Caveat Emptor if you chose to unmask the feature prior to it being fixed.&lt;br /&gt;
&lt;br /&gt;
=== Connecting the UART adapter ===&lt;br /&gt;
&lt;br /&gt;
The USB-C UART adapter can be connected to the PineTab2 to debug boot issues at the early boot:&lt;br /&gt;
&lt;br /&gt;
* Plug the adapter face-up in the USB-C port furthest away from the power button. If all the lights are lit, you have the wrong port: only the green light should be lit when you first plug it in.&lt;br /&gt;
* Plug USB-C cable into the port on the adapter marked &amp;quot;DEBUG&amp;quot;&lt;br /&gt;
* Open a terminal window&lt;br /&gt;
* Install ''minicom'' or ''screen'' via your distribution's package manager, if you don't have it installed already&lt;br /&gt;
* Connect via minicom using &amp;lt;code&amp;gt;sudo minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or via screen using &amp;lt;code&amp;gt;sudo screen /dev/ttyUSB0 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ubuntu-based distro users may encounter the error, &amp;quot;cannot open /dev/ttyUSB0: No such file or directory&amp;quot;.  If this occurs, check the output of &amp;lt;code&amp;gt;sudo dmesg --follow&amp;lt;/code&amp;gt; and unplug/replug the USB to look for any errors.  If you see an error like, &amp;quot;usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1&amp;quot;, then the brltty service is likely conflicting with this device.  Brltty provides access to blind users who use a braille display: if you do not need this service, try disabling it using these commands:&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PPineTab2-pcb.jpg|thumb|right|PineTab2 Board]]&lt;br /&gt;
&lt;br /&gt;
PineTab2 mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_schematic-20230417.pdf PineTab2 mainboard Released Schematic-20230417 ver 2.0]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_comp_ref_top-20230417.pdf PineTab2 PCB Component Reference location v2.0 (top layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_comp_ref_bottom-20230417.pdf PineTab2 PCB Component Reference location v2.0 (bottom layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/pinetab2-V_uart_console_schematic-20221107.pdf PineTab2/PineTab-V UART Dongle Schematic-20221107]&lt;br /&gt;
&lt;br /&gt;
PineTab2 certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinetab2%20FCC-SDOC%20Certificate-LCSA040323223E.pdf PineTab2 FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinetab2%20CE%20RED%20Certificate-LCSA040323224E.pdf PineTab2 CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20CE%20EMC%20Certificate-LCSA040323225E.pdf PineTab2 CE EMC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20ROHS%20Report-LCSA040323221R.pdf PineTab2 ROHS Test Report]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20Keyboard%20CE%20EMC%20Certificate-LCSA062623001E.pdf PineTab2/PineTab-V Detached Keyboard CE EMC Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF Rockchip RK3566 and RK3568 TRM (Technical Reference Manual)]&lt;br /&gt;
&lt;br /&gt;
LCD panel:&lt;br /&gt;
&lt;br /&gt;
* [[:File:Boe-technology-th101mb31ig002-28a-datasheet-v10.pdf|BOE TH101MB31IG002-28A datasheet v1.0]]&lt;br /&gt;
&lt;br /&gt;
== Tutorials and Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
Please see the [[PineTab2 FAQ]] page for tutorials and frequently asked questions.&lt;br /&gt;
&lt;br /&gt;
There's also [[:File:PineTab2_display_panel_disassembly_guide.pdf|PineTab2 disassembly guide]].  The disassembly is a very delicate operation, especially around the corners of the screen.  Several (even experienced) users ended up damaging the screen.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.pine64.org/2022/12/15/december-update-merry-christmas-and-happy-new-pinetab/ December 2022 Community Update]&lt;br /&gt;
* [https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/ February 2023 Community Update]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21643</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21643"/>
		<updated>2024-11-15T06:55:55Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* State of the software */ Linked the instructions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 model A SBC and powered by a Rockchip RK3566 quad-core ARM Cortex A55 64-bit processor with a MALI G-52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains some issues that prevent suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  The required fixes are already available in the shipped Linux distribution, but they need to be [https://gist.github.com/m-weigand/efb1bef6097611d327533ab67b76903b installed manually] by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (''DAM'') without having to open up the device. &lt;br /&gt;
The factory firmware runs at a baud rate of 1500000bps, 8 data bits 1 stop bit, no parity and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21642</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21642"/>
		<updated>2024-11-15T06:53:31Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* State of the software */ Expanded a bit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 model A SBC and powered by a Rockchip RK3566 quad-core ARM Cortex A55 64-bit processor with a MALI G-52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains some issues that prevent suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  The required fixes are already available in the shipped Linux distribution, but they need to be installed manually by the users.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (''DAM'') without having to open up the device. &lt;br /&gt;
The factory firmware runs at a baud rate of 1500000bps, 8 data bits 1 stop bit, no parity and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21641</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21641"/>
		<updated>2024-11-15T06:52:50Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* State of the software */ Briefly described the factory-installed image issues&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 model A SBC and powered by a Rockchip RK3566 quad-core ARM Cortex A55 64-bit processor with a MALI G-52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
{{Warning|The version of Debian-based Linux distribution shipped with the second PineNote batch contains some issues that prevent suspend-to-RAM from working correctly and make entering MaskROM mode using a magnet not possible.  The required fixes are already available in the shipped Linux distribution.}}&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (''DAM'') without having to open up the device. &lt;br /&gt;
The factory firmware runs at a baud rate of 1500000bps, 8 data bits 1 stop bit, no parity and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21640</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21640"/>
		<updated>2024-11-15T06:48:24Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* State of the software */ The current batch is already shipping&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 model A SBC and powered by a Rockchip RK3566 quad-core ARM Cortex A55 64-bit processor with a MALI G-52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch started shipping during the first half of November 2024 with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (''DAM'') without having to open up the device. &lt;br /&gt;
The factory firmware runs at a baud rate of 1500000bps, 8 data bits 1 stop bit, no parity and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Pinebook_Pro&amp;diff=21639</id>
		<title>Pinebook Pro</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Pinebook_Pro&amp;diff=21639"/>
		<updated>2024-11-11T17:05:19Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Post NVMe install power limiting */ Added a warning about new parameter name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PBP.jpg|400px|thumb|right|Pinebook Pro running Debian with MATE]]&lt;br /&gt;
&lt;br /&gt;
The '''Pinebook Pro''' is a Linux and *BSD ARM laptop from PINE64. It is built to be a compelling alternative to mid-ranged Chromebooks that people convert into Linux laptops.&lt;br /&gt;
&lt;br /&gt;
The Pinebook Pro features an IPS 1080p 14″ LCD panel, a premium magnesium alloy shell, high capacity eMMC storage, a 10,000 mAh (9,600 mAh in later batches) capacity battery, and the modularity that only an open source project can deliver with the dimensions of 329mm x 220mm x 12mm (WxDxH). Key features include the Rockchip RK3399 SoC, USB-C for data, video-out and power-in (2.5&amp;amp;nbsp;A at 5&amp;amp;nbsp;V), privacy switches for the microphone, BT/WiFi module, camera and expandable storage via NVMe (PCIe x4) with an optional adapter.&lt;br /&gt;
&lt;br /&gt;
The Pinebook Pro is equipped with 4&amp;amp;nbsp;GB of LPDDR4 system memory, up to 128&amp;amp;nbsp;GB of eMMC flash storage, and 128&amp;amp;nbsp;Mbit of SPI boot flash. The I/O includes: 1 x micro SD card reader (bootable), 1 x USB 2.0, 1 x USB 3.0, 1 x USB Type-C host with DP 1.2 and power-in, PCI Express x4 for an M.2 NVMe SSD drive (requires an optional adapter), and serial console UART (via the headphone jack by setting an internal switch). The keyboard and touchpad both use the USB 2.0 protocol. The LCD panel uses the eDP MiPi display protocol.&lt;br /&gt;
&lt;br /&gt;
== Software and OS Image Downloads ==&lt;br /&gt;
&lt;br /&gt;
Many different Operating Systems (OS) are freely available from the open source community and partner projects. These include various flavors of GNU/Linux (Ubuntu, Debian, Manjaro, etc.) and *BSD.&lt;br /&gt;
&lt;br /&gt;
=== Default Manjaro KDE Desktop Quick Start ===&lt;br /&gt;
&lt;br /&gt;
When you first get your Pinebook Pro and boot it up for the first time, it'll come with Manjaro using the KDE desktop. The Pinebook Pro is officially supported by the Manjaro ARM project, and support can be found on the [https://forum.manjaro.org/c/manjaro-arm/78 Manjaro ARM forums.]&lt;br /&gt;
&lt;br /&gt;
On first boot, it will ask for certain information such as your timezone location, keyboard layout, username, password, and hostname. Most of these should be self-explanatory. Note that the hostname it asks for should be thought of as the &amp;quot;codename&amp;quot; of your machine, and if you don't know what it's about, you can make something up (use a single word, all lower case, no punctuation, e.g. &amp;quot;pbpro&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
After you're on the desktop, be sure to update it as soon as possible and reboot after updates are finished installing. If nothing appears when you click on the Networking icon in your system tray to connect to your Wi-Fi, ensure the Wi-Fi [[#Privacy Switches|privacy switch]] is not disabled.&lt;br /&gt;
&lt;br /&gt;
=== Pinebook Pro images ===&lt;br /&gt;
Under [[Pinebook Pro 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.&lt;br /&gt;
&lt;br /&gt;
=== Linux, the kernel, downstream source ===&lt;br /&gt;
Although the current upstream version boots and works, the development of new features and other improvements is still ongoing. The results (including detailed changelogs) are published on [https://github.com/megous/linux/tags megi's tree].&lt;br /&gt;
&lt;br /&gt;
=== Hardware-accelerated video decoding ===&lt;br /&gt;
Drivers for accelerated video decoding are available in the current kernels but to use the ''v4l2-request'' API with ''FFmpeg'' (and the apps that depend on it) one needs to build [https://github.com/jernejsk/FFmpeg/branches a fork]. With ''mpv'' built against it and the integrated ''yt-dlp'' support watching YouTube and similar sources is possible without stressing the CPU. Read more at [[Mainline Hardware Decoding]].&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
The Pinebook Pro is available in two keyboard configurations: ISO and ANSI. Both the keyboard and touchpad in the Pinebook Pro use the USB 2.0 protocol and show up as such in xinput. The keyboard features function (Fn) keys in the F-key row, which include display brightness controls, sound volume, touchpad lock, and other functionality. There is also a custom PINE64 logo key that functions as Menu/Super key. It has also a secondary functionality for setting the privacy switches.&lt;br /&gt;
&lt;br /&gt;
The keyboard firmware binary can be flashed from userspace using the provided open source utility.&lt;br /&gt;
&lt;br /&gt;
{{warning|DO NOT update the keyboard firmware before checking which keyboard IC your Pinebook Pro has. Some Pinebook Pro were delivered with a ''SH61F83'' instead of a ''SH68F83''. The SH61F83 can only be written 8 times, this will render the keyboard and touchpad unusable if this limit is reached when step 1 is flashed, see the [https://reddit.com/r/PINE64official/comments/loq4db/very_disappointed/ Reddit SH61F83 thread]. The keyboard IC corresponds to ''U23'' on the [[#Pinebook_Pro_Schematics_and_Certifications|top layer silkscreen of the main board]]. It is located under the keyboard flat flexible cable.}}&lt;br /&gt;
&lt;br /&gt;
Documentation for the keyboard can be found in [[#Datasheets for Components and Peripherals|Datasheets for Components and Peripherals]] and details regarding the assembly can be found under [[Pinebook Pro Keyboard Assembly]].&lt;br /&gt;
&lt;br /&gt;
=== Typing special characters ===&lt;br /&gt;
The UK ISO Layout does not have dedicated keys for characters like the German umlauts (Ä, Ö, Ü, etc). Certain characters can still be generated by means of either key combinations or key sequences.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Character&lt;br /&gt;
!Key combination/sequence&lt;br /&gt;
|-&lt;br /&gt;
|Ä, Ö, Ü, ä, ö, ü&lt;br /&gt;
|[AltGr]+'[' followed by [A], [O], [U], [a], [o] or [u]&lt;br /&gt;
|-&lt;br /&gt;
|µ&lt;br /&gt;
|[AltGr]+[m]&lt;br /&gt;
|-&lt;br /&gt;
|Ø, ø&lt;br /&gt;
|[AltGr]+[O], [AltGr]+[o]&lt;br /&gt;
|-&lt;br /&gt;
|@&lt;br /&gt;
|[AltGr]+[q] (as on the German layout)&lt;br /&gt;
|-&lt;br /&gt;
|ß&lt;br /&gt;
|[AltGr]+[s]&lt;br /&gt;
|-&lt;br /&gt;
|§&lt;br /&gt;
|[AltGr]+[S]&lt;br /&gt;
|-&lt;br /&gt;
|°&lt;br /&gt;
|[AltGr]+[)]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Privacy Switches ===&lt;br /&gt;
There are three privacy switches mapped to the F10, F11 and F12 keys on the Pinebook Pro keyboard. They de/activate the following:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Privacy switch function and description&lt;br /&gt;
! Combination&lt;br /&gt;
! Effect&lt;br /&gt;
! Description&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | PINE64 logo key+F10&lt;br /&gt;
| Microphone Privacy switch&lt;br /&gt;
| CAPs lock LED blinks. 2 blinks = enabled, 3 blinks = disabled&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | PINE64 logo key+F11&lt;br /&gt;
| WiFi Privacy switch&lt;br /&gt;
| NUM lock LED blinks. 2 blinks = WiFi enabled / privacy switch disabled, 3 blinks = WiFi disabled / privacy switch enabled.&lt;br /&gt;
| Re-enabling requires reboot (or a [//forum.pine64.org/showthread.php?tid=8313&amp;amp;pid=52645#pid52645 command line hack to bind/unbind]).&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | PINE64 logo key+F12&lt;br /&gt;
| Camera privacy switch&lt;br /&gt;
| CAPs lock and NUM lock LEDs blink together. 2 blinks = enabled, 3 blinks = disabled&lt;br /&gt;
| Can use tools like &amp;lt;code&amp;gt;lsusb&amp;lt;/code&amp;gt; to detect camera's presence. If not detected, check privacy switch.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
(Press the PINE64 logo key plus F10/F11/F12) for 3 seconds)&lt;br /&gt;
&lt;br /&gt;
The keyboard operates on firmware independent of the operating system. It detects if one of the F10, F11 or F12 keys is pressed in combination with the Pine key for 3 seconds. Doing so disables power to the appropriate peripheral, thereby disabling it. This has the same effect as cutting off the power to each peripheral with a physical switch. This implementation is very secure, since the firmware that determines whether a peripheral gets power is not part of the Pinebook Pro’s operating system. So the power state value for each peripheral cannot be overridden or accessed from the operating system. The power state setting for each peripheral is stored across reboots inside the keyboard's firmware flash memory.&lt;br /&gt;
&lt;br /&gt;
=== Basic summary of replacing keyboard ===&lt;br /&gt;
&lt;br /&gt;
This guide is very basic and should be fleshed out with (better) pictures. There just isn't a list of steps anywhere else yet.&lt;br /&gt;
&lt;br /&gt;
Here's what the replacement keyboard looks like:&lt;br /&gt;
&lt;br /&gt;
[[File:Pinebook_Pro_new_keyboard-front.jpg|300px|Replacement keyboard (front)]]&lt;br /&gt;
[[File:Pinebook_Pro_new_keyboard-front.jpg|300px|Replacement keyboard (back)]]&lt;br /&gt;
&lt;br /&gt;
''Step 0'': If changing from ISO keyboard to ANSI keyboard, or vice versa, be sure to have a system capable of running the firmware updater that you can access either remotely or with a USB keyboard beyond the internal keyboard, as the firmware for each is very different and keys won't work correctly. See https://forum.pine64.org/showthread.php?tid=8407 (and for NetBSD, https://forum.pine64.org/showthread.php?tid=8716).&lt;br /&gt;
&lt;br /&gt;
''Step 1'': The remove back back panel.&lt;br /&gt;
&lt;br /&gt;
There are 10 screws on the back that must be removed, and the back panel detached. I recommend using a PH0 bit. The speakers may remain attached via glue to the case and should be carefully pried off. When this is done, taking photos of how everything looks now can help put it all back together later.&lt;br /&gt;
&lt;br /&gt;
[[File:Pinebook_Pro_keyboard-replacement-screws.jpg|300px|Remove the back panel]]&lt;br /&gt;
&lt;br /&gt;
''Step 2'': Places to unscrew.&lt;br /&gt;
&lt;br /&gt;
There are 3 items screwed into the keyboard frame that must be removed. There are 2 large screws for daughter board, 3 large screws and 1 small screw for mainboard, and 4 small screws for battery. Be sure to not lose them. I recommend a PH00 bit for the large screws on the daughter and main boards and a PH1 bit for the small screws on the battery and mainboard.&lt;br /&gt;
&lt;br /&gt;
[[File:Pinebook_Pro_new_keyboard-back-removed.jpg|300px|Remove the back panel]]&lt;br /&gt;
&lt;br /&gt;
''Step 3'': Remove the battery.&lt;br /&gt;
&lt;br /&gt;
Once the battery screws are removed, it should be unplugged from the mainboard and removed. Note that there are two unconnected cables lying around, that should remain unconnected. They are used when the battery is disconnected entirely.&lt;br /&gt;
&lt;br /&gt;
[[File:Pinebook_Pro_new_keyboard-zoom-mainboard.jpg.jpg|300px|Zoom on the mainboard]]&lt;br /&gt;
[[File:Pinebook_Pro_new_keyboard-zoom-daughterboard.jpg|300px|Zoom on the daughterboard]]&lt;br /&gt;
&lt;br /&gt;
''Step 4'': Unplug the ribbon cables.&lt;br /&gt;
&lt;br /&gt;
NOTE: you should remove the M.2 adapter board now if you have one installed. See elsewhere in this wiki for instructions on how to install/remove that piece.&lt;br /&gt;
&lt;br /&gt;
There are several ribbon cables. To remove, flip up the tab and gentle pull the ribbon out.&lt;br /&gt;
&lt;br /&gt;
* One cable runs from the mainboard to the daughterboard underneath the battery. Detach from both ends. With the battery removed, detach from keyboard shell, and set aside for the new keyboard shell.&lt;br /&gt;
* One cable runs between the touchpad and the mainboard. Detach from both ends, and also set aside.&lt;br /&gt;
* One cable runs between the keyboard and the mainboard. This one remains attached to the keyboard and only needs to be detached from the mainboard.&lt;br /&gt;
* One cable from the LCD attaches near the lid hinge. It should be just unplugged.&lt;br /&gt;
&lt;br /&gt;
''Step 5'': Detach microphone, speakers, and antenna.&lt;br /&gt;
&lt;br /&gt;
[[File:Pinebook_Pro_microphone_removed.jpg|300px|thumb|right|One of the Pinebook Pro microphones after removal]]&lt;br /&gt;
&lt;br /&gt;
The speakers, microphone, and antenna don't have to be detached from the mainboard, but they need to be detached from the keyboard shell. The microphones are held in place by tape, and the speakers have sticky sides. The speakers are found obviously, but the microphones (two of) can be found between the battery and the hinge area. Each microphone can be carefully pulled/wedged out of its position by a small screwdriver or pick. The antenna, similar to the microphones, is found near the hinge area and to the top left of the battery.&lt;br /&gt;
&lt;br /&gt;
''Step 6'': Remove mainboard and daughterboard.&lt;br /&gt;
&lt;br /&gt;
At this point, the mainboard and daughterboards should be removed. When unscrewed (see Step 2) they should pull out fairly easily. Put them aside (including microphones and speakers if left attached.)&lt;br /&gt;
&lt;br /&gt;
[[File:Pinebook_Pro_new_keyboard-all-boards-removed.jpg|300px|All boards removed]]&lt;br /&gt;
&lt;br /&gt;
''Step 7'': Detach the LCD panel.&lt;br /&gt;
&lt;br /&gt;
Step 2 didn't tell you, there are 6 more screws to remove here, 3 for each of the hinges. I recommend a PH1 bit for these screws. Unscrew these and the LCD panel will be able to be removed. You may have to jiggle or move the hinges for this. When detached, be sure to place the LCD panel such that the display is protected.&lt;br /&gt;
&lt;br /&gt;
[[File:Pinebook_Pro_new_keyboard-detached-display.jpg|300px|Display detached]]&lt;br /&gt;
[[File:Pinebook_Pro_new_keyboard-detached-display2.jpg|300px|Display detached (front)]]&lt;br /&gt;
&lt;br /&gt;
''Step 8'': Try not to break your touchpad&lt;br /&gt;
&lt;br /&gt;
'''NOTE This section really feels like you're going to break something.'''&lt;br /&gt;
&lt;br /&gt;
The touchpad is glued to the keyboard shell and it's glued well. There are two places it is glued to. If you can, only the middle must be force-detached. You will think you're going to break it. Gently apply increasing force until the glue begins to detach (you will hear a crackle as it comes off), and continue very slowly until the whole thing is detached. This may take minutes due to that feeling you're going to break it.&lt;br /&gt;
&lt;br /&gt;
I found it helpful to lift the top left plastic bit on the keyboard to unstick that portion of the touchpad, then push on the top left portion of the touchpad to unstick the rest of the touchpad.&lt;br /&gt;
&lt;br /&gt;
[[File:Pinebook_Pro_new_keyboard-touchpad1.jpg|300px|Unmouting the touchpad]]&lt;br /&gt;
[[File:Pinebook_Pro_new_keyboard-touchpad2.jpg|300px|Unmouting the touchpad]]&lt;br /&gt;
[[File:Pinebook_Pro_new_keyboard-touchpad3.jpg|300px|Unmouting the touchpad]]&lt;br /&gt;
&lt;br /&gt;
''Step 9'': Over the hill, touchpad goes into new shell.&lt;br /&gt;
&lt;br /&gt;
In the new keyboard shell put the touchpad back where it was, hopefully the glue will remain sufficiently attached. If there is a glue issue, this guide unfortunately has no advice currently.&lt;br /&gt;
&lt;br /&gt;
[[File:Pinebook_Pro_new_keyboard-install-touchpad.jpg|300px|Install the touchpad]]&lt;br /&gt;
&lt;br /&gt;
''Step 10'': Reattach the LCD panel.&lt;br /&gt;
&lt;br /&gt;
The LCD panel should slot back into the keyboard frame, the same way it came out. If the hinges were moved, they should be *very* *gently* closed such that the LCD panel and keyboard closed like normal for the remaining steps.&lt;br /&gt;
&lt;br /&gt;
''Step 11'': Tape it out.&lt;br /&gt;
&lt;br /&gt;
Move any tape from the old keyboard shell to the new one. These items protect the mainboard and daughterboard, and keep various wires in their right place. Some are grey and some are black. For tape that holds the speakers, microhones, or their cables in place, do not reattach yet.&lt;br /&gt;
&lt;br /&gt;
''Step 12'': Board install.&lt;br /&gt;
&lt;br /&gt;
Install the mainboard, the daughtboard, and their connecting ribbon cable. Be sure to put the boards in place, 2 large flat screws for the daughterboard, 3 large flat screws and one small screw for the mainboard, before attempting to place the ribbon.&lt;br /&gt;
&lt;br /&gt;
''Step 13'': Microphone, speaker, and antenna install.&lt;br /&gt;
&lt;br /&gt;
Reattach the microphones, antenna, and speakers to their respective areas, making sure that both are properly oriented - the speaker &amp;quot;out&amp;quot; faces up, and the microphone cables as connected must face up (these are opposite directions.)&lt;br /&gt;
&lt;br /&gt;
''Step 14'': Reattach other ribbon cables.&lt;br /&gt;
&lt;br /&gt;
NOTE: this would be a good time to attach/install the M.2 adapter board if that is desired. See elsewhere in this wiki for those instructions.&lt;br /&gt;
&lt;br /&gt;
The LCD panel, keyboard and touchpad ribbon cables should be reattached. Make sure the flap is open, insert the ribbon into the slot (a portion of the cable will disappear), and push the flap down. The cable should not be easy to pull out.&lt;br /&gt;
&lt;br /&gt;
''Step 15'': Reattach the battery, and final re-tape.&lt;br /&gt;
&lt;br /&gt;
The battery should be installed with the 4 screws holding it in place, and the connector attached to the mainboard. Be sure to keep the two other cables remain unconnected. Ensure all wires and other tapes are held in place.&lt;br /&gt;
&lt;br /&gt;
''Step 16'': Reattach the back panel.&lt;br /&gt;
&lt;br /&gt;
Put the back panel back on, and reattach the 10 screws.&lt;br /&gt;
&lt;br /&gt;
''Step 17'': If you changed from ISO to ANSI or from ANSI to ISO, you'll need to update your firmware now. See the links in Step 0 above.&lt;br /&gt;
&lt;br /&gt;
== Touchpad (trackpad) ==&lt;br /&gt;
Documentation for the touchpad can be found in [[#Datasheets for Components and Peripherals|Datasheets for Components and Peripherals]]. It is the only component of the Pinebook Pro held in place with strong adhesive tape. Here are some of its features:&lt;br /&gt;
&lt;br /&gt;
* 2 actuating buttons.&lt;br /&gt;
&lt;br /&gt;
* multi-touch functionality.&lt;br /&gt;
&lt;br /&gt;
* A matte finish that your finger can slide along easily.&lt;br /&gt;
&lt;br /&gt;
* A reasonable size (96mm × 64mm; diagonal: 115.378mm or 4.542”).&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
If you are having trouble using 2 fingers to scroll or emulate the click of a mouse's right-button, then try these solutions:&lt;br /&gt;
&lt;br /&gt;
* Update the firmware.&lt;br /&gt;
&lt;br /&gt;
* Keep your 2 fingers spread apart rather than close together.&lt;br /&gt;
&lt;br /&gt;
* Individual programs might need to be configured specially.&lt;br /&gt;
&lt;br /&gt;
:* For smooth scrolling and gestures under X-Windows, ''Firefox'' should be launched with with the following environment variable assignment:&lt;br /&gt;
&lt;br /&gt;
::: &amp;lt;code&amp;gt;MOZ_USE_XINPUT2=1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Experiment with other settings, via [[#X-Windows Configuration|X-Windows Configuration]] or some other system preferences. For example, you could disable double-finger scrolling, and instead enable scrolling by sliding one finger along the edge of the touchpad.&lt;br /&gt;
&lt;br /&gt;
=== Firmware ===&lt;br /&gt;
The touchpad controller is connected to the keyboard controller. All touchpad events go through the keyboard controller and its software, then to the keyboard controller's USB port. Note that the touchpad does have separate firmware (which has to be written through the keyboard controller). The touchpad vendor's firmware binary can be flashed from userspace using the following open source command-line utility:&lt;br /&gt;
&lt;br /&gt;
* Kamil Trzciński's [https://github.com/ayufan-rock64/pinebook-pro-keyboard-updater pinebook-pro-keyboard-updater].&lt;br /&gt;
&lt;br /&gt;
Naturally, forks have begun to appear:&lt;br /&gt;
&lt;br /&gt;
* Jack Humbert's [https://github.com/jackhumbert/pinebook-pro-keyboard-updater fork]&lt;br /&gt;
&lt;br /&gt;
* Dragan Simic's [https://github.com/dragan-simic/pinebook-pro-keyboard-updater fork]. This one has recently delivered a much improved firmware from the vendor one, which greatly improves the control of the cursor (see this [https://forum.pine64.org/showthread.php?tid=14531 thread] for discussion). Before installing this update, consider resetting to the defaults any configuration of your touchpad.&lt;br /&gt;
&lt;br /&gt;
'''All Pinebook Pros shipped from the factory have the old buggy version installed so consider updating the keyboard and touchpad firmware with the latest fixes from Dragan.'''&lt;br /&gt;
&lt;br /&gt;
{{warning| DO NOT update the touchpad firmware before checking which keyboard IC your Pinebook Pro has. Some Pinebook Pro were delivered with a ''SH61F83'' instead of a ''SH68F83''. The SH61F83 can only be written 8 times, this will render the keyboard and touchpad unusable if this limit is reached when step 1 (see below) is flashed. See [https://reddit.com/r/PINE64official/comments/loq4db/very_disappointed/ Reddit SH61F83 thread]. The keyboard IC corresponds to ''U23'' on the [[#Pinebook_Pro_Schematics_and_Certifications|top layer silkscreen of the main board]]. It is located under the keyboard flat flexible cable. All the PBPs from the post-pandemic batches have ''SH61F83'' but TL Lim claimed they can be flashed just the same. No updated datasheet or a statement from the MCU vendor was provided though, so proceed at your own risk. Experience shows flashing those works for at least one time.}}&lt;br /&gt;
&lt;br /&gt;
Before updating ''any'' firmware, your Pinebook Pro should be either fully charged or, preferably, running from mains. This utility will be writing data to chips on the keyboard and touchpad, so a loss of power during any stage of the update can result in irrecoverable damage to your touchpad or keyboard.&lt;br /&gt;
&lt;br /&gt;
The scripts ought to work on all operating systems available for the Pinebook Pro. Some operating systems may however, require installation of relevant dependencies. The instructions below assume a Debian desktop. To install these dependencies, newer Pinebook Pro models that come with Manjaro will require a different command.&lt;br /&gt;
&lt;br /&gt;
There are two keyboard versions of the Pinebook Pro: ISO (vertical Enter key) and ANSI (horizontal Enter key). You need to know which model you have prior to running the updater.&lt;br /&gt;
Firmware update steps for both models are listed below.&lt;br /&gt;
&lt;br /&gt;
What you will need:&lt;br /&gt;
&lt;br /&gt;
* Connection to internet for getting dependencies, either through WiFi or wired ethernet (USB dongle).&lt;br /&gt;
* Your Pinebook Pro fully charged or running from mains power.&lt;br /&gt;
* An external USB keyboard and mouse (or access to the Pinebook Pro via SSH. Please note that for some configurations, the SSH service might not be available without first having logged in once. In this case, you will definitely want at least an external keyboard or UART serial console).&lt;br /&gt;
&lt;br /&gt;
==== ISO Model ====&lt;br /&gt;
&lt;br /&gt;
From the terminal command line:&lt;br /&gt;
&lt;br /&gt;
(Debian distros)&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/dragan-simic/pinebook-pro-keyboard-updater&lt;br /&gt;
 cd pinebook-pro-keyboard-updater&lt;br /&gt;
 sudo apt-get install build-essential libusb-1.0-0-dev xxd&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
(Arch distros: eg Manjaro -- NOTE:[https://www.garron.me/en/bits/build-essential-arch-linux.html build-essential], [https://aur.archlinux.org/packages/xxd-standalone xxd] are named differently. Arch linux [https://bbs.archlinux.org/viewtopic.php?id=44950 does not split its packages] as foo and foo-dev)&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/dragan-simic/pinebook-pro-keyboard-updater&lt;br /&gt;
 cd pinebook-pro-keyboard-updater&lt;br /&gt;
 sudo pacman -Syu base-devel xxd-standalone libusb&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
The next steps are identical for both Debian and Arch distros.&lt;br /&gt;
&lt;br /&gt;
Step 1&lt;br /&gt;
&lt;br /&gt;
 cd pinebook-pro-keyboard-updater&lt;br /&gt;
 sudo ./updater step-1&lt;br /&gt;
 sudo poweroff # do not use 'reboot'&lt;br /&gt;
&lt;br /&gt;
Step 2 (after booting)&lt;br /&gt;
&lt;br /&gt;
 cd pinebook-pro-keyboard-updater&lt;br /&gt;
 sudo ./updater step-2 iso&lt;br /&gt;
 sudo poweroff # do not use 'reboot'&lt;br /&gt;
&lt;br /&gt;
==== ANSI Model ====&lt;br /&gt;
&lt;br /&gt;
{{Hint| Note: Running step 1 on the ANSI keyboard model will make the keyboard and touchpad inaccessible until step 2 is run, so an external keyboard must be connected to complete the update on this model!}}&lt;br /&gt;
&lt;br /&gt;
From the terminal command line:&lt;br /&gt;
&lt;br /&gt;
(Debian distros)&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/dragan-simic/pinebook-pro-keyboard-updater&lt;br /&gt;
 cd pinebook-pro-keyboard-updater&lt;br /&gt;
 sudo apt-get install build-essential libusb-1.0-0-dev xxd&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
(Arch distros: eg Manjaro -- NOTE:[https://www.garron.me/en/bits/build-essential-arch-linux.html build-essential], [https://aur.archlinux.org/packages/xxd-standalone xxd] are named differently. Arch linux [https://bbs.archlinux.org/viewtopic.php?id=44950 does not split its packages] as foo and foo-dev)&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/dragan-simic/pinebook-pro-keyboard-updater&lt;br /&gt;
 cd pinebook-pro-keyboard-updater&lt;br /&gt;
 sudo pacman -Syu base-devel xxd-standalone libusb&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
The next steps are identical for both Debian and Arch distros.&lt;br /&gt;
&lt;br /&gt;
Step 1&lt;br /&gt;
&lt;br /&gt;
 cd pinebook-pro-keyboard-updater&lt;br /&gt;
 sudo ./updater step-1&lt;br /&gt;
 sudo poweroff # do not use 'reboot'&lt;br /&gt;
&lt;br /&gt;
Step 2 (after booting)&lt;br /&gt;
&lt;br /&gt;
 cd pinebook-pro-keyboard-updater&lt;br /&gt;
 sudo ./updater step-2 ansi&lt;br /&gt;
 sudo poweroff # do not use 'reboot'&lt;br /&gt;
&lt;br /&gt;
When done, if some of the keys produce incorrect characters, please check your OS’s language settings. For ANSI users, the default OS may have shipped with English UK as the default language. You can change it to English US if desired.&lt;br /&gt;
&lt;br /&gt;
==== Revised Firmware ====&lt;br /&gt;
&lt;br /&gt;
In addition, you might consider using revised firmware data. This is one final step that should not require a reboot:&lt;br /&gt;
&lt;br /&gt;
Step 3: '''ISO''' (after booting)&lt;br /&gt;
&lt;br /&gt;
 sudo ./updater flash-kb firmware/default_iso.hex&lt;br /&gt;
&lt;br /&gt;
Step 3: '''ANSI''' (after booting)&lt;br /&gt;
&lt;br /&gt;
 sudo ./updater flash-kb firmware/default_ansi.hex&lt;br /&gt;
&lt;br /&gt;
=== X Window System Configuration ===&lt;br /&gt;
&lt;br /&gt;
{{Info|Before making adjustments, consider updating the firmware. Reset your adjustments before updating the firmware, so that your adjustments do not interfere with new functionality.}}&lt;br /&gt;
&lt;br /&gt;
When using X.Org display server the touchpad can be handled either by ''libinput'' or ''synaptic'' input drivers. The former allows to have shared configuration for both X.Org and Wayland but the latter provides more tunables (e.g. configurable edge scrolling, circular scrolling, mapping of multi-touch events to mouse buttons etc.)&lt;br /&gt;
&lt;br /&gt;
Some forum members have found that an adjustment to X11 will allow finer motion in the touchpad. If you use the ''synaptic'' mouse/touchpad driver, use this command to make the change live:&lt;br /&gt;
&lt;br /&gt;
 synclient MinSpeed=0.2&lt;br /&gt;
&lt;br /&gt;
You may experiment with different settings, but 0.25 was tested as helping noticeably.&lt;br /&gt;
&lt;br /&gt;
To make the change persist across reboots, change the file '''/etc/X11/xorg.conf''' similar to below:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;InputClass&amp;quot;&lt;br /&gt;
        Identifier &amp;quot;touchpad catchall&amp;quot;&lt;br /&gt;
        Driver &amp;quot;synaptics&amp;quot;&lt;br /&gt;
        MatchIsTouchpad &amp;quot;on&amp;quot;&lt;br /&gt;
        MatchDevicePath &amp;quot;/dev/input/event*&amp;quot;&lt;br /&gt;
        '''Option &amp;quot;MinSpeed&amp;quot; &amp;quot;0.25&amp;quot;'''&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
The line &amp;quot;Option &amp;quot;MinSpeed&amp;quot; &amp;quot;0.25&amp;quot;&amp;quot; is changed here.&lt;br /&gt;
&lt;br /&gt;
Another forum user built on the above settings a little, and have found these to be very good:&lt;br /&gt;
&lt;br /&gt;
 synclient MinSpeed=0.25&lt;br /&gt;
 synclient TapButton1=1&lt;br /&gt;
 synclient TapButton2=3&lt;br /&gt;
 synclient TapButton3=2&lt;br /&gt;
 synclient FingerLow=30&lt;br /&gt;
 synclient PalmDetect=1&lt;br /&gt;
 synclient VertScrollDelta=64&lt;br /&gt;
 synclient HorizScrollDelta=64&lt;br /&gt;
&lt;br /&gt;
''FingerLow'' has the same value as 'FingerHigh' in one config (30). It is believed to help reduce mouse movement as you lift your finger, but it's unknown whether synaptic works like this.&lt;br /&gt;
You may find this config to be comfortable for daily use.&lt;br /&gt;
&lt;br /&gt;
''TabButton'' allows to just tab the touchpad instead of physically pressing it down (to get this click noise).&lt;br /&gt;
&lt;br /&gt;
The right mouse click is emulated by tapping with two fingers on the touchpad. If you feel that this is not very responsive you can try this value:&lt;br /&gt;
&lt;br /&gt;
 synclient MaxTapTime=250&lt;br /&gt;
&lt;br /&gt;
Some users may encounter an issue with the mouse jumping when typing when using libinput driver due to their hand hitting the touchpad which can be fixed by updating the X.Org settings to disable it while typing. One can disable the touchpad while typing by setting the below option in the X.Org config simliar to the previous example.&lt;br /&gt;
&lt;br /&gt;
         Option &amp;quot;DisableWhileTyping&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The setting can be verified by using the xinput command to first list the devices and then listing the properties for the touchpad device. Exact commands to check this have been omitted for save of brevity. If DisableWhileTyping is shown enabled but does not appear to be working the issue may be due to the fact that the keyboard is connected to a USB bus which causes it to be seen as a external keyboard. Make sure you have libinput version 1.19.0 or later installed as it includes the necessary quirk.&lt;br /&gt;
&lt;br /&gt;
Synaptic driver users can add ''syndaemon'' to their X11 session for the same effect.&lt;br /&gt;
&lt;br /&gt;
== Power Supply ==&lt;br /&gt;
* Input Power: 5&amp;amp;nbsp;V DC, 15&amp;amp;nbsp;W (current limit 3&amp;amp;nbsp;A, see also inside photos of the factory-provided DC adapter: [[:File:Pbp_charger_top.jpg|top]], [[:File:Pbp_charger_bottom.jpg|bottom]])&lt;br /&gt;
* Mechanical: 3.5&amp;amp;nbsp;mm OD&amp;amp;nbsp;/ 1.35&amp;amp;nbsp;mm ID, barrel jack (also known as DC 35135 socket)&lt;br /&gt;
* USB-C 5&amp;amp;nbsp;V, 12.5&amp;amp;nbsp;W (current limit is at 2.5&amp;amp;nbsp;A regardless of the USB PD negotiations result)&lt;br /&gt;
* Only use one power input at a time, barrel jack '''or''' USB-C (note: some powerful Type-C adapters have rather limited current for 5&amp;amp;nbsp;V operation, and e.g. 2&amp;amp;nbsp;A won't be enough to run the system and charge the battery at the same time, so check the specs)&lt;br /&gt;
&lt;br /&gt;
[[Pinebook Pro power and charging]] explains how exactly external power supply is used to run the system and charge the battery, as there are several counter-intuitive details about the process.&lt;br /&gt;
&lt;br /&gt;
== LEDs ==&lt;br /&gt;
In total, there are four LEDs on the Pinebook Pro, three of which are placed in the top-left side of the keyboard, and one near the barrel port:&lt;br /&gt;
&lt;br /&gt;
# The red LED next to the barrel port indicates charging, in three ways. First, it will illuminate steadily when either the barrel jack power supply or a USB Type-C charger is connected to the Pinebook Pro, and the charging is active (that means power is supplied to the battery and system in parallel, and if it's not enough the battery can still be discharging). Second, if the battery is at 100&amp;amp;nbsp;%, the LED will remain turned off regardless of the connected power input (however, this is not possible for more than a split-second when the system is running). Third, this LED will flash at 0.5&amp;amp;nbsp;Hz if there are any problems that prevent charging, such as the [[Pinebook_Pro_power_and_charging#Battery_temperature_fix|battery becoming too hot]]. To fully understand all the nuances, read the [[Pinebook_Pro_power_and_charging#Charging_indicator_LED|corresponding article]].&lt;br /&gt;
# The power indicator LED, above the keyboard, supports three different colors: green, amber and red. It is also capable of flashing to indicate eMMC activity, with proper software support. In the default Debian with MATE build, green LED means power and red means suspend (amber is unused).&lt;br /&gt;
# The green NumLock LED, above the keyboard.&lt;br /&gt;
# The green CapsLock LED, above the keyboard.&lt;br /&gt;
&lt;br /&gt;
The NumLock and CapsLock LEDs serve their usual purposes on a keyboard, but they also have a secondary function. When the privacy switches get activated they blink to confirm that the switch has been activated.&lt;br /&gt;
&lt;br /&gt;
== Webcam ==&lt;br /&gt;
{{Hint| You can use Cheese to test the Camera functionality}}&lt;br /&gt;
* Streaming video resolutions supported, (uncompressed):&lt;br /&gt;
** 320 x 240&lt;br /&gt;
** 640 x 480&lt;br /&gt;
** 800 x 600&lt;br /&gt;
** 1280 x 720&lt;br /&gt;
** 1600 x 1200&lt;br /&gt;
* Still frame resolutions supported:&lt;br /&gt;
** 160 x 120&lt;br /&gt;
** 176 x 144&lt;br /&gt;
** 320 x 240&lt;br /&gt;
** 352 x 288&lt;br /&gt;
** 640 x 480&lt;br /&gt;
** 800 x 600&lt;br /&gt;
** 1280 x 720&lt;br /&gt;
** 1600 x 1200&lt;br /&gt;
&lt;br /&gt;
== Audio ==&lt;br /&gt;
=== ALSA configuration ===&lt;br /&gt;
If you do not have the integrated sound card selected as the default, create &amp;lt;code&amp;gt;/etc/asound.conf&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
defaults.pcm.!card rockchipes8316c&lt;br /&gt;
defaults.ctl.!card rockchipes8316c&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to enable software mixing (dmix) by default for all ALSA apps (works without Pipewire or PulseAudio), make &amp;lt;code&amp;gt;/usr/share/alsa/cards/simple-card.conf&amp;lt;/code&amp;gt; file contain this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# default with dmix/dsnoop&lt;br /&gt;
simple-card.pcm.default {&lt;br /&gt;
	@args [ CARD ]&lt;br /&gt;
	@args.CARD {&lt;br /&gt;
		type string&lt;br /&gt;
	}&lt;br /&gt;
	type asym&lt;br /&gt;
	playback.pcm {&lt;br /&gt;
		type plug&lt;br /&gt;
		slave.pcm {&lt;br /&gt;
			@func concat&lt;br /&gt;
			strings [ &amp;quot;dmix:CARD=&amp;quot; $CARD &amp;quot;,RATE=44100&amp;quot; ]&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
	capture.pcm {&lt;br /&gt;
		type plug&lt;br /&gt;
		slave.pcm {&lt;br /&gt;
			@func concat&lt;br /&gt;
			strings [ &amp;quot;dsnoop:CARD=&amp;quot; $CARD &amp;quot;,RATE=44100&amp;quot; ]&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pop/click suppression workaround ===&lt;br /&gt;
&lt;br /&gt;
If you're annoyed by loud popping and clicking sounds, which occur a few seconds after the sound playback stops as a result of the components of the audio chain being turned on and off automatically by the Linux kernel, you can execute the following command manually, or automatically on boot using the &amp;lt;code&amp;gt;tmpfiles.d&amp;lt;/code&amp;gt; systemd feature, for example:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;code&amp;gt;echo 50 &amp;gt; /sys/kernel/debug/asoc/rockchip,es8316-codec/dapm_pop_time&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is a workaround because it effectively (ab)uses a built-in debugging feature of the Linux kernel's audio subsystem, and one of the downsides is that a lot of messages are produced in the kernel log whenever the components of the audio chain are turned on and off automatically by the kernel.&lt;br /&gt;
&lt;br /&gt;
=== Speaker polarity workaround ===&lt;br /&gt;
On newer Pinebook Pro batches, the inverted built-in speaker polarity issue has been fixed. On these units, the speaker polarity can be made reversed again by the &amp;lt;code&amp;gt;alsa-ucm-conf&amp;lt;/code&amp;gt; package, which configures ALSA devices continuously. One workaround would be to remove the package, and the speaker polarity will no longer be set incorrectly. However, this also prevents the built-in speakers from being muted when an output device is plugged into the aux port.&lt;br /&gt;
&lt;br /&gt;
Another workaround is to edit file &amp;lt;code&amp;gt;/usr/share/alsa/ucm2/Rockchip/es8316/HiFi.conf&amp;lt;/code&amp;gt; and change all instances of &amp;lt;code&amp;gt;R Invert&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;Normal&amp;lt;/code&amp;gt;. This is a workaround because it's likely to be overwritten and lost if the &amp;lt;code&amp;gt;alsa-ucm-conf&amp;lt;/code&amp;gt; package is updated.&lt;br /&gt;
&lt;br /&gt;
== Microphones ==&lt;br /&gt;
While it has been said that some Pinebook Pro units contain only one microphone despite having two labeled microphone holes on the outer casing, other units do indeed contain two microphones. It is presently unclear which batches have either configuration. Units from the initial community batch of 1000 units (following the initial 100) are believed to contain two, populating both labeled holes.&lt;br /&gt;
&lt;br /&gt;
The wires leading to both microphones connect to the mainboard with a small white plastic connector, located directly adjacent to the ribbon cable attachment point for the keyboard interface.&lt;br /&gt;
&lt;br /&gt;
=== Built-in microphones not working ===&lt;br /&gt;
If pavucontrol input doesn't show microphone activity try changing the [[Pinebook_Pro#Privacy_Switches|privacy switches]]. If the switches are in the correct place and microphone input isn't working you can run &amp;lt;code&amp;gt;alsamixer&amp;lt;/code&amp;gt; from the command line, hit F6 and select the &amp;lt;code&amp;gt;es8316&amp;lt;/code&amp;gt;, hit F4 to get to the capture screen, select the bar labeled ADC, increase the gain to 0&amp;amp;nbsp;dB, change the audio profile in pavucontrol to another one with input. Additionally you may want to modify ADC PGA to get the levels to where you want them. If that still hasn't fixed it you may want to check that the microphone connector is plugged in (see the section [[#Technical Reference|Technical Reference]]).&lt;br /&gt;
&lt;br /&gt;
=== External wired microphone not working ===&lt;br /&gt;
If you connect a headset with a microphone, you might need to open &amp;lt;code&amp;gt;alsamixer&amp;lt;/code&amp;gt;, change card to &amp;lt;code&amp;gt;es8316&amp;lt;/code&amp;gt;, and change option &amp;lt;code&amp;gt;Differential Mux&amp;lt;/code&amp;gt; from &amp;lt;code&amp;gt;lin1-rin1&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;lin2-rin2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Bluetooth and WiFi ==&lt;br /&gt;
[[File:PinebookPro_WirelessIC_Location.jpg|400px|thumb|right|The Pinebook Pro's AP6256 wireless module]]&lt;br /&gt;
&lt;br /&gt;
===Hardware Overview===&lt;br /&gt;
The Pinebook Pro contains an AMPAK AP6256 wireless module to provide Wi-Fi (compliant to IEEE 802.11ac) and Bluetooth (compliant to Bluetooth SIG revision 5.0). The module contains a Broadcom transceiver IC, believed to be the BCM43456, as well as the support electronics needed to allow the Wi-Fi and Bluetooth modes to share a single antenna.&lt;br /&gt;
&lt;br /&gt;
The wireless module interfaces with the Pinebook Pro’s system-on-chip using a combination of three interfaces: Bluetooth functionality is operated by serial UART and PCM, while the Wi-Fi component uses SDIO. It is unknown if the module’s Bluetooth capabilities are usable under operating systems that do not support SDIO.&lt;br /&gt;
&lt;br /&gt;
The module’s RF antenna pin is exposed on the mainboard via a standard Hirose U.FL connector, where a coaxial feedline links it to a flexible adhesive antenna situated near the upper right corner of the Pinebook Pro’s battery. As the RF connector is fragile and easily damaged, it should be handled carefully during connection and disconnection, and should not be reconnected frequently.&lt;br /&gt;
&lt;br /&gt;
===Issues===&lt;br /&gt;
Problems have been reported with the Wi-Fi transceiver’s reliability during extended periods of high throughput, especially on the 2.4 GHz band. While the cause of this has yet to be determined, switching to the 5 GHz band may improve stability.&lt;br /&gt;
&lt;br /&gt;
Since the Bluetooth transceiver shares both its spectrum and antenna with 2.4 GHz Wi-Fi, simultaneous use of these modes may cause interference, especially when listening to audio over Bluetooth. If Bluetooth audio cuts out frequently, switching to the 5 GHz band – or deactivating Wi-Fi – may help.&lt;br /&gt;
&lt;br /&gt;
===Wi-Fi Capabilities===&lt;br /&gt;
Wi-Fi on the Pinebook Pro is capable of reaching a maximum data transfer rate of approximately 433 megabits per second, using one spatial stream. The transceiver does not support multiple spatial streams or 160-MHz channel bandwidths.&lt;br /&gt;
&lt;br /&gt;
The Wi-Fi transceiver supports the lower thirteen standard channels on the 2.4 GHz band, using a bandwidth of 20 MHz. At least twenty-four channels are supported on the 5 GHz band, spanning frequencies from 5180 to 5320 MHz, 5500 to 5720 MHz, and 5745 to 5825 MHz, with bandwidths of 20, 40, or 80 MHz. This might vary depending on the country you specify in the wireless settings, see ''iw reg get; iw list''.&lt;br /&gt;
&lt;br /&gt;
Maximum reception sensitivity for both bands is approximately -92 dBm. The receiver can tolerate input intensities of no more than -20 dBm on the 2.4 GHz band, and no more than -30 dBm on the 5 GHz band. Maximum transmission power is approximately +15 dBm for either band, falling further to approximately +10 dBm at higher data transfer rates on the 5 GHz band.&lt;br /&gt;
&lt;br /&gt;
With current available drivers and firmware, the Wi-Fi interface supports infrastructure, ad-hoc, and access-point modes with satisfactory reliability. Monitor mode is not presently supported. Wi-Fi Direct features may be available, but it is unclear how to make use of them under Linux.&lt;br /&gt;
&lt;br /&gt;
Be aware that Linux userspace utilities, such as &amp;lt;code&amp;gt;iw&amp;lt;/code&amp;gt;, may report inaccurate information about the capabilities of wireless devices. Parameter values derived from vendor datasheets, or direct testing, should be preferred to the outputs of hardware-querying tools. That said, if a certain feature is not reported by ''iw'' it means the currently running kernel driver plus firmware combination doesn't support it, even when the hardware is capable.&lt;br /&gt;
&lt;br /&gt;
WPA3 PSK support should be possible with ''iwd'' but not ''wpa_supplicant'', see [https://github.com/raspberrypi/linux/issues/4718#issuecomment-1279951709 this ticket] for details.&lt;br /&gt;
&lt;br /&gt;
===Bluetooth Capabilities===&lt;br /&gt;
Bluetooth data transfer speeds have an indicated maximum of 3 megabits per second, but it is unclear what practical data rates can be expected. Audio streaming over Bluetooth is functioning normally, as is networking. Bluetooth Low-Energy functions, such as interacting with Bluetooth beacons, have not yet been tested conclusively.&lt;br /&gt;
&lt;br /&gt;
The Bluetooth transceiver supports all 79 channel allocations, spanning frequencies from 2402 MHz to 2480 MHz. Reception sensitivity is approximately -85 dBm, with a maximum tolerable reception intensity of -20 dBm. Bluetooth transmission power is limited to +10 dBm.&lt;br /&gt;
&lt;br /&gt;
===Disabling Bluetooth===&lt;br /&gt;
&lt;br /&gt;
To disable Bluetooth under Linux once:&lt;br /&gt;
&lt;br /&gt;
 sudo rfkill block bluetooth&lt;br /&gt;
&lt;br /&gt;
To confirm if Bluetooth under Linux is disabled:&lt;br /&gt;
&lt;br /&gt;
 rfkill&lt;br /&gt;
&lt;br /&gt;
To disable Bluetooth on boot (note: for distributions such as Manjaro XFCE see the step below):&lt;br /&gt;
&lt;br /&gt;
 sudo systemctl enable rfkill-block@bluetooth&lt;br /&gt;
&lt;br /&gt;
To disable Bluetooth on certain distributions, such as Manjaro XFCE, right click on the Bluetooth panel icon, select &amp;lt;i&amp;gt;plugins&amp;lt;/i&amp;gt;, then &amp;lt;i&amp;gt;PowerManager&amp;lt;/i&amp;gt;, then &amp;lt;i&amp;gt;configuration&amp;lt;/i&amp;gt; and then deselect the &amp;lt;i&amp;gt;auto power on&amp;lt;/i&amp;gt; option&lt;br /&gt;
&lt;br /&gt;
== LCD Panel ==&lt;br /&gt;
* Model: BOE NV140FHM-N49&lt;br /&gt;
* 14.0&amp;quot; (35.56 cm) diagonal size&lt;br /&gt;
* 1920x1080 resolution&lt;br /&gt;
* 60 Hz refresh rate&lt;br /&gt;
* IPS technology&lt;br /&gt;
* 1000:1 contrast&lt;br /&gt;
* 250 nit brightness&lt;br /&gt;
* 63% sRGB coverage&lt;br /&gt;
* 6-bit color&lt;br /&gt;
* 30-pin eDP connection&lt;br /&gt;
&lt;br /&gt;
== External ports list ==&lt;br /&gt;
Here are a list of the external ports. See [[Pinebook_Pro#Expansion_Ports|Technical Reference - Expansion Ports]] for port specifications.&lt;br /&gt;
* Left side&lt;br /&gt;
** Barrel jack for power, (with LED)&lt;br /&gt;
** USB 3, Type A&lt;br /&gt;
** USB 3, Type C&lt;br /&gt;
* Right side&lt;br /&gt;
** USB 2, Type A&lt;br /&gt;
** Standard headset jack&lt;br /&gt;
** MicroSD card slot&lt;br /&gt;
&lt;br /&gt;
== Using the serial console UART ==&lt;br /&gt;
[[File:PinePhone_Serial_Cable.png|400px|thumb|right|Pinout of the serial adapter. This shows signals from the Pinebook Pro's point of view, so connect the adapter's RX to ring 1, and TX to the tip. See also the [https://files.pine64.org/doc/pinebook/guide/Pinebook_Earphone_Serial_Console_Developer_Guide.pdf Pine64 official document] describing this.]]&lt;br /&gt;
&lt;br /&gt;
Serial console UART is enabled by flipping the UART switch to the ON position (item 9). To do so, you need to remove the Pinebook Pro's bottom cover by following the [[Pinebook_Pro#Disassembly_and_Reassembly|disassembly and reassembly guidelines]]. The OFF position is towards the touchpad, while the ON position is towards the display hinges.&lt;br /&gt;
&lt;br /&gt;
With the UART switch in the ON position, the console is relayed via the headset jack, on which the audio output is no longer available. Please ensure that you are using a 3.3&amp;amp;nbsp;V UART interface (such as the CH340, FTDI-232R, or PL2303, which are available in both 3.3&amp;amp;nbsp;V and 5&amp;amp;nbsp;V variants) to avoid damage to the RK3399 SoC. Older version of the serial console cable sold by the Pine Store used wrong voltage level and should not be used, see [https://forum.pine64.org/showthread.php?tid=9367 this forum thread] for further information. Recent version of the same cable uses the right voltage level, which can also be checked by measuring the voltage on the TX ring.&lt;br /&gt;
&lt;br /&gt;
Insert the USB plug of the cable into a USB port on the machine that you will use to monitor the Pinebook Pro's serial console, ensuring that the audio jack of the serial cable is be fully inserted into the Pinebook Pro's headphone port. Run &amp;lt;code&amp;gt;lsusb&amp;lt;/code&amp;gt; in a terminal and you should see a line similar to this:&lt;br /&gt;
&lt;br /&gt;
 Bus 001 Device 058: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter&lt;br /&gt;
&lt;br /&gt;
Serial console output should now be accessible on the respective machine using a terminal emulator, such as screen, picocom or minicom. Here are a few examples of how to invoke a terminal emuator:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;screen /dev/ttyUSB0 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;picocom /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using the optional NVMe adapter ==&lt;br /&gt;
The optional NVMe adapter allows the use of M.2 SSDs that support the NVMe standard (SATA is not supported).  The adapter supports '''M''' and '''M'''+'''B''' keyed devices, in both 2242 and 2280 physical sizes, which are the most commonly available. In addition, 2230 and 2260 sizes are also supported, though NVMe devices that use those sizes are rare.&lt;br /&gt;
&lt;br /&gt;
Make sure to read the notes in [[Pinebook Pro Hardware Accessory Compatibility#NVMe SSD drives]] before selecting an M.2 SSD for your Pinebook Pro, because there are certain limitations.  Once you have fitted and tested your NVMe drive, please consider adding a note to that page &lt;br /&gt;
&lt;br /&gt;
Please see [[Pinebook Pro Troubleshooting Guide#NVMe SSD issues|a separate section]] that describes reported issues with the NVMe drives in Pinebook Pro.&lt;br /&gt;
&lt;br /&gt;
=== Installing the adapter ===&lt;br /&gt;
The V2.1-2019-0809 SSD adapter that shipped with the initial Pinebook Pro batches had significant issues. A repair kit will be shipped to address those issues.&lt;br /&gt;
(If necessary, it can be modified to work. There is [https://forum.pine64.org/showthread.php?tid=8322&amp;amp;pid=52700#pid52700 an unofficial tutorial on the forums] describing these modifications.)&lt;br /&gt;
&lt;br /&gt;
The updated SSD adapter, labeled V2-2019-1107, takes into account the prior problems with touchpad interference. New orders as of Feb. 22nd, 2020 will be the updated adapter.&lt;br /&gt;
&lt;br /&gt;
This is the link to the Pinebook Pro accessories in the store: https://pine64.com/?v=0446c16e2e66&lt;br /&gt;
&lt;br /&gt;
Actual installation instructions are a work in progress. Unofficial instructions for installing V2-2019-1107 can be found [https://eli.gladman.cc/blog/2020/06/23/pine-book-pro-nvme.html here].&lt;br /&gt;
&lt;br /&gt;
=== Post NVMe install power limiting ===&lt;br /&gt;
{{Warning|Newer versions of the '''nvme-cli''' package have been [https://github.com/linux-nvme/nvme-cli/commit/254ff3d007a11ef5b9513d8906b5f1fe35074a84 changed] to use '''-V''' (uppercase) instead of '''-v''' (lowercase) as the option name for specifying values.  Please update the parameter names used in the commands below, if your Linux distribution packages a newer version.}}&lt;br /&gt;
&lt;br /&gt;
Some NVMe SSDs allow reducing the maximum amount of power. Doing so may reduce the speed, but it may be needed in the Pinebook Pro to both improve reliability on battery: Some NVME may be stable with default settings when runnning on AC power but cause frequent kernel panics (system freeze with power LED blinking red/green) when running on battery. Reducing NVME power drain solves this in some cases. And reducing power used gives better battery life.&lt;br /&gt;
Here are the commands to obtain and change the power settings. The package 'nvme-cli' is required to run these commands. The example shows how to find the available power states, and then sets it to the lowest, non-standby setting, (which is 3.8 watts for the device shown):&lt;br /&gt;
&lt;br /&gt;
 $ sudo nvme id-ctrl /dev/nvme0&lt;br /&gt;
 NVME Identify Controller:&lt;br /&gt;
 ...&lt;br /&gt;
 ps    0 : mp:9.00W operational enlat:0 exlat:0 rrt:0 rrl:0&lt;br /&gt;
          rwt:0 rwl:0 idle_power:- active_power:-&lt;br /&gt;
 ps    1 : mp:4.60W operational enlat:0 exlat:0 rrt:1 rrl:1&lt;br /&gt;
          rwt:1 rwl:1 idle_power:- active_power:-&lt;br /&gt;
 ps    2 : mp:3.80W operational enlat:0 exlat:0 rrt:2 rrl:2&lt;br /&gt;
          rwt:2 rwl:2 idle_power:- active_power:-&lt;br /&gt;
 ps    3 : mp:0.0450W non-operational enlat:2000 exlat:2000 rrt:3 rrl:3&lt;br /&gt;
          rwt:3 rwl:3 idle_power:- active_power:-&lt;br /&gt;
 ps    4 : mp:0.0040W non-operational enlat:6000 exlat:8000 rrt:4 rrl:4&lt;br /&gt;
          rwt:4 rwl:4 idle_power:- active_power:-&lt;br /&gt;
 &lt;br /&gt;
 $ sudo nvme get-feature /dev/nvme0 -f 2&lt;br /&gt;
 get-feature:0x2 (Power Management), Current value:00000000&lt;br /&gt;
 $ sudo nvme set-feature /dev/nvme0 -f 2 -v 2 -s&lt;br /&gt;
 set-feature:02 (Power Management), value:0x000002&lt;br /&gt;
&lt;br /&gt;
Some NVMe SSDs don't appear to allow saving the setting with &amp;quot;-s&amp;quot; option. In those cases, leave off the &amp;quot;-s&amp;quot; and use a startup script to set the non-default power state at boot. If you want to test performance without saving the new power setting semi-permanantly, then leave off the &amp;quot;-s&amp;quot; option.&lt;br /&gt;
&lt;br /&gt;
On systemd based distributions like Manjaro, a non-default power state for an NVME can be set using a systemd service. This is useful in cases where the NVME drive does not save the power state and/or uses APST. An example systemd service, nvme-throttle.service, is shown below:&lt;br /&gt;
&lt;br /&gt;
 [Unit]&lt;br /&gt;
 Description=Throttles NVME to lesss power hungry mode&lt;br /&gt;
 After=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target&lt;br /&gt;
 &lt;br /&gt;
 [Service]&lt;br /&gt;
 Type=oneshot&lt;br /&gt;
 ExecStart=/usr/bin/nvme set-feature /dev/nvme0 -f 2 -v 1&lt;br /&gt;
 &lt;br /&gt;
 [Install]&lt;br /&gt;
 WantedBy=multi-user.target suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target&lt;br /&gt;
&lt;br /&gt;
Here the value after &amp;quot;-v&amp;quot; is the maximum power state that you want your SSD to use. This will be executed at system startup, and every time your system exits any suspend mode that might reset the SSD to default values.&lt;br /&gt;
&lt;br /&gt;
This file needs to be placed in the /etc/systemd/system directory. Afterwards, to activate the service, run:&lt;br /&gt;
&lt;br /&gt;
 systemctl daemon-reload&lt;br /&gt;
 systemctl enable --now nvme-throttle.service&lt;br /&gt;
&lt;br /&gt;
There is another power saving feature for NVMes, APST, (Autonomous Power State Transitions). This performs the power saving &amp;amp; transitions based on usage. To check if you have a NVMe SSD with this feature:&lt;br /&gt;
&lt;br /&gt;
 $ sudo nvme get-feature -f 0x0c -H /dev/nvme0&lt;br /&gt;
&lt;br /&gt;
Information for this feature, (on a Pinebook Pro), is a work in progress. It is enabled by default in latest Manjaro kernels and reported to work.&lt;br /&gt;
On some NVME SSDS (WD), APST is compatible with limiting NVME maximum power: APST will work and not exceed maximum power state defined using&lt;br /&gt;
previous method.&lt;br /&gt;
&lt;br /&gt;
=== Using as data drive ===&lt;br /&gt;
As long as the kernel in use has both the PCIe and NVMe drivers, you should be able to use a NVMe drive as a data drive. It can automatically mount when booting from either the eMMC or an SD card. This applies to Linux, FreeBSD, and Chromium, using the normal partitioning and file system creation tools. Android requires testing.&lt;br /&gt;
&lt;br /&gt;
=== Using as OS root drive ===&lt;br /&gt;
The SoC does not include the NVMe boot code, so the NVMe is not in the SoC's boot order. However, using the [https://github.com/mrfixit2001/updates_repo/blob/v1.1/pinebook/filesystem/mrfixit_update.sh U-Boot update script] from the mrfixit2001 Debian or [https://pastebin.com/raw/EeK074XB Arglebargle's modified script], and [https://github.com/pcm720/rockchip-u-boot/releases the modified u-boot images] provided by forum user pcm720, you can now add support to boot from an NVMe drive. Binary images are useable with SD, eMMC, and [[Pinebook_Pro_SPI|SPI flash]]. For OS images using the mainline kernel, there are a few variants of U-Boot available that also support NVMe as the OS drive. Though these may require writing the U-Boot to the SPI flash for proper use of the NVMe as the OS drive.&lt;br /&gt;
&lt;br /&gt;
The current boot order, per last testing, for this modified U-Boot is:&lt;br /&gt;
* MicroSD&lt;br /&gt;
* eMMC&lt;br /&gt;
* NVMe&lt;br /&gt;
&lt;br /&gt;
For more information, please refer to [https://forum.pine64.org/showthread.php?tid=8439&amp;amp;pid=53764#pid53764 the forum post.]&lt;br /&gt;
&lt;br /&gt;
It is also possible to initially boot off an eMMC or SD card, then transfer to a root file system on the NVMe. Currently, it is necessary to have the U-Boot code on an eMMC or SD card. (A forum member [https://forum.pine64.org/showthread.php?tid=8439 posted here] about using a modified version of U-Boot with NVMe drivers, that uses '''/boot''' and '''/''' off the NVMe drive. So this may change in the future.)&lt;br /&gt;
&lt;br /&gt;
Please see [[Pinebook_Pro#Bootable Storage|Bootable Storage]].&lt;br /&gt;
&lt;br /&gt;
== Caring for the Pinebook Pro ==&lt;br /&gt;
&lt;br /&gt;
=== Bypass Cables ===&lt;br /&gt;
{{Warning|'''Do not connect the bypass cables with the battery connected.'''  Using the bypass cables with the battery connected can permanently damage your Pinebook Pro.  After you're done with using the bypass cables and want to return to the default setup, make sure to affix the bypass cables to the main body of the laptop using adhesive tape, in the same way as it was done in the factory.  This ensures that the exposed leads in the connectors on the bypass cables don't touch any conductive surface inside the laptop, which may cause a short.}}&lt;br /&gt;
&lt;br /&gt;
The mainboard features two bypass cables that are to be used only with the battery disconnected.  The two bypass cables are disconnected by default.  The female (10) male (6) ends of the bypass cables can be connected to provide power to the mainboard if you need to run your Pinebook Pro with no battery.  Please refer to this [https://files.pine64.org/doc/PinebookPro/PinebookPro_Engineering_Notice.pdf engineering notice] for more details.&lt;br /&gt;
&lt;br /&gt;
Connecting the bypass cables together effectively connects the charger input where the battery output is, which also bypasses the charging circuit inside the Pinebook Pro.  Thus, with the bypass cables connected together, the charger powers the Pinebook Pro directly, just like the battery does it when the laptop is running on battery power.  This also means that no input current limiting is any longer in place, making it possible to draw more than 3&amp;amp;nbsp;A from the charger, and to trigger its overcurrent protection, which may cause operating system instability and crashes.&lt;br /&gt;
&lt;br /&gt;
Despite the bypass cables having two conductors, they are used as a single conductor.  Having both wires soldered together on either side of the bypass cables is normal, and such load-sharing design allows use of a compact connector on the bypass cables.&lt;br /&gt;
&lt;br /&gt;
When removing the large RF shield found on the mainboard, for example when shorting the pins on the SPI chip, make absolutely sure to align it correctly while putting it back.  Failing to do so can result in shorting the battery to the ground, due to the close proximity of the solder pads for the bypass cables, which would prevent the normal operation and effectively cause a fire hazard.  It is highly recommended to disconnect the battery before removing the RF shield, and before putting it back.&lt;br /&gt;
&lt;br /&gt;
=== Self-Service Step-by-Step Guides ===&lt;br /&gt;
These are self-service instruction guides for the disassembly of the 14-inch Pinebook, but they still almost directly apply to the Pinebook Pro:&lt;br /&gt;
&lt;br /&gt;
* [http://files.pine64.org/doc/pinebook/guide/Pinebook_14-Battery_Removal_Guide.pdf Lithium Battery Pack Removal Guide]&lt;br /&gt;
* [http://files.pine64.org/doc/pinebook/guide/Pinebook_14-Screen_Removal_Guide.pdf LCD Panel Screen Removal Guide]&lt;br /&gt;
* [http://files.pine64.org/doc/pinebook/guide/Pinebook_14-eMMC_Removal_Guide.pdf eMMC Module Removal Removal Guide]&lt;br /&gt;
&lt;br /&gt;
Assembling it back requires the described steps to be performed in the reverse order.&lt;br /&gt;
&lt;br /&gt;
== Using the SPI flash device ==&lt;br /&gt;
{{Warning|'''When removing the large RF shield found on the mainboard, to be able to short the pins on the SPI chip, make absolutely sure to align it correctly while putting it back.'''  Failing to do so can result in shorting the battery to the ground, due to the close proximity of the solder pads for the bypass cables, which would prevent the normal operation and effectively cause a fire hazard.  It is highly recommended to disconnect the battery before removing the RF shield, and before putting it back.}}&lt;br /&gt;
&lt;br /&gt;
See [[Pinebook Pro SPI]] for details.&lt;br /&gt;
&lt;br /&gt;
The Pinebook Pro comes with a 128Mbit, (16MByte), flash device suitable for initial boot target, to store the bootloader. The SoC used on the Pinebook Pro boots from this SPI flash device first, before eMMC or SD card. At present, April 19, 2020, the Pinebook Pros ship without anything programmed in the SPI flash device. So the SoC moves on to the next potential boot device, the eMMC. ARM/ARM64 computers do not have a standardized BIOS, yet.&lt;br /&gt;
&lt;br /&gt;
Here is some information on using the SPI flash device:&lt;br /&gt;
&lt;br /&gt;
* You need the kernel built with SPI flash device support, which will supply a device similar to: '''/dev/mtd0'''&lt;br /&gt;
* The Linux package below, will need to be available: ''mtd-utils''&lt;br /&gt;
* You can then use this program from the package to write the SPI device: &amp;lt;code&amp;gt;flashcp &amp;lt;filename&amp;gt; /dev/mtd0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Even if you need to recover from a defective bootloader written to the SPI flash, you can simply short pin 6 of the SPI flash to GND and boot. This will render the SoC bootrom unable to read from the SPI flash and have it fall back to reading the bootloader from other boot media like the eMMC or Micro SD card.&lt;br /&gt;
&lt;br /&gt;
The procedures described above are a lot less risky than attaching an external SPI flasher and do not require any additional hardware. At present, April 19th, 2020, there is no good bootloader image to flash into the SPI flash device. This is expected to change, as there are people working on issue.&lt;br /&gt;
&lt;br /&gt;
== Software tuning guide ==&lt;br /&gt;
&lt;br /&gt;
The software tuning guides can be found in the article [[Pinebook Pro Software Tuning Guide]].&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting guide ==&lt;br /&gt;
&lt;br /&gt;
Do not panic if something goes wrong or in an unexpected way. Instead, stop and consider carefully how to undo something, or how to redo it. This particularly applies when flashing a new operating system, or flashing new firmware to the keyboard or touchpad. If everything fails, consider reporting the issue on the forums, with as many relevant details as available.&lt;br /&gt;
&lt;br /&gt;
Please, have a look at the [[Pinebook Pro Troubleshooting Guide]], which details a number of issues you may encounter.&lt;br /&gt;
&lt;br /&gt;
== Hardware/Accessory Compatibility ==&lt;br /&gt;
Please contribute to the [[Pinebook Pro Hardware Accessory Compatibility|hardware/accessory compatibility page]], which lists the status of hardware tested with the Pinebook Pro. Available hardware categories include the following:&lt;br /&gt;
&lt;br /&gt;
* [[Pinebook Pro Hardware Accessory Compatibility#NVMe SSD drives|NVMe SSD drives]]&lt;br /&gt;
* [[Pinebook Pro Hardware Accessory Compatibility#USB hardware|USB hardware]]&lt;br /&gt;
* [[Pinebook Pro Hardware Accessory Compatibility#USB C alternate mode DP|USB-C alternate mode DP]]&lt;br /&gt;
* [[Pinebook Pro Hardware Accessory Compatibility#Other hardware|Other hardware]]&lt;br /&gt;
&lt;br /&gt;
== Disassembly and Reassembly ==&lt;br /&gt;
[[File:Standoffs.png|400px|thumb|right|Pinebook Screw stand-offs correct placement and location]]&lt;br /&gt;
&lt;br /&gt;
[[File:Hinges_cover_removed_1.jpeg|300px|thumb|right|Hinge area of the Pinebook Pro lid with the cover removed]]&lt;br /&gt;
[[File:Hinges_cover_removed_2.jpeg|300px|thumb|right|Close-up of a Pinebook Pro lid hinge]]&lt;br /&gt;
&lt;br /&gt;
There are a few '''mandatory''' precautions to be taken:&lt;br /&gt;
&lt;br /&gt;
* Do not open the laptop by lifting the lid while the Pinebook Pro bottom cover is removed - this can cause structural damage to the hinges and/or other plastic components of the chassis such as the IO port cut-outs.&lt;br /&gt;
* When removing the back cover plate, *do not, under any circumstances, slide your fingertips between the metal shell and the plastic frame!* The back cover plate edges are sharp, and when combined with the pressure and movement generated from, specifically, attempting to slide the tips of your fingers along the bottom edge of the plate along the lid-hinge, they *will* slice open the tips of your fingers like a knife.&lt;br /&gt;
* When removing the back cover plate, use care to avoid damaging the speakers. They can be stuck to the back cover with double-sided tape, and the thin wires are very delicate. Newer Pinebook Pro laptops (as of the May 2021 batch, and perhaps earlier) seem to lack the double-sided tape to the rear cover, instead opting for tape or glue that makes them stick to the front cover. Nevertheless, be gentle when removing the back cover.&lt;br /&gt;
&lt;br /&gt;
[[File:PinebookProScrewGuide.png|400px|thumb|right|Pinebook Pro external screws (this particular unit has suffered damage on screw (4)L)]]&lt;br /&gt;
&lt;br /&gt;
When disassembling the laptop make sure that it is powered off and folded closed. To remove the bottom cover of the Pinebook Pro, first remove the ten (10) Phillips head screws that hold the bottom section of the laptop in place. There are four (4) short screws along the front edge, and six (6) long screws along the 3 remaining sides. Remove the cover from the back where the hinges are situated by lifting it up and away from the rest of the chassis. The aluminum case is held on only by screws. There are no plastic snaps, and the shell should pull away without any effort. If you experience any resistance at all stop and ensure all ten (10) screws are accounted for.&lt;br /&gt;
&lt;br /&gt;
During reassembly, make sure that the back-screw standoffs are in place and seated correctly. Before replacing the aluminum back-plate, ensure that the speakers are properly seated by pressing gently on the hard plastic edge of the speaker module. Slide the bottom section into place so it meets the front lip of the keyboard section. Secure the front section (where the touchpad is located) in place using the short screws in the front left and right corners. Then proceed to pop in the bottom panel into place. Secure the bottom section (where hinges are located) by screwing in the left and right corners. Then screw in the remaining screws and run your finger though the rim on the chassis to make sure its fitted correctly. Note that the front uses the remaining 4 short screws.&lt;br /&gt;
&lt;br /&gt;
The screws are small and should only be finger tight. Too much force will strip the threads. If after installing screws the back cover plate has not seated properly on one side (which may be caused by the aforementioned misseating of the speakers), open the display and hold the base on either side of the keyboard and gently flex the base with both hands in opposing directions. Once the side pops further in, then recheck the screws on that side. If it does not pop back in, re-open the machine and check for misseated components.&lt;br /&gt;
&lt;br /&gt;
A basic 3D model to print replacement standoffs for the back cover screws is [https://www.thingiverse.com/thing:4226648 available on Thingiverse], until the official drawings or 3D models are made available.&lt;br /&gt;
&lt;br /&gt;
Many units come with the hinges too stiff from the factory. You can tell if it affects your device by carefully observing if operating the lid on a fully assembled notebook flexes the case. This repeated flexing can lead to plastic and metal fatigue and eventually broken parts. Consider carefully using a flat screwdriver or similar object to unbend the hinges a bit by wedging it into the slot (requires the display part to be fully detached from the main body).&lt;br /&gt;
&lt;br /&gt;
=== Display Disassembly===&lt;br /&gt;
It is not recommended to adjust the position of the lid when the bottom cover is removed, because the bottom cover provides structural strength, so the lid should be open fully as the first step, before starting any disassembly of the laptop. After opening the lid, remove the bottom cover by following the instruction found in the section above. Alternatively, you can keep the lid closed and remove the screws that hold the hinges to the main laptop body, as described in [[#Caring for the PineBook Pro|Pinebook Service Step by Step Guides]].&lt;br /&gt;
&lt;br /&gt;
Parts of the hinge mechanism, as well as the screws that hold the hinges to the lid, are hidden behind an elongated plastic U-shaped cover that snaps in place using latches. Use a dedicated plastic prying tool or a guitar pick to gently pry the cover and remove it, starting from the outer edge. Once you pry the cover to a certain extent, it should be possible to remove it fully using only your hands. The U-shaped cover is rather sturdy, but still be careful not to break or bend it.&lt;br /&gt;
&lt;br /&gt;
There are two small screws hidden underneath the two small rubber nubs on the upper part of the screen bezel, so first gently remove the nubs and then remove the screws. The screen bezel is held in place with a combination of latches and some adhesive tape, which is there to prevent dust ingress. The adhesive isn't very strong, and the bezel is capable of flexing back into shape after being twisted to a certain extent. There is more adhesive on the bottom part of the screen bezel, so be more careful while prying that section apart. Use the same prying tool that you used for the U-shaped cover, and work it around the outer edges of the screen bezel.&lt;br /&gt;
&lt;br /&gt;
== Internal Layout ==&lt;br /&gt;
&lt;br /&gt;
=== Main chips ===&lt;br /&gt;
* RK3399 system-on-chip (1)&lt;br /&gt;
* LPDDR4 SDRAM (21)&lt;br /&gt;
* SPI NOR flash memory (29)&lt;br /&gt;
* eMMC flash memory module (26; Note: Some datasheets indicate a low supported number of mating cycles.)&lt;br /&gt;
* WiFi/BT module (27)&lt;br /&gt;
&lt;br /&gt;
=== Mainboard Switches and Buttons ===&lt;br /&gt;
There are two switches on the main board: disabling the eMMC module (24), and enabling serial console UART (9) via headphone jack.&lt;br /&gt;
&lt;br /&gt;
The Reset and Recovery buttons (28): the reset button performs an immediate reset of the laptop. The Recovery button is used to place the device in maskrom mode. This mode allows flashing eMMC using Rockchip tools (e.g. rkflashtools).&lt;br /&gt;
&lt;br /&gt;
[[File:PBPL_S.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
=== Key Internal Parts ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Numbered parts classification and description&lt;br /&gt;
! Number&lt;br /&gt;
! Type&lt;br /&gt;
! Descriptor&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 1&lt;br /&gt;
| Component || RK3399 System-On-Chip&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 2&lt;br /&gt;
| Socket || PCIe x4 slot for optional NVMe adapter&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 3&lt;br /&gt;
| Socket || Speakers socket&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 4&lt;br /&gt;
| Socket || Touchpad socket&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 5&lt;br /&gt;
| Component || Left speaker&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 6&lt;br /&gt;
| Connector || Power bridge connector&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 7&lt;br /&gt;
| Socket || Keyboard Socket&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 8&lt;br /&gt;
| Component || Optional NVMe SSD adapter&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 9&lt;br /&gt;
| Switch || UART/Audio switch - enables serial console UART via headphone jack&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 10&lt;br /&gt;
| Socket || Power bridge socket&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 11&lt;br /&gt;
| Socket || Battery socket&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 12&lt;br /&gt;
| Component || Touchpad&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 13&lt;br /&gt;
| Component || Battery&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 14&lt;br /&gt;
| Component || Right speaker&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 15&lt;br /&gt;
| Socket || MicroSD card slot&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 16&lt;br /&gt;
| Socket || Headphone / serial console UART jack&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 17&lt;br /&gt;
| Socket || USB 2.0 Type A&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 18&lt;br /&gt;
| Socket || Daughterboard-to-mainboard ribbon cable socket&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 19&lt;br /&gt;
| Cable || Daughterboard-to-mainboard ribbon cable&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 20&lt;br /&gt;
| Component || microphone&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 21&lt;br /&gt;
| Component || LPDDR4 RAM&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 22&lt;br /&gt;
| Socket || Mainboard-to-daughterboard ribbon cable socket&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 23&lt;br /&gt;
| Socket || Microphone socket&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 24&lt;br /&gt;
| Switch || Switch to hardware disable eMMC&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 25&lt;br /&gt;
| Antenna || BT/WiFI antenna&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 26&lt;br /&gt;
| Component || eMMC flash memory module&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 27&lt;br /&gt;
| Component ||BT/WiFi module chip&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 28&lt;br /&gt;
| Buttons || Reset and recovery buttons&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 29&lt;br /&gt;
| Component || SPI flash storage&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 30&lt;br /&gt;
| Socket || eDP LCD socket&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 31&lt;br /&gt;
| Socket || Power in barrel socket&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 32&lt;br /&gt;
| Socket || USB 3.0 Type A&lt;br /&gt;
|-&lt;br /&gt;
! scope=row | 33&lt;br /&gt;
| Socket || USB 3.0 Type C &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Smallboard detailed picture ===&lt;br /&gt;
&lt;br /&gt;
[[File:Pinebook_pro_smallboard.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
== Bootable Storage ==&lt;br /&gt;
&lt;br /&gt;
[[File:Pbp_emmc_disable_sw.jpg|480px|thumb|The PineBook Pro eMMC module and switch, shown in 'enabled' position]]&lt;br /&gt;
&lt;br /&gt;
=== Boot sequence details ===&lt;br /&gt;
The RK3399's mask 32KB ROM boot code looks for the next stage of code at byte off-set 32768, (sector 64 if using 512 byte sectors). This is where U-Boot code would reside on any media that is bootable, [[RK3399_boot_sequence|RK3399 boot sequence]]&lt;br /&gt;
&lt;br /&gt;
=== Boot devices ===&lt;br /&gt;
&lt;br /&gt;
The Pinebook Pro is capable of booting from eMMC, USB 2.0, USB 3.0, or an SD card. It cannot boot from USB-C. The boot order of the hard-coded ROM of its RK3399 SoC is: SPI NOR, eMMC, SD, USB OTG.&lt;br /&gt;
&lt;br /&gt;
At this time, the Pinebook Pro ships with a Manjaro + KDE build with [https://www.denx.de/wiki/U-Boot/ u-boot] on the eMMC. Its boot order is: SD, USB, then eMMC.&lt;br /&gt;
&lt;br /&gt;
(An update has been pushed for the older Debian + MATE build that improves compatibility with booting other operating systems from an SD card. In order to update, fully charge the battery, establish an internet connection, click the update icon in the toolbar, and then reboot your Pinebook Pro. Please see [https://forum.pine64.org/showthread.php?tid=7830 this log] for details.)&lt;br /&gt;
&lt;br /&gt;
Please note that PCIe, the interface used for NVMe SSD on the Pinebook Pro, is not bootable on the RK3399 and therefore is not a part of the boot hierarchy. It is possible to run the desired OS from NVMe by pointing extlinux on the eMMC to rootfs on the SSD. This requires uboot, the Kernel image, DTB, and extlinux.conf&lt;br /&gt;
in a /boot partition on the eMMC.&lt;br /&gt;
&lt;br /&gt;
=== eMMC information ===&lt;br /&gt;
&lt;br /&gt;
The eMMC appears to be hot-pluggable. This can be useful if trying to recover data or a broken install. Best practice is probably to turn the eMMC switch to off position before changing modules. Note that the enable/disable label on the silkscreen is incorrect on some board revisions (known bad on v2.1).&lt;br /&gt;
&lt;br /&gt;
The eMMC storage will show up as multiple block devices:&lt;br /&gt;
*mmcblk1boot0 - eMMC standard boot0 partition, may be 4MB&lt;br /&gt;
*mmcblk1boot1 - eMMC standard boot1 partition, may be 4MB&lt;br /&gt;
*mmcblk1rpmb - eMMC standard secure data partition, may be 16MB&lt;br /&gt;
*mmcblk1 - This block contains the user areas&lt;br /&gt;
&lt;br /&gt;
Only the last is usable as regular storage device in the Pinebook Pro.&lt;br /&gt;
The device number of &amp;quot;1&amp;quot; shown above may vary, depending on kernel.&lt;br /&gt;
&lt;br /&gt;
If the eMMC module is enabled after boot from an SD card, you can detect this change with the following commands as user &amp;quot;root&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 echo fe330000.mmc &amp;gt;/sys/bus/platform/drivers/sdhci-arasan/unbind&lt;br /&gt;
 echo fe330000.mmc &amp;gt;/sys/bus/platform/drivers/sdhci-arasan/bind&lt;br /&gt;
&lt;br /&gt;
(Note: with the device trees coming with older kernels (Linux &amp;lt; 5.11), the device name may be fe330000.sdhci instead of fe330000.mmc)&lt;br /&gt;
&lt;br /&gt;
== Case Dimensions and Data ==&lt;br /&gt;
* Dimensions: 329&amp;amp;nbsp;mm&amp;amp;nbsp;x 220&amp;amp;nbsp;mm&amp;amp;nbsp;x 12&amp;amp;nbsp;mm (W&amp;amp;nbsp;x D&amp;amp;nbsp;x H)&lt;br /&gt;
* Weight: 1.26&amp;amp;nbsp;kg&lt;br /&gt;
* Screws on the bottom lid&lt;br /&gt;
** Philips-head type screws&lt;br /&gt;
** M2 flat-head machine screws&lt;br /&gt;
** 4 x short screw (used along the front edge): head diameter - 3.44&amp;amp;nbsp;mm, thread diameter - 1.97&amp;amp;nbsp;mm, thread length - 2.1&amp;amp;nbsp;mm, overall length - 3.05&amp;amp;nbsp;mm&lt;br /&gt;
** 6 x long screw (used elsewhere): head diameter - 3.44&amp;amp;nbsp;mm, thread diameter - 1.97&amp;amp;nbsp;mm, thread length - 4.41&amp;amp;nbsp;mm, overall length - 5.85&amp;amp;nbsp;mm&lt;br /&gt;
* Rubber feet&lt;br /&gt;
** 18&amp;amp;nbsp;mm diameter&lt;br /&gt;
** 3&amp;amp;nbsp;mm height&lt;br /&gt;
** Dome shaped&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specification ==&lt;br /&gt;
[[File:Rockchip_RK3399.png|right]]&lt;br /&gt;
* Based on Rockchip RK3399&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* big.LITTLE architecture: Dual Cortex-A72 + Quad Cortex-A53, 64-bit CPU&lt;br /&gt;
** Full implementation of the ARM architecture v8-A instruction set (both AArch64 and AArch32)&lt;br /&gt;
** ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
** VFPv4 floating point unit supporting single and double-precision operations&lt;br /&gt;
** Hardware virtualization support&lt;br /&gt;
** TrustZone technology support&lt;br /&gt;
** Full CoreSight debug solution&lt;br /&gt;
** One isolated voltage domain to support DVFS&lt;br /&gt;
* Cortex-A72 (big cluster):&lt;br /&gt;
** [https://developer.arm.com/products/processors/cortex-a/cortex-a72 Dual-core Cortex-A72 up to 2.0GHz CPU]&lt;br /&gt;
** Superscalar, variable-length, out-of-order pipeline&lt;br /&gt;
** L1 cache 48KB Icache and 32KB Dcache for each A72&lt;br /&gt;
** L2 cache 1024KB for big cluster&lt;br /&gt;
* Cortex-A53 (little cluster):&lt;br /&gt;
** [https://developer.arm.com/products/processors/cortex-a/cortex-a53 Quad-core Cortex-A53 up to 1.5GHz CPU]&lt;br /&gt;
** In-order pipeline with symmetric dual-issue of most instructions&lt;br /&gt;
** L1 cache 32KB Icache and 32KB Dcache for each A53&lt;br /&gt;
** L2 cache 512KB for little cluster&lt;br /&gt;
* Cortex-M0 (control processors):&lt;br /&gt;
** [https://developer.arm.com/ip-products/processors/cortex-m/cortex-m0 Cortex-M0 CPU]&lt;br /&gt;
** Two Cortex-M0 cooperate with the central processors&lt;br /&gt;
** Architecture: Armv6-M&lt;br /&gt;
** Thumb/Thumb2 instruction set&lt;br /&gt;
** 32 bit only&lt;br /&gt;
&lt;br /&gt;
=== GPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/products/graphics-and-multimedia/mali-gpus/mali-t860-and-mali-t880-gpus ARM Mali-T860MP4 Quad-core GPU]&lt;br /&gt;
* The highest performance GPUs built on Arm Mali’s famous Midgard architecture, the Mali-T860 GPU is designed for complex graphics use cases and provide stunning visuals for UHD content.&lt;br /&gt;
* Frequency 650MHz&lt;br /&gt;
* Throughput 1300Mtri/s, 10.4Gpix/s&lt;br /&gt;
* Graphic interface standards:&lt;br /&gt;
** OpenGL® ES 1.1, 1.2, 2.0, 3.0, 3.1, 3.2. (Panfrost has initial support of 3.0 beginning 2020/02/27)&lt;br /&gt;
** Vulkan 1.0, using the Mali binary blob. (Panfrost does not support Vulkan as of 2020/06/24)&lt;br /&gt;
** OpenCL™ 1.1, 1.2&lt;br /&gt;
** DirectX® 11 FL11_1&lt;br /&gt;
** RenderScript™&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory:&lt;br /&gt;
** LPDDR4&lt;br /&gt;
** 800MHz, (limited by RK3399)&lt;br /&gt;
** Dual memory channels on the CPU, each 32 bits wide&lt;br /&gt;
** Quad memory channels on the RAM chip, each 16 bits wide, 2 bonded together for each CPU channel&lt;br /&gt;
** 4GB as a single 366 pin mobile RAM chip&lt;br /&gt;
* Storage Memory:&lt;br /&gt;
** 64GB eMMC module, can be upgraded to an 128GB eMMC module. (The initial PINE64 community build version shipped with a 128GB eMMC.)&lt;br /&gt;
** eMMC version 5.1, HS400, 8 bit on RK3399 side&lt;br /&gt;
** Bootable&lt;br /&gt;
* SPI flash:&lt;br /&gt;
** [[Pinebook Pro SPI]]&lt;br /&gt;
** 128Mbit / 16MByte&lt;br /&gt;
** 1 bit interface&lt;br /&gt;
** Bootable, (first boot device, ahead of eMMC &amp;amp; SD card)&lt;br /&gt;
** U-Boot images can be made to work, but as of 2020/06/24 there is no standardized image available.&lt;br /&gt;
&lt;br /&gt;
=== Video out ===&lt;br /&gt;
* USB-C Alt mode DP&lt;br /&gt;
* Up to 3840x2160 p60, dependant on adapter, (2 lanes verses 4 lanes)&lt;br /&gt;
&lt;br /&gt;
=== Expansion Ports ===&lt;br /&gt;
* MicroSD card:&lt;br /&gt;
** Bootable&lt;br /&gt;
** Supports SD, SDHC and SDXC cards, up to 512GB tested. SDXC standard says 2TB is the maximum.&lt;br /&gt;
** Version SD3.0, (MMC 4.5), up to 50MB/s&lt;br /&gt;
** SD card Application Performance Class 1 (A1), (or better), recommended by some users, for better IOPS&lt;br /&gt;
* USB ports:&lt;br /&gt;
** 1 x USB 2.0 Type-A Host Port, bootable&lt;br /&gt;
** 1 x USB 3.0 Type-A Host Port, 5Gbps, is not bootable&lt;br /&gt;
** 1 x USB 3.0 Type-C OTG Port, 5Gbps, (includes laptop charging function), is not bootable&lt;br /&gt;
** Note that high power USB devices may not work reliably on a PBP. Or they may draw enough power to drain the battery even when the PBP is plugged into A.C. One alternative is externally powered USB devices.&lt;br /&gt;
* Headphone jack switchable to UART serial console mux circuit&lt;br /&gt;
&lt;br /&gt;
== Additional hardware ==&lt;br /&gt;
Hardware that is not part of the SoC.&lt;br /&gt;
&lt;br /&gt;
=== Battery ===&lt;br /&gt;
* Lithium Polymer Battery (10,000 mAh; 9,600 mAh in later batches)&lt;br /&gt;
* Monitored by CW2015 which only measures the current voltage; reported state (charging/discharging), capacity (State-Of-Charge), remaining runtime and current are (poor) estimates&lt;br /&gt;
&lt;br /&gt;
=== Display ===&lt;br /&gt;
* 14.0&amp;quot; 1920x1080 IPS LCD panel&lt;br /&gt;
=== Lid closed magnet ===&lt;br /&gt;
There is a magnet to detect when the laptop lid is closed, so action can be taken like sleep. This meets up with the Hall sensor on the daughter / small board to detect lid closed.&lt;br /&gt;
* The magnet is located on the LCD panel right side, around 1.5 inches up measure from bottom edge.&lt;br /&gt;
&lt;br /&gt;
=== Webcam ===&lt;br /&gt;
* Internal USB attached Webcam&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* 3.5mm stereo earphone/microphone plug&lt;br /&gt;
* Built-in microphone&lt;br /&gt;
* Built-in stereo speakers:&lt;br /&gt;
** Oval in design&lt;br /&gt;
** 3 mm high x 20 mm x 30 mm&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi:&lt;br /&gt;
** 802.11 b/g/n/ac&lt;br /&gt;
** Dual band: 2.4Ghz &amp;amp; 5Ghz&lt;br /&gt;
** Single antenna&lt;br /&gt;
* Bluetooth 5.0&lt;br /&gt;
&lt;br /&gt;
=== Optional NVMe adapter ===&lt;br /&gt;
* PCIe 1.1, 2.5 GT/s per lane&lt;br /&gt;
** Note that due to errata, PCIe is limited to Gen1. See [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm64/boot/dts/rockchip/rk3399.dtsi?id=712fa1777207c2f2703a6eb618a9699099cbe37b this commit].&lt;br /&gt;
* Four PCIe lanes, which can not be bifurcated, but can be used with one- or two-lane NVMe cards&lt;br /&gt;
* '''M''' keyed, though '''M'''+'''B''' keyed devices will work too&lt;br /&gt;
* Maximum length for M.2 card is 80mm (M.2 2280). The following sizes will also work: 2230, 2242, 2260&lt;br /&gt;
* Power: 2.5 W (continuous)&lt;br /&gt;
* Does not support SATA M.2 cards&lt;br /&gt;
* Does not support USB M.2 cards&lt;br /&gt;
&lt;br /&gt;
== Pinebook Pro Schematics and Certifications ==&lt;br /&gt;
Pinebook Pro Main Board Schematic And Silkscreen:&lt;br /&gt;
* [https://files.pine64.org/doc/PinebookPro/pinebookpro_schematic_v21a_20220419.pdf Pinebook Pro Main Board ver 2.1a Schematic 20220419]&lt;br /&gt;
* [https://files.pine64.org/doc/PinebookPro/pinebookpro_v2.1_mainboard_schematic.pdf Pinebook Pro Main Board ver 2.1 Schematic 20190905]&lt;br /&gt;
* [[file:Pinebookpro-v2.1-top-ref.pdf|Pinebook Pro ver 2.1 Top Layer Silkscreen]]&lt;br /&gt;
* [[file:Pinebookpro-v2.1-bottom-ref.pdf|Pinebook Pro ver 2.1 Bottom Layer Silkscreen]]&lt;br /&gt;
&lt;br /&gt;
Pinebook Pro Daughter Board Schematic:&lt;br /&gt;
* [https://files.pine64.org/doc/PinebookPro/pinebookpro_v2.1_daughterboard_schematic.pdf Pinebook Pro Daughter Board ver 2.1 Schematic]&lt;br /&gt;
&lt;br /&gt;
Optional Pinebook Pro NVMe Adapter Schematic:&lt;br /&gt;
* [https://files.pine64.org/doc/PinebookPro/pinebookpro_v2.1_NVMe-adapter_schematic.pdf Pinebook Pro NVMe Adapter Board ver 2.1 Schematic]&lt;br /&gt;
&lt;br /&gt;
Serial Console Earphone Jack Pinout:&lt;br /&gt;
* [https://files.pine64.org/doc/pinebook/guide/Pinebook_Earphone_Serial_Console_Developer_Guide.pdf Pinebook Serial Console Earphone Jack Pinout]&lt;br /&gt;
&lt;br /&gt;
Pinebook Pro Case:&lt;br /&gt;
* [https://files.pine64.org/doc/PinebookPro/drawings/Pinebook%20Pro%20Principle%20Views.pdf AutoCAD PDF File ]&lt;br /&gt;
* [https://files.pine64.org/doc/PinebookPro/drawings/Pinebook%20Pro%20Principle%20Views.ai AutoCAD AI File ]&lt;br /&gt;
* [https://files.pine64.org/doc/PinebookPro/drawings/Pinebook%20Pro%20Principle%20Views.dwg AutoCAD DWG File ]&lt;br /&gt;
&lt;br /&gt;
Pinebook Pro Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinebook%20Pro%20FCC%20Certificate-S19071103501001.pdf Pinebook Pro FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinebook%20Pro%20CE%20RED%20Certificate-S19051404304.pdf Pinebook Pro CE Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinebook%20Pro%20ROHS%20Compliance%20Certificate.pdf Pinebook Pro RoHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
Rockchip RK3399 SoC information:&lt;br /&gt;
* [https://www.rock-chips.com/a/en/products/RK33_Series/2016/0419/758.html Rockchip RK3399 SoC Brief]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/d/d7/Rockchip_RK3399_Datasheet_V2.1-20200323.pdf Rockchip RK3399 Datasheet v2.1]&lt;br /&gt;
* [https://www.rockchip.fr/Rockchip%20RK3399%20TRM%20V1.4%20Part1.pdf Rockchip RK3399 Technical Reference Manual v1.4, part 1]&lt;br /&gt;
* [https://www.rockchip.fr/Rockchip%20RK3399%20TRM%20V1.3%20Part1.pdf Rockchip RK3399 Technical Reference Manual v1.3, part 1] and [https://www.rockchip.fr/Rockchip%20RK3399%20TRM%20V1.3%20Part2.pdf part 2]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/RK808%20datasheet%20V0.8.pdf Rockchip RK808 Datasheet v0.8]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 SDRAM (366-pin BGA):&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PinebookPro/micron%20SM512M64Z01MD4BNK-053FT%20LPDDR4%20(366Ball).pdf Micron 366 balls Mobile LPDDR4 Datasheet]&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf PINE64 eMMC module schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/usb%20emmc%20module%20adapter%20v2.pdf PINE64 USB adapter for eMMC module V2 schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/rock64/USB%20adapter%20for%20eMMC%20module%20PCB.tar PINE64 USB adapter for eMMC module PCB in JPEG]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/SDINADF4-16-128GB-H%20data%20sheet%20v1.13.pdf 64GB/128GB SanDisk eMMC Datasheet]&lt;br /&gt;
&lt;br /&gt;
SPI NOR Flash information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pine64/w25q128jv%20spi%20revc%2011162016.pdf WinBond 128Mb SPI Flash Datasheet]&lt;br /&gt;
* [[file:Ds-00220-gd25q127c-rev1-df2f4.pdf|GigaDevice 128Mb SPI Flash Datasheet (updated)]]&lt;br /&gt;
&lt;br /&gt;
Wireless and Bluetooth information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PinebookPro/AP6256%20datasheet_V1.7_12282018.pdf AMPAK AP6256 11AC Wi-Fi + Bluetooth5 Datasheet]&lt;br /&gt;
&lt;br /&gt;
Audio codec:&lt;br /&gt;
* [http://www.everest-semi.com/pdf/ES8316%20PB.pdf Everest ES8316 Audio Codec Datasheet]&lt;br /&gt;
* [https://forum.pine64.org/attachment.php?aid=1935 Everest ES8316 User Guide with register-level description]&lt;br /&gt;
&lt;br /&gt;
LCD panel:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PinebookPro/NV140FHM-N49_Rev.P0_20160804_201710235838.pdf 14&amp;quot; 1920x1080 IPS LCD Panel datasheet]&lt;br /&gt;
&lt;br /&gt;
USB-related information:&lt;br /&gt;
* Internal USB 2.0 hub: [[File:GL850G_USB_Hub_1.07.pdf|GL850G USB Hub Datasheet]]&lt;br /&gt;
* USB Type-C Controller: [https://www.onsemi.com/pub/Collateral/FUSB302-D.PDF ON Semiconductor FUSB302 Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touchpad information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PinebookPro/YX%20HK-9562%20HID%20I2C%20Specification.pdf PineBook Pro Touchpad Specification]&lt;br /&gt;
&lt;br /&gt;
Keyboard information:&lt;br /&gt;
* [[file:SH68F83V2.0.pdf|Sinowealth SH68F83 Datasheet]]&lt;br /&gt;
* US ANSI: XK-HS002 MB27716023&lt;br /&gt;
&lt;br /&gt;
Full HD camera sensor:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PinebookPro/HK-2145-263.pdf Full HD Camera module specification (in Chinese)]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PinebookPro/GC2145%20CSP%20DataSheet%20release%20V1.0_20131201.pdf GalaxyCore GC2145 Full HD Camera Sensor Datasheet]&lt;br /&gt;
&lt;br /&gt;
Battery-related information:&lt;br /&gt;
* Battery charging IC: [https://www.ti.com/lit/ds/symlink/bq24171.pdf?ts=1607068456825&amp;amp;ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FBQ24171 Texas Instruments BQ24171 Datasheet]&lt;br /&gt;
* Battery monitoring IC: [https://cdn.datasheetspdf.com/pdf-down/C/W/2/CW2015-Cellwise.pdf Cellwise CW2015 Datasheet]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pinebook/40110175P%203.8V%2010000mAh规格书-14.pdf 10000 mAh Lithium Battery Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/pinebook/40110175P%203.8V%209600mAh%20Lithium%20Battery%20Specification.pdf 9600 mAh / 36.48 Wh model WYC40110175P Lithium Battery Specification], used in later batches&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power path device:&lt;br /&gt;
* [[file:Sis412dn.pdf|N-MOS / MOSFET]]&lt;br /&gt;
&lt;br /&gt;
NVMe adapter:&lt;br /&gt;
* [[file:Hirose-FH26W-35S-0.3SHW%2860%29-datasheet.pdf|FH26-35S-0.3SHW flat flex connector (compatible, not OEM)]]&lt;br /&gt;
&lt;br /&gt;
== Versions ==&lt;br /&gt;
Pinebook Pro v1 and v2 were prototype models that did not make it to the public. The &amp;quot;first batch&amp;quot; (First 100 forum preorders) onward are v2.1. [https://forum.pine64.org/showthread.php?tid=8111]&lt;br /&gt;
&lt;br /&gt;
== Skinning and Case Customization ==&lt;br /&gt;
Template files for creating custom skins. Each includes template layers for art placement, and CUT lines:&lt;br /&gt;
&lt;br /&gt;
* [[File:Pbp_template_case_bottom.pdf|Case Lid Template]]&lt;br /&gt;
* [[File:Pbp_template_case_lid.pdf|Case Bottom Template]]&lt;br /&gt;
* [[File:Pbp_template_case_palmrest.pdf|Case Palmrest Template]]&lt;br /&gt;
&lt;br /&gt;
== Other Resources ==&lt;br /&gt;
* [https://forum.pine64.org/forumdisplay.php?fid=111 Pinebook Pro Forum]&lt;br /&gt;
* [https://github.com/rockchip-linux Rockchip Linux GitHub Repo]&lt;br /&gt;
* [https://opensource.rock-chips.com/ Rockchip Open Source Wiki]&lt;br /&gt;
&lt;br /&gt;
[[Category:Pinebook Pro]]&lt;br /&gt;
[[Category:Rockchip RK3399]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21629</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21629"/>
		<updated>2024-11-01T09:41:10Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* State of the software */ Cleaned up a bit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 model A SBC and powered by a Rockchip RK3566 quad-core ARM Cortex A55 64-bit processor with a MALI G-52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the Rockchip RK3566 SoC, which was released in 2021. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer that uses the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific to the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024, the second PineNote batch was announced. This batch will ship with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with Linux and embedded experience, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (''DAM'') without having to open up the device. &lt;br /&gt;
The factory firmware runs at a baud rate of 1500000bps, 8 data bits 1 stop bit, no parity and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21621</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21621"/>
		<updated>2024-10-29T08:26:14Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Information, Schematics, and Certifications */ More readable&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 model A SBC and powered by a Rockchip RK3566 quad-core ARM Cortex A55 64-bit processor with a MALI G-52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the in 2021 released Rockchip RK3566 SoC. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer using the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific for the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024 the second batch of PineNotes was announced. This batch will ship with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with linux and embedded experience and, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (''DAM'') without having to open up the device. &lt;br /&gt;
The factory firmware runs at a baud rate of 1500000bps, 8 data bits 1 stop bit, no parity and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file]&amp;lt;br /&amp;gt;When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&amp;lt;br /&amp;gt;Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21620</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21620"/>
		<updated>2024-10-29T08:24:20Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Information, Schematics, and Certifications */ Clarified the use of EMR pen&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 model A SBC and powered by a Rockchip RK3566 quad-core ARM Cortex A55 64-bit processor with a MALI G-52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the in 2021 released Rockchip RK3566 SoC. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer using the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific for the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024 the second batch of PineNotes was announced. This batch will ship with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with linux and embedded experience and, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (''DAM'') without having to open up the device. &lt;br /&gt;
The factory firmware runs at a baud rate of 1500000bps, 8 data bits 1 stop bit, no parity and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file] (When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.)&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]] (Developer Edition uses an active pen, which is different than the passive EMR pen described in the guide.)&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21619</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21619"/>
		<updated>2024-10-29T08:23:09Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Information, Schematics, and Certifications */ Small cleanups&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 model A SBC and powered by a Rockchip RK3566 quad-core ARM Cortex A55 64-bit processor with a MALI G-52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the in 2021 released Rockchip RK3566 SoC. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer using the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific for the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024 the second batch of PineNotes was announced. This batch will ship with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with linux and embedded experience and, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (''DAM'') without having to open up the device. &lt;br /&gt;
The factory firmware runs at a baud rate of 1500000bps, 8 data bits 1 stop bit, no parity and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file] (When building a USB-C console breakout board, please be aware that a 10k CC pin pull-up is too weak to pull CC to a logically high level.  Replacing it to a lower resistance, such as 1k, is recommended.)&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21618</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21618"/>
		<updated>2024-10-29T08:09:25Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Information, Schematics, and Certifications */ Actually, the subsection is redundant&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 model A SBC and powered by a Rockchip RK3566 quad-core ARM Cortex A55 64-bit processor with a MALI G-52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the in 2021 released Rockchip RK3566 SoC. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer using the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific for the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024 the second batch of PineNotes was announced. This batch will ship with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with linux and embedded experience and, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (''DAM'') without having to open up the device. &lt;br /&gt;
The factory firmware runs at a baud rate of 1500000bps, 8 data bits 1 stop bit, no parity and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file] Note: When building USB-C console breakout board, please be aware 10k CC pin pull-up is too weak to pull CC to logically high level. Replacing it to lower resistance, such as 1k is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21617</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21617"/>
		<updated>2024-10-29T08:08:44Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* PineNote Developer kit version */ Adjusted the wording a bit, to make it clear what applied to the different versions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 model A SBC and powered by a Rockchip RK3566 quad-core ARM Cortex A55 64-bit processor with a MALI G-52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the in 2021 released Rockchip RK3566 SoC. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer using the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific for the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024 the second batch of PineNotes was announced. This batch will ship with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with linux and embedded experience and, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (''DAM'') without having to open up the device. &lt;br /&gt;
The factory firmware runs at a baud rate of 1500000bps, 8 data bits 1 stop bit, no parity and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
=== PineNote versions ===&lt;br /&gt;
Version v1.2 of the PineNote is the production version sold through the Pine Store as Developer Edition and Community Edition:&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file] Note: When building USB-C console breakout board, please be aware 10k CC pin pull-up is too weak to pull CC to logically high level. Replacing it to lower resistance, such as 1k is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&lt;br /&gt;
&lt;br /&gt;
Version v1.1 of the PineNote is used by developers who received the early prototype, whose schematic is provided for reference only: &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21616</id>
		<title>PineNote</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineNote&amp;diff=21616"/>
		<updated>2024-10-29T06:38:47Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* PineNote Developer kit version */ Cleaned up a bit and added a link to the QSG&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineNote-1.jpg|400px|thumb|right|The PineNote]]&lt;br /&gt;
&lt;br /&gt;
The '''PineNote''' is the first hybrid notepad computer device combination of notebook, tablet and e-reader using an e-ink panel. It is derived from the Quartz64 model A SBC and powered by a Rockchip RK3566 quad-core ARM Cortex A55 64-bit processor with a MALI G-52 GPU.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
=== State of the software ===&lt;br /&gt;
&lt;br /&gt;
The PineNote is based on the in 2021 released Rockchip RK3566 SoC. The upstreaming status of the SoC functionality can be found on the [[Quartz64 Development#Upstreaming Status|Quartz64 development]] wiki page of the Quartz64 single-board computer using the same SoC. In the [[PineNote_Development#Kernel_modules_/_mainlining_status|PineNote development]] wiki page you'll find the items specific for the PineNote.&lt;br /&gt;
&lt;br /&gt;
The early adopter's batch of the PineNote is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive Linux experience. If you’re looking to buy a PineNote in the first batch, you must expect to write software for it, not to write notes on it. The software shipping from the factory for the first batch will not be suitable for taking notes, reading e-books, or writing your dissertation. It may not even boot to a graphical environment.&lt;br /&gt;
&lt;br /&gt;
In October 2024 the second batch of PineNotes was announced. This batch will ship with a Debian-based operating system, currently developed here: [https://github.com/PNDeb/pinenote-debian-image]. Please note, however, that this batch is still aimed at developers with linux and embedded experience and, and should not be expected to meet general-user readiness.&lt;br /&gt;
&lt;br /&gt;
=== Help and support ===&lt;br /&gt;
&lt;br /&gt;
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See [[Main Page#Community and Support]]. &lt;br /&gt;
&lt;br /&gt;
Please keep in mind that PINE64 is not like a regular company (see the [https://pine64.org/community/philosophy/ PINE64 philosophy]) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
While there are no robust and tested operating system releases for the PineNote available at this time, various linux distributions can be installed on the PineNote, with various degrees of working functionality.&lt;br /&gt;
Operating system software releases, or efforts to create them, can be found in the [[PineNote Software Releases]] section. Please join the development effort and help creating one.&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
The following page discusses the development efforts for the PineNote:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development]] for general information regarding how to flash the device and other development information.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Flashing]] for general flashing instructions of data to the PineNote&lt;br /&gt;
* [[PineNote Development/TODOs]]&lt;br /&gt;
&lt;br /&gt;
==== Linux Kernel ====&lt;br /&gt;
&lt;br /&gt;
* [[RK3566 EBC Reverse-Engineering]] for the EBC (eInk Panel) driver.&lt;br /&gt;
* [[PineNote Development/Building Kernel]]&lt;br /&gt;
* BSP Linux SDK version 4.19 for the PineNote and [[Quartz64|Quartz64 Model A]]:&lt;br /&gt;
** [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_BSP%20Linux.tar.gz Direct download] from ''pine64.org'' (32.67GB, MD5 of the TAR-GZip file ''24554419aec29700add97167a3a4c9ed'')&lt;br /&gt;
** [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_BSP%20Linux.tar.gz Mirror by mwfc]&lt;br /&gt;
** An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
&lt;br /&gt;
==== User Space ====&lt;br /&gt;
&lt;br /&gt;
* [[PineNote Development/Booting Linux]]&lt;br /&gt;
&lt;br /&gt;
For tweaks and tricks see:&lt;br /&gt;
* [[PineNote Development/Software Tweaks]]&lt;br /&gt;
&lt;br /&gt;
For app development see:&lt;br /&gt;
* [[PineNote Development/Apps]]&lt;br /&gt;
&lt;br /&gt;
==== Android ====&lt;br /&gt;
&lt;br /&gt;
Android 11 e-ink SDK for the PineNote and [[Quartz64|Quartz64 Model A]. This is the Android SDK build for 10.3&amp;quot; eink panels on Quartz64 Model A. &lt;br /&gt;
&lt;br /&gt;
Download:&lt;br /&gt;
* [http://files.pine64.org/SDK/Quartz64/QUARTZ64-model-A_eink.android11_SDK.tar.gz Direct download] from ''pine64.org'' (72.88GB, MD5 of the TAR-GZip file ''293a550584298de4fb95ceae18103672'')&lt;br /&gt;
* [https://tmp.mwfc.info/pinenote/QUARTZ64-model-A_eink.android11_SDK.tar.gz Mirror by mwfc]&lt;br /&gt;
* An unofficial torrent download provided by a community member of the BSP Linux and Android SDKs can be found [https://cdn.discordapp.com/attachments/870707390998282292/907726420204208148/pinenote.torrent here] (100GB).&lt;br /&gt;
* Just the boot blobs (&amp;lt;1MB): [[File:Rk35-blobs.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* View [[Android SDK for RK3566]] for more information how to compile an image for the PineNote using this SDK&lt;br /&gt;
&lt;br /&gt;
==== Related ====&lt;br /&gt;
* [[Quartz64 Development]] for the mainlining status of various functions on the Rockchip RK3566 SoC.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
This section includes discussions and their results regarding hardware changes and debugging of the PineNote.&lt;br /&gt;
&lt;br /&gt;
==== Resolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following topics have resolved:&lt;br /&gt;
&lt;br /&gt;
* [[PineNote/Hardware Changes/Closed Case UART]]&lt;br /&gt;
* '''Could the USB-C port support USB 3.1 5Gbps?''' Yes and no. The RK3566 only has a host-mode 5Gbps controller, meaning it can only negotiate such a high data rate with a device such as a flash drive. When the RK3566 is acting as a device, it only supports 480Mbps transfer rates. The hardware required to switch between these modes would raise the PineNote's price unreasonably. Therefore, the USB-C port will remain at USB 2.0 speeds for Host and Device mode.&lt;br /&gt;
* '''Could the USB-C port output DisplayPort?''' Yes and no. The hardware required to support such a feature would raise the PineNote's price unreasonably. Therefore, DisplayPort output will not be possible through the USB-C port.&lt;br /&gt;
* '''Where is the microSD card slot?''' The case design of the PineNote is fixed, making physical changes like adding a microSD card slot would raise the cost unreasonably.&lt;br /&gt;
* '''How will I install software to the PineNote?''' This is a hardware and software question. If the software on your PineNote is completely broken and cannot boot to a recoverable state, a Hall (magnet) sensor was fitted to the PineTab motherboard as U9009. This sensor is attached to SARADC_VIN0_KEY/RECOVERY on the RK3566. With the device powered off, and screen face down, holding a magnet over U9009 and plugging in a USB-C cable causes the device to boot into [http://opensource.rock-chips.com/wiki_Rockusb &amp;quot;rockusb&amp;quot;] flash mode. With proper flashing software and drivers, it should be possible to load a new operating system using rockusb if the system is soft-bricked. Of course, software vendors will need to be more careful with flashing firmware and providing useful &amp;quot;recovery&amp;quot; options on this device due to this process's relative difficulty to other PINE64 devices.&lt;br /&gt;
* [[PineNote/Battery Replacement]]&lt;br /&gt;
&lt;br /&gt;
==== Unresolved issues ====&lt;br /&gt;
&lt;br /&gt;
The following concerns have been brought up as open, unanswered topics:&lt;br /&gt;
&lt;br /&gt;
* Does [https://en.wikipedia.org/wiki/USB-C#Audio_Adapter_Accessory_Mode_2|USB-C Audio Adapter Accessory Mode] work? It appears that the Headphone output of the audio codec was routed to the USB-C audio+USB switch, but it's unclear whether CC lines are hooked up correctly for detection of such a device. The PineNote hardware team will be testing this functionality soon (as of August 19, 2021). Note that Audio Accessory mode is detectable by reading the I2C registers of the WUSB3801Q. So connecting ASEL to a GPIO would be enough to get this working if it is not working already.&lt;br /&gt;
* Why is the Headphone output of the audio codec routed to the speakers? HPL_OUT is routed from the RK817 PMIC and audio codec to U9010 (the USB-C switch) and U6 (the audio amplifier). SPK_OUT is unused. It seems like SPK_OUT should be routed to U6 and HPL_OUT to U9010.&lt;br /&gt;
* Nitpick: The cold white charging LED bleeds through the gap between the rear case and the device's face. It does not bleed onto the screen, but it is jarring in low-light conditions or when the screen is amber. Could be resolved in software by turning off the charge LED when the screen is on.&lt;br /&gt;
* Is there any way to indicate when the device is in rockusb mode, such as connecting a certain magic pin to the power LED?&lt;br /&gt;
* The modem/4G connector (J6010) has its I2C and UART pins unconnected. Could those be connected to the SoC?&lt;br /&gt;
&lt;br /&gt;
==== UART Dongle ====&lt;br /&gt;
{{Note|See main article: [[PineNote Development/UART]]}}&lt;br /&gt;
&lt;br /&gt;
The USB UART dongle delivered with the PineNote allows you to have access to a serial port via USB-C Debug Accessory Mode (''DAM'') without having to open up the device. &lt;br /&gt;
The factory firmware runs at a baud rate of 1500000bps, 8 data bits 1 stop bit, no parity and no flow control. The USB-C male end should go into the PineNote and the female end can be connected with a standard USB-C cable to your computer.&lt;br /&gt;
&lt;br /&gt;
It is relatively easy to build your own UART interface with a USB-C breakout board (for example https://www.ebay.com/itm/275407037613), two resistors and a 3.3V USB serial adapter. It is basically just two 1K pull up resistors (R3, R4), the data sheet values of 10K isn't whats on the real hardware, see the [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf schematic]. The pull ups enable the serial output on SBU1 and SBU2 you can use with any 3.3V USB serial adapter.&lt;br /&gt;
&lt;br /&gt;
The UART dongle is not necessary to flash the PineNote, but is essential if something goes wrong to fix it without having to open the case.&lt;br /&gt;
&lt;br /&gt;
You can flash premade images with the following links:&lt;br /&gt;
* https://github.com/m-weigand/pinenote_uboot_patching_dorians_backup (Note: this creates a U-Boot image to flash, do not worry about idblock.bin on the instructions for the next link)&lt;br /&gt;
* https://github.com/m-weigand/pinenote-debian-recipes/releases/&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
[[File:PineNote_Pen_function.jpg|300px|right]]&lt;br /&gt;
[[File:PineNote_Cover-1.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
=== General Information  ===&lt;br /&gt;
* Dimensions: 191.1x232.5x7.4mm&lt;br /&gt;
* Weight: 438g&lt;br /&gt;
&lt;br /&gt;
=== Core  ===&lt;br /&gt;
* CPU: RK3566 1.8GHz 64-bit quad-core A55&lt;br /&gt;
* GPU: MALI G52 2EE&lt;br /&gt;
* System memory: 4GB LPDDR4&lt;br /&gt;
* Flash: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
=== E-ink Display ===&lt;br /&gt;
* Size: 10.3&amp;quot;&lt;br /&gt;
* Resolution: 1404x1872&lt;br /&gt;
* DPI: 227&lt;br /&gt;
* Grayscale: 16&lt;br /&gt;
* Front Light: 36 level cold and warm &lt;br /&gt;
* Capacitive multi-touch panel&lt;br /&gt;
* EMR pen digitizer&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* WiFi: 2.4/5GHz 802.11a/b/g/n/ac&lt;br /&gt;
* Bluetooth: 5.0&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* Built in stereo speakers&lt;br /&gt;
* 4 x DMIC microphone&lt;br /&gt;
&lt;br /&gt;
=== Sensor ===&lt;br /&gt;
* G-Sensor for portrait and landscape sensing&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
* 4000mAH LiPo battery&lt;br /&gt;
* DC 5V @ 3A USB-C connector, conforms to the USB Type-C Cable and Connector Specification&lt;br /&gt;
&lt;br /&gt;
=== Accessories ===&lt;br /&gt;
* Optional EMR pen with magnetic attachment (included in the first production batch)&lt;br /&gt;
* Optional Cover (included in the first production batch)&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specifications ==&lt;br /&gt;
* Based on [https://www.rock-chips.com/a/en/products/RK35_Series/2021/0113/1274.html Rockchip RK3566]&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/processors/cortex-a/cortex-a55 Quad-core ARM Cortex-A55@1.8GHz]&lt;br /&gt;
* AArch32 for full backwards compatibility with ARMv7&lt;br /&gt;
* ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation&lt;br /&gt;
* Includes VFP hardware to support single and double-precision operations&lt;br /&gt;
* ARMv8 Cryptography Extensions&lt;br /&gt;
* Integrated 32KB L1 instruction cache and 32KB L1 data cache per core&lt;br /&gt;
* 512KB unified system L3 cache&lt;br /&gt;
* [https://developer.arm.com/ip-products/security-ip/trustzone TrustZone] technology support&lt;br /&gt;
* [https://www.cnx-software.com/2020/12/01/rockchip-rk3568-processor-to-power-edge-computing-and-nvr-applications 22nm process, believed to be FD-SOI]&lt;br /&gt;
&lt;br /&gt;
=== GPU (Graphics Processing Unit) Capabilities ===&lt;br /&gt;
* [https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-g52-gpu Mali-G52 2EE Bifrost GPU@800MHz]&lt;br /&gt;
* 4x Multi-Sampling Anti-Aliasing (MSAA) with minimal performance drop &lt;br /&gt;
* 128KB L2 Cache configurations&lt;br /&gt;
* Supports OpenGL ES 1.1, 2.0, and 3.2&lt;br /&gt;
* Supports Vulkan 1.0 and 1.1&lt;br /&gt;
* Supports OpenCL 2.0 Full Profile&lt;br /&gt;
* Supports 1600 Mpix/s fill rate when at 800MHz clock frequency&lt;br /&gt;
* Supports 38.4 GLOP/s when at 800MHz clock frequency   &lt;br /&gt;
&lt;br /&gt;
=== NPU (Neural Processing Unit) Capabilities ===&lt;br /&gt;
* Neural network acceleration engine with processing performance of up to 0.8 TOPS&lt;br /&gt;
* Supports integer 8 and integer 16 convolution operations&lt;br /&gt;
* Supports the following deep learning frameworks: TensorFlow, TF-lite, Pytorch, Caffe, ONNX, MXNet, Keras, Darknet&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* RAM Memory : 4GB LPDDR4.&lt;br /&gt;
* Flash Memory: 128GB eMMC&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics, and Certifications ==&lt;br /&gt;
&lt;br /&gt;
=== PineNote Developer kit version ===&lt;br /&gt;
Version v1.2 is the PineNote production version that was sold through the Pine Store.&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R2%20-%20Schematic-20210824.pdf PineNote Mainboard Schematic ver 1.2 20210824 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_USB-C-Board-V1.0-sch.pdf PineNote USB-C Daughter Board Schematic ver 1.0 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PineNote_USB-C_Console_UART_breakout_board_schematic_v1.0_20210903.pdf PineNote USB-C Console UART Breakout Board Schematic ver 1.0 PDF file] Note: When building USB-C console breakout board, please be aware 10k CC pin pull-up is too weak to pull CC to logically high level. Replacing it to lower resistance, such as 1k is recommended.&lt;br /&gt;
* [[:File:Pinenote quick start guide en ger fr pl.pdf|PineNote Quick Start Guide]]&lt;br /&gt;
&lt;br /&gt;
The v1.1 is early release schematic just for reference only and used by developers who received the prototype. &lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1%20-%20Schematic-20210726.pdf PineNote early released Schematic ver 1.1 20210726 PDF file]&lt;br /&gt;
* [https://files.pine64.org/doc/PineNote/PINENOTE_MAIN-V1R1-REF-TOP-20210726.pdf PineNote early released ver 1.1 20210726 PCB Connector placement PDF file]&lt;br /&gt;
&lt;br /&gt;
Certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15C%20Certificate%20DTS-TC561262.pdf PineNote FCC-15C Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20FCC15E%20Certificate%20NII-TC973072.pdf PineNote FCC-15E Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20CE%20RED%20Certicate%20ET-21090682EC.pdf PineNote CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineNote%20RoHS%20Certificate%20ET-210900082C.pdf PineNote ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet, release permission from Rockchip]&lt;br /&gt;
&lt;br /&gt;
Rockchip RK817 PMU (Power Management Unit) Information:&lt;br /&gt;
* [https://www.rockchip.fr/RK817%20datasheet%20V1.01.pdf Rockchip RK817 version 1.01 datasheet]&lt;br /&gt;
&lt;br /&gt;
LPDDR4 (200 Balls) SDRAM:&lt;br /&gt;
* ---&lt;br /&gt;
&lt;br /&gt;
eMMC information:&lt;br /&gt;
* [https://en.biwin.com.cn/product/detail/6 Biwin 128GB eMMC model: BWCTASC41P128G]  &lt;br /&gt;
&lt;br /&gt;
E-ink Panel information:&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Eink%20P-511-828-V1_ED103TC2%20Formal%20Spec%20V1.0_20190514.pdf E-Ink 10.3&amp;quot; 1872x1404 ED103TC2 Glass Panel Specification]&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/TI%20PMU-TPS651851.pdf TPS65185x PMIC for E-Ink Enabled Electronic Paper Display Datasheet]&lt;br /&gt;
&lt;br /&gt;
Touch Screen information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/CYTMA448_Summary_RevC_5-26-16.pdf Cypress CYTMA448 multi-Point Capacitive Touch Controller Datasheet]&lt;br /&gt;
* Wacom Pen Digitizer Unit Model: SUDE-10S15MI-01X for 10.3&amp;quot; Display Module&lt;br /&gt;
&lt;br /&gt;
WiFi/BT module information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/rockpro64/AW-CM256SM_DS_DF_V1.9_STD.pdf Azurewave CM256SM 11AC WiFi + Bluetooth5.0 Datasheet]]&lt;br /&gt;
&lt;br /&gt;
G Sensor information:&lt;br /&gt;
* [http://www.silan.com.cn/en/product/details/47.html#app01 Silan SC7A20 3-Axis MEMS Accelerometer]&lt;br /&gt;
&lt;br /&gt;
Audio Amplifier information:&lt;br /&gt;
* [https://files.pine64.org/doc/datasheet/PineNote/Awinic%20AW87318%20Class-K%20Audio%20Amp%20Datasheet.pdf Awinic AW87318 Class-K Audio Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [[PineNote Press]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineNote]] [[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=File:Pinenote_quick_start_guide_en_ger_fr_pl.pdf&amp;diff=21615</id>
		<title>File:Pinenote quick start guide en ger fr pl.pdf</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=File:Pinenote_quick_start_guide_en_ger_fr_pl.pdf&amp;diff=21615"/>
		<updated>2024-10-29T06:36:35Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: PineNote Quick Start Guide&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
PineNote Quick Start Guide&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=21614</id>
		<title>PineTab2</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=21614"/>
		<updated>2024-10-28T20:27:03Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Getting started */ Linked the quick quide PDF&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineTab2 Front.jpg|250px|thumb|right|The PineTab2 with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab2''' is PINE64's successor to the original [[PineTab]] Linux tablet computer, featuring a faster processor and better availability. The tablet is available in two configurations, 4GB of RAM and 64GB of internal storage or 8GB of RAM and 128GB of internal storage. The tablet ships with a detachable keyboard that doubles as a protective cover.&lt;br /&gt;
&lt;br /&gt;
The tablet is designed around the Rockchip RK3566 processor, which features 4 energy-efficient Cortex-A55 64-bit ARM cores and enjoys good mainline Linux support. A similarly packaged RISC-V tablet is the [[PineTab-V]].&lt;br /&gt;
&lt;br /&gt;
Pre-orders started on the 13th of April 2023, with pricing starting at USD 159 for the 4GB/64GB version and USD 209 for the 8GB/128GB version. The PineTab2 began shipping on June 2, 2023.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
&lt;br /&gt;
The PineTab2 box contains two smaller boxes.&lt;br /&gt;
&lt;br /&gt;
The first box includes the following items:&lt;br /&gt;
&lt;br /&gt;
* The PineTab2&lt;br /&gt;
* Short [[:File:Pinetab2 quick start guide en ger fr pl final.pdf|user guide]]&lt;br /&gt;
* Power cable&lt;br /&gt;
* The UART adapter board&lt;br /&gt;
&lt;br /&gt;
Note that the UART adapter is in the same package as the power cable, in a second compartment, and can be a bit hidden. &lt;br /&gt;
&lt;br /&gt;
The second box has the keyboard in it.&lt;br /&gt;
&lt;br /&gt;
=== First start ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 can be started by pressing and holding the power button for two seconds. The device is initialized at the first boot and will power-cycle while the partition table is populated.&lt;br /&gt;
&lt;br /&gt;
{{Info|If the initialization process is interrupted it might lead to a corrupted operating system installation. In that case reinstall the operating system as explained below.}}&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''DanctNix Arch Linux'' and comes with a pre-set user and the default password &amp;lt;code&amp;gt;123456&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;alarm / 123456&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can create a new user and set your own password after the initial boot. To do so, go to ''system settings'' -&amp;gt; ''users'' and create a new profile using your preferred name and password.&lt;br /&gt;
&lt;br /&gt;
=== Keyboard cover ===&lt;br /&gt;
&lt;br /&gt;
When connecting the keyboard to the Pinetab2 ensure that the camera and the golden pogo pin connectors are correctly aligned. &lt;br /&gt;
The external keyboard has 5 connection pins (the golden pins). four are standard USB connectors and one is used to detect that the keyboard is connected.&lt;br /&gt;
&lt;br /&gt;
The backlight can be changed with the key combination ''Pinekey + Ctrl (right)''.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
All operating systems for the PineTab2 are delivered by community developers and partner projects. Aside from the operating system that comes pre-installed on your device, you can install and run any other operating system available for the PineTab2. Most, if not all operating systems for the PineTab2 are open and free, such as Linux and BSD.&lt;br /&gt;
&lt;br /&gt;
Since most software issues will be release-specific, please see the [[PineTab2 Releases]] page for additional software related instructions, tips, and tricks.&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
The releases for the PineTab2 can be found under [[PineTab2 Releases]].&lt;br /&gt;
&lt;br /&gt;
=== Installation instructions ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is capable of running different operating systems from the internal flash memory (eMMC) and from microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Preparing the microSD card'''&lt;br /&gt;
&lt;br /&gt;
To write an operating system to the microSD card (typically called &amp;quot;flashing&amp;quot; in the community), you need to first download a compatible image from the [[#Releases|releases]] section.&lt;br /&gt;
&lt;br /&gt;
Next you need to decompress the downloaded image. The images are typically compressed in an archive format such as ''xz'' to reduce the download size. If you are using a graphical tool such as ''balenaEtcher'' or ''Gnome Disks'' it will handle the decompression of the image in the flashing step automatically.&lt;br /&gt;
&lt;br /&gt;
Further you need to flash the image to the microSD card. This can be done using various tools, for example ''balenaEtcher'' (recommended for new users), ''Gnome Disks'' or command-line tools such as ''cp'' and ''dd''. Insert the microSD card in a microSD card reader connected to your computer and then choose a tool of your liking.&lt;br /&gt;
&lt;br /&gt;
Graphical applications:&lt;br /&gt;
&lt;br /&gt;
* '''balenaEtcher''' (Microsoft Windows, macOS, Linux): Click on ''Flash from file'' and select the image. Then select the microSD card target device and click on ''Flash!''.&lt;br /&gt;
&lt;br /&gt;
* '''Gnome Disks''' (Linux): Select the microSD card target device on the left side in the ''Disks'' list. Then select the three dot menu on the top right and click on ''Restore Disk Image...''. Select the image, verify the correct device is selected and then click on ''Start Restoring...''.&lt;br /&gt;
&lt;br /&gt;
Command-line tools:&lt;br /&gt;
&lt;br /&gt;
* '''cp''': &amp;lt;code&amp;gt;sudo cp '''IMAGE.img''' /dev/'''[DEVICE]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''dd''': &amp;lt;code&amp;gt;sudo dd if='''IMAGE.img''' of=/dev/'''[DEVICE]''' bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Info|Make sure to replace '''IMAGE.img''' and '''[DEVICE]''' with the filename of the image (double check if it is decompressed and has the file extension ''.img'') and the device name. You can use the command &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; to find the device name. Make sure to flash to the whole device instead of partition 1 and that you're NOT selecting ''/dev/sda1'' or ''/dev/mmcblk0p1'' as target. Be very careful to select the correct device, as the tools can overwrite your data when the wrong device is selected.}}&lt;br /&gt;
&lt;br /&gt;
Then insert the microSD card into the PineTab2. &lt;br /&gt;
&lt;br /&gt;
[[File:PineTab2 USB UARTv2.jpg|thumb|right|400px|Using the USB UART adapter can be required in some cases as explained in the info box about the boot order. The adapter is shipped with the PineTab2 in the box which is also containing the charging cable. The switch to disable the eMMC and SPI is located on the top right of the image.]]&lt;br /&gt;
&lt;br /&gt;
{{Hint|'''Note regarding the boot order:''' The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card. The pre-installed bootloader on the internal memory (eMMC) tries to boot from the microSD card first. '''In some cases''' it can be required to bypass the bootloader, for example if the bootloader is corrupted or was overwritten by a bootloader with varying settings.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To force the device to boot from the microSD card, the eMMC and the SPI can be disabled by using the debug UART adapter shipped with the device in the box also containing the charging cable. Set the ''SD BOOT MASKROM'' switch on the adapter to the position ''ON'' and plug it into the USB/PD charging port. Then power on the tablet and '''unplug the debug board or set the switch to the position ''OFF'' again''' when the factory image is started, otherwise the factory image won't find the eMMC.}}&lt;br /&gt;
&lt;br /&gt;
Power on the device with the microSD card inserted (and optionally with the USB UART adapter inserted and the bypass switch set to ''ON'' depending on the software situation, see the info box above). It should now boot the new operating system from the microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Something is not working?''' Please join the [[Main_Page#Chat_Platforms|PineTab channel in the community chat]], the community is always happy to help. In the section [[#Connecting the UART adapter]] you can find information about how to connect the USB UART adapter and how to retrieve the boot logs if the device is not booting properly even after the above procudere.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
[[File:Pinetab2-side.jpeg|thumb|400px|right|Tablet's side ports: USB-C (with PD), MicroSD, USB-C 3.0, volume rocker, power button]]&lt;br /&gt;
* '''SoC:''' Rockchip RK3566&lt;br /&gt;
* '''CPU:''' 4x ARM Cortex-A55 @ 1.8 GHz&lt;br /&gt;
** 32KB L1 Instruction Cache and 32KB L1 Data Cache per core&lt;br /&gt;
** 512KB unified system L3 cache&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
* '''GPU:''' Mali-G52 MP2 @ 800 MHz&lt;br /&gt;
** Supported by the open source 'Panfrost' driver in Linux and Mesa&lt;br /&gt;
** Supports OpenGL 3.1 and OpenGL ES 3.1 with many newer extensions&lt;br /&gt;
* '''NPU:''' 0.8 TOPS Neural Processing Unit&lt;br /&gt;
* '''RAM:''' 4GB or 8GB LPDDR4&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** 64GB or 128GB internal eMMC ([https://www.szyuda88.com/product-77313-276594.html SiliconGo SGM8 100C-S36BCG]; eMMC 5.1, up o 400MB/s)&lt;br /&gt;
** 1x MicroSD slot&lt;br /&gt;
* '''Display:''' 10.1&amp;quot; IPS LCD Resolution 1280x800&lt;br /&gt;
* '''Cameras:'''&lt;br /&gt;
** Front: 2Mpx, chipset: Galaxycore GC02M2&lt;br /&gt;
** Rear: 5Mpx, chipset: Omnivision OV5648&lt;br /&gt;
* '''Battery:''' 6000 mAh (22.2Wh)&lt;br /&gt;
* '''Buttons:''' Power, volume up, volume down&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** Wi-Fi: BES2600&lt;br /&gt;
*** Driver under development, use a USB wifi dongle for now&lt;br /&gt;
** Bluetooth: BES2600&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 1x USB-C 3.0 (top, host mode only; power output up to 680mA)&lt;br /&gt;
** 1x USB-C 2.0 + PD (bottom, device mode by default; power input)&lt;br /&gt;
** 1x MicroHDMI&lt;br /&gt;
** 1x 4 pole 3.5mm audio jack (microphone right) and headphone detection&lt;br /&gt;
** 2x speakers + microphone (microphone left)&lt;br /&gt;
** 1x 5 pin (USB 2.0; &amp;lt;=680mA) Pogo connector for keyboard&lt;br /&gt;
** (PCIe on PCB as a flat flex ribbon connector, no room for M.2 NVMe drives in case)&lt;br /&gt;
* '''Sensors:'''&lt;br /&gt;
** Accelerometer: Silan SC7A20&lt;br /&gt;
** Ambient Light &amp;amp; Proximity Sensor&lt;br /&gt;
* '''Multimedia:'''&lt;br /&gt;
** rkdjpeg: 1080p120 JPEG decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** hantro: JPEG/VP8/H.264 encode, 1080p MPEG-2/H.263/VP8/H.264 AVC decode&lt;br /&gt;
*** mainline driver does not yet support all codecs/functions&lt;br /&gt;
*** see [[Mainline Hardware Decoding]] and [[Mainline Hardware Encoding]]&lt;br /&gt;
** rkvdec2: 4K H.264 AVC Main10 L5.1/H.265 HEVC Main10 L5.1/VP9 Profile 0 and 2 L5.1 decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** rkvenc2: 4K H.264 AVC/H.265 HEVC encode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
* '''Build:''' Metal and Plastic&lt;br /&gt;
* '''Dimensions:''' 242x161x9mm&lt;br /&gt;
* '''Weight:''' 538g&lt;br /&gt;
* '''Misc:'''&lt;br /&gt;
** Protective cover with keyboard&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{{SeeMainArticle|Quartz64 Development}}&lt;br /&gt;
&lt;br /&gt;
Linux mainline is already quite far along for the device, as the SoC is the same as is used in the Quartz64 line of devices. Some minor pinetab2-specific adjustments can be found [https://github.com/TuxThePenguin0/linux/tree/device/pine64-pinetab2_stable here] Check the main article for the big picture; PineTab2 specific issues are listed here.&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
* WiFi/Bluetooth chip BES2600:&lt;br /&gt;
** The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing (at the moment it often causes system crashes). This is a priority, but for now, you can [[PineTab2_FAQ#Performing_USB_Tethering_with_an_Android_Phone|USB tether a phone]] or [[PineTab2_FAQ#Selecting_a_USB_WIFI_Adapter|use a supported WI-FI dongle]]. There are at least two code releases available, with two respective/non-interchangeable firmware versions. The latest danctnix kernel has a pretty well working wifi driver.&lt;br /&gt;
** The BES2600 Bluetooth driver needs to be implemented.&lt;br /&gt;
** Hardware bugs - the power and reset circuitry is not properly implemented in the circuitry, so hard reset of the chip (in the theoretical case it freezes) is impossible without power cycling the whole board.&lt;br /&gt;
* The camera drivers needs to be ported ([https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/media/i2c/gc02m2.c gc02m2], [https://elixir.bootlin.com/linux/latest/source/drivers/media/i2c/ov5648.c ov5648]), Rockchip CSI/ISP driver needs to be extended to handle 2 lanes.&lt;br /&gt;
* Suspend does not currently work reliably due to a driver issue. It is therefore disabled in the factory image. Caveat Emptor if you chose to unmask the feature prior to it being fixed.&lt;br /&gt;
&lt;br /&gt;
=== Connecting the UART adapter ===&lt;br /&gt;
&lt;br /&gt;
The USB-C UART adapter can be connected to the PineTab2 to debug boot issues at the early boot:&lt;br /&gt;
&lt;br /&gt;
* Plug the adapter face-up in the USB-C port furthest away from the power button. If all the lights are lit, you have the wrong port: only the green light should be lit when you first plug it in.&lt;br /&gt;
* Plug USB-C cable into the port on the adapter marked &amp;quot;DEBUG&amp;quot;&lt;br /&gt;
* Open a terminal window&lt;br /&gt;
* Install ''minicom'' or ''screen'' via your distribution's package manager, if you don't have it installed already&lt;br /&gt;
* Connect via minicom using &amp;lt;code&amp;gt;sudo minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or via screen using &amp;lt;code&amp;gt;sudo screen /dev/ttyUSB0 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ubuntu-based distro users may encounter the error, &amp;quot;cannot open /dev/ttyUSB0: No such file or directory&amp;quot;.  If this occurs, check the output of &amp;lt;code&amp;gt;sudo dmesg --follow&amp;lt;/code&amp;gt; and unplug/replug the USB to look for any errors.  If you see an error like, &amp;quot;usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1&amp;quot;, then the brltty service is likely conflicting with this device.  Brltty provides access to blind users who use a braille display: if you do not need this service, try disabling it using these commands:&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PPineTab2-pcb.jpg|thumb|right|PineTab2 Board]]&lt;br /&gt;
&lt;br /&gt;
PineTab2 mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_schematic-20230417.pdf PineTab2 mainboard Released Schematic-20230417 ver 2.0]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_comp_ref_top-20230417.pdf PineTab2 PCB Component Reference location v2.0 (top layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_comp_ref_bottom-20230417.pdf PineTab2 PCB Component Reference location v2.0 (bottom layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/pinetab2-V_uart_console_schematic-20221107.pdf PineTab2/PineTab-V UART Dongle Schematic-20221107]&lt;br /&gt;
&lt;br /&gt;
PineTab2 certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinetab2%20FCC-SDOC%20Certificate-LCSA040323223E.pdf PineTab2 FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinetab2%20CE%20RED%20Certificate-LCSA040323224E.pdf PineTab2 CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20CE%20EMC%20Certificate-LCSA040323225E.pdf PineTab2 CE EMC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20ROHS%20Report-LCSA040323221R.pdf PineTab2 ROHS Test Report]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20Keyboard%20CE%20EMC%20Certificate-LCSA062623001E.pdf PineTab2/PineTab-V Detached Keyboard CE EMMC Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF Rockchip RK3566 and RK3568 TRM (Technical Reference Manual)]&lt;br /&gt;
&lt;br /&gt;
LCD panel:&lt;br /&gt;
&lt;br /&gt;
* [[:File:Boe-technology-th101mb31ig002-28a-datasheet-v10.pdf|BOE TH101MB31IG002-28A datasheet v1.0]]&lt;br /&gt;
&lt;br /&gt;
== Tutorials and Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
Please see the [[PineTab2 FAQ]] page for tutorials and frequently asked questions.&lt;br /&gt;
&lt;br /&gt;
There's also [[:File:PineTab2_display_panel_disassembly_guide.pdf|PineTab2 disassembly guide]].  The disassembly is a very delicate operation, especially around the corners of the screen.  Several (even experienced) users ended up damaging the screen.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.pine64.org/2022/12/15/december-update-merry-christmas-and-happy-new-pinetab/ December 2022 Community Update]&lt;br /&gt;
* [https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/ February 2023 Community Update]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=21613</id>
		<title>PineTab2</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=21613"/>
		<updated>2024-10-28T20:26:16Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Getting started */ More small cleanups&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineTab2 Front.jpg|250px|thumb|right|The PineTab2 with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab2''' is PINE64's successor to the original [[PineTab]] Linux tablet computer, featuring a faster processor and better availability. The tablet is available in two configurations, 4GB of RAM and 64GB of internal storage or 8GB of RAM and 128GB of internal storage. The tablet ships with a detachable keyboard that doubles as a protective cover.&lt;br /&gt;
&lt;br /&gt;
The tablet is designed around the Rockchip RK3566 processor, which features 4 energy-efficient Cortex-A55 64-bit ARM cores and enjoys good mainline Linux support. A similarly packaged RISC-V tablet is the [[PineTab-V]].&lt;br /&gt;
&lt;br /&gt;
Pre-orders started on the 13th of April 2023, with pricing starting at USD 159 for the 4GB/64GB version and USD 209 for the 8GB/128GB version. The PineTab2 began shipping on June 2, 2023.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
&lt;br /&gt;
The PineTab2 box contains two smaller boxes.&lt;br /&gt;
&lt;br /&gt;
The first box includes the following items:&lt;br /&gt;
&lt;br /&gt;
* The PineTab2&lt;br /&gt;
* Short user guide&lt;br /&gt;
* Power cable&lt;br /&gt;
* The UART adapter board&lt;br /&gt;
&lt;br /&gt;
Note that the UART adapter is in the same package as the power cable, in a second compartment, and can be a bit hidden. &lt;br /&gt;
&lt;br /&gt;
The second box has the keyboard in it.&lt;br /&gt;
&lt;br /&gt;
=== First start ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 can be started by pressing and holding the power button for two seconds. The device is initialized at the first boot and will power-cycle while the partition table is populated.&lt;br /&gt;
&lt;br /&gt;
{{Info|If the initialization process is interrupted it might lead to a corrupted operating system installation. In that case reinstall the operating system as explained below.}}&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''DanctNix Arch Linux'' and comes with a pre-set user and the default password &amp;lt;code&amp;gt;123456&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;alarm / 123456&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can create a new user and set your own password after the initial boot. To do so, go to ''system settings'' -&amp;gt; ''users'' and create a new profile using your preferred name and password.&lt;br /&gt;
&lt;br /&gt;
=== Keyboard cover ===&lt;br /&gt;
&lt;br /&gt;
When connecting the keyboard to the Pinetab2 ensure that the camera and the golden pogo pin connectors are correctly aligned. &lt;br /&gt;
The external keyboard has 5 connection pins (the golden pins). four are standard USB connectors and one is used to detect that the keyboard is connected.&lt;br /&gt;
&lt;br /&gt;
The backlight can be changed with the key combination ''Pinekey + Ctrl (right)''.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
All operating systems for the PineTab2 are delivered by community developers and partner projects. Aside from the operating system that comes pre-installed on your device, you can install and run any other operating system available for the PineTab2. Most, if not all operating systems for the PineTab2 are open and free, such as Linux and BSD.&lt;br /&gt;
&lt;br /&gt;
Since most software issues will be release-specific, please see the [[PineTab2 Releases]] page for additional software related instructions, tips, and tricks.&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
The releases for the PineTab2 can be found under [[PineTab2 Releases]].&lt;br /&gt;
&lt;br /&gt;
=== Installation instructions ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is capable of running different operating systems from the internal flash memory (eMMC) and from microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Preparing the microSD card'''&lt;br /&gt;
&lt;br /&gt;
To write an operating system to the microSD card (typically called &amp;quot;flashing&amp;quot; in the community), you need to first download a compatible image from the [[#Releases|releases]] section.&lt;br /&gt;
&lt;br /&gt;
Next you need to decompress the downloaded image. The images are typically compressed in an archive format such as ''xz'' to reduce the download size. If you are using a graphical tool such as ''balenaEtcher'' or ''Gnome Disks'' it will handle the decompression of the image in the flashing step automatically.&lt;br /&gt;
&lt;br /&gt;
Further you need to flash the image to the microSD card. This can be done using various tools, for example ''balenaEtcher'' (recommended for new users), ''Gnome Disks'' or command-line tools such as ''cp'' and ''dd''. Insert the microSD card in a microSD card reader connected to your computer and then choose a tool of your liking.&lt;br /&gt;
&lt;br /&gt;
Graphical applications:&lt;br /&gt;
&lt;br /&gt;
* '''balenaEtcher''' (Microsoft Windows, macOS, Linux): Click on ''Flash from file'' and select the image. Then select the microSD card target device and click on ''Flash!''.&lt;br /&gt;
&lt;br /&gt;
* '''Gnome Disks''' (Linux): Select the microSD card target device on the left side in the ''Disks'' list. Then select the three dot menu on the top right and click on ''Restore Disk Image...''. Select the image, verify the correct device is selected and then click on ''Start Restoring...''.&lt;br /&gt;
&lt;br /&gt;
Command-line tools:&lt;br /&gt;
&lt;br /&gt;
* '''cp''': &amp;lt;code&amp;gt;sudo cp '''IMAGE.img''' /dev/'''[DEVICE]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''dd''': &amp;lt;code&amp;gt;sudo dd if='''IMAGE.img''' of=/dev/'''[DEVICE]''' bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Info|Make sure to replace '''IMAGE.img''' and '''[DEVICE]''' with the filename of the image (double check if it is decompressed and has the file extension ''.img'') and the device name. You can use the command &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; to find the device name. Make sure to flash to the whole device instead of partition 1 and that you're NOT selecting ''/dev/sda1'' or ''/dev/mmcblk0p1'' as target. Be very careful to select the correct device, as the tools can overwrite your data when the wrong device is selected.}}&lt;br /&gt;
&lt;br /&gt;
Then insert the microSD card into the PineTab2. &lt;br /&gt;
&lt;br /&gt;
[[File:PineTab2 USB UARTv2.jpg|thumb|right|400px|Using the USB UART adapter can be required in some cases as explained in the info box about the boot order. The adapter is shipped with the PineTab2 in the box which is also containing the charging cable. The switch to disable the eMMC and SPI is located on the top right of the image.]]&lt;br /&gt;
&lt;br /&gt;
{{Hint|'''Note regarding the boot order:''' The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card. The pre-installed bootloader on the internal memory (eMMC) tries to boot from the microSD card first. '''In some cases''' it can be required to bypass the bootloader, for example if the bootloader is corrupted or was overwritten by a bootloader with varying settings.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To force the device to boot from the microSD card, the eMMC and the SPI can be disabled by using the debug UART adapter shipped with the device in the box also containing the charging cable. Set the ''SD BOOT MASKROM'' switch on the adapter to the position ''ON'' and plug it into the USB/PD charging port. Then power on the tablet and '''unplug the debug board or set the switch to the position ''OFF'' again''' when the factory image is started, otherwise the factory image won't find the eMMC.}}&lt;br /&gt;
&lt;br /&gt;
Power on the device with the microSD card inserted (and optionally with the USB UART adapter inserted and the bypass switch set to ''ON'' depending on the software situation, see the info box above). It should now boot the new operating system from the microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Something is not working?''' Please join the [[Main_Page#Chat_Platforms|PineTab channel in the community chat]], the community is always happy to help. In the section [[#Connecting the UART adapter]] you can find information about how to connect the USB UART adapter and how to retrieve the boot logs if the device is not booting properly even after the above procudere.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
[[File:Pinetab2-side.jpeg|thumb|400px|right|Tablet's side ports: USB-C (with PD), MicroSD, USB-C 3.0, volume rocker, power button]]&lt;br /&gt;
* '''SoC:''' Rockchip RK3566&lt;br /&gt;
* '''CPU:''' 4x ARM Cortex-A55 @ 1.8 GHz&lt;br /&gt;
** 32KB L1 Instruction Cache and 32KB L1 Data Cache per core&lt;br /&gt;
** 512KB unified system L3 cache&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
* '''GPU:''' Mali-G52 MP2 @ 800 MHz&lt;br /&gt;
** Supported by the open source 'Panfrost' driver in Linux and Mesa&lt;br /&gt;
** Supports OpenGL 3.1 and OpenGL ES 3.1 with many newer extensions&lt;br /&gt;
* '''NPU:''' 0.8 TOPS Neural Processing Unit&lt;br /&gt;
* '''RAM:''' 4GB or 8GB LPDDR4&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** 64GB or 128GB internal eMMC ([https://www.szyuda88.com/product-77313-276594.html SiliconGo SGM8 100C-S36BCG]; eMMC 5.1, up o 400MB/s)&lt;br /&gt;
** 1x MicroSD slot&lt;br /&gt;
* '''Display:''' 10.1&amp;quot; IPS LCD Resolution 1280x800&lt;br /&gt;
* '''Cameras:'''&lt;br /&gt;
** Front: 2Mpx, chipset: Galaxycore GC02M2&lt;br /&gt;
** Rear: 5Mpx, chipset: Omnivision OV5648&lt;br /&gt;
* '''Battery:''' 6000 mAh (22.2Wh)&lt;br /&gt;
* '''Buttons:''' Power, volume up, volume down&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** Wi-Fi: BES2600&lt;br /&gt;
*** Driver under development, use a USB wifi dongle for now&lt;br /&gt;
** Bluetooth: BES2600&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 1x USB-C 3.0 (top, host mode only; power output up to 680mA)&lt;br /&gt;
** 1x USB-C 2.0 + PD (bottom, device mode by default; power input)&lt;br /&gt;
** 1x MicroHDMI&lt;br /&gt;
** 1x 4 pole 3.5mm audio jack (microphone right) and headphone detection&lt;br /&gt;
** 2x speakers + microphone (microphone left)&lt;br /&gt;
** 1x 5 pin (USB 2.0; &amp;lt;=680mA) Pogo connector for keyboard&lt;br /&gt;
** (PCIe on PCB as a flat flex ribbon connector, no room for M.2 NVMe drives in case)&lt;br /&gt;
* '''Sensors:'''&lt;br /&gt;
** Accelerometer: Silan SC7A20&lt;br /&gt;
** Ambient Light &amp;amp; Proximity Sensor&lt;br /&gt;
* '''Multimedia:'''&lt;br /&gt;
** rkdjpeg: 1080p120 JPEG decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** hantro: JPEG/VP8/H.264 encode, 1080p MPEG-2/H.263/VP8/H.264 AVC decode&lt;br /&gt;
*** mainline driver does not yet support all codecs/functions&lt;br /&gt;
*** see [[Mainline Hardware Decoding]] and [[Mainline Hardware Encoding]]&lt;br /&gt;
** rkvdec2: 4K H.264 AVC Main10 L5.1/H.265 HEVC Main10 L5.1/VP9 Profile 0 and 2 L5.1 decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** rkvenc2: 4K H.264 AVC/H.265 HEVC encode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
* '''Build:''' Metal and Plastic&lt;br /&gt;
* '''Dimensions:''' 242x161x9mm&lt;br /&gt;
* '''Weight:''' 538g&lt;br /&gt;
* '''Misc:'''&lt;br /&gt;
** Protective cover with keyboard&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{{SeeMainArticle|Quartz64 Development}}&lt;br /&gt;
&lt;br /&gt;
Linux mainline is already quite far along for the device, as the SoC is the same as is used in the Quartz64 line of devices. Some minor pinetab2-specific adjustments can be found [https://github.com/TuxThePenguin0/linux/tree/device/pine64-pinetab2_stable here] Check the main article for the big picture; PineTab2 specific issues are listed here.&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
* WiFi/Bluetooth chip BES2600:&lt;br /&gt;
** The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing (at the moment it often causes system crashes). This is a priority, but for now, you can [[PineTab2_FAQ#Performing_USB_Tethering_with_an_Android_Phone|USB tether a phone]] or [[PineTab2_FAQ#Selecting_a_USB_WIFI_Adapter|use a supported WI-FI dongle]]. There are at least two code releases available, with two respective/non-interchangeable firmware versions. The latest danctnix kernel has a pretty well working wifi driver.&lt;br /&gt;
** The BES2600 Bluetooth driver needs to be implemented.&lt;br /&gt;
** Hardware bugs - the power and reset circuitry is not properly implemented in the circuitry, so hard reset of the chip (in the theoretical case it freezes) is impossible without power cycling the whole board.&lt;br /&gt;
* The camera drivers needs to be ported ([https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/media/i2c/gc02m2.c gc02m2], [https://elixir.bootlin.com/linux/latest/source/drivers/media/i2c/ov5648.c ov5648]), Rockchip CSI/ISP driver needs to be extended to handle 2 lanes.&lt;br /&gt;
* Suspend does not currently work reliably due to a driver issue. It is therefore disabled in the factory image. Caveat Emptor if you chose to unmask the feature prior to it being fixed.&lt;br /&gt;
&lt;br /&gt;
=== Connecting the UART adapter ===&lt;br /&gt;
&lt;br /&gt;
The USB-C UART adapter can be connected to the PineTab2 to debug boot issues at the early boot:&lt;br /&gt;
&lt;br /&gt;
* Plug the adapter face-up in the USB-C port furthest away from the power button. If all the lights are lit, you have the wrong port: only the green light should be lit when you first plug it in.&lt;br /&gt;
* Plug USB-C cable into the port on the adapter marked &amp;quot;DEBUG&amp;quot;&lt;br /&gt;
* Open a terminal window&lt;br /&gt;
* Install ''minicom'' or ''screen'' via your distribution's package manager, if you don't have it installed already&lt;br /&gt;
* Connect via minicom using &amp;lt;code&amp;gt;sudo minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or via screen using &amp;lt;code&amp;gt;sudo screen /dev/ttyUSB0 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ubuntu-based distro users may encounter the error, &amp;quot;cannot open /dev/ttyUSB0: No such file or directory&amp;quot;.  If this occurs, check the output of &amp;lt;code&amp;gt;sudo dmesg --follow&amp;lt;/code&amp;gt; and unplug/replug the USB to look for any errors.  If you see an error like, &amp;quot;usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1&amp;quot;, then the brltty service is likely conflicting with this device.  Brltty provides access to blind users who use a braille display: if you do not need this service, try disabling it using these commands:&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PPineTab2-pcb.jpg|thumb|right|PineTab2 Board]]&lt;br /&gt;
&lt;br /&gt;
PineTab2 mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_schematic-20230417.pdf PineTab2 mainboard Released Schematic-20230417 ver 2.0]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_comp_ref_top-20230417.pdf PineTab2 PCB Component Reference location v2.0 (top layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_comp_ref_bottom-20230417.pdf PineTab2 PCB Component Reference location v2.0 (bottom layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/pinetab2-V_uart_console_schematic-20221107.pdf PineTab2/PineTab-V UART Dongle Schematic-20221107]&lt;br /&gt;
&lt;br /&gt;
PineTab2 certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinetab2%20FCC-SDOC%20Certificate-LCSA040323223E.pdf PineTab2 FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinetab2%20CE%20RED%20Certificate-LCSA040323224E.pdf PineTab2 CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20CE%20EMC%20Certificate-LCSA040323225E.pdf PineTab2 CE EMC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20ROHS%20Report-LCSA040323221R.pdf PineTab2 ROHS Test Report]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20Keyboard%20CE%20EMC%20Certificate-LCSA062623001E.pdf PineTab2/PineTab-V Detached Keyboard CE EMMC Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF Rockchip RK3566 and RK3568 TRM (Technical Reference Manual)]&lt;br /&gt;
&lt;br /&gt;
LCD panel:&lt;br /&gt;
&lt;br /&gt;
* [[:File:Boe-technology-th101mb31ig002-28a-datasheet-v10.pdf|BOE TH101MB31IG002-28A datasheet v1.0]]&lt;br /&gt;
&lt;br /&gt;
== Tutorials and Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
Please see the [[PineTab2 FAQ]] page for tutorials and frequently asked questions.&lt;br /&gt;
&lt;br /&gt;
There's also [[:File:PineTab2_display_panel_disassembly_guide.pdf|PineTab2 disassembly guide]].  The disassembly is a very delicate operation, especially around the corners of the screen.  Several (even experienced) users ended up damaging the screen.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.pine64.org/2022/12/15/december-update-merry-christmas-and-happy-new-pinetab/ December 2022 Community Update]&lt;br /&gt;
* [https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/ February 2023 Community Update]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=21612</id>
		<title>PineTab2</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=21612"/>
		<updated>2024-10-28T20:25:38Z</updated>

		<summary type="html">&lt;p&gt;Dsimic: /* Getting started */ Cleaned up a bit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineTab2 Front.jpg|250px|thumb|right|The PineTab2 with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab2''' is PINE64's successor to the original [[PineTab]] Linux tablet computer, featuring a faster processor and better availability. The tablet is available in two configurations, 4GB of RAM and 64GB of internal storage or 8GB of RAM and 128GB of internal storage. The tablet ships with a detachable keyboard that doubles as a protective cover.&lt;br /&gt;
&lt;br /&gt;
The tablet is designed around the Rockchip RK3566 processor, which features 4 energy-efficient Cortex-A55 64-bit ARM cores and enjoys good mainline Linux support. A similarly packaged RISC-V tablet is the [[PineTab-V]].&lt;br /&gt;
&lt;br /&gt;
Pre-orders started on the 13th of April 2023, with pricing starting at USD 159 for the 4GB/64GB version and USD 209 for the 8GB/128GB version. The PineTab2 began shipping on June 2, 2023.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
&lt;br /&gt;
The PineTab2 box contains two smaller boxes.&lt;br /&gt;
&lt;br /&gt;
The first box includes:&lt;br /&gt;
&lt;br /&gt;
* The PineTab2&lt;br /&gt;
* Short user guide&lt;br /&gt;
* Power cable&lt;br /&gt;
* The UART adapter board&lt;br /&gt;
&lt;br /&gt;
Note that the UART adapter is in the same package as the power cable, in a second compartment, and can be a bit hidden. &lt;br /&gt;
&lt;br /&gt;
The second box has the keyboard in it.&lt;br /&gt;
&lt;br /&gt;
=== First start ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 can be started by pressing and holding the power button for two seconds. The device is initialized at the first boot and will power-cycle while the partition table is populated.&lt;br /&gt;
&lt;br /&gt;
{{Info|If the initialization process is interrupted it might lead to a corrupted operating system installation. In that case reinstall the operating system as explained below.}}&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''DanctNix Arch Linux'' and comes with a pre-set user and the default password &amp;lt;code&amp;gt;123456&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;alarm / 123456&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can create a new user and set your own password after the initial boot. To do so, go to ''system settings'' -&amp;gt; ''users'' and create a new profile using your preferred name and password.&lt;br /&gt;
&lt;br /&gt;
=== Keyboard cover ===&lt;br /&gt;
&lt;br /&gt;
When connecting the keyboard to the Pinetab2 ensure that the camera and the golden pogo pin connectors are correctly aligned. &lt;br /&gt;
The external keyboard has 5 connection pins (the golden pins). four are standard USB connectors and one is used to detect that the keyboard is connected.&lt;br /&gt;
&lt;br /&gt;
The backlight can be changed with the key combination ''Pinekey + Ctrl (right)''.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
All operating systems for the PineTab2 are delivered by community developers and partner projects. Aside from the operating system that comes pre-installed on your device, you can install and run any other operating system available for the PineTab2. Most, if not all operating systems for the PineTab2 are open and free, such as Linux and BSD.&lt;br /&gt;
&lt;br /&gt;
Since most software issues will be release-specific, please see the [[PineTab2 Releases]] page for additional software related instructions, tips, and tricks.&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
The releases for the PineTab2 can be found under [[PineTab2 Releases]].&lt;br /&gt;
&lt;br /&gt;
=== Installation instructions ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is capable of running different operating systems from the internal flash memory (eMMC) and from microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Preparing the microSD card'''&lt;br /&gt;
&lt;br /&gt;
To write an operating system to the microSD card (typically called &amp;quot;flashing&amp;quot; in the community), you need to first download a compatible image from the [[#Releases|releases]] section.&lt;br /&gt;
&lt;br /&gt;
Next you need to decompress the downloaded image. The images are typically compressed in an archive format such as ''xz'' to reduce the download size. If you are using a graphical tool such as ''balenaEtcher'' or ''Gnome Disks'' it will handle the decompression of the image in the flashing step automatically.&lt;br /&gt;
&lt;br /&gt;
Further you need to flash the image to the microSD card. This can be done using various tools, for example ''balenaEtcher'' (recommended for new users), ''Gnome Disks'' or command-line tools such as ''cp'' and ''dd''. Insert the microSD card in a microSD card reader connected to your computer and then choose a tool of your liking.&lt;br /&gt;
&lt;br /&gt;
Graphical applications:&lt;br /&gt;
&lt;br /&gt;
* '''balenaEtcher''' (Microsoft Windows, macOS, Linux): Click on ''Flash from file'' and select the image. Then select the microSD card target device and click on ''Flash!''.&lt;br /&gt;
&lt;br /&gt;
* '''Gnome Disks''' (Linux): Select the microSD card target device on the left side in the ''Disks'' list. Then select the three dot menu on the top right and click on ''Restore Disk Image...''. Select the image, verify the correct device is selected and then click on ''Start Restoring...''.&lt;br /&gt;
&lt;br /&gt;
Command-line tools:&lt;br /&gt;
&lt;br /&gt;
* '''cp''': &amp;lt;code&amp;gt;sudo cp '''IMAGE.img''' /dev/'''[DEVICE]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''dd''': &amp;lt;code&amp;gt;sudo dd if='''IMAGE.img''' of=/dev/'''[DEVICE]''' bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Info|Make sure to replace '''IMAGE.img''' and '''[DEVICE]''' with the filename of the image (double check if it is decompressed and has the file extension ''.img'') and the device name. You can use the command &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; to find the device name. Make sure to flash to the whole device instead of partition 1 and that you're NOT selecting ''/dev/sda1'' or ''/dev/mmcblk0p1'' as target. Be very careful to select the correct device, as the tools can overwrite your data when the wrong device is selected.}}&lt;br /&gt;
&lt;br /&gt;
Then insert the microSD card into the PineTab2. &lt;br /&gt;
&lt;br /&gt;
[[File:PineTab2 USB UARTv2.jpg|thumb|right|400px|Using the USB UART adapter can be required in some cases as explained in the info box about the boot order. The adapter is shipped with the PineTab2 in the box which is also containing the charging cable. The switch to disable the eMMC and SPI is located on the top right of the image.]]&lt;br /&gt;
&lt;br /&gt;
{{Hint|'''Note regarding the boot order:''' The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card. The pre-installed bootloader on the internal memory (eMMC) tries to boot from the microSD card first. '''In some cases''' it can be required to bypass the bootloader, for example if the bootloader is corrupted or was overwritten by a bootloader with varying settings.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To force the device to boot from the microSD card, the eMMC and the SPI can be disabled by using the debug UART adapter shipped with the device in the box also containing the charging cable. Set the ''SD BOOT MASKROM'' switch on the adapter to the position ''ON'' and plug it into the USB/PD charging port. Then power on the tablet and '''unplug the debug board or set the switch to the position ''OFF'' again''' when the factory image is started, otherwise the factory image won't find the eMMC.}}&lt;br /&gt;
&lt;br /&gt;
Power on the device with the microSD card inserted (and optionally with the USB UART adapter inserted and the bypass switch set to ''ON'' depending on the software situation, see the info box above). It should now boot the new operating system from the microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Something is not working?''' Please join the [[Main_Page#Chat_Platforms|PineTab channel in the community chat]], the community is always happy to help. In the section [[#Connecting the UART adapter]] you can find information about how to connect the USB UART adapter and how to retrieve the boot logs if the device is not booting properly even after the above procudere.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
[[File:Pinetab2-side.jpeg|thumb|400px|right|Tablet's side ports: USB-C (with PD), MicroSD, USB-C 3.0, volume rocker, power button]]&lt;br /&gt;
* '''SoC:''' Rockchip RK3566&lt;br /&gt;
* '''CPU:''' 4x ARM Cortex-A55 @ 1.8 GHz&lt;br /&gt;
** 32KB L1 Instruction Cache and 32KB L1 Data Cache per core&lt;br /&gt;
** 512KB unified system L3 cache&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
* '''GPU:''' Mali-G52 MP2 @ 800 MHz&lt;br /&gt;
** Supported by the open source 'Panfrost' driver in Linux and Mesa&lt;br /&gt;
** Supports OpenGL 3.1 and OpenGL ES 3.1 with many newer extensions&lt;br /&gt;
* '''NPU:''' 0.8 TOPS Neural Processing Unit&lt;br /&gt;
* '''RAM:''' 4GB or 8GB LPDDR4&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** 64GB or 128GB internal eMMC ([https://www.szyuda88.com/product-77313-276594.html SiliconGo SGM8 100C-S36BCG]; eMMC 5.1, up o 400MB/s)&lt;br /&gt;
** 1x MicroSD slot&lt;br /&gt;
* '''Display:''' 10.1&amp;quot; IPS LCD Resolution 1280x800&lt;br /&gt;
* '''Cameras:'''&lt;br /&gt;
** Front: 2Mpx, chipset: Galaxycore GC02M2&lt;br /&gt;
** Rear: 5Mpx, chipset: Omnivision OV5648&lt;br /&gt;
* '''Battery:''' 6000 mAh (22.2Wh)&lt;br /&gt;
* '''Buttons:''' Power, volume up, volume down&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** Wi-Fi: BES2600&lt;br /&gt;
*** Driver under development, use a USB wifi dongle for now&lt;br /&gt;
** Bluetooth: BES2600&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 1x USB-C 3.0 (top, host mode only; power output up to 680mA)&lt;br /&gt;
** 1x USB-C 2.0 + PD (bottom, device mode by default; power input)&lt;br /&gt;
** 1x MicroHDMI&lt;br /&gt;
** 1x 4 pole 3.5mm audio jack (microphone right) and headphone detection&lt;br /&gt;
** 2x speakers + microphone (microphone left)&lt;br /&gt;
** 1x 5 pin (USB 2.0; &amp;lt;=680mA) Pogo connector for keyboard&lt;br /&gt;
** (PCIe on PCB as a flat flex ribbon connector, no room for M.2 NVMe drives in case)&lt;br /&gt;
* '''Sensors:'''&lt;br /&gt;
** Accelerometer: Silan SC7A20&lt;br /&gt;
** Ambient Light &amp;amp; Proximity Sensor&lt;br /&gt;
* '''Multimedia:'''&lt;br /&gt;
** rkdjpeg: 1080p120 JPEG decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** hantro: JPEG/VP8/H.264 encode, 1080p MPEG-2/H.263/VP8/H.264 AVC decode&lt;br /&gt;
*** mainline driver does not yet support all codecs/functions&lt;br /&gt;
*** see [[Mainline Hardware Decoding]] and [[Mainline Hardware Encoding]]&lt;br /&gt;
** rkvdec2: 4K H.264 AVC Main10 L5.1/H.265 HEVC Main10 L5.1/VP9 Profile 0 and 2 L5.1 decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** rkvenc2: 4K H.264 AVC/H.265 HEVC encode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
* '''Build:''' Metal and Plastic&lt;br /&gt;
* '''Dimensions:''' 242x161x9mm&lt;br /&gt;
* '''Weight:''' 538g&lt;br /&gt;
* '''Misc:'''&lt;br /&gt;
** Protective cover with keyboard&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{{SeeMainArticle|Quartz64 Development}}&lt;br /&gt;
&lt;br /&gt;
Linux mainline is already quite far along for the device, as the SoC is the same as is used in the Quartz64 line of devices. Some minor pinetab2-specific adjustments can be found [https://github.com/TuxThePenguin0/linux/tree/device/pine64-pinetab2_stable here] Check the main article for the big picture; PineTab2 specific issues are listed here.&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
* WiFi/Bluetooth chip BES2600:&lt;br /&gt;
** The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing (at the moment it often causes system crashes). This is a priority, but for now, you can [[PineTab2_FAQ#Performing_USB_Tethering_with_an_Android_Phone|USB tether a phone]] or [[PineTab2_FAQ#Selecting_a_USB_WIFI_Adapter|use a supported WI-FI dongle]]. There are at least two code releases available, with two respective/non-interchangeable firmware versions. The latest danctnix kernel has a pretty well working wifi driver.&lt;br /&gt;
** The BES2600 Bluetooth driver needs to be implemented.&lt;br /&gt;
** Hardware bugs - the power and reset circuitry is not properly implemented in the circuitry, so hard reset of the chip (in the theoretical case it freezes) is impossible without power cycling the whole board.&lt;br /&gt;
* The camera drivers needs to be ported ([https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/media/i2c/gc02m2.c gc02m2], [https://elixir.bootlin.com/linux/latest/source/drivers/media/i2c/ov5648.c ov5648]), Rockchip CSI/ISP driver needs to be extended to handle 2 lanes.&lt;br /&gt;
* Suspend does not currently work reliably due to a driver issue. It is therefore disabled in the factory image. Caveat Emptor if you chose to unmask the feature prior to it being fixed.&lt;br /&gt;
&lt;br /&gt;
=== Connecting the UART adapter ===&lt;br /&gt;
&lt;br /&gt;
The USB-C UART adapter can be connected to the PineTab2 to debug boot issues at the early boot:&lt;br /&gt;
&lt;br /&gt;
* Plug the adapter face-up in the USB-C port furthest away from the power button. If all the lights are lit, you have the wrong port: only the green light should be lit when you first plug it in.&lt;br /&gt;
* Plug USB-C cable into the port on the adapter marked &amp;quot;DEBUG&amp;quot;&lt;br /&gt;
* Open a terminal window&lt;br /&gt;
* Install ''minicom'' or ''screen'' via your distribution's package manager, if you don't have it installed already&lt;br /&gt;
* Connect via minicom using &amp;lt;code&amp;gt;sudo minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or via screen using &amp;lt;code&amp;gt;sudo screen /dev/ttyUSB0 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ubuntu-based distro users may encounter the error, &amp;quot;cannot open /dev/ttyUSB0: No such file or directory&amp;quot;.  If this occurs, check the output of &amp;lt;code&amp;gt;sudo dmesg --follow&amp;lt;/code&amp;gt; and unplug/replug the USB to look for any errors.  If you see an error like, &amp;quot;usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1&amp;quot;, then the brltty service is likely conflicting with this device.  Brltty provides access to blind users who use a braille display: if you do not need this service, try disabling it using these commands:&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PPineTab2-pcb.jpg|thumb|right|PineTab2 Board]]&lt;br /&gt;
&lt;br /&gt;
PineTab2 mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_schematic-20230417.pdf PineTab2 mainboard Released Schematic-20230417 ver 2.0]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_comp_ref_top-20230417.pdf PineTab2 PCB Component Reference location v2.0 (top layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_comp_ref_bottom-20230417.pdf PineTab2 PCB Component Reference location v2.0 (bottom layer)]&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/pinetab2-V_uart_console_schematic-20221107.pdf PineTab2/PineTab-V UART Dongle Schematic-20221107]&lt;br /&gt;
&lt;br /&gt;
PineTab2 certifications:&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinetab2%20FCC-SDOC%20Certificate-LCSA040323223E.pdf PineTab2 FCC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/Pinetab2%20CE%20RED%20Certificate-LCSA040323224E.pdf PineTab2 CE RED Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20CE%20EMC%20Certificate-LCSA040323225E.pdf PineTab2 CE EMC Certificate]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20ROHS%20Report-LCSA040323221R.pdf PineTab2 ROHS Test Report]&lt;br /&gt;
* [https://files.pine64.org/doc/cert/PineTab2%20Keyboard%20CE%20EMC%20Certificate-LCSA062623001E.pdf PineTab2/PineTab-V Detached Keyboard CE EMMC Certificate]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF Rockchip RK3566 and RK3568 TRM (Technical Reference Manual)]&lt;br /&gt;
&lt;br /&gt;
LCD panel:&lt;br /&gt;
&lt;br /&gt;
* [[:File:Boe-technology-th101mb31ig002-28a-datasheet-v10.pdf|BOE TH101MB31IG002-28A datasheet v1.0]]&lt;br /&gt;
&lt;br /&gt;
== Tutorials and Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
Please see the [[PineTab2 FAQ]] page for tutorials and frequently asked questions.&lt;br /&gt;
&lt;br /&gt;
There's also [[:File:PineTab2_display_panel_disassembly_guide.pdf|PineTab2 disassembly guide]].  The disassembly is a very delicate operation, especially around the corners of the screen.  Several (even experienced) users ended up damaging the screen.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.pine64.org/2022/12/15/december-update-merry-christmas-and-happy-new-pinetab/ December 2022 Community Update]&lt;br /&gt;
* [https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/ February 2023 Community Update]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Dsimic</name></author>
	</entry>
</feed>