Author

Topic: OLD: BFGMiner 3.10.0: modular ASIC+FPGA, GBT+Strtm, RPC, Mac/Lnx/W64, AntU1, DRB - page 152. (Read 1193223 times)

full member
Activity: 250
Merit: 100
RockStable Token Inc
Thanks. Is it variable-length arrays, or variable-length params? Or both? I have to do some research on that.

Edit: C99 standard variable-length arrays. Doing more research at MSDN ...

Edit: Yup. The code would have to be decorated with firstprivate pragmas. Like you said, it's going to be ugly.
legendary
Activity: 2576
Merit: 1186
Is anybody already trying to build from source using Visual Studio? I realize there is already a Windows version, but I am more familiar with Visual Studio and would like to contribute by making the source buildable using MS tools. What kind of problem can I expect? I understand that MinGW is used to provide Linux API on Windows, but has anybody tried using the native Windows POSIX-compatible API?
IMO, not gonna happen.

BFGMiner makes extensive use of variable-length arrays (standard C since 1999).
Microsoft explicitly refuses to support variable-length arrays.

I'll look at patches of course, but I'm doubtful it can be done without making the code much uglier or slower.
full member
Activity: 250
Merit: 100
RockStable Token Inc
Is anybody already trying to build from source using Visual Studio? I realize there is already a Windows version, but I am more familiar with Visual Studio and would like to contribute by making the source buildable using MS tools. What kind of problem can I expect? I understand that MinGW is used to provide Linux API on Windows, but has anybody tried using the native Windows POSIX-compatible API?
sr. member
Activity: 406
Merit: 250
ALGORY.io Crowdsale starts on 8/12/2017
Can we use BFGMiner on Avalon?
BFGMiner does support Avalon boards.
However, there is no premade firmware for the host router included with them.
There is an avalonhost-raminst script bundled with BFGMiner that will install it to RAM, but I haven't taken the time to document this process yet.
Additional notes are in the README.ASIC file.

Thanks.
legendary
Activity: 2576
Merit: 1186
@luke-Jr:  ante plans to compile/include the recently open sourced bitfury slx150 bitstream for fpga devices?
Unfortunately, Bitfury posted the source on MEGA, which has stopped supporting/working on GNU/Linux, so I can't even download it.
Even if I could, I'm afraid I'm so tied up with everything else, it will be a while before I get the chance to really do anything this in-depth for FPGAs.
However, if anyone else wants to have a go at building a JTAG-I/O bitstream binary from it (and releases their source under GPLv3-compatible terms), I'd be glad to dedicate some time toward updating the code to upload and use it.
legendary
Activity: 2576
Merit: 1186
Can we use BFGMiner on Avalon?
BFGMiner does support Avalon boards.
However, there is no premade firmware for the host router included with them.
There is an avalonhost-raminst script bundled with BFGMiner that will install it to RAM, but I haven't taken the time to document this process yet.
Additional notes are in the README.ASIC file.
sr. member
Activity: 406
Merit: 250
ALGORY.io Crowdsale starts on 8/12/2017
Hi, I am new to BFGMiner.

Can we use BFGMiner on Avalon?
hero member
Activity: 504
Merit: 500
It is possible to compile bfgminer on / for an appletv 2 jailbreaked ?

 

As far as I know there is no developer toolkit that runs native on the ATV. So no, you won't be able to compile it.
hero member
Activity: 658
Merit: 500
CCNA: There i fixed the internet.
@luke-Jr:  are there plans to compile/include the recently open sourced bitfury slx150 bitstream for fpga devices?

-Taugeran
newbie
Activity: 30
Merit: 0
It is possible to compile bfgminer on / for an appletv 2 jailbreaked ?

 
sr. member
Activity: 336
Merit: 250
Just switched to bfgminer from cgminer and have an issue? with the reported diff on accepted share

Bug ?

diff was set auto by the pool on 96 when I'm used cgminer
You're probably used to Ldiff (Litecoin difficulty).
BFGMiner uses pdiff (pool difficulty) for everything to remain consistent.


so nothing to modify in my conf
everything is normal ?
legendary
Activity: 2576
Merit: 1186
Just switched to bfgminer from cgminer and have an issue? with the reported diff on accepted share

Bug ?

diff was set auto by the pool on 96 when I'm used cgminer
You're probably used to Ldiff (Litecoin difficulty).
BFGMiner uses pdiff (pool difficulty) for everything to remain consistent.
sr. member
Activity: 336
Merit: 250
Just switched to bfgminer from cgminer and have an issue? with the reported diff on accepted share

Bug ?

diff was set auto by the pool on 96 when I'm used cgminer



thanks in advance

hero member
Activity: 574
Merit: 501
I'm not missing the driver. Each time ubuntu updates it makes a new kernel version folder. each with a  build and updates folder. The original kernel folder has all the drivers and etc....

