Pine64

From eLinux.org
Revision as of 05:46, 20 April 2016 by Wmat (talk | contribs) (Adding how to get a Serial console on PINE64 with TTL cable.)
Jump to: navigation, search

PINE 64

Officiel Website

Documentation

AllWinner A64 Introduction
AllWinner A64 Datasheet
AllWinner A64 User Manual
AXP803 PMIC
Realtek 10/100 Ethernet
10/100/1000 Ethernet
Realtek RTL8723bs WiFi & Bluetooth
Layout & Dimensions
Schematics

Linux Images

Ubuntu Linux Image base on Longsleep 20160403-1 image, courtesy of Michael Larson

Writing the image
$sudo dd if=Ubuntu\ Pine64\ ML-Linux.img of=/dev/<your sdcard>
User Login
  • User Name: Ubuntu Password: ubuntu
  • User Name: Ubuntu2 Password: ubuntu2

Debian Images

Android Images

Caveats

  • Do not use a DVI-HDMI adapter. If you want video output, use a HDMI cable direct to a HDMI monitor or TV. This may change as development continues.
  • Get a USB power supply that is at least 5V/1.5A. An underpowered supply will not boot the board.

Serial Console

This paragraph describes a successful connection providing a UART Serial Console on a Linux Host. The PINE64 board used is a 2GB version (A64-DB-2B-Rev 6). The connection is provided by a FTDI TTL-232R-RPi 3-wire cable purchased from Digikey:

The successful connection is made on the EXP connector:

  • Connect the Black GND wire to Pin 6 of the EXP connector.
  • Connect the Yellow RX wire to Pin 7 of the EXP connector.
  • Connect the Orange TX wire to Pin 8 of the EXP connector.

Plug the FTDI TTL-232R-RPi USB end into your Linux host. Note the power LED on the PINE64 will illuminate at about half intensity. Now find the tty that has been assigned to the FTDI TTL-232R-RPi by opening a terminal window and typing $dmesg. The last group of messages will show you how Linux has mapped the FTDI TTL-232R-RPi to the tty. In my case the output appears as:

[308564.376087] usb 3-1.1: new full-speed USB device number 10 using ehci-pci
[308564.474534] usb 3-1.1: New USB device found, idVendor=0403, idProduct=6001
[308564.474541] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[308564.474545] usb 3-1.1: Product: TTL232R-3V3
[308564.474548] usb 3-1.1: Manufacturer: FTDI
[308564.474551] usb 3-1.1: SerialNumber: FT99JN2P
[308564.476846] ftdi_sio 3-1.1:1.0: FTDI USB Serial Device converter detected
[308564.476906] usb 3-1.1: Detected FT232RL
[308564.477263] usb 3-1.1: FTDI USB Serial Device converter now attached to ttyUSB0

The final line of the output indicates the FTDI USB Serial Device has been assigned to ttyUSB0. Now open a screen session with:

$sudo screeen /dev/ttyUSB0 115200

Boot the PINE64 and you should see output in the terminal window on your Linux host.