Bitcoin Forum
May 05, 2024, 06:33:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 139 »
  Print  
Author Topic: Linux mining distro for the Raspberry PI - MinePeon  (Read 684875 times)
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
January 22, 2013, 05:53:08 AM
Last edit: March 13, 2014, 07:11:37 AM by MineForeman.com
 #1

Update: MinePeon 0.2.4.6 just hit sourceforge and you can get it at;-

http://sourceforge.net/projects/minepeon/files/latest/download?source=files

Because of the Apache 2.2 to 2.4 changes you will need to download and re-image (backup/restore if you want)

A short list of changes are;-

MinePeon 0.2.4.6 release notes

Cgminer 4.0.1
Bfgminer 3.10.0
Technobit HEX cgminer updated to 3.12.3 now supporting;-
hexminera hexminerc hexminerb hexmineru hexminer8
Plugins;- mariogrip's live plugin system implementated
Updates;- mariogrip Live update implemented
Arch Linux updated
CSRFGuard implemented to avoid CSRF attacks
Apache 2.4 replaces Apache 2.2
PHP moved to fastCGI
Design halt, reboot and restart little prettier
Languages mariogrip Languages implemented
Norwegian mariogrip implemented
Console Menu implemented for common functions (more to come)

Bug fixes:
  • When saving pools, it says "failed to restart miner" but it did restart
    miner is not changing back to original pool
    Donate sleeps between disable and remove pool (makes more stable)
    miner is (sometimes) not changing to Donate pool.
    Switch pool not working
    Minepeon cannot access the api (miners)
    Not listing devices (bfgminer)
    ++

Enjoy!

Neil

=== Older Post ===

UPDATE: MinePeon 0.2.4 Release

Read more at MinePeon 0.2.4 Release

Joint the forums for support.

Neil

=== Original Post ===
Hi All,

For some time I have been working on building a lightweight Linux for the Raspberry PI in my spare time with the intention of making it freely available for all to use.  I am very experienced with Linux and have been running my own Arch Linux GPU miners for quite some time now so I have cleaned it up (a lot) ported it over to ARM for the Raspberry PI.

Anyway, it seems that ASICs might be available soon and I would like to have it ready for that but it is missing one exceedingly important ingredient, testing.  I have done as much testing as I possibly can but my resources are somewhat limited, while I have a tone of GPUs I don't own any FPGAs that I can test with (and I certainly aren't going to buy one now) so I thought I would come to the community and ask for a bit of help.

So, if you have a Raspberry PI and a FPGA (or even just a PI if you just want to CPU mine for testing purposes) and want to help it would be appreciated, it is still in what I would call early alpha but it should be usable.  I have had one CPU mining for over 300 hours now without interruption.

I am hosting the images over at SourceForge so you can grab it from here;-

https://sourceforge.net/projects/minepeon/files/release/

The Official site is a bit raw as of yet, I am no graphic artist, and very dyslexic (no joke, its why I got into computing in the first place) but it has a few instructions and tips that will hopefully help just about anyone get it going is avalable here;-

http://mineforeman.com/minepeon/

Thanks for any help you can offer, honestly even a report that you can understand the instructions and get a login prompt will help.  If you report issues here I will try to get back to you as soon as possible with fixes.

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
1714934018
Hero Member
*
Offline Offline

Posts: 1714934018

View Profile Personal Message (Offline)

Ignore
1714934018
Reply with quote  #2

1714934018
Report to moderator
1714934018
Hero Member
*
Offline Offline

Posts: 1714934018

View Profile Personal Message (Offline)

Ignore
1714934018
Reply with quote  #2

1714934018
Report to moderator
1714934018
Hero Member
*
Offline Offline

Posts: 1714934018

View Profile Personal Message (Offline)

Ignore
1714934018
Reply with quote  #2

1714934018
Report to moderator
Activity + Trust + Earned Merit == The Most Recognized Users on Bitcointalk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
BenTuras
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1001



View Profile
January 22, 2013, 08:21:23 AM
 #2

I have a Raspi B with a Ztex board and will test your Linux this week.
One question: Do you know about the USB problems of the Raspi and have you checked the many forum threads about them, for example http://www.raspberrypi.org/phpBB3/viewtopic.php?t=12097 or https://bitcointalk.org/index.php?topic=118669.0 ?

I am selling in stock OneStringMiner boards, based on the Bitfury chips. Have a look here: https://bitcointalk.org/index.php?topic=495536.0
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
January 22, 2013, 06:49:02 PM
 #3

Do you know about the USB problems of the Raspi

Painfully aware.  It is my largest concern and the reason I need testers, I have given the ports absolute hell in testing and I have not been able to reproduce the problem.

