|
@@ -337,6 +337,7 @@ bool opt_gekko_gsc_detect = 0;
|
|
|
bool opt_gekko_gsd_detect = 0;
|
|
|
bool opt_gekko_gse_detect = 0;
|
|
|
bool opt_gekko_gsh_detect = 0;
|
|
|
+bool opt_gekko_bax_detect = 0;
|
|
|
bool opt_gekko_gsi_detect = 0;
|
|
|
bool opt_gekko_gsf_detect = 0;
|
|
|
bool opt_gekko_r909_detect = 0;
|
|
@@ -354,11 +355,13 @@ float opt_gekko_wait_factor = 0.5;
|
|
|
#endif
|
|
|
float opt_gekko_step_freq = 6.25;
|
|
|
int opt_gekko_gsh_freq = 100;
|
|
|
+int opt_gekko_bax_freq = 100;
|
|
|
int opt_gekko_gsi_freq = 550;
|
|
|
int opt_gekko_gsf_freq = 200;
|
|
|
int opt_gekko_r909_freq = 450;
|
|
|
int opt_gekko_bauddiv = 0;
|
|
|
int opt_gekko_gsh_vcore = 400;
|
|
|
+int opt_gekko_bax_vcore = 400;
|
|
|
int opt_gekko_start_freq = 100;
|
|
|
int opt_gekko_step_delay = 15;
|
|
|
bool opt_gekko_mine2 = false; // gekko code ignores it
|
|
@@ -2270,6 +2273,9 @@ static struct opt_table opt_config_table[] = {
|
|
|
OPT_WITHOUT_ARG("--gekko-newpac-detect",
|
|
|
opt_set_bool, &opt_gekko_gsh_detect,
|
|
|
"Detect GekkoScience NewPac BM1387"),
|
|
|
+ OPT_WITHOUT_ARG("--gekko-bitaxe-detect",
|
|
|
+ opt_set_bool, &opt_gekko_bax_detect,
|
|
|
+ "Detect GekkoScience NewPac BM1387"),
|
|
|
OPT_WITHOUT_ARG("--gekko-r606-detect",
|
|
|
opt_set_bool, &opt_gekko_gsi_detect,
|
|
|
"Detect GekkoScience Terminus BM1387"),
|
|
@@ -2309,6 +2315,9 @@ static struct opt_table opt_config_table[] = {
|
|
|
OPT_WITH_ARG("--gekko-newpac-freq",
|
|
|
set_int_0_to_9999, opt_show_intval, &opt_gekko_gsh_freq,
|
|
|
"Set GekkoScience NewPac BM1387 frequency in MHz, range 50-900"),
|
|
|
+ OPT_WITH_ARG("--gekko-bitaxe-freq",
|
|
|
+ set_int_0_to_9999, opt_show_intval, &opt_gekko_bax_freq,
|
|
|
+ "Set GekkoScience Bitaxe BM1387 frequency in MHz, range 50-900"),
|
|
|
OPT_WITH_ARG("--gekko-r606-freq",
|
|
|
set_int_0_to_9999, opt_show_intval, &opt_gekko_gsi_freq,
|
|
|
"Set GekkoScience Terminus R606 frequency in MHz, range 50-900"),
|