The Wiringpi is not working due to which the hardware driver for the OpenPLC runtime is not running and the OpenPLC Runtime never goes to PLC Running. The st program complies correctly with OpenPLC runtime and also OpenPLC runtime is working correctly and accessible from other devices on the same network.
The following errors are encountered: (Putting in a snap of the terminal)
ghostlab@ghostlab:~ $ sudo dpkg -i wiringpi-2.61-1-arm64.deb
(Reading database ... 147830 files and directories currently installed.)
Preparing to unpack wiringpi-2.61-1-arm64.deb ...
Unpacking wiringpi (2.61) over (2.61) ...
/sbin/ldconfig: libraries libwiringPiDev.so.2.61 and libwiringPiDev.so.2.61.dpkg-tmp in dire ctory /lib have same soname but different type.
/sbin/ldconfig: libraries libwiringPi.so.2.61 and libwiringPi.so.2.61.dpkg-tmp in directory /lib have same soname but different type.
Setting up wiringpi (2.61) ...
/bin/chown: warning: '.' should be ':': ‘root.root’
Processing triggers for man-db (2.11.2-2) ...
ghostlab@ghostlab:~ $ gpio -v
gpio version: 2.61
Copyright (c) 2012-2018 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty
Oops: Unable to determine board revision from /proc/cpuinfo
-> No "Hardware" line
-> You'd best google the error to find out why.
ghostlab@ghostlab:~ $ d
ghostlab@ghostlab:~ $ cat /proc/cpuinfo
processor : 0
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture : 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 1
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture : 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 2
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture : 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 3
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture : 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
Revision : d03115
Serial : 10000000e13ade10
Model : Raspberry Pi 4 Model B Rev 1.5
ghostlab@ghostlab:~ $ sudo apt-get upgrade wiringpi
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
wiringpi is already the newest version (2.61).
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove, and 0 not upgraded.
ghostlab@ghostlab:~ $ gpio -v
gpio version: 2.61
Copyright (c) 2012-2018 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty
Oops: Unable to determine board revision from /proc/cpuinfo
-> No "Hardware" line
-> You'd best google the error to find out why.
Please provide a solution for the same.