Giter VIP home page Giter VIP logo

bmminer-mix's Introduction

environment setup:
need 2 PATH: toolchain base path and other open source lib binary and include files base path.

for example:
XILINX_BASE_PATH=/home/XILINX/gcc-linaro-arm-linux-gnueabihf-4.7-2012.11-20121123_linux
XILINX_OTHER_LIB_BASE_PATH=/home/XILINX/bin
export XILINX_OTHER_LIB_BASE_PATH
export XILINX_BASE_PATH

How to compile:
1. set miner type value
./setminertype S9
option: S9   R4   T9   T9+

2. compile the code
make

bmminer-mix's People

Contributors

clement-duan avatar releasebmminer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bmminer-mix's Issues

Doesn't work with Antminer s9i

This bmminer doesn't compatible with the antminer s9i -- low hashrate issue and no temperature of boards detected. PLEASE, FIX!

multiple pool

Hi,
i want to edit this and i want to enable multiple pool for example some hours work for other pool and worker or split hashrate between two pool..

WARNING! Breaks T9+ Do not compile & run!

Miner Type = T9+ Check chain[1] PIC fw version=0x90 chain[1] PIC need restore ...
fw version is 0x90 but it says it needs restored.. Next run you see it's corrupted:
Check chain[1] PIC fw version=0xff chain[1] PIC need restore ...
Then it repeats that every run incorrectly reflashing as many as it can before the forced auto-reboot. If given enough time, it kills 1 chain after another. Then those chains no longer work.. Reached out to bitmain support on this but so far not much luck. Either something changed with the newer autotune firmware or it was a fluke but I upgraded to Nov 2018 release & everything was working fine for many days. Built this per instructions including setting the miner type, threw it on the T9+ and upon running it detects firmware is incorrect & attempts to flash the dsPIC33EP16GS202_app.txt hex file that comes with the Nov update only to fail with errors. It eventually reboots itself repeating that process multiple times killing more & more cards with each reboot. Not sure at this point if the Nov dsPIC33EP16GS202_app.txt file is incompatible with the older source, if there's a bug in the source or what exactly transpired but adding this bug report to hopefully prevent anyone else from running into this issue. Hopefully I get solution from bitmain but I might have to resort to copying good board with PICkit3 but hoping there is a software fix available. Until then, anyone using this source BEWARE!! At minimum you'll want to modify the source to ignore the "incorrect" firmware version or at least disable the auto-flashing process in the code which what I did but not until after it killed cards. :(
antminert9plus-missingchains-sm

New version

Do you plan to release a fresh version of bmminer ?
For S9i/S9j and etc.

cgminer.c - update the copyright notice, please.

Dear Bitmain Team!

It takes me several hundreds of unpaid hours to get out this working code!

Honor my work, please!

100% of this code was reformatted and optimized by me (Zwilla = Miguel Padilla) Started Dec 2015 to September 2016.

At first it would be more then fair, that you add again this notice into the header:

/* Copyright 2016 Miguel Padilla - Donations: 19aST25BBcQyk6JyGScJiZuUbdCMVNMJ4q

  • Copyright 2011-2015 Con Kolivas
  • Copyright 2011-2015 Andrew Smith
  • Copyright 2011-2012 Luke Dashjr
  • Copyright 2010 Jeff Garzik

And second, if you are really fair to me send some coins not satoshi’s to my address here: 19aST25BBcQyk6JyGScJiZuUbdCMVNMJ4q

You can check my work here = your work:
https://github.com/Zwilla/cgminer/pull/1 115 commits +2,234 −46,606
https://github.com/Zwilla/bmminer-cgminer492/graphs/contributors adding +97,573 and deleting -4,473
https://github.com/Zwilla/bmminer-asm/graphs/contributors +202,998 changes

All my unpaid work are now inside your code. Also (not only) you can send me some miners for testing, developing and optimizing. This is my Bitmain Store login: [email protected] (Zwilla Research) Germany

I love Bitmain products and I want to develop more optimizations but I need your support!

thx
Michael Padilla

If you want to double check my btc address: https://www.zwilla.de

Buffer overflow / remote code execution possible with this software

A malicious pool can send a coinbase1 that is > 8192 bytes which will overflow this static buffer:

https://github.com/bitmaintech/bmminer-mix/blob/master/driver-btm-c5.c#L347

When it gets filled here:

memcpy(last_job_buffer,tmp_buf,buf_len);

A malicious pool can inject arbitrary code onto the stack, taking control of the miner and doing whatever they want with it, including causing it to catch fire.

Please plug this hole.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.