Bus error in gpio every command -- Banana Pi BPI-F2P industrial control board


I have installed Debian , Raspbian and ubuntu images, but not able to access gpio pins

I have used http://wiki.lemaker.org/BananaPro/Pi:GPIO_library (successfully installed and compiled)

[email protected]:/home/pi# gpio readall Bus error

every command on gpio is giving error , not able to detect photo electric sensor. m using python3 . I have used wiring pi library also This is the board - Banana Pi BPI-F2P industrial control board with Sunplus Plus1(sp7021) design with 512M RAM and 8G eMMC

Please help

BPI-F2P don’t support http://wiki.lemaker.org/BananaPro/Pi:GPIO_library, we never verified the library on BPI-F2P. So please refer to the below vendor’s website about GPIO access. https://sunplus.atlassian.net/wiki/spaces/doc/pages/1081311234/F2S+Board+SP7021+GPIO+Control+LED