Author

Topic: Problems with editing CGMiner for Antminer S1 (Read 3025 times)

newbie
Activity: 13
Merit: 0
I have taken a copy of the latest CGMiner source and can cross-compile that fine to work on my Antminer S1, although the resulting file is larger than the corresponding, downloadable already build version but that's not an issue.  I also have a copy of the cgminer-openwrt-packages git for the makefile etc.

I would like to make a few minor changes to the software but am having trouble getting the resulting files to run at all.  It is not my coding at fault as even if I make the smallest change possible or just swap 2 independent consecutive lines around I get the same problem.

Basically the code still builds fine but when loaded into the S1, it won't run.  On restarting (or Submit Changes) CGMiner will not appear in the processes tab at all so no mining takes place.  I have tried making minor changes (that do absolutely nothing) to both the cgminer.C file and to one of the other .C files but get the same result.

I commit the changes to the git, make a new branch and give it a new number, alter the makefile accordingly with the new number and new MD5 and cross-compile which appears to go through without a hitch.  What am I missing?

If I undo the changes and rebuild the code, it all works fine again, even with a new number, so the cross compiling also appears to be correct.  Is there another checksum buried in there somewhere maybe?

Any ideas?
Jump to: