Bitcoin Forum
October 19, 2017, 01:18:00 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 »  All
  Print  
Author Topic: Open Source Avalon Gen2 55nm Board  (Read 35179 times)
fasmax
Sr. Member
****
Offline Offline

Activity: 378


View Profile
December 23, 2013, 03:55:29 PM
 #101

Looks like you dont used the patched cgminer version.
You can also use BFGminer, which includes automatic detection of this boards.

Btw (not the problem here): Did you changed the chipcount to 16 in the code? The precompiled one is for the 10 chips board.

@form
I know that the driver for gen2 Avalon needs to subtract 0x180 from the returned nonce but are there any other changes?
 
1508419080
Hero Member
*
Offline Offline

Posts: 1508419080

View Profile Personal Message (Offline)

Ignore
1508419080
Reply with quote  #2

1508419080
Report to moderator
1508419080
Hero Member
*
Offline Offline

Posts: 1508419080

View Profile Personal Message (Offline)

Ignore
1508419080
Reply with quote  #2

1508419080
Report to moderator
The money raised from these ads will be used to pay for improved forum software and other useful stuff.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508419080
Hero Member
*
Offline Offline

Posts: 1508419080

View Profile Personal Message (Offline)

Ignore
1508419080
Reply with quote  #2

1508419080
Report to moderator
1508419080
Hero Member
*
Offline Offline

Posts: 1508419080

View Profile Personal Message (Offline)

Ignore
1508419080
Reply with quote  #2

1508419080
Report to moderator
form
Jr. Member
*
Offline Offline

Activity: 41


View Profile
December 23, 2013, 04:23:09 PM
 #102

I know that the driver for gen2 Avalon needs to subtract 0x180 from the returned nonce but are there any other changes?

There was a limitation (999 MHz) for the command-line parameter for the desired chip-frequency in some versions of cgminer - That has to be removed or changed to 5000 or so.
Thats the only thing that has to be changed, additionaly to the 0x180 substraction (which BFGminer detects automatically).
fasmax
Sr. Member
****
Offline Offline

Activity: 378


View Profile
December 23, 2013, 11:48:21 PM
 #103

@form
After looking at the Avalon data sheet I don't see how to get the clock frequency above 999mhz and satisfy all 3 equations.
Were you able to decipher the data sheet and set the core clock frequency at 1000mhz or above.
If so what values did you use for F,R & OD.
Thanks for any help you can provide to understand this.

 
form
Jr. Member
*
Offline Offline

Activity: 41


View Profile
December 24, 2013, 12:12:51 AM
 #104

After looking at the Avalon data sheet I don't see how to get the clock frequency above 999mhz and satisfy all 3 equations.
Were you able to decipher the data sheet and set the core clock frequency at 1000mhz or above.
If so what values did you use for F,R & OD.
Thanks for any help you can provide to understand this.

You can see what values are used, when you look at this function in the firmware:
https://github.com/formtapez/avalon/blob/master/firmware/Klondike.X/klondike.c#L307

The newest datasheet shows slightly other formulas, i didnt got it to work that way, still using the formulas from the older datasheet, works fine.
hongkongapple1
Jr. Member
*
Offline Offline

Activity: 49


View Profile WWW
December 24, 2013, 12:09:05 PM
 #105

Will going to try the one compiled by T later on, 
mean while this is the output I'm getting ( with only chips no. Have been adjusted )

And also possible to pop the soft in openWRT ?

