Bitcoin Forum
December 11, 2016, 10:14:39 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
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 »  All
  Print  
Author Topic: FPGA development board "Lancelot" - accept bitsteam developer's orders.  (Read 96062 times)
rgzen
Member
**
Offline Offline

Activity: 93



View Profile
August 30, 2012, 10:10:33 PM
 #301

My Lancelot board arrived on Monday. I have to say that it works fine.

@Dexter770221:
It is supposed that works on windows... I don´t have probe it but in fact ngzhang has write instructions to do it work on windows.
Because I had some problems recognizing the hardware and at the end the reason was the USB cable (A-type male to miniUSB male) I suggest you to change the cable and continue trying  Wink.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
August 30, 2012, 10:54:38 PM
 #302

Mine arrived today. Hurray!
After 5 days, not too bad. Piece of solid hardware. I'm trying now to force it to work but without any luck. cgminer, bfgminer don't recognize anything. I can see in device manager (Windows) additional COM3 port. I've set it up for 115200 baudrate, in .bat file added -S auto --icarus-options 115200:2:2. I'm more and more stupid Wink
It will of course (as you said) show up in the device manager unless there is a driver problem.
Since it was COM3, the extra option would be
-S COM3

The --icarus-options 115200:2:2 you specified is the default I set in the code anyway, so you don't need to do that one.

If there is more than one of them it is -S COMn -S COMn and for any of them if n > 9 it's -S \\.\COMn

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
Dexter770221
Legendary
*
Offline Offline

Activity: 1026


View Profile
August 31, 2012, 07:29:09 AM
 #303

Thanks for the tips. It's working now. Cgminer downloded from ckovilas git will not hash with Icarus (Lancelot). Only version from Kano github does that.

EDIT: bfgminer also works! It needed only change from -S auto to -S COM3.

Under development Modular UPGRADEABLE Miner (MUM). Looking for investors.
Changing one PCB with screwdriver and you have brand new miner in hand... Plug&Play, scalable from one module to thousands.
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
August 31, 2012, 02:49:16 PM
 #304

Thanks for the tips. It's working now. Cgminer downloded from ckovilas git will not hash with Icarus (Lancelot). Only version from Kano github does that.

EDIT: bfgminer also works! It needed only change from -S auto to -S COM3.
With cgminer that just depends on what you are running.

With the latest 2.7.5 that was just released:

When running windows:
If you only have FPGA and no GPUs, ckolivas has now added an extra FPGA only version in the windows binary download
(I made an ICA/BFL only windows version up until 2.7.4a but I don't need to do that now coz it's in ckolivas official version)
In ckolivas Windows 7zip file it now contains: cgminer.exe and cgminer-fpgaonly.exe
So I won't need to put a 2.7.5a.exe in my downloads

For others running linux:
It depends on your linux version.
ckolivas builds his on the equivalent of ubuntu 12.04 so it wont work if you have an older 11.04 or 11.10 linux
That's why I have an 'a' version in my git downloads that I compile on 11.04 (it also works on Fedora 16 and 17)
I haven't made 2.7.5a yet - I'll do that shortly.

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
Icoin
Hero Member
*****
Offline Offline

Activity: 585



View Profile WWW
September 02, 2012, 09:23:11 PM
 #305

The DVB fundet Qcool Element (Water cooling adapter for Lancelot) goes prototype phase.
http://www.glari.ch:3000/projects/qcool
https://cryptostocks.com/securities/14

loshia
Legendary
*
Offline Offline

Activity: 1372


View Profile
September 03, 2012, 06:34:21 PM
 #306

Guy's
While waiting for ngzang Lancelot bitstream i wana play with one of my boards  and try different bitstreams. I just wana be prepared for the moment when ngzang will release the official bitstream. However i have never done that before. I have a couple of questions and i would be thankful to anyone who can give me some info:

1. I have Lancelot dev kit available.
2. Are the instructions published for Icarus http://en.qi-hardware.com/wiki/Icarus#Flash_by_using_iMPACT,  http://dl.dropbox.com/u/28686048/Icarus/prgm-fpga.png, https://github.com/ngzhang/Icarus/blob/master/Downloads/bitsteam/guide%20for%20flash%20update.txt good to be used with Lancelot?
2. Have someone tried https://github.com/ngzhang/Icarus/tree/master/Downloads/bitsteam/200MHz_for_test or https://github.com/ngzhang/Icarus/tree/master/Downloads/bitsteam/V4 with lancelot?
3. What other "unofficial" bitsreams are available for Lancelot
4. How can i flash "temporally" bitstreams - i mean mcs files. As far i understood flashing mcs do not last power off/on? Probably this is the bet way for me to try.
5. I am using cgminer 2.7.5

Thank you very much in advance

