Pages:
Author

Topic: Spartan6's on P2Pool using a RaspberryPi? - page 2. (Read 6646 times)

member
Activity: 79
Merit: 10
lsusb shows the following:
ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

The following posts indicate others might be having issues with the Prolific usb to serial adapter:
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=6218
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=6629&p=90223

I'm using a Dlink DUB-H7 7-port USB hub to connect the RasPi to the Icarus boards. I'm NOT powering RasPi from hub, I'm using a 2A HP TouchPad micro usb adapter.

Still gathering data at this point...
donator
Activity: 448
Merit: 250
I was able to get the Icarus attached to a Dlink usb hub. It seems there is a problem with either the kernel or the raspberrypi. I have three icarus connected and they show up as /dev/ttyUSB0, 1, and 2. However, cgminer and RG7Miner clients cannot open more than 2 at a time. The last port opened gives an error that the port does not exist, even though it is clearly listed in /dev. It appears to be random of which of the 3 is not available. When I use my regular ubuntu pc everything works as expected (even using the dlink usb hub).

Anyone have similar info? solutions?

Thanks,
J

Are those two showing up always ttyUSB0 and ttyUSB1? I.e. Does the problem specifically occur when a ttyUSB higher than 0 or 1 is needed?
How is it when you open two FPGA devices manually in cgminer (instead of the -S auto option), one of them being attached to ttyUSB2?
What I'm trying to get at is, is this specific to the used ttyUSB port (like only ttyUSB0 and ttyUSB1 work), which would point to an issue with the USB kernel model then. 

Please keep us updated, that is very concerning indeed. 

member
Activity: 79
Merit: 10
I was able to get the Icarus attached to a Dlink usb hub. It seems there is a problem with either the kernel or the raspberrypi. I have three icarus connected and they show up as /dev/ttyUSB0, 1, and 2. However, cgminer and RG7Miner clients cannot open more than 2 at a time. The last port opened gives an error that the port does not exist, even though it is clearly listed in /dev. It appears to be random of which of the 3 is not available. When I use my regular ubuntu pc everything works as expected (even using the dlink usb hub).

Anyone have similar info? solutions?

Thanks,
J
donator
Activity: 448
Merit: 250
I used the Debian preinstall image from raspberrypi.org then

apt-get install git build-essential autoconf pkg-config libcurl4-openssl-dev libncurses5-dev

got the latest from github and built it. Binaries seem to be GTG!

Just make sure your micro usb charger is at least 1 amp or it will act squirrely. I'm using an HP 2 amp designed for their no defunct webos tablet (you can pick one up for about 5 bucks).

I tried this, run autogen.sh then tried CFLAGS="-O2 -Wall -march=native" ./configure --enable-ztex but I get:
Code:
checking whether the C compiler works... no
configure: error: in `/home/pi/git/cgminer':
configure: error: C compiler cannot create executables
See `config.log' for more details

I really don't think you need to use the CFLAGS="-O2 -Wall -march=native" directive.

Have you tried following my guide I linked in the above post? Do it in the suggested order, and I don't think you should get the C compiler issue, that doesn't sound like a ztex issue at all. Given that you downloaded the Debian squeeze for your Raspberry and if you follow my instructions like a cooking recipe (and don't forget the apt-get update at the beginning, or the aclocal before autogen.sh, ...) I don't really see the issue (unless cgminer changed since release ckolivas-cgminer-v2.4.1-9-gb69d735.zip).  

Probably add the 'sudo apt-get install' commands for libudev and libusb in the first section too, just to make sure.
hero member
Activity: 560
Merit: 500
Check out the post I have made here:
https://bitcointalksearch.org/topic/m.919685

It's BFL, but the cgminer install is very similar, just activate the proper FPGA type for ./configure



Cheers!
donator
Activity: 448
Merit: 250
Check out the post I have made here:
https://bitcointalksearch.org/topic/m.919685

It's BFL, but the cgminer install is very similar, just activate the proper FPGA type for ./configure

hero member
Activity: 560
Merit: 500
I used the Debian preinstall image from raspberrypi.org then

apt-get install git build-essential autoconf pkg-config libcurl4-openssl-dev libncurses5-dev

got the latest from github and built it. Binaries seem to be GTG!

Just make sure your micro usb charger is at least 1 amp or it will act squirrely. I'm using an HP 2 amp designed for their no defunct webos tablet (you can pick one up for about 5 bucks).

I tried this, run autogen.sh then tried CFLAGS="-O2 -Wall -march=native" ./configure --enable-ztex but I get:
Code:
checking whether the C compiler works... no
configure: error: in `/home/pi/git/cgminer':
configure: error: C compiler cannot create executables
See `config.log' for more details
member
Activity: 79
Merit: 10
I used the Debian preinstall image from raspberrypi.org then

apt-get install git build-essential autoconf pkg-config libcurl4-openssl-dev libncurses5-dev

got the latest from github and built it. Binaries seem to be GTG!

Just make sure your micro usb charger is at least 1 amp or it will act squirrely. I'm using an HP 2 amp designed for their no defunct webos tablet (you can pick one up for about 5 bucks).

legendary
Activity: 938
Merit: 1000
What's a GPU?
Got cgminer compiled and ready to go... just waiting on my icarus boards!

I'm the opposite, waiting for my pi!
member
Activity: 79
Merit: 10
Got cgminer compiled and ready to go... just waiting on my icarus boards!
hero member
Activity: 481
Merit: 502
I'm working on it at the moment.

I'll let you know when I receive my FPGAs.

Hopefully it's powerful enough to run P2Pool.
legendary
Activity: 1372
Merit: 1003
Anyone tried mining Spartan6's on P2Pool using a RaspberryPi yet?
Pages:
Jump to: