Pages:
Author

Topic: Alchemist updated support added for RPI with a broke controler - page 2. (Read 2407 times)

legendary
Activity: 2030
Merit: 1076
BTCLife.global participant
Could you please also post here a link to correct USB-UART dongles model(s)?
legendary
Activity: 1274
Merit: 1000
right now this is what minera is doing on a cubieboard 1 PI with 5 Alchemist 256 miner blades on Ubuntu 14 with a 7 port usb 3 hub and a 2 k server PSU with six pin PCEI plugs with no heat from them yet been running about week off and on that way.

I can upgrade to Ubuntu 16 and have but minera has issue with PhP 7.0 sense 16 no longer supports php5 .....im a ware you can share php 5 with 16  but it's not the same.

Minera is Showing the right totals but most of the time it doesn't. hash it does  all ways and the temps you see is the cubieboard not the miner .



Just made exact same post in the minera thread !!!!...
legendary
Activity: 1274
Merit: 1000
Just discovered all you need setting wise is

Code:
-S ALC:all --set ALC:clock=320 --set ALC:mode=1



and fix it above !!!! .
legendary
Activity: 2061
Merit: 1388
Thanks for the plug toptek!

FYI Some CP210X dongles come with the RTS or DTR pins. I ended up writing support for both those pins in the driver, so you can buy either dongle and it will work if you connect pin 6 on the hash board to either of those. And yes my old guide is wrong on the pinouts, pin #5 is the GND pin not 4.
hero member
Activity: 572
Merit: 506
Well, TODAY i have the first board hashing!! NOW i'm very happy.  Grin

Now i found my problem: this setup do NOT WORK with the RASPBERRY PI B+. You need to use the Raspberry Pi 2 instead...  Shocked
And finally, the pins are:

1 is RX
2 is TX
5 is GND  <-- This is the correct.  NOT THE 4 pin
6 is Board Reset

Thank you very much for all your work; with my free-time i did not could install the rpi2 adapter propelly.
legendary
Activity: 1274
Merit: 1000
 I think it safe to say this works , after three hours no major issue other then normal mining issue's we all deal with :

 
Code:
bfgminer 5.2.0-139-g644c3ad - [2016-05-15 02:23:06] - [  0 days 03:07:08]
 [M]anage devices [P]ool management [S]ettings [D]isplay options  [H]elp [Q]uit
 Pool 0: us.clevermining.co  Diff:62m  +Strtm  LU:[05:30:07]  User:13Xb4RvqoeRum
 Block: ...bdc1d42f7b74cc6e  Diff:110 (791.5M)  Started: [05:29:59]  I: 5.75mBTC
 ST:3  F:0  NB:1169  AS:0  BW:[121/ 17 B/s]  E:0.11  BS:746
 1            | 34.45/81.04/31.04Mh/s | A:1266 R:8+0(.64%) HW:14/.97%
--------------------------------------------------------------------------------
 ALC 0:       | 47.24/80.91/31.08Mh/s | A:1270 R:8+0(.64%) HW:14/.97%
--------------------------------------------------------------------------------
 [2016-05-15 05:29:44] Network difficulty changed to 69 (498.9M)
 [2016-05-15 05:29:44] Stratum from pool 0 detected new block
 [2016-05-15 05:29:46] Accepted 000bb5f4 ALC 0  Diff 85m/62m
 [2016-05-15 05:29:47] Accepted 00063865 ALC 0  Diff 160m/62m
 [2016-05-15 05:29:49] Accepted 00001f78 ALC 0  Diff 8/62m
 [2016-05-15 05:29:51] Accepted 000eb98d ALC 0  Diff 67m/62m
 [2016-05-15 05:29:51] Accepted 000b7c96 ALC 0  Diff 87m/62m
 [2016-05-15 05:29:53] Network difficulty changed to 112 (807.9M)
 [2016-05-15 05:29:53] Stratum from pool 0 detected new block
 [2016-05-15 05:29:57] Accepted 0007f626 ALC 0  Diff 125m/62m
 [2016-05-15 05:29:59] Accepted 000a3c18 ALC 0  Diff 97m/62m
 [2016-05-15 05:29:59] Network difficulty changed to 110 (791.5M)
 [2016-05-15 05:29:59] Stratum from pool 0 detected new block
 [2016-05-15 05:30:05] Accepted 000b2815 ALC 0  Diff 89m/62m
 [2016-05-15 05:30:09] Accepted 0006af6c ALC 0  Diff 149m/62m
legendary
Activity: 1274
Merit: 1000
got one board rolling .

Code:
  bfgminer 5.2.0-139-g644c3ad - [2016-05-14 17:51:31] - [  0 days 00:18:45]
 [M]anage devices [P]ool management [S]ettings [D]isplay options  [H]elp [Q]uit
 Pool 0: us.clevermining.co  Diff:57m  +Strtm  LU:[18:10:06]  User:13Xb4RvqoeRum
 Block: ...0f9efcdd64a6f26f  Diff:169 ( 1.21G)  Started: [18:09:41]  I:  127mBTC
 ST:3  F:0  NB:165  AS:0  BW:[134/ 21 B/s]  E:0.10  BS:124
 1            | 46.56/92.10/32.59Mh/s | A:159 R:4+0(3.1%) HW:3/1.5%
--------------------------------------------------------------------------------
 ALC 0:       | 72.77/91.78/32.69Mh/s | A:160 R:4+0(3.0%) HW:3/1.5%
--------------------------------------------------------------------------------
 [2016-05-14 18:09:27] Network difficulty changed to 53 (386.5M)
 [2016-05-14 18:09:27] Stratum from pool 0 detected new block
 [2016-05-14 18:09:28] Accepted 000a193e ALC 0  Diff 99m/57m
 [2016-05-14 18:09:37] Network difficulty changed to 53 (386.3M)
 [2016-05-14 18:09:37] Stratum from pool 0 detected new block
 [2016-05-14 18:09:38] Network difficulty changed to 117 (838.0M)
 [2016-05-14 18:09:38] Stratum from pool 0 detected new block
 [2016-05-14 18:09:38] Accepted 000d7d06 ALC 0  Diff 74m/57m
 [2016-05-14 18:09:41] Network difficulty changed to 169 ( 1.21G)
 [2016-05-14 18:09:41] Stratum from pool 0 detected new block
 [2016-05-14 18:09:48] Accepted 000ee576 ALC 0  Diff 67m/57m
 [2016-05-14 18:09:52] Accepted 000b0017 ALC 0  Diff 90m/57m
 [2016-05-14 18:09:57] Accepted 0008191e ALC 0  Diff 123m/57m
 [2016-05-14 18:10:11] Accepted 000d978c ALC 0  Diff 73m/57m
 [2016-05-14 18:10:13] Accepted 000d7684 ALC 0  Diff 74m/57m
hero member
Activity: 687
Merit: 511
Awesome info - thanks for sharing with the community!
legendary
Activity: 1274
Merit: 1000
here's the new support added i paid for Smiley it started from this thread the other day

https://bitcointalksearch.org/topic/wtb-alcheminer-controller-board-100-working-1452931

I want nothing in return if you feel the need to donate, donate to jstefanop he deserves it more.  

I paid and got what i wanted + i want to share it . Right now im stuck till i get the right dongles sent . mine that were sent have no rts pin even thu the add said it did sigh i made sure with my new ones coming, I  was kind of ass hole to the sellers for the miss info,

jstefanop:

Ok I added very rough support for the boards to be run with the USB->UART dongles with my bfgminer driver on a Rpi. I have not tested this as I don't have a spare board or dongle to test but this *should* work. Steps to get it running below

-Clone this branch off my repo: https://github.com/jstefanop/bfgminer/tree/alcheminer_USB-Dongle_Support
-Build on pi using same bfgminer build instructions in my alchminer thread (let me know if there are compilation errors)
-Connect the pins from the dongle to the alcheminer boards...you need to connect the reset pin from the board to the RTS pin on the dongle (also remember to reverse the TX-RX pins)
-Use the same command line options to start bfgminer and specify the -S /dev/ serial port your dongle is assigned too, and add the following option to turn on the USB dongle mode  --set ALC:mode=1

Let me know if it works!
'
toptek:
I Added this from his post on the ltc forums with some tweaks I use or what i call them : https://litecointalk.org/index.php?topic=27370.0

Code:
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

sudo git clone --branch alcheminer_USB-Dongle_Support https://github.com/jstefanop/bfgminer.git



Code:
cd .
cd bfgminer
./autogen.sh

you may need more library's as well depending on if you use ubuntu 16 standard server for the RPI 2and 3 for
Code:
./autogen.sh
to work right if there is a issue try this

Code:
sudo apt-get -y install git-core 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 

Code:
sudo chmod +x ./configure  
./configure CFLAGS=-O3 --enable-scrypt --enable-alchemist --disable-other-drivers --enable-broad-udevrules

sudo make
sudo make install

Then plug all the cables etc into each board to the right dongle pins like this :UART connect on the hash boards is labeled 1-6 Pin 1 is RX, 2 TX, 5 GND, 6 Board Reset , on the dongle : reverse the TX-RX pins : so like this TX to RX and RX to TX on the dongle form the hash board , GND to GND , RTS to RTS then to your 8 to 10 port self powered hub and plug the hub in to one of the USB ports on your RPI, turn on the miner then type.

Code:
sudo ldconfig
lsusb

 That should list what USB port is being used .

 then run BFG with the right USB ports set up some thing like this:

Code:
cd .
cd bfgminer
./bfgminer --scrypt -o stratum+tcp://   -u  -p x -S ALC:all --set ALC:clock=320 --set ALC:mode=1

Valid clock ranges are between 200-400 with multiples of 16 (so  320, 336, 352 etc)




Pages:
Jump to: