Post
Topic
Board Mining (Altcoins)
Re: Official FutureBit Moonlander 2 Driver and Support Thread
by
whiteogre
on 17/03/2019, 21:55:02 UTC
Got cash for someone willing to help out setting up 4 moonlander 2's and 12 gridseed on raspberry pi with eye boot 49 port hub.
I can get one moonlander in bfg 5.4.2 and 12 gridseed orbs in 5.5.0. But I want all devices in 5.5.0 if possible. When I start the
moonlanders in 5.4.2 all 4 run/hash, Then 3 shut down. Just stop hashing. Been reading for 4 days till 12pm. lol
Hair thinning.

Thanks in advance. Grin
https://github.com/jstefanop/bfgminer/tree/futurebit2_driver appears to have bfgminer 5.5.0 with moonlander 2 support based on NEWS file content. It just hasn't been released so there aren't any pre-compiled binaries available.

But last entry from Stefano for bfgminer moonlander is one year old, if it have not been compiled yet I don't think it would be Sad

Well, that's easy to test if it can be compiled:

Code:
$ sudo apt-get install git build-essential autoconf automake libtool pkg-config libcurl4-gnutls-dev libjansson-dev uthash-dev libncursesw5-dev libudev-dev libusb-1.0-0-dev
...
$ git clone https://github.com/jstefanop/bfgminer -b futurebit2_driver bfgminer_futurebit2
...
$ cd bfgminer_futurebit2
$ ./autogen.sh
(some complaining about version file)
$ ./configure --disable-other-drivers --disable-sha256d --enable-scrypt --enable-futurebit
...
------------------------------------------------------------------------
bfgminer 5.5.0 configuration options summary
------------------------------------------------------------------------

  CFLAGS...............: -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/usr/include/ncursesw -pthread -g -O2 -I/usr/include/libusb-1.0 -pthread -I/root/bfgminer_futurebit2/libbase58 -I/root/bfgminer_futurebit2/libblkmaker
  LDFLAGS..............: -pthread -lpthread -lcurl -ljansson -lncursesw -ltinfo -lm -ludev -lusb-1.0 -L/root/bfgminer_futurebit2/libbase58/.libs -Wl,-rpath,\$$ORIGIN/libbase58/.libs,-zorigin -lbase58 -L/root/bfgminer_futurebit2/libblkmaker/.libs -Wl,-rpath,\$$ORIGIN/libblkmaker/.libs,-zorigin -lblkmaker_jansson-0.1 -lblkmaker-0.1
  Installation.prefix..: /usr/local

  Enabled..Lowlevel....: usb vcom
  Disabled.Lowlevel....: ftdi hid mswin pci spi
  Enabled..Drivers.....: futurebit
  Disabled.Drivers.....: alchemist antminer avalon avalonmm bfsb bfx bifury bigpic bitforce bitfury bitmain cairnsmore cointerra compac cpu drillbit dualminer erupter gridseed hashbuster hashbusterusb hashfast icarus jingtian klondike knc kncasic littlefury metabank minergate minion modminer nanofury opencl proxy rockminer titan twinfury x6500 zeusminer ztex
  Enabled..Algorithms..: scrypt
  Disabled.Algorithms..: Keccak SHA256d
  Enabled..Options.....: ncursesw5
  Disabled.Options.....:
$ make -j4
...
$ ./bfgminer --version
bfgminer 5.2.0-243-gbbc9596a
  Lowlevel: usb vcom
  Drivers: futurebit
  Algorithms: scrypt
  Options: ncursesw5

So the final version in the bfgminer output doesn't match the version show after ./configure (which appears to be the correct one) due to some issue on how autogen.sh tries to guess the version script from a git cloned workspace. Otherwise, that result in a working bfgminer binary which is more recent than the latest released Moonlander 2 version and also contains the last changes made to that branch.