Johnex
2
First of all, why would you want to use CGMiner on your router? It will basically be a 100% waste of electricity and also a waste of your time.
Also unfortunately if what you want to build doesn’t have an “OpenWRT Package”, then it’s not as simple as in the SDK guide.
As an example, take a look at the OpenWRT Package structure here:
https://github.com/openwrt/packages/tree/master/net/obfsproxy
OpenWRT Packages have a special kind of Makefile, that will either download a remote package and build from the downloaded sources, or build locally. It will create the IPK package you can install on the router, and contains install locations, files and so on.
I found a package source for CGMiner here:
It will need to be modified since the person is using it for Avalon, i guess some specific miner hardware.
1 Like