Pages:
Author

Topic: Hacking The KNC Firmware: Overclocking - page 45. (Read 144343 times)

legendary
Activity: 1036
Merit: 1000
Nighty Night Don't Let The Trolls Bite Nom Nom Nom
January 14, 2014, 01:49:46 PM
Trying to stop others from oc?
legendary
Activity: 1400
Merit: 1000
I owe my soul to the Bitcoin code...
January 14, 2014, 11:33:18 AM
if anyone needs help OC'ing october batch using new firmware send me a PM and i will get around to helping you tonight using team viewer.

use putty and login to your miners IP.

Login = root
password = miner password

type "screen -r" then hit "q" then type vi /etc/init.d/cgminer.sh , this will allow you to edit and delete.

 delete every line ("d" deletes line, "dd130" should delete every line(give it 20seconds.

then paste the bellow script provided by Ncs0ne, thanks dude! bellow code is set for 211, i run my Saturn 4vrm on 231

hit esc then type  ":"(exits editing mode) type "wq" then hit enter

then type  "/etc/init.d/cgminer.sh restart"

screen -r to reload.


For clarification to others, I had to type " escape, wq and also the colon  [:] for it to work.  I'm so used to using colons to start a series that I didn't realize you meant to type this in as well.  I only had to press right click for it to paste over his scrypt.  Could you please explain what you modified to this over the original version?  I would open it up in a power-txt editor and run doc-diff to see for myself but I'm just not up for doing all that now since i've already updated to yours.  

I didn't edit anything, i got it from another member. I think he over wrote his config so the spi changes are permanent t, that meant the changes were still there when he uploaded new firmware. bellow is what was missing in the new firmware.

Code:
# 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
cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
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



Wait, so you are saying that in the 99.2-tune firmware, KNC removed the PLL section of the cgminer.sh file that had the overclock line in it? Interesting.
sr. member
Activity: 812
Merit: 250
January 14, 2014, 10:53:14 AM
So actually is no way to OC a nov batch jupiter, right?
Anyone?
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
January 14, 2014, 08:12:51 AM
Hi,

I am using Oct Jupiter with 0.99.1-tune firmware. After I pressed "Reset factory settings" on Advanced tab, I can no longer access Advanced tab at all. Instead I have browser message with "Fetch advanced configuration/status failed." and "OK" button. Restarting, flashing to earlier firmware and flashing back to 0.99.1-tune does not resolved the issue. Jupiter itself is mining away nicely, but I can't access Advanced tab anymore.
Any one had similar problem?
Ctrl+F5?

Of course I tried it, doesn't work.

Try to run:

waas -d -o /config/advanced.conf

Thanks!

It turned out, that this file was completely empty.
hero member
Activity: 560
Merit: 500
January 14, 2014, 07:54:47 AM
Why? Why was I such a pussy and didn't do overclocking described in this thread earlier?

didn't want to ruin the holidays if you nuked your miner?   well that was my reason to wait   Cool

ahhahaha  Grin
sr. member
Activity: 462
Merit: 250
January 14, 2014, 07:42:01 AM
Why? Why was I such a pussy and didn't do overclocking described in this thread earlier?

didn't want to ruin the holidays if you nuked your miner?   well that was my reason to wait   Cool
newbie
Activity: 26
Merit: 0
January 14, 2014, 07:16:11 AM
Why? Why was I such a pussy and didn't do overclocking described in this thread earlier?
legendary
Activity: 1036
Merit: 1000
Nighty Night Don't Let The Trolls Bite Nom Nom Nom
January 14, 2014, 07:05:20 AM
if anyone needs help OC'ing october batch using new firmware send me a PM and i will get around to helping you tonight using team viewer.

use putty and login to your miners IP.

Login = root
password = miner password

type "screen -r" then hit "q" then type vi /etc/init.d/cgminer.sh , this will allow you to edit and delete.

 delete every line ("d" deletes line, "dd130" should delete every line(give it 20seconds.

then paste the bellow script provided by Ncs0ne, thanks dude! bellow code is set for 211, i run my Saturn 4vrm on 231

hit esc then type  ":"(exits editing mode) type "wq" then hit enter

then type  "/etc/init.d/cgminer.sh restart"

screen -r to reload.


For clarification to others, I had to type " escape, wq and also the colon  [:] for it to work.  I'm so used to using colons to start a series that I didn't realize you meant to type this in as well.  I only had to press right click for it to paste over his scrypt.  Could you please explain what you modified to this over the original version?  I would open it up in a power-txt editor and run doc-diff to see for myself but I'm just not up for doing all that now since i've already updated to yours.  

I didn't edit anything, i got it from another member. I think he over wrote his config so the spi changes are permanent t, that meant the changes were still there when he uploaded new firmware. bellow is what was missing in the new firmware.

Code:
# 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
cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
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
legendary
Activity: 1456
Merit: 1018
HoneybadgerOfMoney.com Weed4bitcoin.com
January 14, 2014, 06:57:16 AM
legendary
Activity: 1036
Merit: 1000
Nighty Night Don't Let The Trolls Bite Nom Nom Nom
January 14, 2014, 05:01:56 AM
*Disclaimer* You and you alone are responsible for your actions and choosing to do what others are doing, do not hold others responsible if something goes wrong

if anyone needs help OC'ing october batch using new firmware send me a PM and i will get around to helping you tonight using team viewer.

use putty and login to your miners IP.

Login = root
password = miner password

type "screen -r" then hit "q" then type vi /etc/init.d/cgminer.sh , this will allow you to edit and delete.

 delete every line ("d" deletes line, "dd130" should delete every line(give it 20seconds.

then paste the bellow script provided by Ncs0ne, thanks dude! bellow code is set for 211, i run my Saturn 4vrm on 231

hit esc then type  ":"(exits editing mode) type "wq" then hit enter

then type  "/etc/init.d/cgminer.sh restart"

screen -r to reload.

Code:
#!/bin/sh

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

use_bfgminer=
if [ -f /config/miner.conf ]; then
        . /config/miner.conf  #if bfgminer is enabled, this file contains: use_bfgminer="true"
fi
if [ "$use_bfgminer" = true ] ; then
        DAEMON=/usr/bin/bfgminer
        NAME=bfgminer
        DESC="BFGMiner daemon"
        EXTRA_OPT="-S knc:auto"
else
DAEMON=/usr/bin/cgminer
NAME=cgminer
DESC="Cgminer daemon"
EXTRA_OPT=
fi


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
cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
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

start-stop-daemon -b -S -x screen -- -S cgminer -t cgminer -m -d "$DAEMON" --api-listen -c /config/cgminer.conf $EXTRA_OPT
}

do_stop() {
        killall -9 bfgminer cgminer 2>/dev/null || 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
legendary
Activity: 1036
Merit: 1000
Nighty Night Don't Let The Trolls Bite Nom Nom Nom
January 14, 2014, 04:57:50 AM
Hi,

I am using Oct Jupiter with 0.99.1-tune firmware. After I pressed "Reset factory settings" on Advanced tab, I can no longer access Advanced tab at all. Instead I have browser message with "Fetch advanced configuration/status failed." and "OK" button. Restarting, flashing to earlier firmware and flashing back to 0.99.1-tune does not resolved the issue. Jupiter itself is mining away nicely, but I can't access Advanced tab anymore.
Any one had similar problem?
Ctrl+F5?

Of course I tried it, doesn't work.

new firmware gives an ption to lock access to a certain IP addy, is it possible you looked it?
sr. member
Activity: 812
Merit: 250
January 14, 2014, 03:45:20 AM
So actually is no way to OC a nov batch jupiter, right?
legendary
Activity: 861
Merit: 1000
“Create Your Decentralized Life”
January 13, 2014, 09:53:35 PM
with 201 i have 615-620 Gh/s, with 211 i have 586 Gh/s, and with high temperatures (76º) i have 597 Gh/s is that normal?




because it gives less performance using 211? and 231 is getting worse, you have to play other parameters?

The temperature arrived at 70 ° C because the cooling stopped as it was very cold, but we have no temperature problems.

see if someone helps us get a little more power.

Is there any way to stop bermod without restart or shutdown the KNC?

regards
hero member
Activity: 784
Merit: 504
Dream become broken often
January 13, 2014, 09:31:20 PM
So is anyone trying 241 on a whole board yet for long period of time? i'm on 231 with 55a per vrm right now...tryed 241 but would have to up the volts even more as i had alotta cores go off...just wondering
newbie
Activity: 14
Merit: 0
January 13, 2014, 05:56:52 PM
Hi,

I am using Oct Jupiter with 0.99.1-tune firmware. After I pressed "Reset factory settings" on Advanced tab, I can no longer access Advanced tab at all. Instead I have browser message with "Fetch advanced configuration/status failed." and "OK" button. Restarting, flashing to earlier firmware and flashing back to 0.99.1-tune does not resolved the issue. Jupiter itself is mining away nicely, but I can't access Advanced tab anymore.
Any one had similar problem?
Ctrl+F5?

Of course I tried it, doesn't work.

Try to run:

waas -d -o /config/advanced.conf
legendary
Activity: 1260
Merit: 1008
January 13, 2014, 05:48:41 PM
Hi,

I am using Oct Jupiter with 0.99.1-tune firmware. After I pressed "Reset factory settings" on Advanced tab, I can no longer access Advanced tab at all. Instead I have browser message with "Fetch advanced configuration/status failed." and "OK" button. Restarting, flashing to earlier firmware and flashing back to 0.99.1-tune does not resolved the issue. Jupiter itself is mining away nicely, but I can't access Advanced tab anymore.
Any one had similar problem?
Ctrl+F5?

Of course I tried it, doesn't work.

did you try to clear the cache?
with another browser?
private browsing (Ctrl+Shift+n)?
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
January 13, 2014, 05:19:29 PM
Hi,

I am using Oct Jupiter with 0.99.1-tune firmware. After I pressed "Reset factory settings" on Advanced tab, I can no longer access Advanced tab at all. Instead I have browser message with "Fetch advanced configuration/status failed." and "OK" button. Restarting, flashing to earlier firmware and flashing back to 0.99.1-tune does not resolved the issue. Jupiter itself is mining away nicely, but I can't access Advanced tab anymore.
Any one had similar problem?
Ctrl+F5?

Of course I tried it, doesn't work.
full member
Activity: 147
Merit: 100
software developer
January 13, 2014, 12:58:54 PM
can anyone have overclocked easy like 0.99.1

0.99.2 version
 Roll Eyes Roll Eyes Roll Eyes Roll Eyes Roll Eyes Roll Eyes

New firmware's starter doesn't contain any 'spi-test' calls you could modify.
Try your old starter (with minor modifications for BFGminer). Works fine.
https://bitcointalksearch.org/topic/m.4464759
hero member
Activity: 560
Merit: 500
January 13, 2014, 12:46:52 PM
with 201 i have 615-620 Gh/s, with 211 i have 586 Gh/s, and with high temperatures (76º) i have 597 Gh/s is that normal?




You could put some fans inside the case ! Cheesy
legendary
Activity: 2408
Merit: 1004
January 13, 2014, 12:45:50 PM
can anyone have overclocked easy like 0.99.1

0.99.2 version
 Roll Eyes Roll Eyes Roll Eyes Roll Eyes Roll Eyes Roll Eyes
Pages:
Jump to: