Difference between revisions of "User:Pfeerick/Pfeerick-scratch-page"

From PINE64
Jump to navigation Jump to search
m (Heading change)
Line 20: Line 20:




== Board Overview ==
== Overview ==


General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.  
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.  
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.  
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.  
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.  
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.  
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.  
 
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.
== Board Layout ==
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.
 
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.
[[File:PineCube-768x576.jpg|400px]]
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.
 
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.
{{note|1=BELOW INFO IS COMPLETELY INVALID FOR PINECUBE}}
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.
 
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.
{| class="wikitable sortable"
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.
! Diagram !! Schematic<br>designator || Silkscreen<br>label !! Number<br>of pins !! Description
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.
|-
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.
| style="text-align: center;" | 2 || U39 || PI-2-bus || style="text-align: center;" | 40 || Pi-2 bus
General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.
|-
| style="text-align: center;" | 4 || J8 || +FAN- || style="text-align: center;" | 2 || PWM controlled fan header
|-
| style="text-align: center;" | 5 || J10 || SPDIF || style="text-align: center;" | 3 || SPDIF header
|-
|}
 


== I/O ==
== I/O ==

Revision as of 23:35, 18 October 2020

DO NOT USE THIS PAGE FOR REFERENCE MATERIAL FOR THE PINECUBE
Pinecube
CPUAllwinner(Sochip) ARM Cortex-A7 MPCore, 800MHz
RAM128MB DDR3
CPUQuad-Core ARM Cortex-A53
CameraOV5640, 5Mpx
StorageMicroSD slot, bootable
128Mb SPI Nor Flash, bootable
Dimensions55mm x 51mm x 51.5mm
NetworkWiFi
Screenoptional 4.5" RGB LCD screen
MiscVolume and home buttons
Speakers and microphone
Power
MicroUSB/GPIO5V 1A
PoE4V-18V
Batteryoptional 950-1600mAh


Overview

General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit. General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit. General waffle about the Pinecube. some pretty pictures. enough junk to push the gpio section down a bit.

Board Layout

PineCube-768x576.jpg

BELOW INFO IS COMPLETELY INVALID FOR PINECUBE
Diagram Schematic
designator
Silkscreen
label
Number
of pins
Description
2 U39 PI-2-bus 40 Pi-2 bus
4 J8 +FAN- 2 PWM controlled fan header
5 J10 SPDIF 3 SPDIF header


I/O

PineCube GPIO Pinout.png
    • 10/100Mbps Ethernet with passive PoE
    • USB 2.0 A host
    • 26 pins GPIO port
      • 2x 3.3V Ouptut
      • 2x 5V Output
      • 1x I2C
      • 2x UART
      • 2x PWM
      • 1x SPI
      • 1x eMMC/SDIO/SD (8-bit)
      • 6x Interrupts
      • Note: Interfaces are multiplexed, so they can't be all used at same time
    • Internal microphone


Power

    • 5V 1A from MicroUSB Port or GPIO port
    • 4V-18V from Ethernet passive PoE
  • Battery: optional 950-1600mAh model: 903048 Lithium Polymer Ion Battery Pack, can be purchase at Amazon.com

PineCube board information, schematics and certifications


Datasheets for components and peripherals

  • LCD touch screen panel information:
  • Lithium battery information:


Operating Systems

Mainlining Efforts

Linux kernel
Type Link Available in version
Devicetree Entry Pinecube https://lkml.org/lkml/2020/9/22/1241 expected in 5.10
Correction for AXP209 driver https://lkml.org/lkml/2020/9/22/1243 5.9
U-boot
Buildroot


Stock Linux

SDK

Stock Linux

How to compile

Recommended system requirements:

  • OS: (L)Ubuntu 16.04
  • CPU: 64-bit based
  • Memory: 8 GB or higher
  • Disk: 15 GB free hard disk space

Install required packages

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

Install older Make 3.82 and Java JDK 6

pushd /tmp
wget https://ftp.gnu.org/gnu/make/make-3.82.tar.gz
tar xfv make-3.82.tar.gz
cd make-3.82
./configure
make
sudo apt purge -y make
sudo ./make install
cd ..
# Please, download jdk-6u45-linux-x64.bin from https://www.oracle.com/java/technologies/javase-java-archive-javase6-downloads.html (requires free login)
chmod +x jdk-6u45-linux-x64.bin 
./jdk-6u45-linux-x64.bin 
sudo mkdir /opt/java/
sudo mv jdk1.6.0_45/ /opt/java/
sudo update-alternatives --install /usr/bin/javac javac /opt/java/jdk1.6.0_45/bin/javac 1
sudo update-alternatives --install /usr/bin/java java /opt/java/jdk1.6.0_45/bin/java 1
sudo update-alternatives --install /usr/bin/javaws javaws /opt/java/jdk1.6.0_45/bin/javaws 1
sudo update-alternatives --config javac
sudo update-alternatives --config java
sudo update-alternatives --config javaws
popd

Unpack SDK and then compile and pack the image

7z x 'PineCube Stock BSP-SDK ver1.0.7z'
mv 'PineCube Stock BSP-SDK ver1.0' pinecube-sdk
cd pinecube-sdk/camdroid
source build/envsetup.sh
lunch
mklichee
make -j3
pack