Bitcoin Forum
May 06, 2024, 10:36:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 ... 221 »
  Print  
Author Topic: Avalon ASIC users thread  (Read 438337 times)
server
Legendary
*
Offline Offline

Activity: 892
Merit: 1002


1 BTC =1 BTC


View Profile
May 16, 2013, 10:23:21 PM
 #861

Thanks Aseras ... I know.. too late Wink

I strongly believe that people want to show their appreciation for development but they just don't know who does what in this project.

If there was an option in Avalon's miner settings to donate X% hashes to the dev-team, I think a lot of the Avalon users would have used this.

TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715034992
Hero Member
*
Offline Offline

Posts: 1715034992

View Profile Personal Message (Offline)

Ignore
1715034992
Reply with quote  #2

1715034992
Report to moderator
kano
Legendary
*
Offline Offline

Activity: 4494
Merit: 1808


Linux since 1997 RedHat 4


View Profile
May 17, 2013, 07:18:48 AM
 #862

How to add "4th,5th pool" under "More Options" ?


Edit: Found it... add: "-o ip:port -O user:pass" for each pool

It even works with more than 5 pools...


Can different pools mine different coins, e.g., bitcoin and bytecoin?
No
(line 3 of the cgminer README)

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
spiccioli
Legendary
*
Offline Offline

Activity: 1378
Merit: 1003

nec sine labore


View Profile
May 17, 2013, 07:38:02 AM
 #863

Thanks Aseras ... I know.. too late Wink


Yeah,

too little, but having an address where to send some tips would help as well, I mean, if each Avalon user sends 1 BTC per owned Avalon 100 BTCs are easily collected!

spiccioli
Aseras
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


View Profile
May 17, 2013, 03:35:35 PM
 #864

Thanks Aseras ... I know.. too late Wink

I strongly believe that people want to show their appreciation for development but they just don't know who does what in this project.

If there was an option in Avalon's miner settings to donate X% hashes to the dev-team, I think a lot of the Avalon users would have used this.

I actually spoke to ckolivas about adding this option to the finished cgminer with full usb code.
-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
May 18, 2013, 01:25:45 AM
 #865

Thanks Aseras ... I know.. too late Wink

I strongly believe that people want to show their appreciation for development but they just don't know who does what in this project.

If there was an option in Avalon's miner settings to donate X% hashes to the dev-team, I think a lot of the Avalon users would have used this.

I actually spoke to ckolivas about adding this option to the finished cgminer with full usb code.
The donation feature in cgminer previously was much maligned by the miners, and only ever amounted to a tiny amount of hashrate. I know there are a few generous people that would be happy with such a feature, but I'm not sure it would amount to very much. Do you think there'd be something different this time around?

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
flyonwall
Full Member
***
Offline Offline

Activity: 250
Merit: 100


RockStable Token Inc


View Profile WWW
May 18, 2013, 01:44:23 AM
 #866

Question: I have done some USB driver work on Windows. How difficult would it be to remove the serial port driver and go directly to USB? The USB protocol is more complicated than that for UART, but I imagine in cgminer high-level interfaces should look very similar to those for a UART?

-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
May 18, 2013, 01:46:05 AM
 #867

Question: I have done some USB driver work on Windows. How difficult would it be to remove the serial port driver and go directly to USB? The USB protocol is more complicated than that for UART, but I imagine in cgminer high-level interfaces should look very similar to those for a UART?
This is what I'm currently working on, as most other drivers in cgminer are direct USB. To complete the work I need extended access to hardware and doing it remotely is proving problematic.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
yxt
Legendary
*
Offline Offline

Activity: 3528
Merit: 1116



View Profile
May 18, 2013, 02:25:07 AM
 #868

The donation feature in cgminer previously was much maligned by the miners, and only ever amounted to a tiny amount of hashrate. I know there are a few generous people that would be happy with such a feature, but I'm not sure it would amount to very much. Do you think there'd be something different this time around?
It's worth a try. Make donating as easy as possible.

BTCKano Pool██ ██
██ ██
██ ██
██ ██
██ ██
██ ██
██ ██
██ ██
██ ██
██
██
██
██
██ ██ ██
██ ██ ██
██ ██ ██
██ ██ ██
██ ██ ██
██ ██ ██
██ ██ ██
██ ██ ██
██ ██ ██
   ██
   ██
   ██
   ██
██ ██
██ ██
██ ██
██ ██
██ ██
██ ██
██ ██
██ ██
██ ██
   ██
   ██
   ██
   ██
kaerf
Hero Member
*****
Offline Offline

Activity: 631
Merit: 500


View Profile
May 18, 2013, 02:33:27 AM
 #869

Question: I have done some USB driver work on Windows. How difficult would it be to remove the serial port driver and go directly to USB? The USB protocol is more complicated than that for UART, but I imagine in cgminer high-level interfaces should look very similar to those for a UART?
This is what I'm currently working on, as most other drivers in cgminer are direct USB. To complete the work I need extended access to hardware and doing it remotely is proving problematic.

Con, how much time do you think you need on the machine?

Is it difficult to do remotely because you sometimes need a hard reboot?  I could potentially set up access for you with the ability to remotely power cycle the machine.
opentoe
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000

Personal text my ass....


View Profile WWW
May 18, 2013, 03:42:34 AM
 #870

Oh stop it. All you guys that have Avalons have been making a TON of money here in the last few months. Literally thousands and thousands if you played your cards right, and to this day STILL raking in a good chunk of change. Yea, a little jealous. I would have loved to pay off some bills.


Need help with your Newznab usenet indexer? http://www.newznabforums.com
flyonwall
Full Member
***
Offline Offline

Activity: 250
Merit: 100


RockStable Token Inc


View Profile WWW
May 18, 2013, 05:11:13 AM
 #871

Question: I have done some USB driver work on Windows. How difficult would it be to remove the serial port driver and go directly to USB? The USB protocol is more complicated than that for UART, but I imagine in cgminer high-level interfaces should look very similar to those for a UART?
This is what I'm currently working on, as most other drivers in cgminer are direct USB. To complete the work I need extended access to hardware and doing it remotely is proving problematic.

Con, how much time do you think you need on the machine?

Is it difficult to do remotely because you sometimes need a hard reboot?  I could potentially set up access for you with the ability to remotely power cycle the machine.
The problem(s) maybe caused by the fact that, on the Avalon Control Unit, the USB serial I/O connects to a UART (FT232), instead of being deserialized and sent to the Spartan-6 chip. So to talk to the Spartan-6, you really need to use the UART protocol instead of the USB protocol. It seems to me that the USB protocol is transparent (or pass-through) in this case.

-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
May 18, 2013, 05:18:09 AM
 #872

Question: I have done some USB driver work on Windows. How difficult would it be to remove the serial port driver and go directly to USB? The USB protocol is more complicated than that for UART, but I imagine in cgminer high-level interfaces should look very similar to those for a UART?
This is what I'm currently working on, as most other drivers in cgminer are direct USB. To complete the work I need extended access to hardware and doing it remotely is proving problematic.

Con, how much time do you think you need on the machine?

Is it difficult to do remotely because you sometimes need a hard reboot?  I could potentially set up access for you with the ability to remotely power cycle the machine.
Somewhere between 5 minutes and 5 weeks...  Roll Eyes

No really I don't want to put a time on it because you can never tell. Half the problem has been that this direct usb work so far has been done on xiangfu's machine in China and sometimes via ssh it can take a minute to get a response from a keystroke. It's excruciating. The inability to do a hard reboot is also a major problem. It also is pretty much futile trying to do it directly on the avalon hardware, as there are far more tools you can use on a proper linux PC plugged into it via USB (specifically monitoring usb communications). A lot of this is just poking around to see what the serial driver converts into direct USB and trying to emulate that behaviour since it was never designed to be used in that way (which is a shame). There are other issues too, but they can be worked around.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
gyverlb
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000



View Profile
May 18, 2013, 09:03:59 AM
 #873

Somewhere between 5 minutes and 5 weeks...  Roll Eyes

No really I don't want to put a time on it because you can never tell. Half the problem has been that this direct usb work so far has been done on xiangfu's machine in China and sometimes via ssh it can take a minute to get a response from a keystroke. It's excruciating.

You probably can't easily install it on an Avalon but if by "xiangfu's machine" you mean a more powerful machine acting as a relay to connect to an Avalon, you could try to setup mosh.

I have some servers with unpredictable latencies and sometimes I have to work with a mobile connection with very unpredictable latencies. In practice its prediction algorithm is a game changer compared to ssh (the way it works is technically interesting too). You need to install it on both the server and the client and as long as the network lets you transmit UDP packets between your client and a port you can choose on the server (by default it's chosen by the server side between 60000 and 61000) you are set.

Currently you lose the multiplexing capabilities of ssh, but in your case this doesn't matter.

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
flyonwall
Full Member
***
Offline Offline

Activity: 250
Merit: 100


RockStable Token Inc


View Profile WWW
May 18, 2013, 12:40:29 PM
 #874


The next step is to chuck the usb-serial code and go direct usb and remove a lot of the hacks and work arounds that were used and improve it a lot more.


What is the issue with going through usb-serial code?  Is it a bottleneck?  Or is this to improve reliability?

I ask this question because I am currently trying to decide whether to design my own Control Unit and replace the way the USB on the Control Unit is grafted onto the Spartan-6. The USB connection to the Spartan-6 can be enhanced by replacing both the uPD720114 and the FT232 UART with a single CY7C68013A which serializes/deserializes to 16-bits.

EDIT:
It seems that the serial driver has to be used in cgminer because, on the Control Unit side, the USB goes through an offchip UART before connecting to the Spartan-6.

-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
May 18, 2013, 01:20:28 PM
 #875

That's the effort involved in doing direct USB. We have to figure out what it is in the communication that is done and emulate it - as we do with a few other devices already in cgminer. Using direct USB uses a lot less CPU and should be far more reliable.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
kano
Legendary
*
Offline Offline

Activity: 4494
Merit: 1808


Linux since 1997 RedHat 4


View Profile
May 19, 2013, 07:27:50 AM
 #876

...
EDIT:
It seems that the serial driver has to be used in cgminer because, on the Control Unit side, the USB goes through an offchip UART before connecting to the Spartan-6.
Incorrect - you do not have to use serial-USB - the linux kernel simply sits on top of the ftdi_sio driver which is, of course, usb.
You just need to know how to talk to it on USB (as the sio driver already does)

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
May 19, 2013, 10:26:44 AM
 #877

You probably can't easily install it on an Avalon but if by "xiangfu's machine" you mean a more powerful machine acting as a relay to connect to an Avalon, you could try to setup mosh.

I have some servers with unpredictable latencies and sometimes I have to work with a mobile connection with very unpredictable latencies. In practice its prediction algorithm is a game changer compared to ssh (the way it works is technically interesting too). You need to install it on both the server and the client and as long as the network lets you transmit UDP packets between your client and a port you can choose on the server (by default it's chosen by the server side between 60000 and 61000) you are set.

Currently you lose the multiplexing capabilities of ssh, but in your case this doesn't matter.
I've never heard of mosh before but I will definitely give it a try, thanks for the suggestion! (So many cool toys to play with on linux).

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
flyonwall
Full Member
***
Offline Offline

Activity: 250
Merit: 100


RockStable Token Inc


View Profile WWW
May 19, 2013, 11:51:53 AM
 #878

...
EDIT:
It seems that the serial driver has to be used in cgminer because, on the Control Unit side, the USB goes through an offchip UART before connecting to the Spartan-6.
Incorrect - you do not have to use serial-USB - the linux kernel simply sits on top of the ftdi_sio driver which is, of course, usb.
You just need to know how to talk to it on USB (as the sio driver already does)

Please clarify what you mean by "the linux kernel simply sits on top of the ftdi_sio driver".

My point is this: USB involves complex protocol, UART is simple. We can simulate a direct UART connection between any two systems through the Internet, as is being done as we speak. Now the Internet protocols are even more complex than USB. The easiest way to talk UART to another system through the Internet is NOT to muck with the Internet protocols (that would be crazy). The easiest way is to have another Internet appliance (similar to the one used on the other UART endpoint), and talk UART to that appliance. Similarly in the case of USB.

The simple topology seems to be [sio driver] <--> [usb driver] <-- usb wire --> [usb protocol hw] <--> [uart hw], with the [uart hw] on Avalon's control unit side dictating that the [sio driver] be used on the cgminer side. That's my point.

In other words, we may have to remove the [uart hw] on the Avalon control unit to get rid of the [sio driver] on cgminer.

kano
Legendary
*
Offline Offline

Activity: 4494
Merit: 1808


Linux since 1997 RedHat 4


View Profile
May 19, 2013, 09:07:59 PM
 #879

...
EDIT:
It seems that the serial driver has to be used in cgminer because, on the Control Unit side, the USB goes through an offchip UART before connecting to the Spartan-6.
Incorrect - you do not have to use serial-USB - the linux kernel simply sits on top of the ftdi_sio driver which is, of course, usb.
You just need to know how to talk to it on USB (as the sio driver already does)

Please clarify what you mean by "the linux kernel simply sits on top of the ftdi_sio driver".

My point is this: USB involves complex protocol, UART is simple. We can simulate a direct UART connection between any two systems through the Internet, as is being done as we speak. Now the Internet protocols are even more complex than USB. The easiest way to talk UART to another system through the Internet is NOT to muck with the Internet protocols (that would be crazy). The easiest way is to have another Internet appliance (similar to the one used on the other UART endpoint), and talk UART to that appliance. Similarly in the case of USB.

The simple topology seems to be [sio driver] <--> [usb driver] <-- usb wire --> [usb protocol hw] <--> [uart hw], with the [uart hw] on Avalon's control unit side dictating that the [sio driver] be used on the cgminer side. That's my point.

In other words, we may have to remove the [uart hw] on the Avalon control unit to get rid of the [sio driver] on cgminer.
ckolvias and I have already got the Lancelot working fine which uses the same chip.
Once he has more reliable access to an Avalon (or gets one) he'll sort out the Avalon USB also.
The USB for this is simple.
The ftdi_sio for this is simple.
The only difference between Avalon and what we have already done, is probably adding DSR/CTS (which was done but not working fully yet)

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
abracadabra
Hero Member
*****
Offline Offline

Activity: 956
Merit: 1001



View Profile
May 19, 2013, 09:49:24 PM
 #880

trying to compile avalon/cgminer on an extra linux box i had laying around.

using these instructions:

http://en.qi-hardware.com/wiki/Avalon#How_to_Compile_Your_Own_WR703N_Firmware_for_Avalon

ran the first
Quote
make -j4

result:

Quote
.... (lines removed)
 make[3] -C feeds/luci/contrib/package/luci compile
localhost - - [19/May/2013 16:04:37] code 404, message File not found
localhost - - [19/May/2013 16:04:37] "GET /cgminer-3.1.1.tar.bz2 HTTP/1.1" 404 -
make -r world: build failed. Please re-run make with V=s to see what's going on
make: *** [world] Error 1
user@ubuntu:~/avalon/openwrt$
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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 ... 221 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!