Reset is just a hardwired hardware reset, the power button is wired to the PMIC (Power Management IC) and has the usual power-on, soft-off and hard-off function depending on how long you press it. The PMIC sends an interrupt to the A64 when the Power button is pressed and you can read/write registers on the PMIC to configure the behavior a bit. In linux the powerbutton is also a event device (think /dev/input/eventXXX) and you can watch for those events with a tool like evtest ... on my Ubuntu images with Mate Desktop the power button brings up the normal Reboot/Shutdown menu, so I guess they already wired up some udev rules for that...
For reference see:
http://files.pine64.org/doc/Pine%20A64%2...elease.pdf
http://files.pine64.org/doc/datasheet/pi...t_V1.0.pdf
For reference see:
http://files.pine64.org/doc/Pine%20A64%2...elease.pdf
http://files.pine64.org/doc/datasheet/pi...t_V1.0.pdf
Come have a chat in the Pine IRC channel >>