Pages:
Author

Topic: [Announcing] MineNinja - BeagleBone Black Bitcoin Mining Platform - page 3. (Read 16932 times)

hero member
Activity: 630
Merit: 500
6.10.13 Release - Update to 9/04 Angstrom image, cgiminer 3.5.0+. - mineninjaBBB106.img.xz

Image available from http://release.mineninja.com
hero member
Activity: 630
Merit: 500
Thanks for the update, we'll be releasing a new image for MineNinja "soon" that has the latest and greatest cgminer (and perhaps bfgminer).

As for flashing the BBB our wiki has pretty good instructions: https://github.com/slayersoft/MineNinja/wiki/Flashing-the-BeagleBone-eMMc
hero member
Activity: 539
Merit: 500
Update and bump for this cool platform.

I've been playing around with the BBB and the mineninja image and through dumb luck managed to get cgminer 3.4.3 to compile and run. 

I've been out of Linux for so long I've forgotten how to do easy things without google, such as piping output, ala "xz file | dd of=newfile".  It literally took me two hours to flash the BBB with the stock MineNinja img. 

I wrote the image to a 4GB sdcard.  There was enough extra space to create a third partition on the card for storing the xz file.  After you boot from the SD, extract/write the image to the emmc using an xz | dd command.

Neither libudev nor udev-dev installed, seems to be an issue with BBB or Angstrom.  After banging my head against the desk trying to figure out how to install libudev, I found a google group post for a BBB libudev problem.  The BBB group post recommended systemd-dev.  After I tried it, smooth sailing.

opkg install systemd-dev

libsub-1.0.16-rc10 - http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.16-rc10/

Compile CGminer 3.4.3.  Disable/modify init.d/cgminer.  Reboot and test.  Edit init.d and cp cgminer over to /usr/local.  Reboot, hash.

YMMV.  Have a backup.  I messed with udev and libudev for quite a while figuring this out.  I have not reflashed the BBB to recreate the solution.

Seemed pretty happy around 50-55 erupters.  Really dogged out over 60 and crashed at 66.  I ran 48 all night on the same hub which previously gave me problems earlier in this thread.
hero member
Activity: 539
Merit: 500
The 3.3.x versions of cgminer have even more problems on BBB/Rasp Pi, so I can't suggest that updating would do anything other than just make the problem worse.

Agreed.  3.3.1 brought all kinds of good error messages. 

I haven't ruled out a hub issue, since this works so good on Win7.  It just doesn't seem plausible given the devices check out from commandline.  I have another low power box that I can use to test Ubuntu with the hub.  Maybe we'll get some forward progress from kano on the Beagle. 

Very cool device and well done on MineNinja!
hero member
Activity: 630
Merit: 500
I'm guessing the problem lies somewhere in cgminer.  I'll gladly donate a BeagleBone to kano if he wants to try to sort it out.  The 3.3.x versions of cgminer have even more problems on BBB/Rasp Pi, so I can't suggest that updating would do anything other than just make the problem worse.
hero member
Activity: 539
Merit: 500
I have had 12 running at once, and currently am running 10 (that's all I have left).  Did you modify the startup command in /etc/init.d/cgminer?

The fact that you were able to get them to show up in /dev/ttyUSB is promising. 

Are you powering the BeagleBone using a 5v power brick plugged into the barrel plug?


Yes - using the 5v power brick for the BeagleBone.

Every one works in every slot, but only 7 at a time.

I did modify the /etc/init.d/cgminer.  I tried a few different combinations with the -S switch with the same results, then I just switched to this when I got sick of changing the numbers repeatedly:

screen -dmS miner /usr/local/bin/cgminer -c /etc/cgminer.conf

cgminer.conf
Code:
root@mineninja:~# cat /etc/cgminer_conf2.bak
{
"pools" : [
        {
        "name" : "stratum.bitcoin.cz",
                "url" : "http://stratum.bitcoin.cz:3333",
                "user" : "xxxxx",
                "pass" : "xxxxx",
                "pool-priority" : "0"
        },
        {
                "name" : "stratum.btcguild.com",
                "url" : "http://stratum.btcguild.com:3333",
                "user" : "xxxxx",
                "pass" : "xxxxx",
                "pool-priority" : "1"
        }
],
"scan-serial": [
    "/dev/ttyUSB0",
    "/dev/ttyUSB1",
    "/dev/ttyUSB2",
    "/dev/ttyUSB3",
    "/dev/ttyUSB4",
    "/dev/ttyUSB5",
    "/dev/ttyUSB6",
    "/dev/ttyUSB7",
    "/dev/ttyUSB8",
    "/dev/ttyUSB9"

],
"api-allow" : "W:127.0.0.1",
"api-listen" : true,
"api-port" : "4028",
"icarus-options" : "115200:1:1",
"icarus-timing" : "3.0=100",
"failover-only" : true

}

hero member
Activity: 630
Merit: 500
I have had 12 running at once, and currently am running 10 (that's all I have left).  Did you modify the startup command in /etc/init.d/cgminer?

The fact that you were able to get them to show up in /dev/ttyUSB is promising. 

Are you powering the BeagleBone using a 5v power brick plugged into the barrel plug?

 
hero member
Activity: 539
Merit: 500




Is anyone successfully running more than 7 USB Erupters on the MineNinja?

cgminer is "hashing" all of my erupters, but work is only being submitted on the first 7. 

1. ls -las /dev/ttyUSB* shows yields all of the ttyUSB from 0 to 32. with dialout access.

2. If I change the tty/USB number around in cgminer.conf, I have functioning erupters on every hub.  The hub I'm testing is a 49 port Cambrionix which is flawless on my Win7 box.

I can make 7 erupters work at a time, in every socket of every hub.


Frustrated, any help is greatly appreciated.
hero member
Activity: 539
Merit: 500
Any thoughts on using the 5v from Pin1 of the floppy connector of an ATX power supply to power these?

edit: or a molex or sata connector for that matter?
sr. member
Activity: 476
Merit: 262
EOSABC
Looking very nice, and useful Smiley
Congrats
hero member
Activity: 630
Merit: 500


Great job on the Beagle Bones. Is the case from the picture the one that I got?

Got it Friday night, it has been running the proxy for the blades ever since. I love that new 5W server! Thanks!

It's the twin sister to the one you got (with a slightly repositioned mircoSD slot), and it will be heading off to it's new owner in Sweden in a few days when we catch up with case production. Glad to hear its working well for you - thanks for your support!
sr. member
Activity: 420
Merit: 250
So far I like this product. Very nice offering and needed as well.
full member
Activity: 203
Merit: 100
Great job on the Beagle Bones. Is the case from the picture the one that I got?

Got it Friday night, it has been running the proxy for the blades ever since. I love that new 5W server! Thanks!
hero member
Activity: 630
Merit: 500
We've been busy perfecting the art of 3d printing for the cases, and we now have our new case design ready.  It fits the BeagleBone perfectly, and prints much quicker so we can get your order out even faster.

Limited time promo: Order a MineNinja and 5 USB Asics and get a DLINK USB Hub for FREE, a $39.99 value.  Put your pool info in the order comments and we'll preconfigure your MineNinja so you just need to plug it in and mine.

Coming soon.... Case for Raspberry Pi Smiley


hero member
Activity: 532
Merit: 500
hero member
Activity: 630
Merit: 500
As seen in your website, You accept donation. Does u use the donation to develop your project?
Donations are used exclusively to buy development hardware, debug device such as JTAG, plus pizza and beer for coding sessions.

I want to buy MineNinja Batch #1 – User Edition. But It is only available in USA.
I am in China. SF-express is a good international express delivery company. MineNinja can been sent to China by SF-express.

More information about SF-express are available in the website:

http://www.sf-express.com/us/en/delivery_step/enquiry/coverageArea.html


thanks for your reply.


Unfortunately the cost of shipping to China would be more than the cost of a MineNinja.  You would be better off finding a local source for the BeagleBone and making your own.
sr. member
Activity: 280
Merit: 250
I want to buy MineNinja Batch #1 – User Edition. But It is only available in USA.
I am in China. SF-express is a good international express delivery company. MineNinja can been sent to China by SF-express.

More information about SF-express are available in the website:

http://www.sf-express.com/us/en/delivery_step/enquiry/coverageArea.html


thanks for your reply.
hero member
Activity: 532
Merit: 500
Very cool, love the 'glow in the dark' material variant...
sr. member
Activity: 280
Merit: 250
As seen in your website, You accept donation. Does u use the donation to develop your project?
hero member
Activity: 630
Merit: 500
Does the stratum proxy come with this? I am guessing I should be able to install it, or are the ASICMINER blades being managed through your software?

Shouldn't be too hard to build the stratum proxy on the beaglebone, certainly something we can include in a future release.  I'm limited to testing with hardware that I have (Cairnsmore1 boards and a few USB erupters).  Hopefully we can get some users with other assorted hardware so we can collectively build out the ultimate "out of the box" miner host.
Pages:
Jump to: