Pages:
Author

Topic: Problems using RPi with cgminer (Read 3084 times)

hero member
Activity: 560
Merit: 500
August 25, 2012, 06:12:17 AM
#23
I'm running CGMiner 2.6.4 on RPi with 13 Ztex 1.15x. I've taped RPi's USB ports 5V+ line, so power from USB hubs doesn't leak into Pi. Only problem I'm having is one random board dying out after a while. Disconnecting this dead board will cause another random board to fail after a while.
sr. member
Activity: 240
Merit: 250
August 22, 2012, 10:37:35 AM
#22
Has anyone tried the Amazon Basics adapter?  It's much more powerful than the Adafruit one at 5v and 2.1A.  I wouldn't think it would have any problems with the Pi: http://www.amazon.com/gp/product/B005CG2ATQ/ref=oh_details_o00_s00_i01
hero member
Activity: 784
Merit: 500
August 22, 2012, 10:20:36 AM
#21
Its Not the processing power that disqualifies the pi....

The pi is a dev platform and kind of buggy (beta state)

Would love to get my to link to work but with my skills that seems impossible.
I'm stuck with ssh access, and no GUI or the website:(
donator
Activity: 919
Merit: 1000
August 22, 2012, 01:44:23 AM
#20
Even though Cgminer/BFGminer does not use a lot of cpu resources, it appears that the arm chip on the RPI is not enough to mine with more than one fpga device

[...]

I am not using a RPi, but from my experience processing power is a non-issue for cgminer on embedded devices.

I have 40 CM1 Quad boards attached to a TP-Link TL-MR3020, mining with cgminer as flawlessly as they do on a standard PC. That guy uses less than 1.5W (with WiFi disabled), energy efficiency wise you can't get much better than that. It is driven by a 400MHz MIPS µC with 32MB of RAM. Don't know the RPi specs in detail, but it should be more powerful than that, so don't expect processing power limitations.
sr. member
Activity: 327
Merit: 250
August 21, 2012, 08:51:17 PM
#19
I have both a powered hub and a power adapter rated at the correct voltage per the RPi suggestions...so not sure quite what to do. I just went ahead and got a used mini pc, which I can always use for other things if the Rpi ends up working in the future.

Use this one to be specific, its 5.25v and it wont lose that v when you put a load on it. Best one out there for a PI. Im now at at 6 days without a crash on my Pi with 4 miners running cgminer. Power Adapter really makes a difference.

http://adafruit.com/products/501
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
August 21, 2012, 08:37:11 PM
#18
yes
member
Activity: 84
Merit: 10
August 21, 2012, 06:46:23 PM
#17
yeah I use a netbook to host my fpga miners at it only adds 10 watts to the rig, not bad at all.


But you are supposed to use something a little more powerful then whats recommended if your going to be mining through usb

try 5.25 volts instead of 5 and increase the ma a bit

You are talking about the power adapter to the RPi itself right?
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
August 21, 2012, 03:43:15 PM
#16
yeah I use a netbook to host my fpga miners at it only adds 10 watts to the rig, not bad at all.


But you are supposed to use something a little more powerful then whats recommended if your going to be mining through usb

try 5.25 volts instead of 5 and increase the ma a bit
member
Activity: 84
Merit: 10
August 21, 2012, 03:02:13 PM
#15
I have both a powered hub and a power adapter rated at the correct voltage per the RPi suggestions...so not sure quite what to do. I just went ahead and got a used mini pc, which I can always use for other things if the Rpi ends up working in the future.
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
August 21, 2012, 12:52:52 PM
#14
Interesting. Well that puts me pretty well in a jam, because I need my laptop for school, and I cant have them on my desktop because of BSOD issues and the heat.

Guess I'll just have to limp along until support is better.

After talking to some other people about this, I think you will be alright with a powered USB hub, and a better power adapter.
hero member
Activity: 784
Merit: 500
August 21, 2012, 03:29:18 AM
#13
Im planning of buying a little Via/ intel/ AMD driven Thin Client for my mining operation..... They don't consume much and they are (used) really cheap Smiley
member
Activity: 84
Merit: 10
August 20, 2012, 07:53:02 PM
#12
Interesting. Well that puts me pretty well in a jam, because I need my laptop for school, and I cant have them on my desktop because of BSOD issues and the heat.

Guess I'll just have to limp along until support is better.
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
August 20, 2012, 04:31:34 PM
#11
Just a couple tips for you guys, I had 2 Icarus, and two CM1 boards running on my PI. One thing that is crucial is a good powered USB hub, the next is a good Power Adapter. The power adapter solves the random crashes with cgminer and losing usb ports.  I don’t know about the BFL's or modminer but my problem was mostly the Power Adapter.

You can get the best power adapter from Adafruit.com

I guess I should add I currently have 2 Icarus, and 1 CM! running at 1.3mhsh or 16.5 U over for 4 days with the new Power Adapter on my PI.

Thanks for this information!

This weekend I will be putting together a large amount of ModMiners to ship on monday so I will test the limits of the PI and let you know.
member
Activity: 85
Merit: 10
August 20, 2012, 03:25:25 PM
#10
I have been looking into this situation with the Pi. I do not have any units to test this with yet but thought this trick for the usb power feedback may work.

http://www.raspberrypi.org/phpBB3/viewtopic.php?p=100459#p100459

sr. member
Activity: 327
Merit: 250
August 20, 2012, 03:22:41 PM
#9
Just a couple tips for you guys, I had 2 Icarus, and two CM1 boards running on my PI. One thing that is crucial is a good powered USB hub, the next is a good Power Adapter. The power adapter solves the random crashes with cgminer and losing usb ports.  I don’t know about the BFL's or modminer but my problem was mostly the Power Adapter.

You can get the best power adapter from Adafruit.com

I guess I should add I currently have 2 Icarus, and 1 CM! running at 1.3mhsh or 16.5 U for over 4 days with the new Power Adapter on my PI.
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
August 20, 2012, 03:13:39 PM
#8
Even though Cgminer/BFGminer does not use a lot of cpu resources, it appears that the arm chip on the RPI is not enough to mine with more than one fpga device; At least not with the software we have now, I am able to get 1 single ModMiner Quad to run very very stable on a RPI but with more than 1 unit things get a little flaky.

As far as I know I have not heard of anyone getting more than one FPGA based mining unit to run on the RPI but I could be wrong. I am sure it would be much more efficient if someone wrote a specific mining program for the RPI instead of just taking what we currently have - that is traditionally run on Intel/AMD based cpu and compiling it for the RPI.

btw: if anyone wants a copy of bfgminer for the RPI - pre-compiled you can download it here:

http://btcfpga.com/files/linux_binaries/bfgminer-2.5.0-pi.tar.gz


hero member
Activity: 784
Merit: 500
August 20, 2012, 03:06:42 PM
#7
Tried it with Ztex boards. one single 1.15x is ok..... two will mine a at least a day and then the Rpi freezes. I tied to run 18 Boards (the pi doesn't like quads!) but that didn't work.

The Pi is a real bitch when it comes to USB connections...... Doesnt like any of my hubs, cables or just devices. I think that this has something to do with feedback power from USB.



legendary
Activity: 1027
Merit: 1005
August 20, 2012, 02:48:12 PM
#6
Perhaps my understanding is lacking, but why exactly?

Im also curious. I had planned on running my ModMiners from a single Pi.
member
Activity: 84
Merit: 10
August 20, 2012, 02:22:46 PM
#5
Perhaps my understanding is lacking, but why exactly?
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
August 20, 2012, 02:05:03 PM
#4
yeah dude theres no way it will run 9 singles

I would be surprised if you get 2 to work.

Pages:
Jump to: