Pages:
Author

Topic: Cairnsmore1 - Quad XC6SLX150 Board - page 81. (Read 286370 times)

legendary
Activity: 1379
Merit: 1003
nec sine labore
June 27, 2012, 01:20:25 AM
rjk,

here the image of the boards, on the left serial nr 62-008 and on the right, 62-104 with its military green hue Smiley



By the way, if someone needs it (and trusts my build) here it is cgminer 2.4.3 built as a 32 bit linux program without OpenCL/ADL and with icarus support only.

http://p2pool.soon.it/cgminer/cgminer-2.4.3

Download it, issue a
Code:
chmod 755 cgminer-2.4.3
to make it executable and it's ready to go.

Given that it is easy to build one, I'll remove it in a few days.

spiccioli
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
June 26, 2012, 08:21:06 PM
...
Are you using the same process still for the 190M_V3.bit bitstream? I can get to the step 9 and all i get is the good old "got 0000000 expecting 000187a2" error Sad
... and just in case anyone was wondering what exactly that error means:

An icarus is detected by sending it work and getting a reply (there is no other command you can send to it and no ACK other than a random 4 byte nonce reply)

So the code sends some work that has the expected nonce answer of 0x000187a2 (or 0xa2870100)
I searched the blockchain for a low value and the lowest I found in the small search I did was: Ozcoin block 171874
(which is certainly low enough)

For a normal Icarus this takes ~0.53ms ((0x000187a2 / 2^31) * ~11.3)
The code waits up to 100ms for the reply and then effectively returns 0

So the error means either of:
1) The work didn't get to the FPGA or the FPGA couldn't return the answer (due to some FPGA configuration settings/bitstream issue)
2) The FPGA took more than 100ms to find the nonce (EXTREMELY unlikely)

But in both cases, yes there is no point trying to mine on it:
1) It doesn't work
2) It will be mining at less than 2MH/s

Just an FYI in case anyone was wondering Smiley
sr. member
Activity: 327
Merit: 250
June 26, 2012, 07:30:05 PM
The twin test is more or less a standard Icarus build. I think the ID and maybe the DCM settings were changed but that was about it.

Ok, then it's based on the 190M_V4.bit. 190M_V3.bit and less is 100% different when i make a binary compare to the twin_test.bit.
But then that's the problem with twin_test.bit. It will stop working after some time. It is not droping it will complete stop working.

50 minutes so far on the 190M_V3.bit without invalids and pool stat is still rising the Mh/s. 386Mh/s/10 minutes so far.  Cheesy (fingers crossed!)

Eb when you did this did you use the twin_test.bit programing switches?

I followed what you did Ebereon I'm still unable to get hashing at over 100, I did have 1 ICA hashing for a few minutes but they always die after a little bit. I also tried the 190M_V3 bitstream but was unsuccessful on that as well.

I can program it now in Linux witch makes me happy, Thanks Zefir, and Spiccoli.
newbie
Activity: 49
Merit: 0
June 26, 2012, 06:26:26 PM
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
June 26, 2012, 06:23:32 PM
... and if you add a "-S noauto" then that ensures it never does auto detection
donator
Activity: 919
Merit: 1000
June 26, 2012, 05:16:12 PM
Short update (before I'm done for today): got three boards (serial# 126-128) programmed with the V3 bitstream (with eberon's howto) up and running. After around an hour the average hashrate reported by the pool is 1150 MHps, which is quite in line with 380 per board.

One important thing (lost track in the thread, might already been mentioned): do not run cgminer with automatic Icarus detection or with the script proposed by xiangfu to run all available FPGAs. Instead, do a dry run first to see which ttyUSB ports are assigned to the malfunction FPGAs (with Linux it depends on the order of how they are plugged into the hub) and then run cgminer with only the valid ttyUSB ports as parameters. Giving all ports to cgminer confuses some processing, i.e. the faulty ones get disabled but the scheduling is also messed up with the FPGAs idling most of the time.


Good night.
hero member
Activity: 910
Merit: 1000
Items flashing here available at btctrinkets.com
June 26, 2012, 05:09:51 PM
190M_V3.bit is running @ 401Mh/s  (1 hour average) on p2pool stats, so far so good.

I will post an update tomorrow.

Im about to get my boards later this week and it seems like your the who's reporting in with best numbers. Could you please specify what bitstream you are runnin running with what miner and what versions ?

Thank you in advance.
donator
Activity: 919
Merit: 1000
June 26, 2012, 04:46:52 PM
... currently not available at Amazon. Plus need to get it to Switzerland -> ~2 weeks delivery time Sad Best deal here would be to go to a local store and buy 8x7-port hubs for ~35$ each.

Sad thing is, I prepared the up/down cables already and hoped to bring up all boards to life tomorrow without wasting money for the USB hubs - but thats life...
sr. member
Activity: 378
Merit: 250
Why is it so damn hot in here?
hero member
Activity: 756
Merit: 501
June 26, 2012, 04:25:11 PM


I understand that, alas that puts me personally in an odd situation: to have the boards running now I need to buy a dozen USB hubs - and dump them only two weeks later when the up/down functionality is supported Sad

Thanks, zefir

If you are in the US amazon had 10 port hubs for $8 that work just fine for this application.
sr. member
Activity: 397
Merit: 500
June 26, 2012, 03:54:39 PM
190M_V3.bit is running @ 401Mh/s  (1 hour average) on p2pool stats, so far so good.

I will post an update tomorrow.
sr. member
Activity: 397
Merit: 500
June 26, 2012, 03:10:48 PM
I got an reply from John to my email that I sent to support.
Quote
It looks like a stability problem to me, frequency is not stable?...
Quote
Yes some of this is frequency stability or more like noise. We think we should be able to work around this with our own bitstream.

So that's the problem we have after flashing a bitstream and cgminer wont work or even only 1 fpga will work. I found that out when i was playing with different icarus bitstreams. Sometimes it worked the first attempt, sometimes i had to power off and reflash the board multible times until it worked again.

So if you don't get it working just unpower and flash again until it works. Yesterday I had to  do this for 3 hours until it worked again...

And yes, i use now the icarus bitstream 190M_V3.bit and it is stable over night (when you get the board working  Wink).  I let it run now for unlimit time, hopefully i get no powerlose... until enterpoint have a new controller firmware and bitstream. For me the twin_test.bit (same as icarus 190M_V4.bit) is only work for some hours and then stop completly.

With mpbm I had to change the jobinterval to 11.34 on my p2pool! Then the orange led will only flash once for <1 second and the fpga get new work (red flashing led means new work for the fpga). that should maximice the Mh/s.  Cheesy    ....(this is the same as for cgminer with the parameter --icarus-timing short, it will correct the jobinterval)
donator
Activity: 919
Merit: 1000
June 26, 2012, 02:27:26 PM
Thanks rjk and spicioli, helped me to find the problem with the xc3sprog host build.

Ok I am told we didn't do any patches for the xc3sprog so it is as the original.
Yet, you did Wink

U. Bonnes added support for the cm1 cable to the SVN repository two weeks ago and swapped two digits in the product-id entry: 0x8530 instead of 0x8350

In the cablelist.txt file in the VirtualBox image you fixed that typo, but did not update in the repository.

Since I have no write access to the xc3sprog SVN repo and assume Mr. Bonnes is an Enterpoint fellow, you maybe want to forward him the required patch to fix the issue:
Code:
Index: cablelist.txt
===================================================================
--- cablelist.txt (revision 679)
+++ cablelist.txt (working copy)
@@ -9,7 +9,7 @@
 ftdi          ftdi    1500000 0x0403:0x6010:                                      
 ft232h        ftdi    1500000 0x0403:0x6014:                                      
 ft4232h       ftdi    1500000 0x0403:0x6011:
-cm1           ftdi    1500000 0x0403:0x8530:
+cm1           ftdi    1500000 0x0403:0x8350:
 bbv2          ftdi    1500000 0x0403:0x6010::1:0x00:0x10:0x00:0x0                  
 bbv2_2        ftdi    1500000 0x0403:0x6010::2                                    
 dlp2232h      ftdi    1500000 0x0403:0x6010:DLP-2232H:1:0x00:0x10:0x00:0x0

To the Linux folks: forget the VirtualBox fuss and just compile the xc3sprog sources from SVN with the above patch and program your board natively.

Quote
Up/Down is not working yet. That will come after our first original bitstream. That will need another controller update.

Are the USB hubs you are using powered with a brick supply or bus powered? You might get this issue on un-powered hubs and it just one board is marginally more power hungary.

Ah, really? That might be the reason, since all tested hubs were passive. Isn't the FTDI powered by the main board power supply? If not, does this imply that powered USB hubs must be used if using more than 3 boards?

Quote
Do send this stuff to the emial support.bitcoin at enterpoint.co.uk. Response won't be terribly fast as we are balancing getting on with the new stuff with supporting the temporary things.
Will do. But will also post a copy in this thread, since evidently the community is of great help.

Quote
On a different point on CGminer we will probably put a second build  for Windows up on the website shortly. It's specifically for the twin build. Basically the one that is currently up there is for the 50MHz build and we should have made that a little clearer. The twin build version is more or less the same as Icarus. I think there are a couple of minor switch settings changed but that's all.
As long as there are no functional differences to Icarus (i.e. if you could use baud-rate of 115.2k), I'd suggest to leave it as is and just take the Icarus cgminer. Right now I can use it as is with the one DIP switch correctly set and it does not make sense for your SW team to follow the Icarus development all the time when the only difference is the baud-rate.

