Bitcoin Forum
December 13, 2017, 04:25:09 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   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 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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 »
  Print  
Author Topic: Hacking The KNC Firmware: Overclocking  (Read 143219 times)
tolip_wen
Sr. Member
****
Offline Offline

Activity: 387


View Profile
March 30, 2014, 05:09:02 PM
 #901

my jupiter every week stuck settings is not seen on the website or come by the KNC ssh or anything, and when this happens runs stock speed, the only way to recover is to turn it off and on again.

Anyone else with him? the temperature does not exceed 50 ° C at any die.

my minign room 24-26ºC

I have also put it in coolers and vrms is giving me 700Gh / s.

Greetings and sorry for the English, google translator

I have similar almost weekly issues.
My solution is restart before issue appears.

The temp reported by miner is NOT die temp.
It is a helpful guide but well cooled VRM could hide a hot die.

as usual
YMMV
Smiley

'twisted research and opinion' donations happily accepted @
13362fxFAdrhagmCvSmFy4WoHrNRPG2V57
My sub 1337 vanity address Wink
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513139109
Hero Member
*
Offline Offline

Posts: 1513139109

View Profile Personal Message (Offline)

Ignore
1513139109
Reply with quote  #2

1513139109
Report to moderator
crashoveride54902
Hero Member
*****
Offline Offline

Activity: 770


Dream become broken often


View Profile
March 30, 2014, 08:29:22 PM
 #902

which is the maximum OC for Jupiter October 4 VRMs?

i had my 4vrm oct mods going at 261 for a few minutes but the temps was alittle too high for comfort...and that is with heatsinks on them n tons of extra fans n cool room...was also get fault code on one...i run them now at 241...as for my 8vrm mods i can run them safely at 271...but could go higher if i had a bigger psu...that is my limiting factor

Dreams of cyprto solving everything is slowly slipping away...Replaced by scams/hacks Sad
tiozes
Legendary
*
Offline Offline

Activity: 855


View Profile
March 31, 2014, 03:15:22 PM
 #903

which is the maximum OC for Jupiter October 4 VRMs?

The upper limits vary.

All ASIC may be created equal but the package (heat spreader) and the heat sink vary radically.
I inspected my Artic Coolers and one disassembled itself in my hands.
The others were far ftom flat where it matters.
It is one reason I switched to waterblocks. (main reason is/was fun factor)

The top of the ASIC heatspreader(the part you see with heatsink removed) is not flat.
Thermal compound helps mitigate but not always enough.

I suspect some poor performing die are under dips in the heatspreader.
I will deck and lap my ASICs this week and report if anything improves.
(do not try this at home OR at work, risk is high for contamination)

Fastest die I have with Oct ASIC's is 900 but not all die on ASIC will do that speed.

Enjoy what ya have! Smiley

Your Mileage WILL Vary
Smiley

Might put your window capture advance? volts to see die?
tolip_wen
Sr. Member
****
Offline Offline

Activity: 387


View Profile
April 01, 2014, 01:03:57 AM
 #904

Might put your window capture advance? volts to see die?

I think I do not understand the question.
(it does not prevent a reply though)

If you are asking about volts per die,
this information can be found on your miner Advanced web interface
or
using bfgminer press 'm' and use up/down arrow keys will work also.

The only advantage of the .awk program I posted is HW%  per die (48 core).
It is not very 'accurate' but is useful to find which die has what %HW error for tuning.

It could also be a shortcut if you want to play with looking at core information.
If you plunge in and start changing things NO RISK, it changes nothing on the miner.

Does that answer your questions?

YMMV
Smiley

'twisted research and opinion' donations happily accepted @
13362fxFAdrhagmCvSmFy4WoHrNRPG2V57
My sub 1337 vanity address Wink
tiozes
Legendary
*
Offline Offline

Activity: 855


View Profile
April 01, 2014, 01:25:06 AM
 #905

Might put your window capture advance? volts to see die?

I think I do not understand the question.
(it does not prevent a reply though)

If you are asking about volts per die,
this information can be found on your miner Advanced web interface
or
using bfgminer press 'm' and use up/down arrow keys will work also.

The only advantage of the .awk program I posted is HW%  per die (48 core).
It is not very 'accurate' but is useful to find which die has what %HW error for tuning.

It could also be a shortcut if you want to play with looking at core information.
If you plunge in and start changing things NO RISK, it changes nothing on the miner.

Does that answer your questions?

YMMV
Smiley


few volts could be used as maximum per die having temperatures of 50 and 57 º C

sorry for my English
tolip_wen
Sr. Member
****
Offline Offline

Activity: 387


View Profile
April 01, 2014, 07:02:24 AM
 #906


few volts could be used as maximum per die having temperatures of 50 and 57 º C

sorry for my English

I still do not understand.

I notice whole paragraphs from you in Spanish in your sig link.

One time only, I invite you to ask or state in Spanish.
It might help if you ask or say in more than one way.
I do understand many of the logic differences between English and Spanish and will try to reply accordingly if possible.

I read and/or speak very little Spanish but google and I are willing to try Smiley

Via google translate:
Yo todavía no entiendo.

Me he dado cuenta de que párrafos enteros en español en su enlace sig.

Sólo una vez, te invito a que pregunte o estatal en español.
Podría ayudar si le preguntas o decir en más de una forma.
Entiendo muchas de las diferencias lógicas entre Inglés y Español, y trataré de responder en consecuencia si es possible.

He leído y / o hablo muy poco español, pero Google y yo estamos dispuestos a probar Smiley

Su experiencia puede ser diferente
SEPSD?

Smiley

'twisted research and opinion' donations happily accepted @
13362fxFAdrhagmCvSmFy4WoHrNRPG2V57
My sub 1337 vanity address Wink
tiozes
Legendary
*
Offline Offline

Activity: 855


View Profile
April 01, 2014, 05:14:41 PM
 #907


few volts could be used as maximum per die having temperatures of 50 and 57 º C

sorry for my English

I still do not understand.

I notice whole paragraphs from you in Spanish in your sig link.

One time only, I invite you to ask or state in Spanish.
It might help if you ask or say in more than one way.
I do understand many of the logic differences between English and Spanish and will try to reply accordingly if possible.

I read and/or speak very little Spanish but google and I are willing to try Smiley

Via google translate:
Yo todavía no entiendo.

Me he dado cuenta de que párrafos enteros en español en su enlace sig.

Sólo una vez, te invito a que pregunte o estatal en español.
Podría ayudar si le preguntas o decir en más de una forma.
Entiendo muchas de las diferencias lógicas entre Inglés y Español, y trataré de responder en consecuencia si es possible.

He leído y / o hablo muy poco español, pero Google y yo estamos dispuestos a probar Smiley

Su experiencia puede ser diferente
SEPSD?

Smiley


Hola, cuantos voltios le podria poner como maximo a cada die en la ventana advance siempre que la temperatura no sea muy alta?

Gracias por todo y perdona las molestias.

;-)
tolip_wen
Sr. Member
****
Offline Offline

Activity: 387


View Profile
April 01, 2014, 06:38:57 PM
 #908

Hola, cuantos voltios le podria poner como maximo a cada die en la ventana advance siempre que la temperatura no sea muy alta?

Gracias por todo y perdona las molestias.

;-)

Yes you can try different voltage.
Make small changes and watch how your miner operates.

You must choose how much to PUSH your miner.  (temp and power)
I do not PUSH mine as hard as some miners do.
I try to keep below 60C but it is because of HEAT in the house.
Others have ASIC running happy @ 70C.

The choice is yours.

Many, not all, of my voltages are changed.

I have one die that likes LOWER voltage but many die improve with more.
Each ASIC is different in my experience.

I adjust until HW% on each die is as low as possible.
3% HW error(per die(48core)) is about the same loss as lowering clock 25MHz.

If I change clock/volt and HW% on that die CHANGES over 3% I know it is better to slow down.

I made the .awk prog to help with this process by showing HW% for each die.
Code:
die   Mh/s      HW%      min   max     Volt   Amp   Watt      W/Gh
0_0  849.94    0.160  ( 0.04 / 0.25 )  0.80  52.06  41.70     1.022
0_1  849.83    0.159  ( 0.07 / 0.24 )  0.79  51.06  40.24     0.986
0_2  848.60    1.177  ( 0.91 / 1.39 )  0.79  56.06  44.40     1.090
0_3  783.64    0.135  ( 0.00 / 0.24 )  0.75  47.81  36.05     0.958
55.0 C
1_0  874.23    0.001  ( 0.00 / 0.01 )  0.80  53.38  42.86     1.021
1_1  872.57    0.004  ( 0.00 / 0.02 )  0.81  54.06  43.68     1.043
1_2  895.86    1.384  ( 0.97 / 1.66 )  0.82  57.69  47.48     1.104
1_3  897.31    0.558  ( 0.23 / 0.98 )  0.80  57.69  45.86     1.065
57.0 C
YMMV
Smiley

EDIT the .awk prog is not super accurate.
If things are BAD it will show quickly.
If things are OK it might take 15-60 minutes to look correct.
This is because accuracy improves as more core get share accepted when it is 0 accepted early in a run calculations are less accurate.

'twisted research and opinion' donations happily accepted @
13362fxFAdrhagmCvSmFy4WoHrNRPG2V57
My sub 1337 vanity address Wink
tiozes
Legendary
*
Offline Offline

Activity: 855


View Profile
April 01, 2014, 10:52:13 PM
 #909

Hola, cuantos voltios le podria poner como maximo a cada die en la ventana advance siempre que la temperatura no sea muy alta?

Gracias por todo y perdona las molestias.

;-)

Yes you can try different voltage.
Make small changes and watch how your miner operates.

You must choose how much to PUSH your miner.  (temp and power)
I do not PUSH mine as hard as some miners do.
I try to keep below 60C but it is because of HEAT in the house.
Others have ASIC running happy @ 70C.

The choice is yours.

Many, not all, of my voltages are changed.

I have one die that likes LOWER voltage but many die improve with more.
Each ASIC is different in my experience.

I adjust until HW% on each die is as low as possible.
3% HW error(per die(48core)) is about the same loss as lowering clock 25MHz.

If I change clock/volt and HW% on that die CHANGES over 3% I know it is better to slow down.

I made the .awk prog to help with this process by showing HW% for each die.
Code:
die   Mh/s      HW%      min   max     Volt   Amp   Watt      W/Gh
0_0  849.94    0.160  ( 0.04 / 0.25 )  0.80  52.06  41.70     1.022
0_1  849.83    0.159  ( 0.07 / 0.24 )  0.79  51.06  40.24     0.986
0_2  848.60    1.177  ( 0.91 / 1.39 )  0.79  56.06  44.40     1.090
0_3  783.64    0.135  ( 0.00 / 0.24 )  0.75  47.81  36.05     0.958
55.0 C
1_0  874.23    0.001  ( 0.00 / 0.01 )  0.80  53.38  42.86     1.021
1_1  872.57    0.004  ( 0.00 / 0.02 )  0.81  54.06  43.68     1.043
1_2  895.86    1.384  ( 0.97 / 1.66 )  0.82  57.69  47.48     1.104
1_3  897.31    0.558  ( 0.23 / 0.98 )  0.80  57.69  45.86     1.065
57.0 C
YMMV
Smiley

EDIT the .awk prog is not super accurate.
If things are BAD it will show quickly.
If things are OK it might take 15-60 minutes to look correct.
This is because accuracy improves as more core get share accepted when it is 0 accepted early in a run calculations are less accurate.

ok, thank you very much, will try to push it over the 710gh/sy pondre BFGminer him as no OC with BFGminer jejje.

regards
Sonic_AFB
Newbie
*
Offline Offline

Activity: 11


View Profile
April 03, 2014, 04:30:23 PM
 #910

to overclocking knc saturn is the same way to overclock knc jupiter?
tolip_wen
Sr. Member
****
Offline Offline

Activity: 387


View Profile
April 03, 2014, 04:57:51 PM
 #911

to overclocking knc saturn is the same way to overclock knc jupiter?

Yes, for 'all die the same speed' exactly the same.
(change one line in OLD cgminer.sh)

For 'each die optimum speed' requires only 1/2 the editing and testing on Saturn compared to Hoopiter.
(add many lines to copy of OLD cgminer.sh)

OLD = pre 1.0 firmware

Same process less die to tune if you choose to go that route.

YMMV
Smiley

EDIT
I forgot to mention the newest improvement to the process.

https://bitcointalk.org/index.php?topic=313978.msg5678594#msg5678594

It is easier to maintain a short file of clocks than a long file of program/clock.

Thx again bondus!

'twisted research and opinion' donations happily accepted @
13362fxFAdrhagmCvSmFy4WoHrNRPG2V57
My sub 1337 vanity address Wink
Sonic_AFB
Newbie
*
Offline Offline

Activity: 11


View Profile
April 04, 2014, 12:34:28 AM
 #912

And using bfgminer how i can oc? With cgminer no problem but using bfgminer i don't know how oc the saturn

A lot of thanks! Have a nice day! Smiley

EDIT: we are trying this https://bitcointalk.org/index.php?topic=313978.msg5678594#msg5678594 but we can't do it work, we have 1.00 firmware, is only for old version?
elasticband
Legendary
*
Offline Offline

Activity: 1036


Nighty Night Don't Let The Trolls Bite Nom Nom Nom


View Profile
April 06, 2014, 07:00:19 AM
 #913

Bi confused reading the bellow, if i wanted to try and push higher than 291 what would i input? 2A1?


My November Jupiter is set at 291, as per the following line in cgminer.sh:

Code:
cmd=$(printf "0x86,0x%02X,0x02,0x91" $c)

Is there a list or chart of values somewhere (ie 0x02,0x91 = 291)? I have good temps (50-60C). How can I push it a bit higher? Thanks.

My list is below
291 would be 1050Mhz

2A comes after 29


Code:
SPEED     setting
700.0 1B1      372
712.5      382
725.0 1C1      392
737.5      3A2
750.0 1D1      3B2
762.5      3C2
775.0 1E1      3D2
787.5      3E2
800.0 1F1      3F2
812.5              402
825.0 201      412
837.5      422
850.0 211      432
862.5      442
875.0 221      452
887.5      462
900.0 231      472
912.5      482
925.0 241      492
937.5      4A2
950.0 251      4B2
962.5      4C2
975.0 261      4D2
987.5                4E2
1000 271      4F2

the formula is,
 take the first 2 digits,
 convert to decimal (for decimal result),
 multiply by 25Mhz,
 add 25Mhz


EX:
29 hex is 41 decimal

25x41=1025
1025+25 = 1050Mhz clock

YMMV
Smiley
proclivity
Member
**
Offline Offline

Activity: 67


View Profile
April 06, 2014, 09:45:04 PM
 #914

Bi confused reading the bellow, if i wanted to try and push higher than 291 what would i input? 2A1?


Yep.. 2a1, 2b1, and so on.. Careful as you approach 1100mhz, I saw a post that it locked up their miner and they had to reflash.

Edit: I'm at 1150 and rock solid so YMMV Smiley you really want to optimize your power consumption before pushing this far!

For tips only - 12QT6zPJM5kQ5piZfn7tyFfcJrbgvSnMLn
tolip_wen
Sr. Member
****
Offline Offline

Activity: 387


View Profile
April 07, 2014, 03:12:11 AM
 #915

And using bfgminer how i can oc? With cgminer no problem but using bfgminer i don't know how oc the saturn

A lot of thanks! Have a nice day! Smiley

EDIT: we are trying this https://bitcointalk.org/index.php?topic=313978.msg5678594#msg5678594 but we can't do it work, we have 1.00 firmware, is only for old version?

I use the same shell script I used with 99.1 test FW.

It is often a modified version of the default /etc/init.d/cgminer.sh

To use a COPY of that file with bfgminer just replace every instance of cgminer with bfgminer instead.
In the top of the file it also refers to
DAEMON= (the full path to the bfgminer executable)
If you type 'which bfgminer' it will tell you what to put in there.
The answer is '/usr/bin/bfgminer' , but it is helpful to know how to find things.
EXCEPT for the cgminer.conf part at the end.
both bfgminer and cgminer can use same .conf file so it can stay the same.

Hope this helps.

YMMV
Smiley

'twisted research and opinion' donations happily accepted @
13362fxFAdrhagmCvSmFy4WoHrNRPG2V57
My sub 1337 vanity address Wink
tiozes
Legendary
*
Offline Offline

Activity: 855


View Profile
April 07, 2014, 05:25:48 PM
 #916

And using bfgminer how i can oc? With cgminer no problem but using bfgminer i don't know how oc the saturn

A lot of thanks! Have a nice day! Smiley

EDIT: we are trying this https://bitcointalk.org/index.php?topic=313978.msg5678594#msg5678594 but we can't do it work, we have 1.00 firmware, is only for old version?

I use the same shell script I used with 99.1 test FW.

It is often a modified version of the default /etc/init.d/cgminer.sh

To use a COPY of that file with bfgminer just replace every instance of cgminer with bfgminer instead.
In the top of the file it also refers to
DAEMON= (the full path to the bfgminer executable)
If you type 'which bfgminer' it will tell you what to put in there.
The answer is '/usr/bin/bfgminer' , but it is helpful to know how to find things.
EXCEPT for the cgminer.conf part at the end.
both bfgminer and cgminer can use same .conf file so it can stay the same.

Hope this helps.

YMMV
Smiley


BFGminer someone could put your file to OC, CGminer modifying the file fails.

you can add a screen capture of your advance?

Greetings and thanks
tolip_wen
Sr. Member
****
Offline Offline

Activity: 387


View Profile
April 07, 2014, 07:51:08 PM
 #917

And using bfgminer how i can oc? With cgminer no problem but using bfgminer i don't know how oc the saturn

A lot of thanks! Have a nice day! Smiley

EDIT: we are trying this https://bitcointalk.org/index.php?topic=313978.msg5678594#msg5678594 but we can't do it work, we have 1.00 firmware, is only for old version?

I use the same shell script I used with 99.1 test FW.

It is often a modified version of the default /etc/init.d/cgminer.sh

To use a COPY of that file with bfgminer just replace every instance of cgminer with bfgminer instead.
In the top of the file it also refers to
DAEMON= (the full path to the bfgminer executable)
If you type 'which bfgminer' it will tell you what to put in there.
The answer is '/usr/bin/bfgminer' , but it is helpful to know how to find things.
EXCEPT for the cgminer.conf part at the end.
both bfgminer and cgminer can use same .conf file so it can stay the same.

Hope this helps.

YMMV
Smiley


BFGminer someone could put your file to OC, CGminer modifying the file fails.

you can add a screen capture of your advance?

Greetings and thanks

The bondus method works well!
I do not have my copy of that method handy though.

I do not still use this as I can change the clocks on the fly under program control.
(for those interested, use a subset of commands from the shell script)

Below is a working shell script I can use to start one of my Saturn OC'd

Please note!
At MINIMUM you will need to change the DAEMON line as described above
(DAEMON=/usr/bin/bfgminer)
I use bfgminer 3.10.0 which I compiled from source.
(read my posts in this thread if interested)
The customizations depend on KNOWING what slot each ASIC is plugged in.
Subtract 1 from what the Advanced page tells you.
IE: ASIC 1 on the Advanced page is
if [ $p -eq 0 ]
in the code.

Code:
#!/bin/sh

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=./bfgminer
NAME=bfgminer
DESC="BFGminer daemon"

set -e

test -x "$DAEMON" || exit 0

do_start() {
# Stop SPI poller
spi_ena=0
i2cset -y 2 0x71 2 $spi_ena

good_ports=""
bad_ports=""

# CLear faults in megadlynx's
for b in 3 4 5 6 7 8 ; do
for d in 0 1 2 3 4 5 6 7 ; do
i2cset -y $b 0x1$d 3 >/dev/null 2>&1 || true
done
done
for p in 0 1 2 3 4 5 ; do
i2cset -y 2 0x71 1 $((p+1))
good_flag=0
ar="$(spi-test -s 50000 -OHC -D /dev/spidev1.0 0x80,3,0,0,0,0,0,0 | tail -c 13)"
                if [ "x$ar" = "x00 30 A0 01" ] ; then
good_flag=1
fi
ar="$(spi-test -s 50000 -OHC -D /dev/spidev1.0 0x80,2,0,0,0,0,0,0 | tail -c 13)"
                if [ "x$ar" = "x00 30 A0 01" ] ; then
good_flag=1
fi
ar="$(spi-test -s 50000 -OHC -D /dev/spidev1.0 0x80,1,0,0,0,0,0,0 | tail -c 13)"
                if [ "x$ar" = "x00 30 A0 01" ] ; then
good_flag=1
fi
ar="$(spi-test -s 50000 -OHC -D /dev/spidev1.0 0x80,0,0,0,0,0,0,0 | tail -c 13)"
                if [ "x$ar" = "x00 30 A0 01" ] ; then
good_flag=1
fi

if [ "$good_flag" = "1" ] ; then
good_ports=$good_ports" $p"
else
bad_ports=$bad_ports" $p"
fi
done
if [ -n "$good_ports" ] ; then
for p in $good_ports ; do
# Re-enable PLL
i2cset -y 2 0x71 1 $((p+1))
for c in 0 1 2 3 ; do
cmd=$(printf "0x84,0x%02X,0,0" $c)
spi-test -s 50000 -OHC -D /dev/spidev1.0 $cmd >/dev/null
##############################################################################
if [ $p -eq 0 ]
then
if [ $c -eq 0 ]
then
cmd=$(printf "0x86,0x%02X,0x01,0xF1" $c)
fi
if [ $c -eq 1 ]                                    
then                                              
cmd=$(printf "0x86,0x%02X,0x01,0xF1" $c)  
fi                                                
if [ $c -eq 2 ]                                    
then                                              
cmd=$(printf "0x86,0x%02X,0x02,0x21" $c)  
fi                                                
if [ $c -eq 3 ]                                    
then                                              
cmd=$(printf "0x86,0x%02X,0x02,0x31" $c)  
fi                                                
fi
if [ $p -eq 1 ]
then
if [ $c -eq 0 ]
then
cmd=$(printf "0x86,0x%02X,0x02,0x01" $c)
fi
if [ $c -eq 1 ]                                    
then                                              
cmd=$(printf "0x86,0x%02X,0x02,0x41" $c)          
fi                                                  
if [ $c -eq 2 ]                                    
then                                              
cmd=$(printf "0x86,0x%02X,0x02,0x21" $c)          
fi                                                  
if [ $c -eq 3 ]
then
cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
fi
fi
################################################
spi-test -s 50000 -OHC -D /dev/spidev1.0 $cmd >/dev/null
cmd=$(printf "0x85,0x%02X,0,0" $c)
spi-test -s 50000 -OHC -D /dev/spidev1.0 $cmd >/dev/null
done

# re-enable all cores
i=0
while [[ $i -lt 192 ]] ; do
i2cset -y 2 0x2$p $i 1
i=$((i+1))
done
spi_ena=$(( spi_ena | (1 << $p) ))
done
fi
if [ -n "$bad_ports" ] ; then
for p in $bad_ports ; do
# Disable PLL
i2cset -y 2 0x71 1 $((p+1))
for c in 0 1 2 3 ; do
cmd=$(printf "0x84,0x%02X,0,0" $c)
spi-test -s 50000 -OHC -D /dev/spidev1.0 $cmd >/dev/null
done
# disable all cores
i=0
while [[ $i -lt 192 ]] ; do
i2cset -y 2 0x2$p $i 0
i=$((i+1))
done
spi_ena=$(( spi_ena & ~(1 << $p) ))
done
fi

# Disable direct SPI
i2cset -y 2 0x71 1 0

# Enable SPI poller
i2cset -y 2 0x71 2 $spi_ena


/etc/init.d/cgminer.sh stop

        start-stop-daemon -b -S -x screen -- -S bfgminer -t bfgminer -m -d "$DAEMON" -S knc:auto -c /config/cgminer.conf
}

do_stop() {
        killall -9 bfgminer || true
}
case "$1" in
  start)
        echo -n "Starting $DESC: "
do_start
        echo "$NAME."
        ;;
  stop)
        echo -n "Stopping $DESC: "
do_stop
        echo "$NAME."
        ;;
  restart|force-reload)
        echo -n "Restarting $DESC: "
        do_stop
        do_start
        echo "$NAME."
        ;;
  *)
        N=/etc/init.d/$NAME
        echo "Usage: $N {start|stop|restart|force-reload}" >&2
        exit 1
        ;;
esac

exit 0

The custom portion is between the #################### lines
I also added the line
/etc/init.d/cgminer.sh stop
(it's near the end, because monitordcdc sometimes starts cgminer while bfgminer is starting)
It's ugly but it works.

Standard parachute rigger line of sight warranty applies.

YMMV
Smiley

'twisted research and opinion' donations happily accepted @
13362fxFAdrhagmCvSmFy4WoHrNRPG2V57
My sub 1337 vanity address Wink
tiozes
Legendary
*
Offline Offline

Activity: 855


View Profile
April 08, 2014, 12:55:20 AM
 #918

And using bfgminer how i can oc? With cgminer no problem but using bfgminer i don't know how oc the saturn

A lot of thanks! Have a nice day! Smiley

EDIT: we are trying this https://bitcointalk.org/index.php?topic=313978.msg5678594#msg5678594 but we can't do it work, we have 1.00 firmware, is only for old version?

I use the same shell script I used with 99.1 test FW.

It is often a modified version of the default /etc/init.d/cgminer.sh

To use a COPY of that file with bfgminer just replace every instance of cgminer with bfgminer instead.
In the top of the file it also refers to
DAEMON= (the full path to the bfgminer executable)
If you type 'which bfgminer' it will tell you what to put in there.
The answer is '/usr/bin/bfgminer' , but it is helpful to know how to find things.
EXCEPT for the cgminer.conf part at the end.
both bfgminer and cgminer can use same .conf file so it can stay the same.

Hope this helps.

YMMV
Smiley


BFGminer someone could put your file to OC, CGminer modifying the file fails.

you can add a screen capture of your advance?

Greetings and thanks

The bondus method works well!
I do not have my copy of that method handy though.

I do not still use this as I can change the clocks on the fly under program control.
(for those interested, use a subset of commands from the shell script)

Below is a working shell script I can use to start one of my Saturn OC'd

Please note!
At MINIMUM you will need to change the DAEMON line as described above
(DAEMON=/usr/bin/bfgminer)
I use bfgminer 3.10.0 which I compiled from source.
(read my posts in this thread if interested)
The customizations depend on KNOWING what slot each ASIC is plugged in.
Subtract 1 from what the Advanced page tells you.
IE: ASIC 1 on the Advanced page is
if [ $p -eq 0 ]
in the code.

Code:
#!/bin/sh

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=./bfgminer
NAME=bfgminer
DESC="BFGminer daemon"

set -e

test -x "$DAEMON" || exit 0

do_start() {
# Stop SPI poller
spi_ena=0
i2cset -y 2 0x71 2 $spi_ena

good_ports=""
bad_ports=""

# CLear faults in megadlynx's
for b in 3 4 5 6 7 8 ; do
for d in 0 1 2 3 4 5 6 7 ; do
i2cset -y $b 0x1$d 3 >/dev/null 2>&1 || true
done
done
for p in 0 1 2 3 4 5 ; do
i2cset -y 2 0x71 1 $((p+1))
good_flag=0
ar="$(spi-test -s 50000 -OHC -D /dev/spidev1.0 0x80,3,0,0,0,0,0,0 | tail -c 13)"
                if [ "x$ar" = "x00 30 A0 01" ] ; then
good_flag=1
fi
ar="$(spi-test -s 50000 -OHC -D /dev/spidev1.0 0x80,2,0,0,0,0,0,0 | tail -c 13)"
                if [ "x$ar" = "x00 30 A0 01" ] ; then
good_flag=1
fi
ar="$(spi-test -s 50000 -OHC -D /dev/spidev1.0 0x80,1,0,0,0,0,0,0 | tail -c 13)"
                if [ "x$ar" = "x00 30 A0 01" ] ; then
good_flag=1
fi
ar="$(spi-test -s 50000 -OHC -D /dev/spidev1.0 0x80,0,0,0,0,0,0,0 | tail -c 13)"
                if [ "x$ar" = "x00 30 A0 01" ] ; then
good_flag=1
fi

if [ "$good_flag" = "1" ] ; then
good_ports=$good_ports" $p"
else
bad_ports=$bad_ports" $p"
fi
done
if [ -n "$good_ports" ] ; then
for p in $good_ports ; do
# Re-enable PLL
i2cset -y 2 0x71 1 $((p+1))
for c in 0 1 2 3 ; do
cmd=$(printf "0x84,0x%02X,0,0" $c)
spi-test -s 50000 -OHC -D /dev/spidev1.0 $cmd >/dev/null
##############################################################################
if [ $p -eq 0 ]
then
if [ $c -eq 0 ]
then
cmd=$(printf "0x86,0x%02X,0x01,0xF1" $c)
fi
if [ $c -eq 1 ]                                    
then                                              
cmd=$(printf "0x86,0x%02X,0x01,0xF1" $c)  
fi                                                
if [ $c -eq 2 ]                                    
then                                              
cmd=$(printf "0x86,0x%02X,0x02,0x21" $c)  
fi                                                
if [ $c -eq 3 ]                                    
then                                              
cmd=$(printf "0x86,0x%02X,0x02,0x31" $c)  
fi                                                
fi
if [ $p -eq 1 ]
then
if [ $c -eq 0 ]
then
cmd=$(printf "0x86,0x%02X,0x02,0x01" $c)
fi
if [ $c -eq 1 ]                                    
then                                              
cmd=$(printf "0x86,0x%02X,0x02,0x41" $c)          
fi                                                  
if [ $c -eq 2 ]                                    
then                                              
cmd=$(printf "0x86,0x%02X,0x02,0x21" $c)          
fi                                                  
if [ $c -eq 3 ]
then
cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
fi
fi
################################################
spi-test -s 50000 -OHC -D /dev/spidev1.0 $cmd >/dev/null
cmd=$(printf "0x85,0x%02X,0,0" $c)
spi-test -s 50000 -OHC -D /dev/spidev1.0 $cmd >/dev/null
done

# re-enable all cores
i=0
while [[ $i -lt 192 ]] ; do
i2cset -y 2 0x2$p $i 1
i=$((i+1))
done
spi_ena=$(( spi_ena | (1 << $p) ))
done
fi
if [ -n "$bad_ports" ] ; then
for p in $bad_ports ; do
# Disable PLL
i2cset -y 2 0x71 1 $((p+1))
for c in 0 1 2 3 ; do
cmd=$(printf "0x84,0x%02X,0,0" $c)
spi-test -s 50000 -OHC -D /dev/spidev1.0 $cmd >/dev/null
done
# disable all cores
i=0
while [[ $i -lt 192 ]] ; do
i2cset -y 2 0x2$p $i 0
i=$((i+1))
done
spi_ena=$(( spi_ena & ~(1 << $p) ))
done
fi

# Disable direct SPI
i2cset -y 2 0x71 1 0

# Enable SPI poller
i2cset -y 2 0x71 2 $spi_ena


/etc/init.d/cgminer.sh stop

        start-stop-daemon -b -S -x screen -- -S bfgminer -t bfgminer -m -d "$DAEMON" -S knc:auto -c /config/cgminer.conf
}

do_stop() {
        killall -9 bfgminer || true
}
case "$1" in
  start)
        echo -n "Starting $DESC: "
do_start
        echo "$NAME."
        ;;
  stop)
        echo -n "Stopping $DESC: "
do_stop
        echo "$NAME."
        ;;
  restart|force-reload)
        echo -n "Restarting $DESC: "
        do_stop
        do_start
        echo "$NAME."
        ;;
  *)
        N=/etc/init.d/$NAME
        echo "Usage: $N {start|stop|restart|force-reload}" >&2
        exit 1
        ;;
esac

exit 0

The custom portion is between the #################### lines
I also added the line
/etc/init.d/cgminer.sh stop
(it's near the end, because monitordcdc sometimes starts cgminer while bfgminer is starting)
It's ugly but it works.

Standard parachute rigger line of sight warranty applies.

YMMV
Smiley

Many thanks mate, you're a champion, 100x100 running, I'll see if I can put the new version of jejejje bfgminer.

Greetings and thanks again :-) perfect
tiozes
Legendary
*
Offline Offline

Activity: 855


View Profile
April 14, 2014, 10:34:24 AM
 #919

How many amps would be the maximum for a Jupiter 4 VRMs?

is currently 58A & 63A for 703Gh / s, could squeeze a bit more serious or as the limit for the 4 VRMs?

regards
Sonic_AFB
Newbie
*
Offline Offline

Activity: 11


View Profile
April 15, 2014, 06:27:42 PM
 #920

today we received 2 boards for add to neptune, and transform it to a jupiter with 4 boards, and we have a problem with one of the boards, it seems like a 1 of 4 chips has disabled or broken, we tried use the enablecore.bin from knc website, re-install 1.0 firmware but nothing not work, any idea? this is we see at advanced screen, actually running at 650 Gh/s but this board still with problem

http://fotos.subefotos.com/bd6ac29f26b507d6a5b8fccd69de3b1eo.jpg

A lot of thanks!

Have a nice day Smiley

PD: sorry if i bad written something, i'm spanish Wink
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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 »
  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!