Pages:
Author

Topic: BFGMiner 5.5.0: CPU/GPU/FPGA/ASIC mining software, GBT+Stratum, RPC, Linux/Win64 - page 40. (Read 834507 times)

hero member
Activity: 518
Merit: 500
Ah, so the first should change with rpi ip correct?
Quote
Does "api-allows" is my router IP or my rpi device ip?
Nope, those are the IP's of the machines that can access the API; the first (127.0.0.1) is for the machine that bfgminer is running on, i.e if an rPi, then you can query the bfgminer API in an SSH window on the rPi and the second (i.e  the 192.168.1/24) is for, e.g your computer, more pertinently the network, where you'd want to access the bfgminer API from.

Nope. 127.0.0.1 is the loopback IP for the rPi (and the rPi is also on the network). Leave it alone, just change the network IP to reflect your local network if you want to be able to access the bfgminer API from any computer connected locally to your network, ie in the network IP range. NOTE: the network IP has 3 places followed by /24 as opposed to the usual four.
sr. member
Activity: 384
Merit: 250
Ah, so the first should change with rpi ip correct?



Quote
Does "api-allows" is my router IP or my rpi device ip?
Nope, those are the IP's of the machines that can access the API; the first (127.0.0.1) is for the machine that bfgminer is running on, i.e if an rPi, then you can query the bfgminer API in an SSH window on the rPi and the second (i.e  the 192.168.1/24) is for, e.g your computer, more pertinently the network, where you'd want to access the bfgminer API from.
hero member
Activity: 518
Merit: 500
Quote
Does "api-allows" is my router IP or my rpi device ip?
Nope, those are the IP's of the machines that can access the API; the first (127.0.0.1) is for the machine that bfgminer is running on, i.e if an rPi, then you can query the bfgminer API in an SSH window on the rPi and the second (i.e  the 192.168.1/24) is for, e.g your computer, more pertinently the network, where you'd want to access the bfgminer API from.
sr. member
Activity: 384
Merit: 250
Ok, now it makes sense!

I just need few classifications, I repost those code just preventing you going back and forth!

code 1:
You're right I am not familiar with cross-compiling process and for using dpkg-buildpackage and the all dependencies require is still unclear even read that!

The method using dpkg-buildpackage is the prefer method to build the package (duh!) in Debian and its derivatives. If you are not familiar with that as well and you still want to try it, you can natively compile BFGminer source from github on Raspberry Pi using the provided build scripts. Someone has actually already done that for gridseed device and explained what he/she had done on this topic. Good luck!
hero member
Activity: 518
Merit: 500

..... what is this dependency I couldn't get (hiapi). By the name I'm guesing this is the API which I would be interested in maybe using. Is there something wrong with this or can I just grab it from somewhere else?


I thnk that will be hidapi
full member
Activity: 179
Merit: 131
You're right I am not familiar with cross-compiling process and for using dpkg-buildpackage and the all dependencies require is still unclear even read that!

The method using dpkg-buildpackage is the prefer method to build the package (duh!) in Debian and its derivatives. If you are not familiar with that as well and you still want to try it, you can natively compile BFGminer source from github on Raspberry Pi using the provided build scripts. Someone has actually already done that for gridseed device and explained what he/she had done on this topic. Good luck!
newbie
Activity: 12
Merit: 0
Firstly thanks Luke for the great software.

@splat44, I first tried this on my Rpi B, which I don't think it can handle it kept messing up the queue, but Rpi2 maybe man enough. Also with the dependencies if you look on the github page he lists the following:

Code:
build-essential autoconf automake libtool pkg-config libcurl4-gnutls-dev libjansson-dev uthash-dev libncursesw5-dev libudev-dev libusb-1.0-0-dev libevent-dev libmicrohttpd-dev hidapi

All of which should be OK from the repository (so "sudo aptitude install ..."). Except I had to remove the last dependencies (hiapi).

@Luke, what is this dependency I couldn't get (hiapi). By the name I'm guesing this is the API which I would be interested in maybe using. Is there something wrong with this or can I just grab it from somewhere else?

Thanks
legendary
Activity: 1274
Merit: 1000
Hi Luke,

I am interested in mining on raspberry PI 2 with latest version of bfgminer.

