<?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=MatteoScordino</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=MatteoScordino"/>
	<link rel="alternate" type="text/html" href="https://wiki.pine64.org/wiki/Special:Contributions/MatteoScordino"/>
	<updated>2026-04-21T20:20:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineCube&amp;diff=8027</id>
		<title>PineCube</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineCube&amp;diff=8027"/>
		<updated>2020-10-28T13:04:05Z</updated>

		<summary type="html">&lt;p&gt;MatteoScordino: Added Vagrant build environment section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{note|1=PAGE UNDER CONSTRUCTION, INFO SUBJECT TO CHANGE}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
* '''Dimensions:''' 55mm x 51mm x 51.5mm&lt;br /&gt;
* '''Weight:''' 55g&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** MicroSD slot, bootable&lt;br /&gt;
** 128Mb SPI Nor Flash, bootable&lt;br /&gt;
* '''Cameras:''' OV5640, 5Mpx &lt;br /&gt;
* '''CPU:''' Allwinner(Sochip) ARM Cortex-A7 MPCore, 800MHz&lt;br /&gt;
* '''RAM:''' 128MB DDR3&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 10/100Mbps Ethernet with passive PoE&lt;br /&gt;
** USB 2.0 A host&lt;br /&gt;
** 26 pins GPIO port&lt;br /&gt;
*** 2x 3.3V Ouptut&lt;br /&gt;
*** 2x 5V Output&lt;br /&gt;
*** 1x I2C&lt;br /&gt;
*** 2x UART&lt;br /&gt;
*** 2x PWM&lt;br /&gt;
*** 1x SPI&lt;br /&gt;
*** 1x eMMC/SDIO/SD (8-bit)&lt;br /&gt;
*** 6x Interrupts&lt;br /&gt;
*** '''Note: Interfaces are multiplexed, so they can't be all used at same time'''&lt;br /&gt;
** Internal microphone&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** WiFi&lt;br /&gt;
* '''Screen:''' optional 4.5&amp;quot; RGB LCD screen&lt;br /&gt;
* '''Misc. features:''' &lt;br /&gt;
** Volume and home buttons&lt;br /&gt;
** Speakers and Microphone&lt;br /&gt;
* '''Power DC in:'''&lt;br /&gt;
** 5V 1A from MicroUSB Port or GPIO port&lt;br /&gt;
** 4V-18V from Ethernet passive PoE&lt;br /&gt;
* '''Battery:''' optional 950-1600mAh model: 903048 Lithium Polymer Ion Battery Pack, can be purchase at [https://www.amazon.com/AKZYTUE-1200mAh-Battery-Rechargeable-Connector/dp/B07TWHHCNK/ Amazon.com]&lt;br /&gt;
&lt;br /&gt;
== PineCube board information, schematics and certifications ==&lt;br /&gt;
* PineCube mainboard schematic:&lt;br /&gt;
** [http://files.pine64.org/doc/PineCube/PineCube%20MainBoard%20Schematic%20ver%201.0-20200727.pdf PineCube mainboard Released Schematic ver 1.0]&lt;br /&gt;
* PineCube faceboard schematic:&lt;br /&gt;
** [http://files.pine64.org/doc/PineCube/PineCube%20FaceBoard%20Schematic%20ver%201.0-20200727.pdf PineCube faceboard Released Schematic ver 1.0]&lt;br /&gt;
* PineCube certifications:&lt;br /&gt;
** [http://files.pine64.org/doc/cert/PineCube-FCC-SDOC%20certification%20S20072502302001.pdf PineCube FCC Certificate]&lt;br /&gt;
** [http://files.pine64.org/doc/cert/PineCube-CE-EMC%20certification%20S20072502301001.pdf PineCube CE RED Certificate]&lt;br /&gt;
** [http://files.pine64.org/doc/cert/PineCube-ROHS%20Test%20Report.pdf PineCube ROHS Test Report]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Datasheets for components and peripherals ==&lt;br /&gt;
* Allwinner (Sochip) S3 SoC information:&lt;br /&gt;
** [http://files.pine64.org/doc/datasheet/pinecube/S3_Datasheet_V1.1-20180123.pdf Sochip S3 SoC Data Sheet V1.1]&lt;br /&gt;
&lt;br /&gt;
* X-Powers AXP209 PMU (Power Management Unit) information:&lt;br /&gt;
** [http://files.pine64.org/doc/datasheet/pinecube/AXP209_Datasheet_v1.0en.pdf AXP209 PMIC datasheet]&lt;br /&gt;
&lt;br /&gt;
* CMOS camera module information:&lt;br /&gt;
** [http://files.pine64.org/doc/datasheet/pinecube/CH-5A-DV-V2.0%20Specification.pdf PineCube Camera Module Specification]&lt;br /&gt;
** [http://files.pine64.org/doc/datasheet/pinephone/OV5640_datasheet.pdf OV5640 5MP CMOS Image Sensor SoC datasheet]&lt;br /&gt;
&lt;br /&gt;
* LCD touch screen panel information:&lt;br /&gt;
&lt;br /&gt;
* Lithium battery information:&lt;br /&gt;
&lt;br /&gt;
* WiFi/BT module information:&lt;br /&gt;
** [http://files.pine64.org/doc/datasheet/pinecube/rtl8189es.pdf RTL8189ES specification]&lt;br /&gt;
&lt;br /&gt;
* GPIO Header Pinout: ([[:File:PineCube_GPIO.pdf|PDF]], [https://pine64.gami.ee/pinecube/gpio-pinout.html HTML])&lt;br /&gt;
[[File:PineCube_GPIO_Pinout.png|700px]]&lt;br /&gt;
&lt;br /&gt;
== Operating Systems ==&lt;br /&gt;
&lt;br /&gt;
=== Mainlining Efforts ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Linux kernel&lt;br /&gt;
|-&lt;br /&gt;
| Type&lt;br /&gt;
| Link&lt;br /&gt;
| Available in version&lt;br /&gt;
|-&lt;br /&gt;
| Devicetree Entry Pinecube&lt;br /&gt;
| https://lkml.org/lkml/2020/9/22/1241&lt;br /&gt;
| expected in 5.10&lt;br /&gt;
|-&lt;br /&gt;
| Correction for AXP209 driver&lt;br /&gt;
| https://lkml.org/lkml/2020/9/22/1243&lt;br /&gt;
| 5.9&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|U-boot&lt;br /&gt;
|-&lt;br /&gt;
| Type&lt;br /&gt;
| Link&lt;br /&gt;
| Available in version&lt;br /&gt;
|-&lt;br /&gt;
| PineCube Board Support&lt;br /&gt;
| https://patchwork.ozlabs.org/project/uboot/list/?series=210044&lt;br /&gt;
| Waiting for merge&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Buildroot&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== NixOS ===&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/danielfullmer/pinecube-nixos danielfullmer's Github]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Buildroot ===&lt;br /&gt;
[https://elimo.io Elimo Engineering] integrated support for the PineCube into Buildroot.&lt;br /&gt;
&lt;br /&gt;
This has not been merged into upstream Buildroot yet, but you can find the repo on [https://github.com/elimo-engineering/buildroot Elimo's GitHub account] and build instructions in the [https://github.com/elimo-engineering/buildroot/tree/pine64/pinecube/board/pine64/pinecube board support directory] readme.&lt;br /&gt;
The most important thing that this provides is support for the S3's DDR3 in u-boot. Unfortunately mainline u-boot does not have that yet, but the u-boot patches from [https://github.com/danielfullmer/pinecube-nixos Daniel Fullmer's NixOS repo] were easy enough to use on buildroot.&lt;br /&gt;
This should get you a functional system that boots to a console on UART0. It's pretty fast too, getting there in 1.5 seconds from u-boot to login prompt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Stock Linux ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== SDK ==&lt;br /&gt;
&lt;br /&gt;
==== Stock Linux ====&lt;br /&gt;
* [http://files.pine64.org/SDK/PineCube/PineCube%20Stock%20BSP-SDK%20ver1.0.7z Direct Download from pine64.org]&lt;br /&gt;
** MD5 (7zip file): efac108dc98efa0a1f5e77660ba375f8&lt;br /&gt;
** File Size: 3.50GB&lt;br /&gt;
===== How to compile =====&lt;br /&gt;
&lt;br /&gt;
You can either setup a machine for the build environment, or use a Vagrant virtual machine provided by [https://elimo.io Elimo Engineering]&lt;br /&gt;
&lt;br /&gt;
====== On a dedicated machine ======&lt;br /&gt;
&lt;br /&gt;
Recommended system requirements:&lt;br /&gt;
* OS: (L)Ubuntu 16.04&lt;br /&gt;
* CPU: 64-bit based&lt;br /&gt;
* Memory: 8 GB or higher&lt;br /&gt;
* Disk: 15 GB free hard disk space&lt;br /&gt;
&lt;br /&gt;
'''Install required packages'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install p7zip-full git make u-boot-tools libxml2-utils bison build-essential gcc-arm-linux-gnueabi g++-arm-linux-gnueabi zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32z1-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Install older Make 3.82 and Java JDK 6'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pushd /tmp&lt;br /&gt;
wget https://ftp.gnu.org/gnu/make/make-3.82.tar.gz&lt;br /&gt;
tar xfv make-3.82.tar.gz&lt;br /&gt;
cd make-3.82&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo apt purge -y make&lt;br /&gt;
sudo ./make install&lt;br /&gt;
cd ..&lt;br /&gt;
# Please, download jdk-6u45-linux-x64.bin from https://www.oracle.com/java/technologies/javase-java-archive-javase6-downloads.html (requires free login)&lt;br /&gt;
chmod +x jdk-6u45-linux-x64.bin &lt;br /&gt;
./jdk-6u45-linux-x64.bin &lt;br /&gt;
sudo mkdir /opt/java/&lt;br /&gt;
sudo mv jdk1.6.0_45/ /opt/java/&lt;br /&gt;
sudo update-alternatives --install /usr/bin/javac javac /opt/java/jdk1.6.0_45/bin/javac 1&lt;br /&gt;
sudo update-alternatives --install /usr/bin/java java /opt/java/jdk1.6.0_45/bin/java 1&lt;br /&gt;
sudo update-alternatives --install /usr/bin/javaws javaws /opt/java/jdk1.6.0_45/bin/javaws 1&lt;br /&gt;
sudo update-alternatives --config javac&lt;br /&gt;
sudo update-alternatives --config java&lt;br /&gt;
sudo update-alternatives --config javaws&lt;br /&gt;
popd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Unpack SDK and then compile and pack the image'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
7z x 'PineCube Stock BSP-SDK ver1.0.7z'&lt;br /&gt;
mv 'PineCube Stock BSP-SDK ver1.0' pinecube-sdk&lt;br /&gt;
cd pinecube-sdk/camdroid&lt;br /&gt;
source build/envsetup.sh&lt;br /&gt;
lunch&lt;br /&gt;
mklichee&lt;br /&gt;
make -j3&lt;br /&gt;
pack&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Using Vagrant ======&lt;br /&gt;
&lt;br /&gt;
You can avoid setting up your machine and just use Vagrant to spin up a development environment in a VM.&lt;br /&gt;
&lt;br /&gt;
Just clone the [https://github.com/elimo-engineering/pinecube-sdk-vagrant Elimo Engineering repo] and follow the instructions in the [https://github.com/elimo-engineering/pinecube-sdk-vagrant/blob/main/README.md readme file]&lt;br /&gt;
&lt;br /&gt;
After spinning up the VM, you just need to run the build:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd pinecube-sdk/camdroid&lt;br /&gt;
source build/envsetup.sh&lt;br /&gt;
lunch&lt;br /&gt;
mklichee&lt;br /&gt;
make -j3&lt;br /&gt;
pack&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:PineCube]] [[Category:Allwinner(Sochip) S3]]&lt;/div&gt;</summary>
		<author><name>MatteoScordino</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineCube&amp;diff=8004</id>
		<title>PineCube</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineCube&amp;diff=8004"/>
		<updated>2020-10-23T19:33:52Z</updated>

		<summary type="html">&lt;p&gt;MatteoScordino: Added Buildroot section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{note|1=PAGE UNDER CONSTRUCTION, INFO SUBJECT TO CHANGE}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
* '''Dimensions:''' 55mm x 51mm x 51.5mm&lt;br /&gt;
* '''Weight:''' 55g&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** MicroSD slot, bootable&lt;br /&gt;
** 128Mb SPI Nor Flash, bootable&lt;br /&gt;
* '''Cameras:''' OV5640, 5Mpx &lt;br /&gt;
* '''CPU:''' Allwinner(Sochip) ARM Cortex-A7 MPCore, 800MHz&lt;br /&gt;
* '''RAM:''' 128MB DDR3&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 10/100Mbps Ethernet with passive PoE&lt;br /&gt;
** USB 2.0 A host&lt;br /&gt;
** 26 pins GPIO port&lt;br /&gt;
*** 2x 3.3V Ouptut&lt;br /&gt;
*** 2x 5V Output&lt;br /&gt;
*** 1x I2C&lt;br /&gt;
*** 2x UART&lt;br /&gt;
*** 2x PWM&lt;br /&gt;
*** 1x SPI&lt;br /&gt;
*** 1x eMMC/SDIO/SD (8-bit)&lt;br /&gt;
*** 6x Interrupts&lt;br /&gt;
*** '''Note: Interfaces are multiplexed, so they can't be all used at same time'''&lt;br /&gt;
** Internal microphone&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** WiFi&lt;br /&gt;
* '''Screen:''' optional 4.5&amp;quot; RGB LCD screen&lt;br /&gt;
* '''Misc. features:''' &lt;br /&gt;
** Volume and home buttons&lt;br /&gt;
** Speakers and Microphone&lt;br /&gt;
* '''Power DC in:'''&lt;br /&gt;
** 5V 1A from MicroUSB Port or GPIO port&lt;br /&gt;
** 4V-18V from Ethernet passive PoE&lt;br /&gt;
* '''Battery:''' optional 950-1600mAh model: 903048 Lithium Polymer Ion Battery Pack, can be purchase at [https://www.amazon.com/AKZYTUE-1200mAh-Battery-Rechargeable-Connector/dp/B07TWHHCNK/ Amazon.com]&lt;br /&gt;
&lt;br /&gt;
== PineCube board information, schematics and certifications ==&lt;br /&gt;
* PineCube mainboard schematic:&lt;br /&gt;
** [http://files.pine64.org/doc/PineCube/PineCube%20MainBoard%20Schematic%20ver%201.0-20200727.pdf PineCube mainboard Released Schematic ver 1.0]&lt;br /&gt;
* PineCube faceboard schematic:&lt;br /&gt;
** [http://files.pine64.org/doc/PineCube/PineCube%20FaceBoard%20Schematic%20ver%201.0-20200727.pdf PineCube faceboard Released Schematic ver 1.0]&lt;br /&gt;
* PineCube certifications:&lt;br /&gt;
** [http://files.pine64.org/doc/cert/PineCube-FCC-SDOC%20certification%20S20072502302001.pdf PineCube FCC Certificate]&lt;br /&gt;
** [http://files.pine64.org/doc/cert/PineCube-CE-EMC%20certification%20S20072502301001.pdf PineCube CE RED Certificate]&lt;br /&gt;
** [http://files.pine64.org/doc/cert/PineCube-ROHS%20Test%20Report.pdf PineCube ROHS Test Report]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Datasheets for components and peripherals ==&lt;br /&gt;
* Allwinner (Sochip) S3 SoC information:&lt;br /&gt;
** [http://files.pine64.org/doc/datasheet/pinecube/S3_Datasheet_V1.1-20180123.pdf Sochip S3 SoC Data Sheet V1.1]&lt;br /&gt;
&lt;br /&gt;
* X-Powers AXP209 PMU (Power Management Unit) information:&lt;br /&gt;
** [http://files.pine64.org/doc/datasheet/pinecube/AXP209_Datasheet_v1.0en.pdf AXP209 PMIC datasheet]&lt;br /&gt;
&lt;br /&gt;
* CMOS camera module information:&lt;br /&gt;
** [http://files.pine64.org/doc/datasheet/pinecube/CH-5A-DV-V2.0%20Specification.pdf PineCube Camera Module Specification]&lt;br /&gt;
** [http://files.pine64.org/doc/datasheet/pinephone/OV5640_datasheet.pdf OV5640 5MP CMOS Image Sensor SoC datasheet]&lt;br /&gt;
&lt;br /&gt;
* LCD touch screen panel information:&lt;br /&gt;
&lt;br /&gt;
* Lithium battery information:&lt;br /&gt;
&lt;br /&gt;
* WiFi/BT module information:&lt;br /&gt;
** [http://files.pine64.org/doc/datasheet/pinecube/rtl8189es.pdf RTL8189ES specification]&lt;br /&gt;
&lt;br /&gt;
* GPIO Header Pinout: ([[:File:PineCube_GPIO.pdf|PDF]], [https://pine64.gami.ee/pinecube/gpio-pinout.html HTML])&lt;br /&gt;
[[File:PineCube_GPIO_Pinout.png|700px]]&lt;br /&gt;
&lt;br /&gt;
== Operating Systems ==&lt;br /&gt;
&lt;br /&gt;
=== Mainlining Efforts ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Linux kernel&lt;br /&gt;
|-&lt;br /&gt;
| Type&lt;br /&gt;
| Link&lt;br /&gt;
| Available in version&lt;br /&gt;
|-&lt;br /&gt;
| Devicetree Entry Pinecube&lt;br /&gt;
| https://lkml.org/lkml/2020/9/22/1241&lt;br /&gt;
| expected in 5.10&lt;br /&gt;
|-&lt;br /&gt;
| Correction for AXP209 driver&lt;br /&gt;
| https://lkml.org/lkml/2020/9/22/1243&lt;br /&gt;
| 5.9&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|U-boot&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Buildroot&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== NixOS ===&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/danielfullmer/pinecube-nixos danielfullmer's Github]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Buildroot ===&lt;br /&gt;
[https://elimo.io Elimo Engineering] integrated support for the PineCube into Buildroot.&lt;br /&gt;
&lt;br /&gt;
This has not been merged into upstream Buildroot yet, but you can find the repo on [https://github.com/elimo-engineering/buildroot Elimo's GitHub account] and build instructions in the [https://github.com/elimo-engineering/buildroot/tree/pine64/pinecube/board/pine64/pinecube board support directory] readme.&lt;br /&gt;
The most important thing that this provides is support for the S3's DDR3 in u-boot. Unfortunately mainline u-boot does not have that yet, but the u-boot patches from [https://github.com/danielfullmer/pinecube-nixos Daniel Fullmer's NixOS repo] were easy enough to use on buildroot.&lt;br /&gt;
This should get you a functional system that boots to a console on UART0. It's pretty fast too, getting there in 1.5 seconds from u-boot to login prompt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Stock Linux ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== SDK ==&lt;br /&gt;
&lt;br /&gt;
==== Stock Linux ====&lt;br /&gt;
* [http://files.pine64.org/SDK/PineCube/PineCube%20Stock%20BSP-SDK%20ver1.0.7z Direct Download from pine64.org]&lt;br /&gt;
** MD5 (7zip file): efac108dc98efa0a1f5e77660ba375f8&lt;br /&gt;
** File Size: 3.50GB&lt;br /&gt;
===== How to compile =====&lt;br /&gt;
&lt;br /&gt;
Recommended system requirements:&lt;br /&gt;
* OS: (L)Ubuntu 16.04&lt;br /&gt;
* CPU: 64-bit based&lt;br /&gt;
* Memory: 8 GB or higher&lt;br /&gt;
* Disk: 15 GB free hard disk space&lt;br /&gt;
&lt;br /&gt;
'''Install required packages'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install p7zip-full git make u-boot-tools libxml2-utils bison build-essential gcc-arm-linux-gnueabi g++-arm-linux-gnueabi zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32z1-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Install older Make 3.82 and Java JDK 6'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pushd /tmp&lt;br /&gt;
wget https://ftp.gnu.org/gnu/make/make-3.82.tar.gz&lt;br /&gt;
tar xfv make-3.82.tar.gz&lt;br /&gt;
cd make-3.82&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo apt purge -y make&lt;br /&gt;
sudo ./make install&lt;br /&gt;
cd ..&lt;br /&gt;
# Please, download jdk-6u45-linux-x64.bin from https://www.oracle.com/java/technologies/javase-java-archive-javase6-downloads.html (requires free login)&lt;br /&gt;
chmod +x jdk-6u45-linux-x64.bin &lt;br /&gt;
./jdk-6u45-linux-x64.bin &lt;br /&gt;
sudo mkdir /opt/java/&lt;br /&gt;
sudo mv jdk1.6.0_45/ /opt/java/&lt;br /&gt;
sudo update-alternatives --install /usr/bin/javac javac /opt/java/jdk1.6.0_45/bin/javac 1&lt;br /&gt;
sudo update-alternatives --install /usr/bin/java java /opt/java/jdk1.6.0_45/bin/java 1&lt;br /&gt;
sudo update-alternatives --install /usr/bin/javaws javaws /opt/java/jdk1.6.0_45/bin/javaws 1&lt;br /&gt;
sudo update-alternatives --config javac&lt;br /&gt;
sudo update-alternatives --config java&lt;br /&gt;
sudo update-alternatives --config javaws&lt;br /&gt;
popd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Unpack SDK and then compile and pack the image'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
7z x 'PineCube Stock BSP-SDK ver1.0.7z'&lt;br /&gt;
mv 'PineCube Stock BSP-SDK ver1.0' pinecube-sdk&lt;br /&gt;
cd pinecube-sdk/camdroid&lt;br /&gt;
source build/envsetup.sh&lt;br /&gt;
lunch&lt;br /&gt;
mklichee&lt;br /&gt;
make -j3&lt;br /&gt;
pack&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:PineCube]] [[Category:Allwinner(Sochip) S3]]&lt;/div&gt;</summary>
		<author><name>MatteoScordino</name></author>
	</entry>
</feed>