Bitcoin Forum
May 24, 2018, 11:53:22 PM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: 1 2 3 [All]
  Print  
Author Topic: How to Install BFG Miner on your new Raspberry Pi - A Step by Step Guide  (Read 62602 times)
DrGuns4Hands
Hero Member
*****
Offline Offline

Activity: 812
Merit: 550



View Profile
October 30, 2012, 04:05:54 AM
 #1

These are the instructions for installing BFG Miner on the Raspberry Pi OS (Raspbian “wheezy”)

I would first like to thank the people who in various places have helped with laying out the steps for CGMiner, which with some tweaks worked for BFG
The link to CGMiner's steps can be found here http://techblog.sethleedy.name/?p=24276


You will need to first download the Linux Zip Archive from https://bitcointalk.org/index.php?topic=78192.0. This thread is always updated with both the newest test, and newest stable versions(I would recommend sticking with the stable version unless you are very experienced.


Now that you have the zip file lets get started with the fun stuff Open the Terminal and get ready to punch some code. this isn't the quickest equipment so wait until the next open terminal line appears before continuing through the steps.

1 sudo aptitude update
2 sudo aptitude install autoconf libtool libncurses-dev yasm curl libcurl4-openssl-dev libjansson-dev pkg-config libudev-dev

3a sudo aptitude install libusb-dev      (needed in BFG Miner for ZTEX & X6500 FPGAs board support)(Skip if you don't have/won't be getting one of these boards)

Additional package required for bfgminer-3.3.0:

3b apt-get install uthash-dev

To enable opencl:sensors, apt-get install libsensors4-dev
To enable getwork proxy, apt-get instal libmicrohttpd-dev
To enable stratum proxy, apt-get instal libevent-dev
To enable ztex / x6500, apt-get install libusb-1.0-0-dev

Navigate to where you saved the zip file (I will use the current BFGminer stable version for an example)

4 unzip bfgminer-2.8.3
5 cd bfgminer-2.8.3
6 ./autogen.sh unnecessary
7 ./configure
8 make

If you have not yet hooked up your FPGA to the Pi, now is the time. If you are planning on hooking up multiple FPGA's it is highly recommended to use an externally powered USB Hub.

Step 9 is to determine if the OS recognizes your FPGA and needs to be done from the home location

8 cd (to return to home)
9 ls -l /dev/ttyUSB*

your FPGA's should show up as ttyUSB0, ttyUSB1, etc. Any number is fine as long as there are as many of them as you have units.

If they do not show up here is a link to a thread about that issue. https://bitcointalk.org/index.php?topic=65879.msg915045#msg915045

run BFGMiner the usual way.(sudo ./bfgminer from the bfgminer installed directory) If you do not use sudo it won't save your configuration properly when you go to settings and write config.

Editted: corrections, Stream-Lined, & Tested on Raspberry Pi, all to save you time. ENJOY!

Final Note: I have had 2 Raspberry Pi's burn out with BFL ASIC's. It seems the USB ports just can't handle the I/O. First I had crashes of the mining software, so I forced the Pi to reset itself twice daily which worked as a stop gap, but eventually they fell apart under the weight of the problem. Got a low powered amd apu and motherboard and have been running for months with it just sitting on a table, no maintenance required. At this time I would not recommend purchasing a Raspberry Pi as a control device for ASIC's.

▄█▀▀▀▀▀▀▀▀▀▀▀█▄
▄█▀▄███████████▄▀█▄
▄█▀▄███████████████▄▀█▄
▄█▀▄███████ ██ ████████▄▀█▄
█ ███████▄▄ ▌ ▄▄▄ ▀██████ █
█ █████████ ▌ ████ ██████ █
█ █████████ ▌ ▄▄▄▄ ▀█████ █
█ █████████ ▌ █████ █████ █
█ █████▄▀▀  ▌ ▀▀▀▀ ▄█████ █
▀█▄▀███████ ██ ████████▀▄█▀
▀█▄▀███████████████▀▄█▀
▀█▄▀███████████▀▄█▀
▀█▄▄▄▄▄▄▄▄▄▄▄█▀
.JINBI..

merges gold’s investment
holding value
with
blockchain technology
.
...T H E   G O L D E N   I C O...
.────────     WHITEPAPER     ────────.
▄█▀▀▀▀▀▀▀▀▀▀▀█▄
▄█▀▄███████████▄▀█▄
▄█▀▄███████████████▄▀█▄
▄█▀▄███████ ██ ████████▄▀█▄
█ ███████▄▄ ▌ ▄▄▄ ▀██████ █
█ █████████ ▌ ████ ██████ █
█ █████████ ▌ ▄▄▄▄ ▀█████ █
█ █████████ ▌ █████ █████ █
█ █████▄▀▀  ▌ ▀▀▀▀ ▄█████ █
▀█▄▀███████ ██ ████████▀▄█▀
▀█▄▀███████████████▀▄█▀
▀█▄▀███████████▀▄█▀
▀█▄▄▄▄▄▄▄▄▄▄▄█▀
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1527206002
Hero Member
*
Offline Offline

Posts: 1527206002

View Profile Personal Message (Offline)

Ignore
1527206002
Reply with quote  #2

1527206002
Report to moderator
Luke-Jr
Legendary
*
Offline Offline

Activity: 2366
Merit: 1001



View Profile
October 30, 2012, 04:23:50 AM
 #2

For normal usage, Debian has replaced apt-get with aptitude a few releases ago. Also, both tools can take any number of packages on the same command. So,
Code:
sudo aptitude update
sudo aptitude install autoconf libtool libncurses-dev yasm curl libcurl4-openssl-dev libjansson-dev libudev-dev libusb-dev

Note that libusb-dev is required for not just Ztex, but also X6500 FPGAs.

Steps 13-17 are all performed by the autogen.sh script, so just run that to automate it Smiley

You don't need to use "make install" (and I'm not sure it actually installs the bitstreams sensible) if you want to run BFGMiner from the source code directory; you can just do:
Code:
./bfgminer

vitruvio
Sr. Member
****
Offline Offline

Activity: 531
Merit: 250



View Profile
October 31, 2012, 06:17:49 PM
 #3

Thank you, stored in Bookmarks, I own the Rpi, just need the ASIC.

Regards


          ▄▓▓▓▓▓▓▄▄        ▄▄▄▄▄▄▄▄▄▄▄▄      ▄▄▄▄▄▄▄▄▄▄▄       ▄▄▄      ▄▄▄▄▄▄▄▄▄▄
       ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▄     ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▄   ▓▓▓▓▓▓▓▓▓▓▓▓▓    ▐▓▓▓   ▄▓▓▓▓▓▓▓▓▓▓▓▓
     ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓    ▓▓▓▌       ▐▓▓▓   ▓▓▓▌      ▐▓▓▓   ▐▓▓▓   ▓▓▓▌
    ▐▓▓████▓▓▓▓▓▓▓███▓▓▓   ▓▓▓▌       ▐▓▓▓   ▓▓▓▌      ▓▓▓▓   ▐▓▓▓   ▓▓▓▓
    ▓▓▓▓████████████▓▓▓   ▓▓▓▌       ▓▓▓▓   ▓▓▓▓  ▓▓▓▓▓▓▓▓   ▐▓▓▓    ▓▓▓▓▓▓▓▓▓▓▓▓▄
    ▐▓▓▓▓██████████▓▓▓▓   ▓▓▓▌  ▓▓▓▓▓▓▓▓    ▓▓▓▌  ▀▀▀▀▀▓▓▓▓  ▐▓▓▓      ▀▀▀▀▀▀▀▀▓▓▓▓
     ▓▓▓▓▓▓▓▓███▓▓▓▓▓▓▓▀   ▓▓▓▌    ▀▓▓▓▓     ▓▓▓▌        ▓▓▓  ▐▓▓▓              ▐▓▓▓
      ▀▓▓▓▓▓▓███▓▓▓▓▓▓     ▓▓▓▌      ▓▓▓▓    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓  ▐▓▓▓    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓
         ▀▓▓▓▓▓▓▓▓▓▀       ▓▓▓▌       ▓▓▓▓   ▓▓▓▓▓▓▓▓▓▓▓▓▓▀   ▐▓▓▓   ▓▓▓▓▓▓▓▓▓▓▓▓▓
.Money Transfer and Investment.
...Instagramhugeb Facebook hugeb Twitter hugeb Youtube ...

       █▄                                     ▄▄▌
     ██▄██▄▄                                ▄███▄█
     ▀▀█▄█▄██▌▀▄                       ▄▄█▀█ ▄███▀
     ▐█▄█▀▀█▀██▄█▀▄                 ▄█▀█▄██▐▀▀█▄▄█
       ▀▀█████▀█████▄              ██▌███▀█████▀▀
      ██▀█████████ ██▄▄▄▄██▄▄█▄█▄▄█████▄▄▀█▄█████▀
     ▐████ ▄▄██████▐███▀▀▀████▀▀▀███▄██████▄▄▀████
       ▀ ███▄█████████▐▄▀▀   ▐█▀▐▐██████▀█▄███▀▀▀      ▌
       ▀▀▀▀▀▀▀▀██████▐█▀█▄ ▀  █▀▀▀▀██████▀▀▀▀ ▀▀▀
          ▄██▐█▀ █▀██▄██▌      ██ ▄█▄▐█ ▀█▐█▄
              ▄█▐ ▀▀▀▐ █ ▌█▀█▌▌▐██ ▀▀ ▀▐█▄
                      ▀▐ █ █▄▄▌▐
                       ▄ ▄██▐█
                    ▄██▌▄  ▄  ▀▄▀██
                     ▄████ ▌███▀██
                       ██▌█▌█▌██▌   
                          ▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
JOIN OUR VISION TODAY
FOR A BETTER WORLD TOMORROW
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄

      ▄▀▀▀▀▀▀▀▀▀▀▀▄
     █   ▄▄▄▄▄▄   ██▄
     █  ▓▓▓▓▓▓▓▌  ████▄
     █  ▓▓▓▓▓▓▓▌  ██████
     █  ▓▓▓▓▓▓▓▌  ███████▄
     █  ▓▓▓▓▓▓▓▌  ▐▓███████▄
     █              ▀▀▀▀▀▀▀▀█
     █  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  █
     █                      █
     █  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  █
     █  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄  █
     █                      █
     █  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  █
     █                      █
      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
Phraust
Full Member
***
Offline Offline

Activity: 206
Merit: 100


Mostly Harmless...


View Profile WWW
November 01, 2012, 12:08:46 AM
 #4

Just wanted to say this is an awesome little bit of help.

I'm not running a Pi, I'm using a DockStar, but it's very similar and it's been so long since I've installed a clean OS it really came in handy.

Some notes:

I am using ArchLinux, so most of the steps are very similar.  However, when I tried running autogen.sh, I was getting errors that were fixed by installing pkg-config (which is in the base-devel package, which I believe this is in build-essential in other distros).

Thanks a ton for putting this together for us!
bitcoindaddy
Sr. Member
****
Offline Offline

Activity: 479
Merit: 500


View Profile
November 03, 2012, 12:53:50 PM
 #5

Thanks for the guide, it was very helpful.  Can you tell me if you had to snip the 5V line on the USB cable from the powered USB hub to keep the power from flowing back into the Raspberry Pi?

I tried connecting a powered up to the pi but without power and the pi instantly reset, but is fine after booting with it connected. I haven't tried running it powered yet as I've heard bad things about that.
DrGuns4Hands
Hero Member
*****
Offline Offline

Activity: 812
Merit: 550



View Profile
November 05, 2012, 04:49:01 AM
 #6

I'm using a powered USB hub and the only thing I noticed is that power will flow backwards from the hub so to do a restart you give the sudo halt command to shut down the Pi. Then you disconnect the Power and unplug the USB Hub then re-plugging them in will let it boot right up. I don't believe mine will start up with the USB plugged in without the additional Power line feeding the hub. The raspberry pi was a minimalist design and wasn't made to handle much power draw by peripherals. This is the USB Hub I am using and I've had 0 issues http://www.amazon.com/10-Port-USB-2-0-Hub/dp/B00475WJEY/ref=sr_1_13?s=electronics&ie=UTF8&qid=1352091861&sr=1-13&keywords=usb+hub

▄█▀▀▀▀▀▀▀▀▀▀▀█▄
▄█▀▄███████████▄▀█▄
▄█▀▄███████████████▄▀█▄
▄█▀▄███████ ██ ████████▄▀█▄
█ ███████▄▄ ▌ ▄▄▄ ▀██████ █
█ █████████ ▌ ████ ██████ █
█ █████████ ▌ ▄▄▄▄ ▀█████ █
█ █████████ ▌ █████ █████ █
█ █████▄▀▀  ▌ ▀▀▀▀ ▄█████ █
▀█▄▀███████ ██ ████████▀▄█▀
▀█▄▀███████████████▀▄█▀
▀█▄▀███████████▀▄█▀
▀█▄▄▄▄▄▄▄▄▄▄▄█▀
.JINBI..

merges gold’s investment
holding value
with
blockchain technology
.
...T H E   G O L D E N   I C O...
.────────     WHITEPAPER     ────────.
▄█▀▀▀▀▀▀▀▀▀▀▀█▄
▄█▀▄███████████▄▀█▄
▄█▀▄███████████████▄▀█▄
▄█▀▄███████ ██ ████████▄▀█▄
█ ███████▄▄ ▌ ▄▄▄ ▀██████ █
█ █████████ ▌ ████ ██████ █
█ █████████ ▌ ▄▄▄▄ ▀█████ █
█ █████████ ▌ █████ █████ █
█ █████▄▀▀  ▌ ▀▀▀▀ ▄█████ █
▀█▄▀███████ ██ ████████▀▄█▀
▀█▄▀███████████████▀▄█▀
▀█▄▀███████████▀▄█▀
▀█▄▄▄▄▄▄▄▄▄▄▄█▀
mightycount
Member
**
Offline Offline

Activity: 101
Merit: 10



View Profile
November 20, 2012, 11:41:14 PM
 #7

Awesome stuff, thanks!

Personal Bitcoin Black List - Companies and people to avoid!
````` Butterfly Labs...MtGox...ragingazn628...(reserved)...  `````
kidgorgeous
Member
**
Offline Offline

Activity: 75
Merit: 10


View Profile
November 21, 2012, 02:10:54 AM
 #8

I was having trouble getting my raspberry pi to recognize my BFL's. After some fiddling and alot of reading, it came down to running:
Code:
$sudo usermod <username> -a -G dialout
.

1KHxCRniFNmS7ChiPqaewmokuCABk2PRQn
zxyzxy
Full Member
***
Offline Offline

Activity: 132
Merit: 100


View Profile
November 21, 2012, 08:04:06 AM
 #9

will this work on hackberry or other similar  alternatives?
Martin666
Jr. Member
*
Offline Offline

Activity: 49
Merit: 0



View Profile
November 23, 2012, 01:37:49 AM
 #10

Did you get it to work on your hackberry ?
Berni
Full Member
***
Offline Offline

Activity: 124
Merit: 100


View Profile
November 24, 2012, 09:26:02 PM
 #11

Did you get it to work on your hackberry ?

I installed Debian Wheezy on my hackberry with cgminer 2.9.4.
cpu-mining is successfull, USB-Miner i can't test, because i'm waiting for my bASICs. Sad
I hope it works fine  Sad
techman05
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500


View Profile WWW
August 26, 2013, 09:45:57 PM
 #12

For this do I have to designate the devices if I have multiple or will bfg miner see them and use them as needed for mining? Right now I'm planning to install an eroupter if I can get my hands on one after my coins settle and hopefully be able to run it alongside a butterfly labs asic device once I get it. I'm hoping I can run both on startup with whatever pools I want.

Both will be on a powered hub

Thanks

Like the info address for potential tips Wink
BTC 1CL5BnNhdL2wDVmSDwMbW1cNhZew87CAPV
* http://www.miningrigrentals.com/register?ref=563
TheSpiral
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile WWW
August 26, 2013, 10:52:40 PM
 #13

For this do I have to designate the devices if I have multiple or will bfg miner see them and use them as needed for mining? Right now I'm planning to install an eroupter if I can get my hands on one after my coins settle and hopefully be able to run it alongside a butterfly labs asic device once I get it. I'm hoping I can run both on startup with whatever pools I want.

Both will be on a powered hub

Thanks
It should recognize them. I got a few erupters and they run just fine. From the readme:
Quote
ASIC/FPGA mining boards (BitForce, Icarus, ModMiner, X6500, ZTEX) only options:

--scan-serial|-S <arg> Serial port to probe for mining devices

To use ASICs or FPGAs, you will need to be sure the user BFGMiner is running as
has appropriate permissions. This varies by operating system.
On Gentoo: sudo usermod <username> -a -G uucp
On Ubuntu: sudo usermod <username> -a -G dialout
Note that on GNU/Linux systems, you will usually need to login again before
group changes take effect.

By default, BFGMiner will scan for autodetected devices unless at least one -S
is specified for that driver. If you specify -S and still want BFGMiner to scan,
you must also use "-S auto". If you want to prevent BFGMiner from scanning
without specifying a device, you can use "-S noauto". Note that presently,
autodetection only works on Linux, and might only detect one device depending
on the version of udev being used. If you want to scan all serial ports, you
can use "-S all"; note that this may write data to non-mining devices which may
then behave in unexpected ways!

On Linux, <arg> is usually of the format /dev/ttyUSBn
On Mac OS X, <arg> is usually of the format /dev/cu.usb*
On Windows, <arg> is usually of the format \\.\COMn
(where n = the correct device number for the device)

The official supplied binaries are compiled with support for all ASICs/FPGAs.
To force the code to only attempt detection with a specific driver,
prepend the argument with the driver name followed by a colon.
For example, "icarus:/dev/ttyUSB0" or "bitforce:\\.\COM5"
or using the short name: "ica:/dev/ttyUSB0" or "bfl:\\.\COM5"

Some FPGAs do not have non-volatile storage for their bitstreams and must be
programmed every power cycle, including first use. To use these devices, you
must download the BFGMiner source archive (bfgminer-x.y.z.zip) and copy the
"bitstreams" directory into your BFGMiner application directory.

See README.ASIC and README.FPGA for more information regarding these.
I just ran bfgminer with "-S all" and it was just fine.

[Cex.io] - Cheap virtual mining.
village.idiot
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250


View Profile
September 22, 2013, 12:40:24 AM
 #14

I'm hoping this will get me mining on the Pi with my ASIC.
I really appreciate the well written Guide.  Even I could follow it.
With an exception...
I got to 6 ./autogen.sh
and got back...
Getting submodules...
fatal: Not a git repository (or any of the parent directories): .git

I did see the post from Phraust,
but don't understand what it means I should do.
Unfortunately, I don't speak Linux.

Someone please guide me a little.

Edit: forgot to mention - I'm using 2013-09-10-wheezy-raspbian and bfgminer-3.2.1
Luke-Jr
Legendary
*
Offline Offline

Activity: 2366
Merit: 1001



View Profile
September 22, 2013, 01:08:56 AM
 #15

I'm hoping this will get me mining on the Pi with my ASIC.
I really appreciate the well written Guide.  Even I could follow it.
With an exception...
I got to 6 ./autogen.sh
and got back...
Getting submodules...
fatal: Not a git repository (or any of the parent directories): .git

I did see the post from Phraust,
but don't understand what it means I should do.
Unfortunately, I don't speak Linux.

Someone please guide me a little.

Edit: forgot to mention - I'm using 2013-09-10-wheezy-raspbian and bfgminer-3.2.1
Skip autogen, it's not supposed to be used with zips.

village.idiot
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250


View Profile
September 22, 2013, 01:20:31 AM
 #16

Thanks Luke.
That go me a step farther.
Now I got
configure: error: Could not find HASH_ITER - please install uthash-dev 1.9.2+

tried
install uthash-dev 1.9.2+
but, of course, that didn't work.

Don'cha just hate newbies
Luke-Jr
Legendary
*
Offline Offline

Activity: 2366
Merit: 1001



View Profile
September 22, 2013, 01:40:12 AM
 #17

Thanks Luke.
That go me a step farther.
Now I got
configure: error: Could not find HASH_ITER - please install uthash-dev 1.9.2+

tried
install uthash-dev 1.9.2+
but, of course, that didn't work.

Don'cha just hate newbies
sudo aptitude install uthash-dev

village.idiot
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250


View Profile
September 22, 2013, 03:11:51 AM
 #18

IT'S WORKING!!

Luke, you're my hero!  I wanna have your baby. Uh, wait.  Think I'll just send you some bitcoin.
Thank you
Thank you
Thank you
Thank you
birkomester
Full Member
***
Offline Offline

Activity: 336
Merit: 100


View Profile WWW
November 07, 2013, 06:03:48 PM
 #19

Ty for the guide, it worked!!!c

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
PRIMEDICE
The Premier Bitcoin Gambling Experience @PrimeDice
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
rallasnackbar
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
January 24, 2014, 02:35:58 PM
 #20

I know this is an old post. But i just cant get this to work, and searching googe dosnt help me either.

at 9 ls -l /dev/ttyUSB*

i get this return

ls: cannot access /dev/ttyUSB*: No such file or directory
Cactusizer
Jr. Member
*
Offline Offline

Activity: 51
Merit: 0


View Profile
March 06, 2014, 10:08:04 AM
 #21

I had problems with cgminer on my rasp pi so I will be looking forward to testing bfgminer on my rasp pi.

village.idiot
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250


View Profile
March 06, 2014, 12:33:04 PM
 #22

I'm still using bfgminer-3.2.1 and it's working just fine.
Not producing much at 30Gh/s, but still running.
Cassey
Sr. Member
****
Offline Offline

Activity: 470
Merit: 250

Better to have 100 friends than 100 rubles


View Profile
May 08, 2014, 04:51:52 PM
 #23

For what its worth, I just placed my 16GB Gentoo Raspberry PI with 3.99.0 of bfgminer installed up on Vuze (torrent).  It compresses down to a bit over 1gb, can be unzipped and dd'ed directly to a 16gb sdhc card.

Search for "GentooPIimage080514.gz" - with luck you will find it.

Cassey
Buchi-88
Legendary
*
Offline Offline

Activity: 1624
Merit: 1020



View Profile
June 17, 2014, 09:32:23 PM
 #24

Thanks Luke.
That go me a step farther.
Now I got
configure: error: Could not find HASH_ITER - please install uthash-dev 1.9.2+

tried
install uthash-dev 1.9.2+
but, of course, that didn't work.

Don'cha just hate newbies

but

Quote
root@sunwatch:~# sudo aptitude install uthash-dev
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

and than
Quote
cd /usr/src

wget http://luke.dashjr.org/programs/bitcoin/files/bfgminer/4.2.0/bfgminer-4.2.0.zip

unzip bfgminer-4.2.0.zip && mv bfgminer-4.2.0 bfgminer

cd bfgminer

sudo ./configure

sudo make

always the same and I don't know?Huh
Code:
checking whether HASH_ITER is declared... no
configure: error: Could not find HASH_ITER - please install uthash-dev 1.9.4+

On my Pi is the newest Kernel!?

greets




         ▄▄████▄▄
      ▄▄██████████▄   ▄▄▄
   ▄▄█████████████  ▐█████▌
 ▄████████████████  ▐█████▌
████▀    ▀█████████▄  ▀▀▀
████      █████████▀  ▄▄▄▄
████▄      ▀█████▀  ▄█████
███▀  ▄███▄  ▀    ▄███████
▀▀  ▄███████▄      ███████
     ████████▄    ▄█████▀
    ▄████████████████▀▀
      ▀▀██████████▀▀
         ▀▀████▀▀
.BitRewards..       ▄██████
     ▄▄▄▄
    ████
   ████
  ████
 ████
████
 ████

  ████
   ████

    ████
     ▀▀▀▀

       ▀██████
██████▄      
▄▄▄▄    
████   
████  
████ 
████
████
████

████ 
████
  
████   
▀▀▀▀    

██████▀      
dmz241
Hero Member
*****
Offline Offline

Activity: 492
Merit: 500

http://www.bitcoinpk.com


View Profile WWW
June 23, 2014, 05:20:35 AM
 #25

Hey all. I am completely new to linux and pretty much asics. I picked up a pi and have 2 usb dualminer sticks that I want to run in scrypt only mode.
I have latest Raspbein OS installed.
I did the first 2 steps.
As I know I need bfgminer 4.0+ as thats the one that supports it I believe. Can anyone tell me how to proceed from here. I am connected to the pi through putty.

Cassey
Sr. Member
****
Offline Offline

Activity: 470
Merit: 250

Better to have 100 friends than 100 rubles


View Profile
June 23, 2014, 02:44:54 PM
 #26

Hey all. I am completely new to linux and pretty much asics. I picked up a pi and have 2 usb dualminer sticks that I want to run in scrypt only mode.
I have latest Raspbein OS installed.
I did the first 2 steps.
As I know I need bfgminer 4.0+ as thats the one that supports it I believe. Can anyone tell me how to proceed from here. I am connected to the pi through putty.

Suggest popping over to http://asic.usertalk.info/index.php?topic=66.0 and reading the 2nd post in that thread.  It should get you started.

Cassey
Sysop @ asic.usertalk.info

Cassey
dmz241
Hero Member
*****
Offline Offline

Activity: 492
Merit: 500

http://www.bitcoinpk.com


View Profile WWW
June 27, 2014, 07:31:44 AM
 #27

Hey all. I am completely new to linux and pretty much asics. I picked up a pi and have 2 usb dualminer sticks that I want to run in scrypt only mode.
I have latest Raspbein OS installed.
I did the first 2 steps.
As I know I need bfgminer 4.0+ as thats the one that supports it I believe. Can anyone tell me how to proceed from here. I am connected to the pi through putty.

Suggest popping over to http://asic.usertalk.info/index.php?topic=66.0 and reading the 2nd post in that thread.  It should get you started.

Cassey
Sysop @ asic.usertalk.info

Thanks for the time being I am running the antminer u2s on the pie dualminers on pc thats always on.

rumjar86
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
July 11, 2015, 12:15:24 AM
 #28

hey guys, I know this is an older thread but I just have finally got off my but and started getting into the mining again. I just picked up a Pi, a Bitfury M-card (v3.0) and a bunch of H-cards v2.2, I was just wondering if anyone would have any info on how to get bfgminer to detect the cards? or if I should go to another mining software.
please the info on these kinds of cards is rare as but there are so many of these cards floating around on ebay and all over the forum. cheers
Josh
Luke-Jr
Legendary
*
Offline Offline

Activity: 2366
Merit: 1001



View Profile
July 11, 2015, 12:25:16 AM
 #29

hey guys, I know this is an older thread but I just have finally got off my but and started getting into the mining again. I just picked up a Pi, a Bitfury M-card (v3.0) and a bunch of H-cards v2.2, I was just wondering if anyone would have any info on how to get bfgminer to detect the cards? or if I should go to another mining software.
please the info on these kinds of cards is rare as but there are so many of these cards floating around on ebay and all over the forum. cheers
Josh
I'm not sure you can mix cards of different versions like that.
IF it works, it would be using ./configure --enable-bfsb and then at runtime bfgminer -S bfsb:auto

amrulshare
Hero Member
*****
Offline Offline

Activity: 658
Merit: 505



View Profile WWW
July 11, 2015, 10:23:21 AM
 #30

Thank You for Sharing , I now understand how to install it , it is very helpful for beginners like me  Wink

▄███▄
███████▄
██████▀██▄
█████▄  ▀██▄
████▀  ▄  ▀██▄
███▄ ▄██▀   ▀
██████▀  ▄█▄
███████▄█████▄
███████████████▄
████████████████▀
█████████▀
███████▀
 ▀███▀
Safein     
.M A K E   I S I M P L E.
A   R E V O L U T I O N A R Y   W A Y   T O   P A Y   O N L I N E
.
[WHITEPAPER]
▬▬▬▬▬▬▬▬▬▬▬▬▬▬

██
██
██
██
██
██
██
██
██
██
██
▄█████████████████████████▄
███████████████████████████
████████████████▀░░░░░▐████
███████████████░░░░░░░▐████
██████████████▌░░░▐████████
██████████████▌░░░▐████████
███████████░░░░░░░░░░░█████
███████████░░░░░░░░░░▐█████
██████████████▌░░░▐████████
██████████████▌░░░▐████████
██████████████▌░░░▐████████
██████████████▌░░░▐████████
▀█████████████▌░░░▐███████▀

██
██
██
██
██
██
██
██
██
██
██
▄█████████████████████████▄
███████████████████████████
███████████████████████████
██████▀███████▀░░░▀▀▀▄█████
█████▌░░▀▀███▌░░░░░░░▄█████
█████▀░░░░░░░░░░░░░░░██████
█████▄░░░░░░░░░░░░░░███████
██████▄░░░░░░░░░░░░████████
███████▄▄░░░░░░░░▄█████████
██████▄░░░░░░░▄████████████
███████████████████████████
███████████████████████████
▀█████████████████████████▀

██
██
██
██
██
██
██
██
██
██
██
▄█████████████████████████▄
███████████████████████████
███████████████████████████
██████████████████▀▀███████
█████████████▀▀▀░░░░███████
████████▀▀▀░░░▄▀░░░████████
█████▄░░░░░▄█▀░░░░░████████
████████▄░█▀░░░░░░█████████
█████████▌▐░░░░░░░█████████
██████████░▄██▄░░██████████
████████████████▄██████████
███████████████████████████
▀█████████████████████████▀

██
██
██
██
██
██
██
██
██
██
██
A
▬▬

█▄▄
██████▄▄
██████████▄▄
██████████████▄▄
██████████████████▄▄
█████████████████████
██████████████████▀▀
██████████████▀▀
██████████▀▀
██████▀▀
█▀▀
.GET IT ON               
Google Play
work2coin
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
January 04, 2016, 12:13:05 PM
 #31

sudo apt-get install bfminer

And enjoy!  Wink
Ahkmar
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 21, 2016, 01:22:25 PM
 #32

Could we get updated instructions for the newer hardware & software?

I'm using the newer Jessie on a Pi 2 and I'm having some difficulty. For me, step 5 comes back with something about bfgminer not being a valid directory. I'm not sure what I'm doing wrong, but this learning process has been frustrating. Could somebody help me out?
deltalima
Jr. Member
*
Offline Offline

Activity: 43
Merit: 0


View Profile
March 29, 2016, 08:08:24 PM
 #33

For me, step 5 comes back with something about bfgminer not being a valid directory.
Could somebody help me out?

Please post the exact error message and someone will be able to help.

1BitCoinLSc864UEc3qE5E7iV3BXd6M4Xk
toptek
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000


View Profile
March 31, 2016, 03:36:54 PM
 #34

sudo apt-get install bfminer

And enjoy!  Wink


as far as i know
Code:
sudo apt-get install bfminer
  only work with ubuntu but yea it's that easy just do
Code:
sudo apt-get install bfminer
at a ssh command if your using ssh with ubuntu and your set .

For security, your account has been locked. Email acctcomp15@theymos.e4ward.com
toptek
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000


View Profile
March 31, 2016, 03:40:03 PM
 #35

Code:
cd /home

sudo apt-get install -y 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


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

cd /bfgminer

sudo ./autogen.sh
sudo chmod +x ./configure  
sudo ./configure CFLAGS="-O2" --enable-scrypt --enable-broad-udevrules
or use
sudo ./configure  (defaults are used)
make
sudo ldconfig
lsusb
sudo chmod 777 bfgminer

sudo ./bfgminer --version
 
sudo bfgminer or sudo ./bfgminer or sudo /bfgminer --scrypt -o stratum+tcp://your pool:port -u user id  -p x  your miners setting.

or for sha256 coin mining aka btc

sudo bfgminer or sudo ./bfgminer or sudo /bfgminer -o stratum+tcp://your pool:port -u user id  -p x  your miners setting.


For security, your account has been locked. Email acctcomp15@theymos.e4ward.com
xchakg
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
April 07, 2016, 09:48:30 AM
 #36

hi, I have a pi-2 and the newest bfgminer, + the pi is recognizing my usb hub, but its not
recognizing the avalon-2 sticks.

any suggestions?

i've tried many + still trying. Smiley

thank you
toptek
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000


View Profile
April 07, 2016, 09:37:29 PM
 #37

hi, I have a pi-2 and the newest bfgminer, + the pi is recognizing my usb hub, but its not
recognizing the avalon-2 sticks.

any suggestions?

i've tried many + still trying. Smiley

thank you


make sure if you compiled your own BFG  it has  --enable-avalon the readme says it is on by default but it might be wise to compile it on any way

in the bfg folder do a version check it tells, if the --enable-avalon driver is on .

Code:
sudo ./bfgminer --version or bfgminer --version or sudo bfgminer --version or sudo /bfgminer --version

if it is, do a hub check

Code:
sudo ldconfig
lsusb

lsusb should list all the hubs plugged in to that pi .


if all that checks out try in the BFG folder


Code:
cd to your bfgminer

sudo apt-get remove libblkmaker-0.1-dev
sudo apt-get purge libblkmaker-0.1-dev
sudo apt-get install build-essential autoconf automake libtool pkg-config libcurl4-gnutls-dev libjansson-dev uthash-dev libncurses5-dev libudev-dev libusb-1.0-0-dev libevent-dev libgcrypt20-dev

sudo ./autogen.sh -rpath-link
sudo chmod +x ./configure  
sudo ./configure CFLAGS="-O2" --enable-avalon --enable-broad-udevrules
make
sudo make install
sudo ldconfig
then try the miner .


beyond that

check power to hub , does the pi really support it, Ive had a few hubs not work with RPI and BFG but do with other PI type PC'c even after i did a hub check .


For security, your account has been locked. Email acctcomp15@theymos.e4ward.com
xchakg
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
April 08, 2016, 01:33:12 AM
 #38

hi, I have a pi-2 and the newest bfgminer, + the pi is recognizing my usb hub, but its not
recognizing the avalon-2 sticks.

any suggestions?

i've tried many + still trying. Smiley

thank you


make sure if you compiled your own BFG  it has  --enable-avalon the readme says it is on by default but it might be wise to compile it on any way

in the bfg folder do a version check it tells, if the --enable-avalon driver is on .

Code:
sudo ./bfgminer --version or bfgminer --version or sudo bfgminer --version or sudo /bfgminer --version

if it is, do a hub check

Code:
sudo ldconfig
lsusb

lsusb should list all the hubs plugged in to that pi .


if all that checks out try in the BFG folder


Code:
cd to your bfgminer

sudo apt-get remove libblkmaker-0.1-dev
sudo apt-get purge libblkmaker-0.1-dev
sudo apt-get install build-essential autoconf automake libtool pkg-config libcurl4-gnutls-dev libjansson-dev uthash-dev libncurses5-dev libudev-dev libusb-1.0-0-dev libevent-dev libgcrypt20-dev

sudo ./autogen.sh -rpath-link
sudo chmod +x ./configure  
sudo ./configure CFLAGS="-O2" --enable-avalon --enable-broad-udevrules
make
sudo make install
sudo ldconfig
then try the miner .


beyond that

check power to hub , does the pi really support it, Ive had a few hubs not work with RPI and BFG but do with other PI type PC'c even after i did a hub check .



thank you = i'm going to go give this a try Smiley

looks like theres a few new commands that i see here from what i've tried so far.


thank you
hashgoalPool
Full Member
***
Offline Offline

Activity: 170
Merit: 100



View Profile
October 24, 2016, 02:11:21 PM
 #39

i am having asic mining technology scrypt 256Mh . how can i install bfgminer on Raspberry Pi ?

toptek
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000


View Profile
October 24, 2016, 05:36:50 PM
 #40

What miner ? . yup  it's a MAT MINER  Smiley.  Mining ASICs Technologies follow below


for the latest BFG to work you have to flash each board with a flasher you can only get here https://litecointalk.org/index.php?topic=27370.0 you have to ask

jstefanop

 to send it hell probable want to sell it , then follow https://litecointalk.org/index.php?topic=27370.0 his post, it tells you how to flash it.

Then follow my post here https://bitcointalk.org/index.php?topic=1468120.0  it will tell you how to hook  up a AlcheMiner/MAT miner to use any PI type PC or PC you want  , they are the same miner with different names.


if the boards are all ready flashed then compile bfg like my post said, your set . why i said my post is   BFG doesn't have all the fixes pulled or  not  all the fixes jstefanop did are in the master bfg  yet once it is you can just install/compile BFG the normal way by  following this post but make sure to use this when you do compile it

Code:
chmod +x ./configure
./configure CFLAGS="-O2" --enable-scrypt --enable-alchemist
mainly this
Code:
--enable-alchemist
it is off in BFG by default and that works with Mat miners  remember they are  the same miner AlcheMiner or MAT aka Mining ASICs Technologies .


 BFG is free, the Flasher is not, unless jstefanop gives it a way freely .The flasher is a paid for updated firmware that lets you use the free updated BFG drivers ( jstefanop did also) with those miners that fixed all  most every issue those miners had.


thanks top

For security, your account has been locked. Email acctcomp15@theymos.e4ward.com
bizgot
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
June 05, 2017, 04:17:18 AM
 #41

i did not understand what do i do for step 5,6,7,8 end 9.would you be kind to explain. thank you in advance  Smiley
fuc123
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
August 13, 2017, 01:48:26 AM
 #42

any help for a2 terminator?
toptek
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000


View Profile
August 22, 2017, 03:03:57 AM
 #43

any help for a2 terminator?

https://bitcointalk.org/index.php?topic=672969.0

this link is for the latest image versions for a2 terminators by some one on the forums but it uses CGMiner with how to videos.

 BFGMINER has never supported any of the A's from Innosilicon as far as i know but if you want support you can ask Luke the Dev of BFGMINER he may say write the code your self but might do it for a fee you would have to ask him .

For security, your account has been locked. Email acctcomp15@theymos.e4ward.com
cglaffom
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
September 17, 2017, 03:26:27 AM
 #44

Dear

Can you miner Peercoin with BFG MIner  in a Virtual Machine ?

Best regards

CG

https://deeponion.org/apply.php?ref=https:
Pages: 1 2 3 [All]
  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!