[2013-12-24 15:24:39] KLN0:0 Reply work [=] dev=0 workid=26 nonce=0x137b5eb7
 [2013-12-24 15:24:39] KLN0:0 reply [=:001a295eef04504b006f02000400]
 [2013-12-24 15:24:39] KLN0:0 FOUND NONCE (1a:04ef5ca9)
 [2013-12-24 15:24:39] KLN0:0 unknown work (1a:04ef5ca9) - ignored
 [2013-12-24 15:24:39] KLN0:0 Reply work [=] dev=0 workid=26 nonce=0x04ef5ca9
 [2013-12-24 15:24:40] [thread 0: 0 hashes, 0.0 khash/sec]
 [2013-12-24 15:24:40] Received stratum notify from pool 0 with job_id=78f7
 [2013-12-24 15:24:40] Generated stratum header 0000000287acb8d5de78560f7cd9e5df8e8836b0d95c59c6a5d865b9000000000000000021c30a1 5cb044379a8bae531dbb8bf994626651698757e779ee59afc71bde9cd52b936b61903a30c000000 00
 [2013-12-24 15:24:40] Work job_id 78f7 nonce2 00000000
 [2013-12-24 15:24:40] Generated target 0000000033330000000000000000000000000000000000000000000000000000
 [2013-12-24 15:24:40] Work stale due to work update (27 != 28)
 [2013-12-24 15:24:40] Discarded work
 [2013-12-24 15:24:40] Work stale due to work update (27 != 28)
 [2013-12-24 15:24:40] Discarded work
 [2013-12-24 15:24:40] Discarded 2 stales that didn't match current hash

 *Link Removed*
form
Jr. Member
*
Offline Offline

Activity: 41


View Profile
December 24, 2013, 12:33:00 PM
 #106

try to adjust this value in klondike.h:

#define TICK_TOTAL 20800
hongkongapple1
Jr. Member
*
Offline Offline

Activity: 49


View Profile WWW
December 25, 2013, 12:07:17 AM
 #107

for all of us here  ~~  Merry Christmas  ~  Best wishes  Kiss

Thanks Form,  u're you superb !    After adjustment I'm now getting 11 - 14 G ~  with almost no error , < 1%.. Cheesy

I'm getting alot of " went idle before work was sent"

Result : ~

[2013-12-25 07:57:39] KLN0:0 went idle before work was sent
 [2013-12-25 07:57:41] KLN0:0 went idle before work was sent
 [2013-12-25 07:57:42] Accepted 08be9e7b KLN 0  Diff 29/12
 [2013-12-25 07:57:43] KLN0:0 went idle before work was sent
 [2013-12-25 07:57:45] KLN0:0 went idle before work was sent
 [2013-12-25 07:57:47] KLN0:0 went idle before work was sent
 [2013-12-25 07:57:49] KLN0:0 went idle before work was sent
 [2013-12-25 07:57:58] KLN0:0 went idle before work was sent
 [2013-12-25 07:57:58] Stratum from pool 0 requested work update
 [2013-12-25 07:57:59] Accepted 0c5327a8 KLN 0  Diff 20/12
 [2013-12-25 07:58:06] KLN0:0 went idle before work was sent
 [2013-12-25 07:58:08] KLN0:0 went idle before work was sent
 [2013-12-25 07:58:10] Accepted 0b6c42ce KLN 0  Diff 22/12
 [2013-12-25 07:58:10] Accepted 06e2cd2b KLN 0  Diff 37/12
 [2013-12-25 07:58:10] KLN0:0 went idle before work was sent
 [2013-12-25 07:58:12] KLN0:0 went idle before work was sent

 *Link Removed*
form
Jr. Member
*
Offline Offline

Activity: 41


View Profile
December 25, 2013, 12:44:32 AM
 #108

Thanks Form,  u're you superb !    After adjustment I'm now getting 11 - 14 G ~  with almost no error , < 1%.. Cheesy
I'm getting alot of " went idle before work was sent"

Yeah, i get these messages here, too - since months Smiley
Actually, changing TICK_TOTAL adjusts the timeout for one job. When the value is too big/small the result is many dupe/idle messages.
I think 20800 is near the "golden mean". It doesnt affect the hashrate as much as one would think.
I have updated the code (and the .hex) in the github-repo now, too.

Can you tell something about your frequency and voltage settings? Are you cooling the chips from topside, too?
hongkongapple1
Jr. Member
*
Offline Offline

