cgminer-gekko icon indicating copy to clipboard operation
cgminer-gekko copied to clipboard

Gekko NewPack 2 chip Bitmain BM1387 Different Software Version

Open mauriziobortolin opened this issue 4 years ago • 1 comments

I try to using the USB Gekko NewPack with 2 chip Bitman BM 1387 and try to work over 200 MHz frequency.

For example I try to work at 600 MHz (obviusly using a specific cooling system).

I start cgminer passing parameter --gekko-newpac-freq 600

If I mining with binary for windows build in 2019 the software start to 200 MHz frequency and try step by step to arrive to 600 MHz. The step frequency is always 6.25.

If I mining with last binary downloaded (last exe from github or building using instruction) the software start immediatly to 600 MHz.

If I try to use the parameter:

  • opt_gekko_start_freq < 600 MHz
  • opt_gekko_step_freq
  • opt_gekko_step_delay

Start always at 600 MHz.

In effect in the file driver-gekko.c we have case IDENT_GSH: info->frequency_requested = opt_gekko_gsh_freq; info->frequency_start = opt_gekko_gsh_freq; break;

Where opt_gekko_gsh_freq is the gekko-newpac-freq parameter. The parameter opt_gekko_step_freq never use for NewPack device.

Why this change respect old binary version?.

Exist the source code (to rebuild with last fix code) referring to old binary version? If I check the versions of the file driver-gekko.c don't find a difference about setting the start frequency.

mauriziobortolin avatar Jun 11 '21 15:06 mauriziobortolin

Hello unfortunately I don't own a newpac. It's not available or expensive in my area.

I have modified the software a little, theoretically it should work. Can you test it? I updated the code and compiled the code for windows... (you have to download "release" on the github page https://github.com/wareck/cgminer-gekko/releases)

I will adapt the code again if needed

thanks

best regards

wareck

wareck avatar Jun 15 '21 17:06 wareck