I read readme and I unsure to the dependencies that I need to built miner as shown on bellow to enable scrypt and gridseed asic 80 chip!

I left some other commands out in below code to build miner as I am not sure what need entered after dependencies installed.

Code:
git clone https://github.com/luke-jr/bfgminer.git
cd bfgminer
...

Can you help by providing complete codes?
I assume everything is completed, bfgminer will disable CPU and radeon GPU?

Well, I know enough how log in PI 2 at least!

when you compile it with --enable-scrypt it should give you all the driver and packages you need . there was a bug a while back that didn't down load all the right packages you had do some of them manually but that seems to be fixed or was .

here is a kind of detailed post i made on the minera thread some one wanted to know how to compile BFG , I'm sure there is a few things you can leave out etc, but it may help .

https://bitcointalksearch.org/topic/m.12033743


I'm using it inside minera right now at bfg 5.3 Smiley . with my gblack which has 5 blades with two boards per blade/heat sink and the above command line some one gave should work.
legendary
Activity: 1274
Merit: 1000
Once again ty  


LUKE


 i have it complied and working inside minera as my main miner for my G black and Zeus miners and seems even more stable now.


but yea how about that S5 support, ofc, when you get time  Smiley .
sr. member
Activity: 384
Merit: 250
Ok, I think I will try mining on two system using two gridseed device, one of them is windows and other is raspberry PI 2

You're right I am not familiar with cross-compiling process and for using dpkg-buildpackage and the all dependencies require is still unclear even read that!

I would rather focus on Windows built.
Does window build disable radeon GPU?

If not then how to disable that using following:
Code:
bfgminer --scrypt -o stratum+tcp://pool1:port -u worker -p password -S noauto -S gridseed:all --set-device gridseed:clock=835

About the gridseed:all --set-device gridseed:clock=835 from above code, includes 40 chip blade?
I read from other source bfgminer doesn't support that.

If there other setting within gridseed setting to enable 40 chip, will be great in knowing!

Hi Luke,

I am interested in mining on raspberry PI 2 with latest version of bfgminer.

I read readme and I unsure to the dependencies that I need to built miner as shown on bellow to enable scrypt and gridseed asic 80 chip!

I left some other commands out in below code to build miner as I am not sure what need entered after dependencies installed.

Code:
git clone https://github.com/luke-jr/bfgminer.git
cd bfgminer
...

Can you help by providing complete codes?
I assume everything is completed, bfgminer will disable CPU and radeon GPU?

Well, I know enough how log in PI 2 at least!

I assume that you are not familiar with cross-compiling process. So I would suggest to natively compile BFGMiner on Raspberry PI itself, but you must be patient as it will take a long time. I am not sure how long as I have never compiled BFGMiner on Raspberry Pi. If you would like to try that, you practically can just use dpkg-buildpackage to do that as if you would do that on Debian based PC, because the debian build files for BFGMiner are already being provided on the github repository, i.e. everything under debian directory.


hero member
Activity: 1568
Merit: 507
Hi i am trying to install the latest bfgminer via homebrew on OSX but i keep getting a SHA1 mismatch once i download the package how do i fix this?



full member
Activity: 179
Merit: 131
It is just running for about 30 minutes. I feel like version 5.3.0 is not as responsive as version 5.2.0 from the way it updates the hash rates. The name of the devices of my Antminer U3 have now changed to CBM where previously they were shown as AMU on version 5.2.0.
Eek, that's a bug. Sad

Not a major bug, though. I'll fix it whenever the next version happens to be.

Ah..ha?!?!? Which one? The name changed to CBM?

I have decided to always use the HEAD of your github repository so that I don't need to always update the Makefile of BFGMiner package on my OpenWRT build directory. So you can actually commit the fix any time without waiting for the next major version.
hero member
Activity: 518
Merit: 500
Now that you got the BM1384 covered, any chance for other antminer support in openwrt?
Unfortunately, it's not that simple.
All the Antminer S* (only ones unsupported yet?) have a FPGA in between the chips and software.
I'll see if I can throw together something working based on the cgminer driver in the meantime, until I get time to do a proper reverse-engineering job of the interfaces.
Yes they do have a chip between them .... and the latter miners with beaglebones' are not openwrt either .... but I suppose that'd make a start (and you'll get feedback) for a sturdier bfgminer driver in the long run.
legendary
Activity: 2576
Merit: 1186
Now that you got the BM1384 covered, any chance for other antminer support in openwrt?
Unfortunately, it's not that simple.
All the Antminer S* (only ones unsupported yet?) have a FPGA in between the chips and software.
I'll see if I can throw together something working based on the cgminer driver in the meantime, until I get time to do a proper reverse-engineering job of the interfaces.
hero member
Activity: 518
Merit: 500
NEW VERSION 5.3.0, SEPTEMBER 5 2015

Human readable changelog:
  • compac: Support for the GekkoScience Compac BM1384 USB stick miner

Full changelog:
  • README.ASIC: Compac docs
  • antminer: Explicit support for GekkoScience's Compac BM1384 Bitcoin Miner
  • icarus: Use all null padding when probing work division (BM1384 reacts strangely - using part as start nonce?)
  • antminer: Match Product strings including "Antminer"
  • Bugfix: icarus: Never set timeout to 0, since it disables the timeout altogether


Now that you got the BM1384 covered, any chance for other antminer support in openwrt?
legendary
Activity: 2576
Merit: 1186
It is just running for about 30 minutes. I feel like version 5.3.0 is not as responsive as version 5.2.0 from the way it updates the hash rates. The name of the devices of my Antminer U3 have now changed to CBM where previously they were shown as AMU on version 5.2.0.
Eek, that's a bug. Sad

Not a major bug, though. I'll fix it whenever the next version happens to be.
full member
Activity: 179
Merit: 131
I forgot to give an update.

I have just compiled BFGMiner 5.3.0 for OpenWRT 14.07 and it looks there is no issue. I used the source from github repository up to commit 484db74. Perhaps because of that the version on the UI is shown as 5.3.0-unknown.



It is just running for about 30 minutes. I feel like version 5.3.0 is not as responsive as version 5.2.0 from the way it updates the hash rates. The name of the devices of my Antminer U3 have now changed to CBM where previously they were shown as AMU on version 5.2.0.
full member
Activity: 179
Merit: 131
Hi Luke,

I am interested in mining on raspberry PI 2 with latest version of bfgminer.

I read readme and I unsure to the dependencies that I need to built miner as shown on bellow to enable scrypt and gridseed asic 80 chip!

I left some other commands out in below code to build miner as I am not sure what need entered after dependencies installed.

Code:
git clone https://github.com/luke-jr/bfgminer.git
cd bfgminer
...

Can you help by providing complete codes?
I assume everything is completed, bfgminer will disable CPU and radeon GPU?

Well, I know enough how log in PI 2 at least!

I assume that you are not familiar with cross-compiling process. So I would suggest to natively compile BFGMiner on Raspberry PI itself, but you must be patient as it will take a long time. I am not sure how long as I have never compiled BFGMiner on Raspberry Pi. If you would like to try that, you practically can just use dpkg-buildpackage to do that as if you would do that on Debian based PC, because the debian build files for BFGMiner are already being provided on the github repository, i.e. everything under debian directory.

sr. member
Activity: 384
Merit: 250
Hi Luke,

I am interested in mining on raspberry PI 2 with latest version of bfgminer.

I read readme and I unsure to the dependencies that I need to built miner as shown on bellow to enable scrypt and gridseed asic 80 chip!

I left some other commands out in below code to build miner as I am not sure what need entered after dependencies installed.

Code:
git clone https://github.com/luke-jr/bfgminer.git
cd bfgminer
...

Can you help by providing complete codes?
I assume everything is completed, bfgminer will disable CPU and radeon GPU?

Well, I know enough how log in PI 2 at least!
legendary
Activity: 2576
Merit: 1186
NEW VERSION 5.3.0, SEPTEMBER 5 2015

Human readable changelog:
  • compac: Support for the GekkoScience Compac BM1384 USB stick miner

Full changelog:
  • README.ASIC: Compac docs
  • antminer: Explicit support for GekkoScience's Compac BM1384 Bitcoin Miner
  • icarus: Use all null padding when probing work division (BM1384 reacts strangely - using part as start nonce?)
  • antminer: Match Product strings including "Antminer"
  • Bugfix: icarus: Never set timeout to 0, since it disables the timeout altogether
Pages:
Jump to: