Bitcoin Forum
October 18, 2017, 08:36:30 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 [42] 43 44 45 46 47 48 49 50 51 52 53 54 »
  Print  
Author Topic: BFGMiner 5.4.2: GBT+Stratum, RPC, Mac/Linux/Win64, Antminer S1-S5, solo stratum  (Read 725259 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
toptek
Legendary
*
Offline Offline

Activity: 1064


View Profile
March 29, 2016, 03:26:14 PM
 #821

Code:
Package: bfgminer
Version: 5.4.2-1
Depends: libc, libcurl, libpthread, jansson, libevent2, libncurses, libmicrohttpd, libusb-1.0
Source: /home/luke-jr/Projects/Education/Tonal/BitCoin/bfgminer/openwrt/bfgminer
License: GPL-3.0+
LicenseFiles: COPYING
Section: utils
Maintainer: "Luke Dashjr" <luke_openwrt@dashjr.org>
Architecture: brcm2708
Installed-Size: 300537
Filename: bfgminer_5.4.2-1_brcm2708.ipk
Size: 300307
MD5Sum: 42a52222609b6c087885296a45be3af9
SHA256sum: 2031f5a1928e237ac4cc2d9e9ef378660b095ec1c4657f3569e362992d4bc6b1
Description:  Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C

I update it over openwrt and get this





Code:
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for bfgminer:
 *      jansson *       libmicrohttpd *
 * opkg_install_cmd: Cannot install package bfgminer.
 

 I know what to do , before i used to be able to get it all off the BFG site it's np .
 
 just wondering if your a ware of it. or it's intended that way now .

No, jansson and libmicrohttpd have never been included in the BFGMiner repositories...

Which OpenWrt version are you using, and does the BFGMiner repo match it?
Note I just added 15.05, but if you still have 12.09, you should use the 12.09 repo instead.

I got it i knew what to do, i had to add custom feeds to the version i used  or what ever they call them, it was on a PI2 i had it running, i went back to ubuntu 15 server on my PI3,wanted to test open wrt, it was running BFG 5.4.2  on a pi2 with openwrt under https://downloads.openwrt.org/latest/brcm2708/bcm2709/ Smiley .
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508358990
Hero Member
*
Offline Offline

Posts: 1508358990

View Profile Personal Message (Offline)

Ignore
1508358990
Reply with quote  #2

1508358990
Report to moderator
1508358990
Hero Member
*
Offline Offline

Posts: 1508358990

View Profile Personal Message (Offline)

Ignore
1508358990
Reply with quote  #2

1508358990
Report to moderator
wareck
Member
**
Offline Offline

Activity: 82


View Profile
March 30, 2016, 07:23:12 AM
 #822

for aarons6 :

I try to build "bfgminer futurebit driver" as you try and I had same errors ... (raspberry pi with wheezy)

I just type that commands and compilation goes weel just after:


Code:
sudo apt-get update
sudo apt-get install libcurl4-gnutls-dev libjansson-dev
make

aarons6
Legendary
*
Offline Offline

Activity: 1190


View Profile
March 30, 2016, 07:30:52 AM
 #823

for aarons6 :

I try to build "bfgminer futurebit driver" as you try and I had same errors ... (raspberry pi with wheezy)

I just type that commands and compilation goes weel just after:


Code:
sudo apt-get update
sudo apt-get install libcurl4-gnutls-dev libjansson-dev
make




libjansson-dev is already installed and i have   libcurl4-openssl-dev instead of libcurl4-gnutls-dev?

tried it anyway, same error


Code:
  CCLD     bfgminer
bfgminer-miner.o: In function `submit_upstream_work_request':
miner.c:(.text+0x25b0): undefined reference to `blkmk_submitm_jansson'
collect2: error: ld returned 1 exit status
make[2]: *** [bfgminer] Error 1
make[2]: Leaving directory `/home/aaron/Downloads/bfgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aaron/Downloads/bfgminer'
make: *** [all] Error 2
Luke-Jr
Legendary
*
Offline Offline

Activity: 2240



View Profile
March 30, 2016, 07:54:07 AM
 #824

for aarons6 :

I try to build "bfgminer futurebit driver" as you try and I had same errors ... (raspberry pi with wheezy)

I just type that commands and compilation goes weel just after:


Code:
sudo apt-get update
sudo apt-get install libcurl4-gnutls-dev libjansson-dev
make




libjansson-dev is already installed and i have   libcurl4-openssl-dev instead of libcurl4-gnutls-dev?

tried it anyway, same error


Code:
  CCLD     bfgminer
bfgminer-miner.o: In function `submit_upstream_work_request':
miner.c:(.text+0x25b0): undefined reference to `blkmk_submitm_jansson'
collect2: error: ld returned 1 exit status
make[2]: *** [bfgminer] Error 1
make[2]: Leaving directory `/home/aaron/Downloads/bfgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aaron/Downloads/bfgminer'
make: *** [all] Error 2
I cannot reproduce this problem.
Can you get in touch and provide me with remote access maybe?

aarons6
Legendary
*
Offline Offline

Activity: 1190


View Profile
March 30, 2016, 08:11:23 AM
 #825

for aarons6 :

I try to build "bfgminer futurebit driver" as you try and I had same errors ... (raspberry pi with wheezy)

I just type that commands and compilation goes weel just after:


Code:
sudo apt-get update
sudo apt-get install libcurl4-gnutls-dev libjansson-dev
make




libjansson-dev is already installed and i have   libcurl4-openssl-dev instead of libcurl4-gnutls-dev?

tried it anyway, same error


Code:
 CCLD     bfgminer
bfgminer-miner.o: In function `submit_upstream_work_request':
miner.c:(.text+0x25b0): undefined reference to `blkmk_submitm_jansson'
collect2: error: ld returned 1 exit status
make[2]: *** [bfgminer] Error 1
make[2]: Leaving directory `/home/aaron/Downloads/bfgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aaron/Downloads/bfgminer'
make: *** [all] Error 2
I cannot reproduce this problem.
Can you get in touch and provide me with remote access maybe?

its a pretty basic lunux mint with ubuntu 14.04.
i installed all the packages in the readme and i only made 2 changes. i added

Code:

BFG_DRIVER(,FutureBit,scrypt,no,[
need_lowl_vcom=yes
has_asic=yes
])
to configure.ac

and

Code:
if USE_FUTUREBIT
bfgminer_SOURCES += driver-futurebit.c
endif

to Makefile.am

i run
./autogen.sh
./configure CFLAGS=-O3 --enable-scrypt --enable-futurebit --disable-other-drivers
make


you can remote in if you want.. not 100% sure how to set it up tho.. i have openssh installed.

i was going to try to start from scratch and see if i missed something.

Luke-Jr
Legendary
*
Offline Offline

Activity: 2240



View Profile
March 30, 2016, 11:06:47 AM
 #826

for aarons6 :

I try to build "bfgminer futurebit driver" as you try and I had same errors ... (raspberry pi with wheezy)

I just type that commands and compilation goes weel just after:


Code:
sudo apt-get update
sudo apt-get install libcurl4-gnutls-dev libjansson-dev
make




libjansson-dev is already installed and i have   libcurl4-openssl-dev instead of libcurl4-gnutls-dev?

tried it anyway, same error


Code:
  CCLD     bfgminer
bfgminer-miner.o: In function `submit_upstream_work_request':
miner.c:(.text+0x25b0): undefined reference to `blkmk_submitm_jansson'
collect2: error: ld returned 1 exit status
make[2]: *** [bfgminer] Error 1
make[2]: Leaving directory `/home/aaron/Downloads/bfgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aaron/Downloads/bfgminer'
make: *** [all] Error 2
I don't know how to fix this properly.
As a workaround, try adding --without-system-libbase58 to your configure options.

Details: GCC is finding your libbase58 in /usr/local/lib, and adding -L/usr/local/lib to the linker options. However, this causes the libblkmaker in /usr/local/lib to be used as well, which doesn't work because it's the older version. This is less likely to occur if I swap the order of the two libraries, but it doesn't really fix it. I could also specify the full path to the library, but there seems to be no portable way to get the filename right. Sad

aarons6
Legendary
*
Offline Offline

Activity: 1190


View Profile
March 30, 2016, 11:18:58 AM
 #827

for aarons6 :

I try to build "bfgminer futurebit driver" as you try and I had same errors ... (raspberry pi with wheezy)

I just type that commands and compilation goes weel just after:


Code:
sudo apt-get update
sudo apt-get install libcurl4-gnutls-dev libjansson-dev
make




libjansson-dev is already installed and i have   libcurl4-openssl-dev instead of libcurl4-gnutls-dev?

tried it anyway, same error


Code:
  CCLD     bfgminer
bfgminer-miner.o: In function `submit_upstream_work_request':
miner.c:(.text+0x25b0): undefined reference to `blkmk_submitm_jansson'
collect2: error: ld returned 1 exit status
make[2]: *** [bfgminer] Error 1
make[2]: Leaving directory `/home/aaron/Downloads/bfgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aaron/Downloads/bfgminer'
make: *** [all] Error 2
I don't know how to fix this properly.
As a workaround, try adding --without-system-libbase58 to your configure options.

Details: GCC is finding your libbase58 in /usr/local/lib, and adding -L/usr/local/lib to the linker options. However, this causes the libblkmaker in /usr/local/lib to be used as well, which doesn't work because it's the older version. This is less likely to occur if I swap the order of the two libraries, but it doesn't really fix it. I could also specify the full path to the library, but there seems to be no portable way to get the filename right. Sad

what if i just deleted it?

is it because ubuntu 14.04 has an old package that you need upgraded?
Luke-Jr
Legendary
*
Offline Offline

Activity: 2240



View Profile
March 30, 2016, 11:54:32 AM
 #828

If it's in /usr/local, it didn't come from Ubuntu. Probably was installed with BFGMiner before.

aarons6
Legendary
*
Offline Offline

Activity: 1190


View Profile
March 30, 2016, 12:00:21 PM
 #829

If it's in /usr/local, it didn't come from Ubuntu. Probably was installed with BFGMiner before.

i did compile the last bfgminer for the futurebit moonlander sticks so it could be. ill try tomorrow to just remove those files and start over.
LPape
Member
**
Offline Offline

Activity: 84


View Profile
March 31, 2016, 04:20:18 PM
 #830

I am trying to add my antminer 3+ device and I am using this line it isn't working can anyone please help.

-S bitmain:auto --set btm:model=S3 --set btm:layout=32:8 --set btm:timeout=3
--set btm:clock=350 --set btm:reg_data=0d82 --set btm:voltage=x0725
toptek
Legendary
*
Offline Offline

Activity: 1064


View Profile
March 31, 2016, 06:08:42 PM
 #831

I am trying to add my antminer 3+ device and I am using this line it isn't working can anyone please help.

-S bitmain:auto --set btm:model=S3 --set btm:layout=32:8 --set btm:timeout=3
--set btm:clock=350 --set btm:reg_data=0d82 --set btm:voltage=x0725



  
Code:
--set btm:clock=350
 should be
Code:
--set btm:clock=225
 
Code:
--set btm:timeout=3
is some thing else i forget what  
Code:
18
i think. layout not to sure about the rest looks about right.

I get bfg to work with no S3 hashing gave up a long time ago ..if you get it to work gratz ..

Luke-Jr
Legendary
*
Offline Offline

Activity: 2240



View Profile
March 31, 2016, 06:22:46 PM
 #832

I need more details on antminer problems to try to help.

LPape
Member
**
Offline Offline

Activity: 84


View Profile
March 31, 2016, 06:26:17 PM
 #833

I am trying to add my antminer 3+ device and I am using this line it isn't working can anyone please help.

-S bitmain:auto --set btm:model=S3 --set btm:layout=32:8 --set btm:timeout=3
--set btm:clock=350 --set btm:reg_data=0d82 --set btm:voltage=x0725



  
Code:
--set btm:clock=350
 should be
Code:
--set btm:clock=225
 
Code:
--set btm:timeout=3
is some thing else i forget what  
Code:
16 or 32
i think. layout not to sure about the rest looks about right.

I get bfg to work with no S3 hashing gave up a long time ago ..if you get it to work gratz ..
I will try that out I think you mean it should look like this

-S bitmain:auto --set btm:model=S3 --set btm:layout=32:8 --set btm:timeout=3
--set btm:clock=225 --set btm:timeout= --set btm:voltage=x0725
toptek
Legendary
*
Offline Offline

Activity: 1064


View Profile
March 31, 2016, 06:32:32 PM
 #834

I need more details on antminer problems to try to help.




A lot of pages back I posted s few times with what i tried and did, no one seemed to care , I even asked some one in a PM that seemed cool  he was a real ass hole .  no it was not ( luke ) you i asked .


 after that i figured you either did not have time or wanted cash no dis respect  intended or real life things were stopping you .I gave up and didn't push it.


toptek
Legendary
*
Offline Offline

Activity: 1064


View Profile
March 31, 2016, 06:34:32 PM
 #835

I am trying to add my antminer 3+ device and I am using this line it isn't working can anyone please help.

-S bitmain:auto --set btm:model=S3 --set btm:layout=32:8 --set btm:timeout=3
--set btm:clock=350 --set btm:reg_data=0d82 --set btm:voltage=x0725



  
Code:
--set btm:clock=350
 should be
Code:
--set btm:clock=225
 
Code:
--set btm:timeout=3
is some thing else i forget what  
Code:
16 or 32
i think. layout not to sure about the rest looks about right.

I get bfg to work with no S3 hashing gave up a long time ago ..if you get it to work gratz ..
I will try that out I think you mean it should look like this

-S bitmain:auto --set btm:model=S3 --set btm:layout=32:8 --set btm:timeout=3
--set btm:clock=225 --set btm:timeout= --set btm:voltage=x0725


sure if you need it like that .

Code:
-S bitmain:auto --set btm:model=S3 --set btm:layout=32:8 --set btm:timeout=3
--set btm:clock=225 --set btm:timeout=18 --set btm:voltage=x0725



 IS
Code:
--set btm:timeout=18  
you may need also or like this.


Code:
-S bitmain:auto --set btm:model=S3 --set btm:layout=32:8 --set btm:timeout=18
--set btm:clock=225 --set btm:reg_data=0d82 --set btm:voltage=x0725


only one im not rally to sure about is
Code:
--set btm:layout=32:8
  or what it even does. and can be why  mine won't hash, can't say. I formated the answer that way to make it easy to see code from talk etc Smiley .
LPape
Member
**
Offline Offline

Activity: 84


View Profile
March 31, 2016, 06:44:02 PM
 #836

I need more details on antminer problems to try to help.

I load up bfgminer, press M than press +. I add the following code to find my device. -S bitmain:auto --set btm:model=S3 --set btm:layout=32:8 --set btm:timeout=3 --set btm:clock=225 --set btm:timeout=18 --set btm:voltage=x0725. Press enter it does not find anything

S3+ antminer on windows 7. Bfgminer 5.4.2
aarons6
Legendary
*
Offline Offline

Activity: 1190


View Profile
March 31, 2016, 06:49:02 PM
 #837

I need more details on antminer problems to try to help.

I load up bfgminer, press M than press +. I add the following code to find my device. -S bitmain:auto --set btm:model=S3 --set btm:layout=32:8 --set btm:timeout=3 --set btm:clock=225 --set btm:timeout=18 --set btm:voltage=x0725. Press enter it does not find anything

S3+ antminer on windows 7. Bfgminer 5.4.2

how do you run s3 on windows 7?

LPape
Member
**
Offline Offline

Activity: 84


View Profile
March 31, 2016, 06:51:20 PM
 #838

you have to find it on your router and you go to a web page that just is a form of cgminer

I got a device to show but not hash
toptek
Legendary
*
Offline Offline

Activity: 1064


View Profile
March 31, 2016, 06:52:16 PM
 #839


Those setting i got out of the pdf for that chip

 and that is my issue to it works but won't hash or see the S1/3  . and the drivers are loaded i checked with the cat command .
toptek
Legendary
*
Offline Offline

Activity: 1064


View Profile
March 31, 2016, 06:57:27 PM
 #840

you have to find it on your router and you go to a web page that just is a form of cgminer

I got a device to show but not hash


With SSH i assume ? . use screen but the S3 does not have screen on it like the S2/4 c1 s5 i think S7 . it's a bitch to get working right on a S3 i think i had screen on it once after i figured out what openwrt PKG i needed

@aarons6


you can start it that way in all most any windows version 7 and up . but have to use a ssh window is how he did, I'm guessing .
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 [42] 43 44 45 46 47 48 49 50 51 52 53 54 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!