I rebooted and ran bfgminer again with -S /dev/ttyUSB0 and it appears to still be using my GPU. What flags do I need to use to make it use the block erupter? I've googled all day and can't find any clear instructions for linux. Plenty for Windoze 7 though.
-S all is sufficient if the driver is in order.

If I use -S all and --disable-gpu it says all devices are disabled cannot mine. If I just use -S all it still uses my GPU, and if I just use -S it says no URI supplied for pool.

What is listed when you do this?

ls -la /dev/ttyUSB*
legendary
Activity: 2576
Merit: 1186
I'm not missing the driver. Each time ubuntu updates it makes a new kernel version folder. each with a  build and updates folder. The original kernel folder has all the drivers and etc....

I rebooted and ran bfgminer again with -S /dev/ttyUSB0 and it appears to still be using my GPU. What flags do I need to use to make it use the block erupter? I've googled all day and can't find any clear instructions for linux. Plenty for Windoze 7 though.
-S all is sufficient if the driver is in order.

If I use -S all and --disable-gpu it says all devices are disabled cannot mine. If I just use -S all it still uses my GPU, and if I just use -S it says no URI supplied for pool.
Then there is something wrong with your system.
Did you by any chance run cgminer? It would mess it up until you unplug and re-plug the device.
Otherwise, can you post the output from:
Code:
bfgminer -D -T -d? -S all
member
Activity: 113
Merit: 10
I'm not missing the driver. Each time ubuntu updates it makes a new kernel version folder. each with a  build and updates folder. The original kernel folder has all the drivers and etc....

I rebooted and ran bfgminer again with -S /dev/ttyUSB0 and it appears to still be using my GPU. What flags do I need to use to make it use the block erupter? I've googled all day and can't find any clear instructions for linux. Plenty for Windoze 7 though.
-S all is sufficient if the driver is in order.

If I use -S all and --disable-gpu it says all devices are disabled cannot mine. If I just use -S all it still uses my GPU, and if I just use -S it says no URI supplied for pool.
hero member
Activity: 784
Merit: 1000
I think I'm having sync issues with EclipseMC.  So things go well for a few hours, sometimes many hours.  But then, eventually, it always shits the bed...tends to happen after all 20 of my BFL FPGA's in the MiniRig readout "abandoning search to restart".  But not always.

When it does happen, what follows is "pool 0 is submitting work from an old block"...Then the exe has a series of lines calling out .dll crashes including kernal32 and quits to prompt.

Never had this issue with cgminer 2.1.0.4, I started using bfgminer because pirate1 said yours doesn't need to install zadig for when ASIC arrives.
tew
newbie
Activity: 3
Merit: 0
I am interested in trying my hand at creating yet another FPGA cluster hasher, with each cluster connected via a single USB connection to the host (rather than 1 per FPGA).

I've looked at the Cairnsmoore 1, x6500, and Icarus drivers; each one has hard-coded some of the idiosyncrasies of those particular devices.  I'm wondering if there is something like a generic BFGminer driver skeleton I could fill in / develop against.

Is there a simple block of code that easily links with BFGminer, passes up the relevant info from the device chain (estimated duration of one hash-cycle iteration, number of hashes completed per cycle) to the main miner program on initialization, downloads base header data and range to be hashed against from the miner to the device with each getwork or stratum fetch, receives proof of work from the device to send to the mining pool, and sends an interrupt to the device when work becomes invalid?

Given the proliferation of mining devices, there's almost a need for a "miner driver" specification just like the old "packet driver" specification back in the days of Win32s enabling Win3.11 to connect to the internet, so that the people creating the new mining devices would be responsible for driver creation, rather than the mining stack software creators.

Thanks,
 -Tom
newbie
Activity: 17
Merit: 0
Hi,

I am trying to get my ASIC Miner Block Erupters working with bfgminer on Windows XP.
Installed zadig XP verion: check
Installed VCP 32 (ok for XP): check
reboot

tried: BFG 3.1.1
        BFG 3.0.0
        BFG 3.02

keep getting: "not using FTDI autodetect" after bfgminer starts.

Can you please help,

Thanks in advance,

D.
hero member
Activity: 630
Merit: 500
For some reason, bfgminer sometimes save config file with too many temperature entries.  After will not start like problem you having.    If sticking again, editing config and trim list of temperatures to just one entry:

Changing this:

            "temp-cutoff" : "90,90,90,90,90,90,90,90,90,90,90,90,90,90",
            "temp-target" : "75,75,75,75,75,75,75,75,75,75,75,75,75,75",

To be this:
            "temp-cutoff" : "90",
            "temp-target" : "75",

Then restarting and resaving config file correctly.

Should not being fatal error with too many entries.  When device missing, makes not start.

thanks that's really good info to know!
Jump to: