Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: RitzM on November 08, 2021, 08:00:02 AM



Title: Whats the best Avalon that supports self-compiled cgminer?
Post by: RitzM on November 08, 2021, 08:00:02 AM
I got cgminer running on WIN10 with a Newpac. But there is little surpport now, guess I'll just try Avalon instead.

1.I can see Avalon7 driver files in cgminer-4.11.1 folder, so A721 and A741 are supported, but not A8 or above?

2.What hardware/software do I need other than an Avalon miner?

3.Can I solo-mine with an Avalon using my own RPC server? How do I do it?

So many questions! I dont know RasPI or Linux very well, plz help.


Title: Re: Whats the best Avalon that supports self-compiled cgminer?
Post by: kano on November 08, 2021, 12:17:35 PM
The cgminer code is the code used in the avalons.


Title: Re: Whats the best Avalon that supports self-compiled cgminer?
Post by: RitzM on November 08, 2021, 12:43:39 PM
The cgminer code is the code used in the avalons.
The Avalons I can get are 2nd hand, I prefer compiling it myself with a safe copy of source code.And maybe I can modify some code for myself.


Title: Re: Whats the best Avalon that supports self-compiled cgminer?
Post by: NotFuzzyWarm on November 08, 2021, 01:55:24 PM
The cgminer code is the code used in the avalons.
The Avalons I can get are 2nd hand, I prefer compiling it myself with a safe copy of source code.And maybe I can modify some code for myself.
So just dl a new image from Canaan https://download.canaan-creative.com/avalon841/


Title: Re: Whats the best Avalon that supports self-compiled cgminer?
Post by: RitzM on November 08, 2021, 02:30:31 PM
The cgminer code is the code used in the avalons.
The Avalons I can get are 2nd hand, I prefer compiling it myself with a safe copy of source code.And maybe I can modify some code for myself.
So just dl a new image from Canaan https://download.canaan-creative.com/avalon841/

Does the building steps in README file of cgminer 4.11.1 work for Aavalon841?
Are there some tuition links for using the image and mining with avalons?kinda clueless here


Title: Re: Whats the best Avalon that supports self-compiled cgminer?
Post by: RitzM on November 09, 2021, 12:31:42 AM
The cgminer code is the code used in the avalons.
Does the building steps in README file of cgminer 4.11.1 work for Aavalon841?
If it works, what I get is an cgminer.ipk file, right? Then I pack them all up to a .img file for RasPI3?
If correct, is there a readme for packing, pretty plz.


Title: Re: Whats the best Avalon that supports self-compiled cgminer?
Post by: NotFuzzyWarm on November 09, 2021, 06:14:27 PM
Still NO idea why on Earth you want to compile it yourself when the Canaan software works perfectly. What do you hope to gain? The API supports a plethora of tweaks, the Canaan firmware runs on top of OpenWrT so you have lots of diagnostics built in...

Oh btw: You do know that the master cgminer git has changed right? Con abandoned the cgminer project long ago and locked his git. Kano - who was the other major contributor in cgminer and arguably did more of the code than Con did, has moved the master git to https://github.com/kanoi/cgminer and it has been updated with several long-overdue fixes along with adding support for the S17 chip, current is version 4.12.00

A general review and guide done by HagssFIN for the A841 is here (https://bitcointalk.org/index.php?topic=3191702)

edit: on further thought it occurs to me that you are expecting to end up with a bootable image for your pi. That's not how it works.
Compiling cgminer results in you having an executable program that you run on top of your chosen 'ux OS. Full instructions are found here in the Compac-F thread. (https://bitcointalk.org/index.php?topic=5355470.msg58200639#msg58200639)

Thing is, ja the 841 *should* work BUT you still will want to know what defaults Canaan has set for running it... Their full source code containing cgminer and all other other code can be found at the Canaan dl site.


Title: Re: Whats the best Avalon that supports self-compiled cgminer?
Post by: RitzM on November 10, 2021, 02:23:17 AM
Still NO idea why on Earth you want to compile it yourself when the Canaan software works perfectly. What do you hope to gain? The API supports a plethora of tweaks, the Canaan firmware runs on top of OpenWrT so you have lots of diagnostics built in...

Oh btw: You do know that the master cgminer git has changed right? Con abandoned the cgminer project long ago and locked his git. Kano - who was the other major contributor in cgminer and arguably did more of the code than Con did, has moved the master git to https://github.com/kanoi/cgminer and it has been updated with several long-overdue fixes along with adding support for the S17 chip, current is version 4.12.00

A general review and guide done by HagssFIN for the A841 is here (https://bitcointalk.org/index.php?topic=3191702)

edit: on further thought it occurs to me that you are expecting to end up with a bootable image for your pie. That's not how it works.
Compiling cgminer results in you having an executable program that you run on top of your chosen 'ux OS. Full instructions are found here in the Compac-F thread. (https://bitcointalk.org/index.php?topic=5355470.msg58200639#msg58200639)

Thing is, ja the 841 *should* work BUT you still will want to know what defaults Canaan has set for running it... Their full source code containing cgminer and all other other code can be found at the Canaan dl site.
thx so much man.I get the whole picture now.
I was looking into ckolivas's cgminer 4.11.1. I see now I should stick with kano  :)
I'll get my Avalon first and see what I can do with the info you gave me.
If I need more help later, I'll try joining kano's discord.


Title: Re: Whats the best Avalon that supports self-compiled cgminer?
Post by: RitzM on December 02, 2021, 12:17:09 PM
The cgminer code is the code used in the avalons.
I registered kano pool.Account->settings led me back to homepage and logged me out, so that I couldnt set my payout address.What should I do?(solo account)
And I got booted from discord group moment after joining, what is going on man?


Title: Re: Whats the best Avalon that supports self-compiled cgminer?
Post by: RitzM on December 02, 2021, 12:35:48 PM
Still NO idea why on Earth you want to compile it yourself when the Canaan software works perfectly. What do you hope to gain? The API supports a plethora of tweaks, the Canaan firmware runs on top of OpenWrT so you have lots of diagnostics built in...

Oh btw: You do know that the master cgminer git has changed right? Con abandoned the cgminer project long ago and locked his git. Kano - who was the other major contributor in cgminer and arguably did more of the code than Con did, has moved the master git to https://github.com/kanoi/cgminer and it has been updated with several long-overdue fixes along with adding support for the S17 chip, current is version 4.12.00

A general review and guide done by HagssFIN for the A841 is here (https://bitcointalk.org/index.php?topic=3191702)

edit: on further thought it occurs to me that you are expecting to end up with a bootable image for your pi. That's not how it works.
Compiling cgminer results in you having an executable program that you run on top of your chosen 'ux OS. Full instructions are found here in the Compac-F thread. (https://bitcointalk.org/index.php?topic=5355470.msg58200639#msg58200639)

Thing is, ja the 841 *should* work BUT you still will want to know what defaults Canaan has set for running it... Their full source code containing cgminer and all other other code can be found at the Canaan dl site.
I registered kano pool.Account->settings led me back to homepage and logged me out, so that I couldnt set my payout address.What should I do?(solo account)
And I got booted from kanopool's discord group moment after joining, what is going on man?
Everything else is ready except for this account setting problem.And why cant I join discord with kano.
Its so frustrating...plz help


Title: Re: Whats the best Avalon that supports self-compiled cgminer?
Post by: NotFuzzyWarm on December 02, 2021, 01:30:13 PM
Quote
I registered kano pool.Account->settings led me back to homepage and logged me out, so that I couldnt set my payout address.What should I do?(solo account)
And I got booted from kanopool's discord group moment after joining, what is going on man?
Everything else is ready except for this account setting problem.And why cant I join discord with kano.
Did you read the instructions on setting up the solo act? If you also have a regular PPLNS act there the solo one must use a different username and payout address. eg, my main acct is Fuzzy and solo act is FuzzyWuzzy

As for discord - read the pinned message at the top. By default Discord only gives a 10min period to post after you use the invite. You need to have Kano assign you a miner role to stop Discord from kicking ya out.


Title: Re: Whats the best Avalon that supports self-compiled cgminer?
Post by: kano on December 02, 2021, 11:17:19 PM
...
I registered kano pool.Account->settings led me back to homepage and logged me out,
...

https://bitcointalk.org/index.php?topic=789369.msg58603884#msg58603884


Title: Re: Whats the best Avalon that supports self-compiled cgminer?
Post by: o_solo_miner on December 05, 2021, 09:28:53 AM
I got cgminer running on WIN10 with a Newpac. But there is little surpport now, guess I'll just try Avalon instead.
3.Can I solo-mine with an Avalon using my own RPC server? How do I do it?
So many questions! I dont know RasPI or Linux very well, plz help.

No you can't, even with kanos version of cgminer.
Canaan got an instruction on their git on how to compile a version for solo mining, but all under linux.
So if you are not familiar with linux, you have to learn a lot.
 
beside kanopool for solo mining, there is also solo.ckpool.org
https://bitcointalk.org/index.php?topic=5237323.0
There you don't need a registration, just put in your btc-address as username and you are ready to go.




Title: Re: Whats the best Avalon that supports self-compiled cgminer?
Post by: MeAdeSki83 on December 21, 2021, 07:44:05 AM
Hey o_solo_miner,

Don't mean to change topics, didn't know where to add a post.... I'm having a some trouble with my Raspberry Pi solo miner, sorry for such a NeWb question.....

The date on my info seems to be a little off- like before BTC was created... LOL

gminer version 4.11.1 Started: [1970-01-05 09122132.913)

(58):223.5M (1m): 321.0M (5m): 330.2M (15m)1331.6M (avg)1332.6Mh/s A:10000 R:0 HN:1767 NU:3.8/m connected to solo.ckpool.org diff 10K with stratum as user 360F1IRFUyvqu44pdagr goziXewNjABAUW Block: 768bbd08... biff:24.2T Started: [20:11:53.189] Best share: 20.4K

SB management [Ploot management ettings (Diisplay options [Qjuit 0: AMU 0 : | 213.5 / 332.6Mh/s WU13.8/M

[1970-01-06 16:21:54.260] Stratum from pool e detected new block at height 714855

[1970-01-06 16:23:17.257] Stratum from pool 0 detected new block at height 714856

[1970-01-95 16:38:15.733] Stratum from pool 0 detected new block at height 714957

[1970-01-06 16:50:24.823] Stratum from pool 0 detected new block at height 714858

Any ideas?


Also I saw this line notation the other day, does it mean anything??

[1970-01-00 17:53:02.394] Stratum from pool 0 detected new block at height 714964

[1970-01-06 17:58:07.090] Stratum from pool 0 detected new block at height 714865

[1970-01-06 18:00:52.429] Stratum from pool 6 detected new block at height 714866

[1970-01-00 18:52:03.906] Accepted 033688db Diff 20.4K/10000 AMU 0

1970-01-06 19:05:22.771] Stratum from pool 0 detected new block at height 714867

[1970-01-06 19:34:48.933] Stratum from pool 0 detected new block at height 714868

[1970-01-06 19:50:50.642] Stratum from pool 0 detected new block at height 714869


Appreciate any help you can throw my way.. Thanks again for your time.

~MeAdeSki