Describing the differences between Antminer and Whatsminer control board variants and developing firmware for each of them.
While the Braiins OS+ development team is hard at work adding support for Whatsminers and different control board variations of the Antminer X19’s, we’re hearing the questions (and frankly the frustrations) of many miners who would like us to release this support yesterday.
Unfortunately, there’s nothing that we (the Braiins marketing and support teams) can do to speed up the process. And there’s also only so many soon TM stickers we can post. So, in this article, we’ll do the best thing we can: explain to you what our engineering team has explained to us about what these different control board variations are and why the development process is so time consuming.
There are currently 3 variations of control boards that may come with your Antminer X19 devices:
For firmware development, the biggest difference between these control boards is the system-on-a-chip (SoC) being used. A SoC is a microchip that integrates the CPU components and peripherals of an electronic device. In less engineering-y terms, the SoC is critical for telling the ASIC chips (that do the actual hashing) what to do.
In the case of the Zynq control boards, they use a Xilinx SoC which has been consistent across multiple generations of Bitmain hardware. That’s why, if you have an X17 control board, you can swap it into an X19 device and it will work well with Braiins OS+ on the X19. The SoC and connector pinouts are the same between these X17 and X19 Zynq control boards, so Braiins OS+ can auto-detect which hardware model it is and run the corresponding firmware version.
During the latter half of 2021, it seems that Bitmain ran out of the supply of these Xilinx chips and had to change to a modified BeagleBone Black (BBB) design where the main SoC is an AM335x Sitara. Shortly after, they introduced a third control board variant called Amlogic in which the SoC is an Amlogic A113D. Readers may be interested to know that these Amlogic A133D chips are primarily meant for audio processing, e.g. in smart speakers such as Amazon Alexa.
There is one thing in common between all 3 of these control board variations, however. Each has Secure Boot enabled, making it more difficult to install custom firwares and to access the machines via SSH. Our only comment on this: not your firmware, not your miner.
We’ve had support for Antminer S19, S19 Pro, T19, S19j, and S19j Pro with Zynq control boards for a while, and we’ve since turned our attention to supporting the BBB’s. The reason BeagleBone support is taking multiple months is that the firmware itself is much different compared to the version that runs on Zynq boards.
In the case of the Zynq control boards, the firmware has an FPGA component that handles the real-time streaming of data to and from the ASIC hashing chips. The SoC’s on the BBB and Amlogic boards do not have this FPGA component, and so the firmware itself is significantly different for these control board variations. As a result, getting a full feature match and up-to-par autotuning performance for BBB’s and Amlogic is almost like supporting new hardware models altogether, and it takes time.
The case for Whatsminers is actually pretty similar. We have had Braiins OS+ running on the Whatsminer M20S for a while now. However, MicroBT also uses 3 different types of SoC’s on their control boards with a seemingly arbitrary distribution. The 3 variations on Whatsminer M20S devices are H3, H6, and H6OS. In order to release Braiins OS+ to the public, we need to ensure that it runs smoothly on each of these variations, which requires developing different versions of the firmware.
If it’s any consolation, this frustrates us as much as anybody. But the answer to wen whatsminer and wen BBB / amlogic is…
One of the best things that could happen for bitcoin miners and the bitcoin network itself would be widespread GPL-compliance (General Public License) by hardware manufacturers and firmware developers with their forks of CGminer. This would greatly improve transparency and decrease the trust that miners must place in hardware manufacturers and firmware developers, while also spurring greater competition in the space—all of which is good for the end customers, miners.
For those who don’t know, CGminer was originally published as fully open-source software under a GPL which requires anybody who modifies the code to publish their sources publicly. Modified versions of CGminer are still being used prevalently throughout the bitcoin mining industry to this day, with the only exception being Braiins OS+ which is based on BOSminer, the mining software we wrote from scratch in Rust and published in 2020.
This means that the majority of mining machines and the miners running non-compliant firmware on them are in violation of the CGminer GPL and subject to lawsuits. It’s a black mark on the mining industry and one that will only fade away if miners—the purchasers of mining hardware and users of firmware—demand it.
Not your firmware, not your miner.
Bitcoin mining software company: Slush Pool, Braiins OS+ & Stratum V2.
By miners, for miners.
Increase hashrate on your Bitcoin ASICs, improve efficiency as much as 25%, and mine on any pool or get 0% pool fees on Slush Pool.
Reduce data transmission between your farm and pool by 95%. Configure parallel usage of multiple pools. Set a backup pool for the whole farm.
It focuses on making data transfers more efficient, reducing physical infrastructure requirements for mining operations, and increasing security
Industry leaders in transparency and innovation, with more than 1.25 million BTC mined since 2010.