My Kernel and build is significantly different then what they are using but without plugging in an FPGA who knows.  I actually have my cross compile tool chain ready to start to compile for a few different development boards but my first choice is the RasPI

Thanks for helping with the testing though!

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
maxi75
Newbie
*
Offline Offline

Activity: 25
Merit: 0



View Profile
January 22, 2013, 10:27:27 PM
 #4

Testing with 4 BFL singles...

http://img20.imageshack.us/img20/4736/minepeon2.jpg
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
January 22, 2013, 10:57:57 PM
 #5

That looks encouraging.  Now we just have to wait till we see if the USB ports explode!

BTW: Can I use your screen shot?  I will blank out your username if you want (or give you full credit).

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
maxi75
Newbie
*
Offline Offline

Activity: 25
Merit: 0



View Profile
January 22, 2013, 11:13:04 PM
 #6

One hour! And rasp is still alive Grin

Nice statistics MineF!
http://www.webpagescreenshot.info/img/555279-1232013125807AM

This is setup, usb hub is not powered
http://img837.imageshack.us/img837/8246/rpi2.jpg

Ofc u can use everything I posted
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
January 22, 2013, 11:27:55 PM
 #7

I cannot take too much credit for the starts, they are part of cgminer api.

Nice set-up though Smiley .

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
mokahless
Sr. Member
****
Offline Offline

Activity: 471
Merit: 256



View Profile
January 23, 2013, 02:27:44 AM
Last edit: January 23, 2013, 03:46:45 AM by mokahless
 #8

mineforeman.com, you are amazing. I will test the image on my pi if I get the time. I have no FPGAs but have no other use for my pi at the moment.

Edit: The image just BARELY doesn't fit on my 4GB kingston SD card. I look forward to testing when you release the 2GB version you mention on your site.

MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
January 23, 2013, 05:09:49 AM
Last edit: January 23, 2013, 05:52:18 AM by MineForeman.com
 #9

The image just BARELY doesn't fit on my 4GB kingston SD card. I look forward to testing when you release the 2GB version you mention on your site.

If your using Linux and dd to write your image it will probably still work just pop it in.  If your using Win32DiskImager I am not sure, did it write up until the point that it ran out of space?  If it did it should still go.  (I don't use the windows version all that much)

The partition table will be foobar in both cases, it will just have a bung development partition and you may have problems mounting it but its not needed for mining.

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
BenTuras
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1001



View Profile
January 23, 2013, 08:22:54 PM
 #10

I got my Raspi with a Ztex 1.15x connected and I get "Found unknown ztex board" error. I am using a powered usb hub connected to the raspi. Logitech wireless usb dongle and ztex connected to the usb hub. This is the info I see with screen -r:

 cgminer version 2.10.4 - Started: [2013-01-23 20:11:44] CPU Algo: c
--------------------------------------------------------------------------------
 (5s):128.6K (avg):128.1Kh/s | Q:39  A:0  R:0  HW:0  E:0%  U:0.0/m
 ST: 3  SS: 0  DW: 23  NB: 2  LW: 0  GF: 0  RF: 0  WU: 0.0
 Connected to none diff 1 with LP as user xxx
 Block: 03db2bf99a709eb4...  Diff:2.97M  Started: [20:13:05]  Best share: 0
--------------------------------------------------------------------------------
 [P]ool management ettings [D]isplay options [Q]uit
 CPU 0:                | 128.5K/128.1Kh/s | A:0 R:0 HW:0 U:0.00/m
--------------------------------------------------------------------------------

 [2013-01-23 20:11:43] Started cgminer 2.10.4
 [2013-01-23 20:11:43] Loaded configuration file /root/cgminer-fpga.conf
 [2013-01-23 20:11:43] Found unknown ztex board
 [2013-01-23 20:11:43] Probing for an alive pool
 [2013-01-23 20:11:44] Long-polling activated for http://mergedmining.btcguild.c
om:8332/LP/
 [2013-01-23 20:11:49] API running in local read access mode on port 4028
 [2013-01-23 20:13:01] LONGPOLL from pool 0 requested work restart
 [2013-01-23 20:13:05] LONGPOLL from pool 0 detected new block
 [2013-01-23 20:13:07] LONGPOLL from pool 0 requested work restart
 [2013-01-23 20:13:08] LONGPOLL from pool 0 requested work restart
 [2013-01-23 20:13:09] LONGPOLL from pool 0 requested work restart
 [2013-01-23 20:13:11] LONGPOLL from pool 0 requested work restart
 [2013-01-23 20:16:20] LONGPOLL from pool 0 requested work restart

:-(

I am selling in stock OneStringMiner boards, based on the Bitfury chips. Have a look here: https://bitcointalk.org/index.php?topic=495536.0
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
January 23, 2013, 09:32:37 PM
 #11

Ztex 1.15x connected and I get "Found unknown ztex board" error

It might something to do with the libusb headers I am using (ZTEX & ModMiner boards both use libusb).  I am close to another release tonight with quite a few small improvements (Live updating with out having to download a full image being the biggest)  I will push it back and see if I can get that fixed.

The error is generated on line 170 of libztex.c so it is getting detected, just not identified correctly.  When is the late time you updated your firmware?

Thanks for the report, it really helps.

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
maxi75
Newbie
*
Offline Offline

Activity: 25
Merit: 0



View Profile
January 23, 2013, 09:53:48 PM
 #12

Pi & 4 BFL singles running stable for 24h!
New record Grin

Good job MineForeman!
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
January 23, 2013, 10:36:33 PM
 #13

Pi & 4 BFL singles running stable for 24h!

Excellent!!

Just going through the ZTEX & ModMiner stuff now, even if it was detected correctly it would not have worked;-

fpgautils.c:466:        _open_bitstream(path, "bitstreams");

I forgot to copy the firmware in place.  Shocked

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
mokahless
Sr. Member
****
Offline Offline

Activity: 471
Merit: 256



View Profile
January 24, 2013, 07:42:42 AM
 #14

The image just BARELY doesn't fit on my 4GB kingston SD card. I look forward to testing when you release the 2GB version you mention on your site.

If your using Linux and dd to write your image it will probably still work just pop it in.  If your using Win32DiskImager I am not sure, did it write up until the point that it ran out of space?  If it did it should still go.  (I don't use the windows version all that much)

The partition table will be foobar in both cases, it will just have a bung development partition and you may have problems mounting it but its not needed for mining.

Sorry, should have mentioned more details. I was using win32 diskimager. It does not attempt to write anything and just lists the number of sectors required and the number of sectors on the SD card in the error message stating that there is not enough room on the disk (and the sectors required are just barely larger than the sectors on the SDcard).
Maybe if I get around to it I will boot one of my machines into linux.

BenTuras
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1001



View Profile
January 24, 2013, 07:47:49 AM
 #15

I am close to another release tonight with quite a few small improvements (Live updating with out having to download a full image being the biggest)  I will push it back and see if I can get that fixed.
I will try the new image when it is available.
When is the late time you updated your firmware?
I updated the raspi before I swapped 'my' SDcard with 'yours'.
Thanks for the report, it really helps.
My pleasure  Smiley

I am selling in stock OneStringMiner boards, based on the Bitfury chips. Have a look here: https://bitcointalk.org/index.php?topic=495536.0
serp
Sr. Member
****
Offline Offline

Activity: 245
Merit: 250


@serp


View Profile WWW
January 24, 2013, 03:25:17 PM
 #16

This looks promising Smiley

Seriously, thanks for doing the work here.  If this stabilizes the usb issues it will be great for miners.

Morblias
Hero Member
*****
Offline Offline

Activity: 576
Merit: 500


View Profile
January 25, 2013, 03:05:42 AM
 #17

subscribing. I will test it out once I grab another SD card. Looks promising, appreciate it!

Tips / Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
Morblias
Hero Member
*****
Offline Offline

Activity: 576
Merit: 500


View Profile
January 26, 2013, 01:03:29 AM
 #18

Got it installed, just tested out CPU quick and it works great! I am a newb when it comes to linux, so I am confused on how to add software. First I tried sudo apt-get install and it said sudo: command not found, so I just tried apt-get install and it said apt-get: command not found. How do I go about installing stuff on Arch Linux?

Tips / Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
January 26, 2013, 01:08:26 AM
 #19

Got it installed, just tested out CPU quick and it works great! I am a newb when it comes to linux, so I am confused on how to add software. First I tried sudo apt-get install and it said sudo: command not found, so I just tried apt-get install and it said apt-get: command not found. How do I go about installing stuff on Arch Linux?
man pacman

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
January 26, 2013, 01:25:31 AM
 #20

Installing stuff?  Do;-

pacman -Syu

To update your repositories and install updates and then search for the package you want with;-

pacman -Ss <name of package you want>

Then install it with;-

pacman -S <name of package you want>

Can I ask what your installing?  If it is useful I had hoped that I had included it but if I have missed something I will include it next time (as long as it is not totally out of scope like X or an MP3 player).

In other news I am about a day or two away from another release that fixes a few things (hopefully ZTEX as well).

The next version will also includes a simple way to enter your pool details in the web interface (no more ssh or putty if you don't want to) and a simple update mechanism so you wont need to download the entire thing every time you do an update.

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 139 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!