Pine A64+ single-board computer

This comes in a few different models, A64 and A64+ they are all 64-bit with 4 cores but RAM and IO varies.

There are also the SOPine module, which has the system on a smaller card, similar to a memory module. There exist also the PineBook, a laptop with the processor and screen. The discussion here will apply to the Pine A64+ with 2 GB.

Throughout these pages, there will be references to the various electrical connections to the Pine board. These have a letter identifying the connector, and a number identifying the pin on the connector.

Pin numbers legend.

PPI-2-BUSP1 ... P40
EEuler BusE1 ... E34
XExpansion ConnectorX1 ... X10
WWifiW1 ... W14
BBluetoothB1 ... B16
TTP connectorT1 ... T6

There are also two ways that the various GPIOs are referred to in documentation and software: the Port-letter-number referring to the various banks of hardware IO structures, and the sequential numbering used in the Linux system, both in /sys/class/gpio and inside the kernel module sources.

There is a fairly simple one-to-one mapping between these, essentially, for port PXn this is:

Linear = (letter X - 'A') * 32 + n 

More details on these will be revisited as needed on these pages

Board
GPIOs Electrical specs
GPIOs Geographical layout
GPIOs ordered by number
Audio Jack
UARTs and serial ports
i2c
SPI
GPIOs via /sys/class/gpio
GPIOs via /dev/mem
Miscellanea
Installation notes
Kernel hacking
On Devicetree
OpenBSD experiences

Early notes and other unsorted details are moved here

To index page

Network settings:

DHCP:

File /etc/network/interfaces.d/eth0

allow-hotplug eth0
iface eth0 inet dhcp

Make sure DHCP is enabled.

systemctl enable dhcpcd.service
systemctl start dhcpcd.service

Fixed:

Showing example with ip-address at 10.0.1.254

File /etc/network/interfaces.d/eth0

auto eth0
iface eth0 inet static
    address     10.0.1.254
    netmask     255.255.255.0
    network     10.0.1.0
    broadcast   10.0.1.255
    gateway     10.0.1.1

Turn DHCP off -- or we will get assigned another IP address as well!

systemctl stop dhcpcd.service
systemctl disable dhcpcd.service

Powered by Apache

Valid XHTML 1.0!