sorry, but it doesn't work
download and compile
root@bpi-m64:~/wiringPi/gpio# ./gpio -v
gpio version: 2.44
Copyright (c) 2012-2017 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: ./gpio -warranty
Unable to determine hardware version. I see: Hardware : sun50iw1p1
- expecting BCM2708, BCM2709 or BCM2835.
If this is a genuine Raspberry Pi then please report this to firstname.lastname@example.org. If this is not a Raspberry Pi then you are on your own as wiringPi is designed to support the Raspberry Pi ONLY.
root@bpi-m64:~/wiringPi/wiringPi# cat /proc/cpuinfo
Processor : AArch64 Processor rev 4 (aarch64)
processor : 0
processor : 1
processor : 2
processor : 3
Features : fp asimd aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: AArch64
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
Hardware : sun50iw1p1