Sopine Complete Guide
#4
The default config of the pins/GPIOs on the headers is defined in the so called Device Tree (DT). The DT describes the whole SoC and it's connections with their configuration, including the pins. Both the bootloader (u-boot in this case) and the Linux kernel load the DT from a binary file on boot. You can edit the DT source file with a text editor to make changes, and then use the device tree compiler (dtc) to generate a new binary DT blob.

For example the DT source for the A64 with SOPine module and baseboard:

https://git.kernel.org/pub/scm/linux/ker...si?h=v4.15 (SoC DT)
https://git.kernel.org/pub/scm/linux/ker...ts?h=v4.15 (SOPine module DT)
https://git.kernel.org/pub/scm/linux/ker...si?h=v4.15 (SOPine baseboard DT)

You can find a lot of tutorials online about how DT works...

GPIO Interrupts are possible and also configured via DT...

There are no analog inputs on A64...
Come have a chat in the Pine IRC channel >>


Messages In This Thread
Sopine Complete Guide - by parmleyhunt - 01-30-2018, 09:41 AM
RE: Sopine Complete Guide - by tllim - 01-30-2018, 04:10 PM
RE: Sopine Complete Guide - by parmleyhunt - 01-31-2018, 09:59 AM
RE: Sopine Complete Guide - by xalius - 01-31-2018, 03:28 PM
RE: Sopine Complete Guide - by parmleyhunt - 02-01-2018, 11:54 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  slarm64 (unofficial slackware) SOPINE A64 (aarch64) mara 6 3,713 09-24-2023, 11:43 AM
Last Post: mara
  Sopine Fedora 32 on clusterboard w/networking revoman 7 9,285 04-10-2023, 08:49 AM
Last Post: langerma
  SoPine SPI booting ayufan 31 39,344 02-13-2023, 08:56 PM
Last Post: mundey
  Try to boot armbian 22.02 on SoPine baseboard adjivas 1 906 01-11-2023, 03:20 PM
Last Post: MNtinkerer
  sopine-a64 yocto build running on SOPine Baseboard tderensis 1 1,400 07-13-2022, 03:14 PM
Last Post: tderensis
  Volumio (PINE A64-LTS / SOPINE) pineadmin 7 9,274 02-17-2021, 03:47 AM
Last Post: roel
  SOPINE Network boot Ninazu 1 3,778 05-11-2020, 12:40 PM
Last Post: lbruno
  LibreELEC(KODI) for LTS/ SOPine pineadmin 2 5,629 12-27-2019, 11:09 PM
Last Post: tllim
  Armbian - Xenial (SOPINE) pineadmin 6 14,250 08-05-2019, 01:17 AM
Last Post: pineadmin
  Sopine baseboard / A64 base board as OTG mixotricha 0 2,585 07-08-2019, 07:11 PM
Last Post: mixotricha

Forum Jump:


Users browsing this thread: 1 Guest(s)