The toolhould be compileable out of the openwrt repository: openwrt/package/network/config/swconfig/src
However there seems to be some dependancies:
Becauseof the nonavailability of the github repository (https://github.com/matthuisman/bananian)with a working kernel for the BPI-R1, it's quite useless to
investigate the further dependancies regarding the tool 'swconfig'. Maybe you can make available an bananian image which already includes the working kernel for the BPI-R1 for development and testing purposes.