Activity: 49


View Profile WWW
December 25, 2013, 03:07:30 AM
 #109

I'm trying the 1v ,  bottom with ( Heat Sink +  Fan ) ~  For The Front Fan Only~   I was thinking of putting Heatsink at front..  since the Chip rise its temp. so rapidly ~  I try around 3200 - 3600 !    

Do u think I should also try +/- Tick_Total too ?  Wink

J

 *Link Removed*
cdragon
Newbie
*
Offline Offline

Activity: 13


View Profile
December 25, 2013, 08:35:35 AM
 #110

Thanks Form,  u're you superb !    After adjustment I'm now getting 11 - 14 G ~  with almost no error , < 1%.. Cheesy
I'm getting alot of " went idle before work was sent"

Yeah, i get these messages here, too - since months Smiley
Actually, changing TICK_TOTAL adjusts the timeout for one job. When the value is too big/small the result is many dupe/idle messages.
I think 20800 is near the "golden mean". It doesnt affect the hashrate as much as one would think.
I have updated the code (and the .hex) in the github-repo now, too.

Can you tell something about your frequency and voltage settings? Are you cooling the chips from topside, too?
I'm from korea. I don't know english.
I have make 3 PCB.
I'm trying the 1 volt,  16chip is very cool.(bottom side heatsink with fan)
writing new hex file.

Result :
using cgminer cgminer-3.9.0-windows
7~16G show like that, but actually the 0G(btcguild).

using bfgminer-3.8.1-win32
I'm getting 4.65GH/s(same btcguild)

Thank for form.


--------------------------------------------------------------------------------
 bfgminer version 3.8.1 - Started: [2013-12-25 16:02:15] - [  0 days 01:55:49]
 [M]anage devices [P]ool management Settings [D]isplay options  [H]elp [Q]uit
 Connected to stratum-lb-usa48.btcguild.com diff 8 with stratum as user *****
 Block: ...180a0d30 #276856  Diff:1.18G ( 8.45Ph/s)  Started: [17:57:06]
 ST:2  F:0  NB:15  AS:1  BW:[ 57/ 37 B/s]  E:23.60  I:83.14uBTC/hr  BS:4.25k
 1      25.5C | 10.31/10.71/ 4.65Gh/s | A:948 R:1236+4( 57%) HW:2/.01%
--------------------------------------------------------------------------------
 KLN 0: 24.7C | 11.79/10.71/ 4.65Gh/s | A:948 R:1236+4( 57%) HW:2/.01%
--------------------------------------------------------------------------------
 [2013-12-25 17:57:16] Rejected 0fd229a5 KLN 0  Diff 16/8 (duplicate)
 [2013-12-25 17:57:24] Accepted 1c6650d9 KLN 0  Diff 9/8
 [2013-12-25 17:57:24] Rejected 1c6650d9 KLN 0  Diff 9/8 (duplicate)
 [2013-12-25 17:57:29] Accepted 0ed3b0d3 KLN 0  Diff 17/8
 [2013-12-25 17:57:29] Rejected 0ed3b0d3 KLN 0  Diff 17/8 (duplicate)
 [2013-12-25 17:57:32] Stratum from pool 0 requested work update
 [2013-12-25 17:57:32] Accepted 074c64dd KLN 0  Diff 35/8
 [2013-12-25 17:57:32] Rejected 074c64dd KLN 0  Diff 35/8 (duplicate)
 [2013-12-25 17:57:41] Accepted 0e913eed KLN 0  Diff 17/8
 [2013-12-25 17:57:41] Rejected 0e913eed KLN 0  Diff 17/8 (duplicate)
 [2013-12-25 17:57:42] Rejected 0e913eed KLN 0  Diff 17/8 (duplicate)
 [2013-12-25 17:57:45] Accepted 117e4481 KLN 0  Diff 14/8
 [2013-12-25 17:57:45] Rejected 117e4481 KLN 0  Diff 14/8 (duplicate)
 [2013-12-25 17:58:00] Accepted 1da98d79 KLN 0  Diff 8/8
 [2013-12-25 17:58:01] Rejected 1da98d79 KLN 0  Diff 8/8 (duplicate)
 [2013-12-25 17:58:02] Stratum from pool 0 requested work update