Quote
When we bring in our own original build bitstream I expect to have quite a lot of changes including a new step of CGminer and new revision of the Controller. The up/down function may, or not, make the first of these versions but if it doesn't it should not be far behind. When we have that it will take a lot of the historical problems of large numbers of USB trying to run on one machine and will start to look much more like our planned long term structure of network nodes. That's a key in to what is coming in Cairnsmore2 where we will extend that idea somewhat more.

I understand that, alas that puts me personally in an odd situation: to have the boards running now I need to buy a dozen USB hubs - and dump them only two weeks later when the up/down functionality is supported Sad


Anyhow, your boards are great - you folks know what you are doing and how to satisfy your customers.


Thanks, zefir
legendary
Activity: 1379
Merit: 1003
nec sine labore
June 26, 2012, 02:22:58 PM
yohan,

I've just attached a second board to my pc, this is board serial nr 62-104, it has the fast blinking red led on the controller FPGA.

After I've attached it I ran

Code:
# ./xc3sprog -c cm1 -j

on my ubuntu 12.04 pc and it found this second board, but not the first one (62-0008) which was happily hashing in a screen session.

Now, is it that only a single board can be connected and configured at a time (and I was lucky that it found the right one) or is there some other command to issue to be able to see both (or more than one) boards?

I then programmed the twin_test.bit into it and added it to a cgminer 2.4.3 that I've compiled today for this pc without OpenCL/ADL support and with only icarus support enabled.

It is working ok.

Code:
 cgminer version 2.4.3 - Started: [2012-06-26 19:47:44]
--------------------------------------------------------------------------------
 (5s):2212.2 (avg):1453.1 Mh/s | Q:2419  A:872  R:3  HW:0  E:36%  U:10.0/m
 TQ: 3  ST: 7  SS: 3  DW: 24  NB: 7  LW: 0  GF: 26  RF: 5
 Connected to http://pool.abcpool.co with LP as user xxxxxxx
 Block: 0000053e595c7936994e1cea5b0894f8...  Started: [21:12:58]
--------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
 ICA 0:                | 329.1/369.9Mh/s | A:242 R:2 HW:0 U:2.76/m
 ICA 1:                | 320.0/360.9Mh/s | A:199 R:0 HW:0 U:2.27/m
 ICA 2:                | 322.6/362.1Mh/s | A:214 R:1 HW:0 U:2.44/m
 ICA 3:                | 339.0/360.1Mh/s | A:217 R:0 HW:0 U:2.48/m
--------------------------------------------------------------------------------

Speed is wrong, but adding
Code:
--icarus-timing short
does not make any difference, it recalibrates itself a few times and then keeps hashing at double speed.

My pools tells me I'm mining at 817 MH/s right now Smiley

spiccioli.
sr. member
Activity: 462
Merit: 251
June 26, 2012, 01:41:34 PM
legendary
Activity: 1379
Merit: 1003
nec sine labore
June 26, 2012, 12:38:41 PM
Yohan,

got my first batch of Cairnsmores delivered and would like to ask you for clarification on:

1) Patches for xc3sprog
I can't access the boards from VirtualBox. Since I am using Ubuntu as host system anyhow and xc3sprog is open source, I built the tools for my host system. With all prerequisites met
Code:
xc3sprog -c cm1 -j
claims that it can not find devices using libftdi. Could you please check whether you had to patch the source code for the binaries you delivered with your VirtualBox image - and if so please publish the patches (since it is GPLv2 anyway)?

zefir,

you can scp xc3sprog from virtualbox to your ubuntu host and it works right away (maybe adding ia32-libs if you're on a 64 bit ubuntu host system).

You might need to be root to access the boards, see /dev/ttyUSB* access rights.

hope this helps.

spiccioli.
rjk
sr. member
Activity: 448
Merit: 250
1ngldh
June 26, 2012, 11:50:59 AM
I think the VirtualBox versions after 4.0 require an expansion pack to use USB passthrough. Versions prior to 4.0 had USB passthrough only available on the non-OSE (non-open source) editions.

Reference: https://www.virtualbox.org/wiki/Editions
donator
Activity: 919
Merit: 1000
June 26, 2012, 11:36:18 AM
Yohan,

got my first batch of Cairnsmores delivered and would like to ask you for clarification on:

1) Patches for xc3sprog
I can't access the boards from VirtualBox. Since I am using Ubuntu as host system anyhow and xc3sprog is open source, I built the tools for my host system. With all prerequisites met
Code:
xc3sprog -c cm1 -j
claims that it can not find devices using libftdi. Could you please check whether you had to patch the source code for the binaries you delivered with your VirtualBox image - and if so please publish the patches (since it is GPLv2 anyway)?

2) Up/Down cable support
I have a 2x5 IDC ribbon cable at hand and connected two boards over the up/down interface with one board attached via USB to the host. It does not seem to work as I expected, i.e. neither I see 8 ttyUSB ports nor I get a higher hashing rate with the second board attached via up/down cable. Could you please confirm whether the up/down functionality is currently supported at all?

3) FTDI disconnects
One of the four boards I am testing has obvious problems with the FTDI chip. It causes the PC to become non responsive or freezes it completely until I plug the USB cable to the related unit. Tried with several USB hubs and swapped the cables, but it is always the one unit that causes problems. This is the syslog when things go bad:
Code:
Jun 25 19:43:08 d620 kernel: [15947.382768] ftdi_sio 1-4.1:1.2: FTDI USB Serial Device converter detected
Jun 25 19:43:08 d620 kernel: [15947.382833] usb 1-4.1: Detected FT4232H
Jun 25 19:43:08 d620 kernel: [15947.382838] usb 1-4.1: Number of endpoints 2
Jun 25 19:43:08 d620 kernel: [15947.382843] usb 1-4.1: Endpoint 1 MaxPacketSize 512
Jun 25 19:43:08 d620 kernel: [15947.382849] usb 1-4.1: Endpoint 2 MaxPacketSize 512
Jun 25 19:43:08 d620 kernel: [15947.382854] usb 1-4.1: Setting MaxPacketSize 512
Jun 25 19:43:08 d620 kernel: [15947.383210] usb 1-4.1: FTDI USB Serial Device converter now attached to ttyUSB2
Jun 25 19:43:08 d620 kernel: [15947.384871] ftdi_sio 1-4.1:1.3: FTDI USB Serial Device converter detected
Jun 25 19:43:08 d620 kernel: [15947.384942] usb 1-4.1: Detected FT4232H
Jun 25 19:43:08 d620 kernel: [15947.384947] usb 1-4.1: Number of endpoints 2
Jun 25 19:43:08 d620 kernel: [15947.384952] usb 1-4.1: Endpoint 1 MaxPacketSize 512
Jun 25 19:43:08 d620 kernel: [15947.384958] usb 1-4.1: Endpoint 2 MaxPacketSize 512
Jun 25 19:43:08 d620 kernel: [15947.384963] usb 1-4.1: Setting MaxPacketSize 512
Jun 25 19:43:08 d620 kernel: [15947.385366] usb 1-4.1: FTDI USB Serial Device converter now attached to ttyUSB3
Jun 25 19:43:08 d620 kernel: [15947.460411] usb 1-4.2: new high speed USB device using ehci_hcd and address 101
Jun 25 19:43:08 d620 kernel: [15947.544437] usb 1-4.2: device descriptor read/64, error -71
Jun 25 19:43:08 d620 kernel: [15947.732438] usb 1-4.2: device descriptor read/64, error -71
Jun 25 19:43:09 d620 kernel: [15947.908443] usb 1-4.2: new high speed USB device using ehci_hcd and address 102
Jun 25 19:43:09 d620 kernel: [15947.992441] usb 1-4.2: device descriptor read/64, error -71
Jun 25 19:43:09 d620 kernel: [15948.180403] usb 1-4.2: device descriptor read/64, error -71
Jun 25 19:43:09 d620 kernel: [15948.356446] usb 1-4.2: new high speed USB device using ehci_hcd and address 103
Jun 25 19:43:10 d620 kernel: [15948.772066] usb 1-4.2: device not accepting address 103, error -71
Jun 25 19:43:10 d620 kernel: [15948.844451] usb 1-4.2: new high speed USB device using ehci_hcd and address 104
Jun 25 19:43:10 d620 kernel: [15949.260132] usb 1-4.2: device not accepting address 104, error -71
Jun 25 19:43:10 d620 kernel: [15949.260486] hub 1-4:1.0: unable to enumerate USB device on port 2
Are you aware of such problems and is there anything I can do SW wise to bypass it (aside of the udev rules I am already using)?


I considered sending this support request to the support email address you gave, but think that it might be interesting for other users and/or it could already be solved by someone.


Thanks.
newbie
Activity: 49
Merit: 0
June 26, 2012, 08:03:44 AM
50 minutes so far on the 190M_V3.bit without invalids and pool stat is still rising the Mh/s. 386Mh/s/10 minutes so far.  Cheesy (fingers crossed!)

did you just flash 190M_V3.bit to -P0 and -P3 as per twin_test.bit ?

if so, any special dip settings, using just the normal setup as if it was twin_test.bit, i can only get one pair to connect (COM23) and the other pair (COM22) gives the got 00000000 expected 000187a2 error?
legendary
Activity: 1379
Merit: 1003
nec sine labore
June 26, 2012, 07:06:55 AM
I can haz pic for comparison pls? Grin

rjk,

this evening when I'm back at home I'll shot a couple of photos.

spiccioli
Pages:
Jump to: