[Jan 06] Arch Linux (20171225-1) PINE A64(+) Pinebook A64-LTS/SOPINE | [Jan 04] Linux (0.5.15-136) ROCK64 | [Jan 04] Android (20171204) ROCK64 | [Dec 22] Stretch Mate (0.5.15-136-20171222) ROCK64 | [Dec 21] openHAB 2 (v1.4) PINE A64(+) | [Dec 11] Volumio (2.315) PINE A64(+) A64-LTS/SOPINE | [Dec 11] Armbian (5.35) PINE A64(+) Pinebook A64-LTS/SOPINE | [Dec 8] OpenMediaVault (0.5.15-136) ROCK64

Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy


Sopine Complete Guide
#1
Is there any available documentation on further expanding the Sopine baseboard and/or the GPIO pi-2 and euler bus I have an available pin out list and have successfully tested in and out via custom script. As far as i can search there is not actual documentation, i would not consider myself a noob but going through a 207 page specification and only finding information that doesnt have anything todo with what i want to know. If there is something i would like the link, or if anyone is also interested in this I would be willing to collaborate to make a "plain english" documentation source
Reply
#2
(01-30-2018, 09:41 AM)parmleyhunt Wrote: Is there any available documentation on further expanding the Sopine baseboard and/or the GPIO pi-2 and euler bus I have an available pin out list and have successfully tested in and out via custom script. As far as i can search there is not actual documentation, i would not consider myself a noob but going through a 207 page specification and only finding information that doesnt have anything todo with what i want to know. If there is something i would like the link, or if anyone is also interested in this I would be willing to collaborate to make a "plain english" documentation source

The SoPine and baseboard information located at PINE64 wiki site: http://wiki.pine64.org/index.php/PINE_A6..._Main_Page

If any further information is needed, I may able t supply on next week after FOSDEM event on this weekend.

We are welcome your collaborate on the PINE64 wiki and the wiki page already opened to forum user for participation.
Reply
#3
Ive done a little bit of tinkering modifying circuits but have never worked with a processor before none the less an a64, the first question i have is how much of the reserved pins actually have default behaviour, and second does the a64 support gpio interrupts, and third is it possible to convert a in pin to an analog in
Reply
#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 A64 IRC channel >>
Reply
#5
So the DT has to be modified before the edge property of the syfs will become available
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  SoPine SPI booting ayufan 3 201 02-14-2018, 10:13 PM
Last Post: aww
  Arch Linux mainline XFCE (PINE A64-LTS / SOPINE) pineadmin 0 414 01-06-2018, 01:32 AM
Last Post: pineadmin
  Volumio (PINE A64-LTS / SOPINE) pineadmin 0 406 12-11-2017, 04:54 AM
Last Post: pineadmin
  Armbian - Xenial (SOPINE) pineadmin 2 2,324 12-11-2017, 01:52 AM
Last Post: pineadmin
  OpenMediaVault (PINE A64-LTS / SOPINE) pineadmin 0 352 11-21-2017, 03:34 AM
Last Post: pineadmin
  Next release of Ubuntu Mate for Sopine stephen fleming 3 482 06-01-2017, 05:51 AM
Last Post: pfeerick
  openSUSE images for the SoPine Terra854 0 561 03-29-2017, 03:15 AM
Last Post: Terra854

Forum Jump:


Users browsing this thread: 1 Guest(s)