form
Jr. Member
*
Offline Offline

Activity: 41


View Profile
December 25, 2013, 10:36:07 AM
 #111

Did you used the .hex file from yesterday?
cdragon
Newbie
*
Offline Offline

Activity: 13


View Profile
December 25, 2013, 10:55:52 AM
 #112

Did you used the .hex file from yesterday?
yes!
I apply yesterday hex file.
old hex file is display ignore.
hongkongapple1
Jr. Member
*
Offline Offline

Activity: 49


View Profile WWW
December 25, 2013, 11:46:43 AM
 #113

Cdragon,

You use bfgminer-3.8.1-win32, with which driver on windows?

The standard Avalon 2 Prototype is clock bewteen ( 1 - 2 K MHz ), i try keep trying the figure

 *Link Removed*
cdragon
Newbie
*
Offline Offline

Activity: 13


View Profile
December 25, 2013, 12:06:08 PM
 #114

I used zadig(v2.0.1.162)driver with windows7.
This driver is mount Univeral Serail Bus devices(K16).
I don't know how to adjust clock.
form
Jr. Member
*
Offline Offline

Activity: 41


View Profile
December 25, 2013, 02:38:55 PM
 #115

I don't know how to adjust clock.

You should add this to the parameters of cg/bfgminer:
--klondike-options 1300:70

First number is frequency in MHz, second is desired temperature in °C.
cdragon
Newbie
*
Offline Offline

Activity: 13


View Profile
December 25, 2013, 04:22:21 PM
 #116

I was change the frequency between 500~700MHz.
Increase in performance, but the result is similar to the previous.
hongkongapple1
Jr. Member
*
Offline Offline

Activity: 49


View Profile WWW
December 25, 2013, 07:16:24 PM
 #117

Still Trying to Optimum the speed ~ usually over 3000 will have 100% no Rejected ~ 

Now I got top side with HeatSink too..  Result is very different performace, much better !

but still the arange is around 13-4 G

Is there a way we would know if all single chips is working ?  Roll Eyes


~~  Mine only works in CGminer,  I have the driver installed before, but still don't see it in BFGminer ~

 *Link Removed*
hongkongapple1
Jr. Member
*
Offline Offline

Activity: 49


View Profile WWW
December 25, 2013, 08:26:20 PM
 #118

if that is still true on 16 chips board ?

hash unit working clock frequency = XCLKIN frequency * F/(R*(2^OD)).

 *Link Removed*
cdragon
Newbie
*
Offline Offline

Activity: 13


View Profile
December 26, 2013, 01:30:37 AM
 #119

if that is still true on 16 chips board ?

I'm writing a blog every day about making the this board.
My blog name is say "indu dot com" Smiley


orignal artwork not modify.
appended outline only.
http://i.imgur.com/sn9kHpF.jpg

All parts are hands soldering by iron.
http://i.imgur.com/ujiitFe.jpg

cgminer(runing time 30min)
http://i.imgur.com/sMdxbqb.jpg
http://i.imgur.com/Wj3BgId.jpg

bfgminer(runing time 1hour)
http://i.imgur.com/St6pPnC.jpg
http://i.imgur.com/O8iabts.jpg
form
Jr. Member
*
Offline Offline

Activity: 41


View Profile
December 26, 2013, 09:45:55 AM
 #120

One important thing i forgot:
The value of MAX_WORK_COUNT in klondike.h has to match the value in the driver of cg/bfgminer.

In the github-repository i set it to "8" everywhere.
So when you are using other non-patched mining software (bfgminer for example), be sure to change it to "8", too.

@cdragon: Why are you hashing at 500 MHz?
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 »  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!