Please help the Led Boy aka Bicknellski to make us a nice Christmas led tree and pay WASP membership fee here:
https://bitcointalk.org/index.php?topic=643999.msg7191563#msg7191563
And remember Bicknellski is not collecting money from community;D
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
September 03, 2012, 06:51:39 PM
 #307

N.B. if you put a faster bitstream than 380MH/s in Icarus or Lancelot, you MUST at least use --icarus-timing short
Otherwise cgminer will slow down the device.

The default settings are to delay for 11.2 seconds before aborting work, and if the bitstream is only 1.5% faster than the 380Mh/s bitstream then the delay of 11.2 seconds will mean it will be idle for a short amount of time at the end of the nonce range each time it doesn't find a share in a full nonce range

The --icarus-timing options allow you to tell cgminer to work out the correct timing (using short or long) or specify the correct timing once you know it
See the API-README for details.

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
loshia
Legendary
*
Offline Offline

Activity: 1372


View Profile
September 03, 2012, 07:13:11 PM
 #308

N.B. if you put a faster bitstream than 380MH/s in Icarus or Lancelot, you MUST at least use --icarus-timing short
Otherwise cgminer will slow down the device.

The default settings are to delay for 11.2 seconds before aborting work, and if the bitstream is only 1.5% faster than the 380Mh/s bitstream then the delay of 11.2 seconds will mean it will be idle for a short amount of time at the end of the nonce range each time it doesn't find a share in a full nonce range

The --icarus-timing options allow you to tell cgminer to work out the correct timing (using short or long) or specify the correct timing once you know it
See the API-README for details.
I know:)
I have read that already --icarus-timing. Th question was if someone have done it already. I just do not want to "kill" my board if i make something wrong while flashing it:)

Please help the Led Boy aka Bicknellski to make us a nice Christmas led tree and pay WASP membership fee here:
https://bitcointalk.org/index.php?topic=643999.msg7191563#msg7191563
And remember Bicknellski is not collecting money from community;D
loshia
Legendary
*
Offline Offline

Activity: 1372


View Profile
September 06, 2012, 12:47:43 PM
 #309

Guys,
I am tiring to map my lancelets to particular names in order to be able to know which cgminer ICAxx corresponds to which board. I am using xubuntu 12.04.
I have tried following (udev rules):
ATTR{idVendor}=="0403",ATTR{idProduct}=="6001",ATTR{serial}=="A101LSVA",SYMLINK="ttyLancelot2"

When I tested it the serial A101LSVA corresponded to /dev/ttyUSB2 with board attached and working

However /dev/ttyLancelot2 always was symlinked  to /dev/bus/usb/003/026 or something and cgminer refused to work. When I manually symlinked /dev/ttyLancelot2 to /dev/ttyUSB2 all was fine. How to make udev to symlink to /dev/ttyUSBxx instead of /dev/bus/usb/xxx/xxx
10X

Please help the Led Boy aka Bicknellski to make us a nice Christmas led tree and pay WASP membership fee here:
https://bitcointalk.org/index.php?topic=643999.msg7191563#msg7191563
And remember Bicknellski is not collecting money from community;D
spiccioli
Legendary
*
Offline Offline

Activity: 1376

nec sine labore


View Profile
September 06, 2012, 02:15:11 PM
 #310

Guys,
I am tiring to map my lancelets to particular names in order to be able to know which cgminer ICAxx corresponds to which board. I am using xubuntu 12.04.
I have tried following (udev rules):
ATTR{idVendor}=="0403",ATTR{idProduct}=="6001",ATTR{serial}=="A101LSVA",SYMLINK="ttyLancelot2"

When I tested it the serial A101LSVA corresponded to /dev/ttyUSB2 with board attached and working

However /dev/ttyLancelot2 always was symlinked  to /dev/bus/usb/003/026 or something and cgminer refused to work. When I manually symlinked /dev/ttyLancelot2 to /dev/ttyUSB2 all was fine. How to make udev to symlink to /dev/ttyUSBxx instead of /dev/bus/usb/xxx/xxx
10X


loscia,

I did it like this for my CM1 boards:

https://bitcointalk.org/index.php?topic=78239.msg1091298;topicseen#msg1091298

spiccioli.
loshia
Legendary
*
Offline Offline

Activity: 1372


View Profile
September 06, 2012, 02:30:38 PM
 #311

10X
That is what i was looking for:)
I will try it later and let you know the result!
Thank you
PS:

What do you think of HW err patch listed here?
https://bitcointalk.org/index.php?topic=78239.1760
Assuming i am having only ICA boards attached it can not brake anything right? And will count HW errors. Actually i applied it already and seems good.




Please help the Led Boy aka Bicknellski to make us a nice Christmas led tree and pay WASP membership fee here:
https://bitcointalk.org/index.php?topic=643999.msg7191563#msg7191563
And remember Bicknellski is not collecting money from community;D
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
September 06, 2012, 02:49:39 PM
 #312

10X
That is what i was looking for:)
I will try it later and let you know the result!
Thank you
PS:

What do you think of HW err patch listed here?
https://bitcointalk.org/index.php?topic=78239.1760
Assuming i am having only ICA boards attached it can not brake anything right? And will count HW errors. Actually i applied it already and seems good.

... https://bitcointalk.org/index.php?topic=28402.msg1158924#msg1158924

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
loshia
Legendary
*
Offline Offline

Activity: 1372


View Profile
September 06, 2012, 07:25:57 PM
 #313

spiccioli,
udev works charming:) you made my day thank you

kano,

I just cloned
https://github.com/kanoi/cgminer/

It turns out that if (hash2_32[7] != 0) means hw_error not like the patch i found:)
Share below target is not always hw_err right? Anyway thank you for your work. I am running your code right now and i will let you know how it goes. Bad thing is that i have HW errors counters>0 Cry I am joking..I guess i have to live with them like everybody else here.
Everyone was talking abut HW error rate - % - Now i can calculate and graph it:)

Best

Please help the Led Boy aka Bicknellski to make us a nice Christmas led tree and pay WASP membership fee here:
https://bitcointalk.org/index.php?topic=643999.msg7191563#msg7191563
And remember Bicknellski is not collecting money from community;D
spiccioli
Legendary
*
Offline Offline

Activity: 1376

nec sine labore


View Profile
September 06, 2012, 09:50:57 PM
 #314

spiccioli,
udev works charming:) you made my day thank you


loshia,

you're welcome.

spiccioli
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
September 07, 2012, 04:45:09 AM
 #315

spiccioli,
udev works charming:) you made my day thank you

kano,

I just cloned
https://github.com/kanoi/cgminer/

It turns out that if (hash2_32[7] != 0) means hw_error not like the patch i found:)
Share below target is not always hw_err right? Anyway thank you for your work. I am running your code right now and i will let you know how it goes. Bad thing is that i have HW errors counters>0 Cry I am joking..I guess i have to live with them like everybody else here.
Everyone was talking abut HW error rate - % - Now i can calculate and graph it:)

Best

Yeah the catch now is that there are 2 tests required.

The first test is the simple one - all nonces returned by mining devices are 1 diff - so they MUST be "hash2_32[7] == 0"
If not - then yep that's a hardware error.
If it is '0' then it is not a hardware error.

The 2nd test is the difficulty level.
Now that pools are giving out >1 diff work, that 2nd test comes in to play - if that second test fails, it is simply just a normal share but not high enough difficulty - so no error.
e.g. with a 10 diff pool, 90% of the shares found by any mining device will be the wrong difficulty and thus ignored (but not an error)

Meanwhile Smiley My 2 Icarus after a bit over 2 days:

Code:
cgminer version 2.7.5c - Started: [2012-09-05 13:15:08]
--------------------------------------------------------------------------------
 (5s):1395.4 (avg):1491.6 Mh/s | Q:3487  A:61173  R:406  HW:30  E:1754%  U:20.7/m
 TQ: 0  ST: 7  SS: 16  DW: 388  NB: 360  LW: 161062  GF: 18  RF: 9  WU: 20.9
 Connected to Nowhere with LP as user Miku
 Block: 0000015d263f4a611b3d1b72a98f5dfe...  Started: [14:22:16]
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  73.0C 3501RPM | 366.1/366.7Mh/s | A:14975 R: 97 HW: 0 U: 5.08/m I: 9
 GPU 1:  71.0C 2084RPM | 365.9/365.8Mh/s | A:14958 R: 92 HW: 0 U: 5.07/m I: 9
 ICA 0:                | 379.6/379.5Mh/s | A:15589 R:110 HW:18 U: 5.29/m
 ICA 1:                | 379.6/379.6Mh/s | A:15651 R:107 HW:12 U: 5.31/m
So I'm getting a bit under 0.1%

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
loshia
Legendary
*
Offline Offline

Activity: 1372


View Profile
September 07, 2012, 05:35:14 AM
 #316

Kano,
I have noticed a couple things:
1. You are running both GPU and FPGA on your cgminer. Is it a good idea to have them both on single miner? Are there some potential problems because of that? Currently i am having two cgminers running - one with GPU disabled and icaurs enabled and second cgminer with GPU enabled and icaurs disabled
2. Your cgminer version is 2.7.5c is it just a string bumped up right? what i am asking is if https://github.com/kanoi/cgminer/ contains your latest code?
3. Your HW errors are a lot less than mines:) However i am not done with hardware setup yet - i have to polish it, Voltage drop of the second crappy PSU is big about 1.3 volts. I suspect some of the usb cables that came along with the usb hubs i bought. They just look like a pice of garbige compared to ngzang USB cables that came along with lancelots.  In general  my HW errors for all Lancelots are < 0.3%, but i have some boards with almost 3%. It is just one night run of course.

10X

Please help the Led Boy aka Bicknellski to make us a nice Christmas led tree and pay WASP membership fee here:
https://bitcointalk.org/index.php?topic=643999.msg7191563#msg7191563
And remember Bicknellski is not collecting money from community;D
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
September 07, 2012, 06:07:16 AM
 #317

Cgminer is threaded - so it is actually better to run 1 cgminer than 2.

The threading basically means it's no real difference, however if your pool supports roll-n-time, it's better to have one cgminer talking to the pool than having 2 of them (see my E: 1754% value) - the rolling covers all 4 devices easily enough - whereas with 2 cgminers you will be getting twice as much work from the pool.

I do however, also run 2 cgminers - the 2nd one just has 1 BFL.
Since BFL's suck when it comes to dealing with LP's, I prefer to point that at a pool I know will get minimal Rejects

Yes 2.7.5c is my current git (I haven't added anything in the past 2 days) but I skipped 'b' Smiley
I always add letters on the end for my versions so I know where they came from (in this case it is 2.7.5 + my changes = my git master)
When I add more code before 2.7.6 comes out, it will become 2.7.5d or 2.7.5e or something like that
(I now only use 'a' for the Ubuntu 11.04 executable of each official release, that I make)

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
loshia
Legendary
*
Offline Offline

Activity: 1372


View Profile
September 07, 2012, 06:49:07 AM
 #318

Thanks kano!
Just a side question. I am using bitminter for the moment. as far as i know roll-n-time will come shortly but there is no support for cgminer yet. Pool works great. Can you tell me which pool do you use with roll-n-time enabled for cgminer please? I hope it is not top secret of course:)

Please help the Led Boy aka Bicknellski to make us a nice Christmas led tree and pay WASP membership fee here:
https://bitcointalk.org/index.php?topic=643999.msg7191563#msg7191563
And remember Bicknellski is not collecting money from community;D
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
September 07, 2012, 09:26:40 AM
 #319

Thanks kano!
Just a side question. I am using bitminter for the moment. as far as i know roll-n-time will come shortly but there is no support for cgminer yet. Pool works great. Can you tell me which pool do you use with roll-n-time enabled for cgminer please? I hope it is not top secret of course:)
At the moment, OzCoin and EMC

Oh  ... and in case you didn't realise ... the cgminer API command 'stats' will also tell you for each pool you have in your list that has done at least one getwork Smiley

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
flynn
Sr. Member
****
Offline Offline

Activity: 464



View Profile
September 07, 2012, 03:54:28 PM
 #320

Guy's
While waiting for ngzang Lancelot bitstream i wana play with one of my boards  and try different bitstreams. I just wana be prepared for the moment when ngzang will release the official bitstream. However i have never done that before. I have a couple of questions and i would be thankful to anyone who can give me some info:

1. I have Lancelot dev kit available.
2. Are the instructions published for Icarus http://en.qi-hardware.com/wiki/Icarus#Flash_by_using_iMPACT,  http://dl.dropbox.com/u/28686048/Icarus/prgm-fpga.png, https://github.com/ngzhang/Icarus/blob/master/Downloads/bitsteam/guide%20for%20flash%20update.txt good to be used with Lancelot?
2. Have someone tried https://github.com/ngzhang/Icarus/tree/master/Downloads/bitsteam/200MHz_for_test or https://github.com/ngzhang/Icarus/tree/master/Downloads/bitsteam/V4 with lancelot?
3. What other "unofficial" bitsreams are available for Lancelot
4. How can i flash "temporally" bitstreams - i mean mcs files. As far i understood flashing mcs do not last power off/on? Probably this is the bet way for me to try.
5. I am using cgminer 2.7.5

Thank you very much in advance

I am following the same path very slowly.

I have ngzhang's dev kit JTAG cable working - just follow the Xilinx instructions and under Linux you probably need this : http://rmdir.de/~michael/xilinx/

Connect the small board with a big white arrow on the xilinx JTAG cable, then connect the cable with the 7 colored wires to it.

Connect the loose wires to the Lancelot board in this order : from left: VCC/GND/TCK/TDO/TDI/TMS
that is, RED/BLACK/YELLOW/WHITE/PURPLE/GREEN   ignore the GREY wire (INIT)

Start IMPACT => you can see the two LX150;
I didn't dare downloading anything yet tho, I also wonder what is the exact bitstream currently running, my guess is https://github.com/ngzhang/Icarus/tree/master/Downloads/bitsteam/V3






intentionally left blank
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 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!