{"id":21159,"date":"2018-10-18T19:50:48","date_gmt":"2018-10-18T19:50:48","guid":{"rendered":"http:\/\/ci027cfe63b0002697"},"modified":"2018-10-18T19:50:48","modified_gmt":"2018-10-18T19:50:48","slug":"braiins-os-open-source-alternative-bitcoin-mining-firmware","status":"publish","type":"post","link":"https:\/\/bitcoinmagazine.com\/business\/braiins-os-open-source-alternative-bitcoin-mining-firmware","title":{"rendered":"Braiins OS: An Open Source Alternative to Bitcoin Mining Firmware [UPDATED]"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/braiins-os-an-open-source-alternative-to-bitcoin-mining-firmware-updated.jpg\" title=\"\"><\/figure>\n<p><a href=\"https:\/\/braiins-os.com\/community-edition\" target=\"_blank\" rel=\"noopener\">Braiins<\/a>&nbsp;wants to redefine open-source mining software.<\/p>\n<p>The company behind Slush Pool recently <a href=\"https:\/\/t.co\/Um2kFie6Fm\">rolled out<\/a> the initial release of its ASIC miner firmware: Braiins OS. The operating system is advertised as \u201cthe very first fully open-source, Linux-based system for cryptocurrency embedded devices,\u201d an alternative to the factory-default firmware that comes with most popular mining hardware.<\/p>\n<p>Upon visiting the project\u2019s website, visitors are greeted with a clear message, a mantra that resonates with its related industry\u2019s ethos: \u201cTake back control.\u201d<\/p>\n<h3>Rethinking Open Source in an Open Source Space<\/h3>\n<p>Further down on its website, the project invites community members to \u201c[say] goodbye to backdoors, closed systems and hidden features.\u201d This promise of transparency is an implicit reference to the contrasting opacity of its biggest competitor\u2019s mining software.<\/p>\n<p>Bitmain advertises its software as open source. But Jan \u010capek, CEO of Braiins, the company behind the eponymous OS and Slush Pool, explained to <em>Bitcoin Magazine<\/em> that too many features of Bitmain\u2019s code are covertly closed off, making it impossible to provide a proper software image \u2014 a record of the state of the mining system at a given time.<\/p>\n<p>Essentially, \u010capek indicates that a few key components are missing to make Bitmain\u2019s code full open source, such as the FPGA code. Without these pieces, users cannot parse together a full image of the mining client.<\/p>\n<p>\u201cThe problem is that most of the people out there are not able to build a complete S9 image as it is not quite obvious that all the components are provided by Bitmain. To build a complete system you need the first stage bootloader (sometimes called SPL), u-boot, Linux kernel, Linux system (buildroot\/openwrt?), FPGA bitstream (+ sources) and cgminer sources. So, there is quite more things that are to be reviewed that are still closed source and open quite a few questions,\u201d he said, \u201cFor example, why is the FPGA code still closed?\u201d<\/p>\n<p>Even without these closed systems, other softwares may include \u201cbackdoors\u201d or \u201chidden features\u201d \u2014 a practice that Braiins OS rejects as well.<\/p>\n<p>In Bitmain\u2019s case, there was a backdoor baked into the code.<\/p>\n<p>Known as <a href=\"https:\/\/bitcoinmagazine.com\/articles\/bitmain-can-remotely-shut-down-your-antminer-and-everyone-elses\">Antbleed<\/a>, the <a href=\"http:\/\/www.antbleed.com\/\" target=\"_blank\" rel=\"noopener\">feature<\/a> was introduced in July of 2016, and it gave Bitmain the ability to remotely shutdown most of its active Antminer hardware, most notably the S9. Bitmain claimed that the backdoor was there so that it could police stolen or hijacked hardware, telling <em>Bitcoin Magazine<\/em> that the company \u201cnever intended to use this feature on any Antminer without authorization from its owner.\u201d<\/p>\n<p>Regardless of its purposes, stated or otherwise, Antbleed was the primary motivation behind Braiins OS, \u010capek said.<\/p>\n<h3>A Bid For Transparency, Flexibility<\/h3>\n<p>Braiins OS\u2019s initial release leverages OpenWrt, \u201ca generic embedded Linux distribution that allows [it] a great deal of flexibility,\u201d \u010capek said, and its <a href=\"https:\/\/github.com\/braiins\/braiins\" target=\"_blank\" rel=\"noopener\">central meta project<\/a> is open to developers on GitHub.<\/p>\n<p>Per \u010capek\u2019s earlier statement, the software offers a more complete, customizable kit than the factory defaults that companies like Bitmain provide with their hardware. \u201cNone of the manufacturers provide an easy, documented or central way of building an image and running it on their hardware,\u201d he said in our interview, chalking this up to \u201cprobably [a] lack of transparency.\u201d<\/p>\n<p>As an alternative, Braiins OS \u201ccan be used to build the entire firmware image,\u201d he continued. This includes a tool to configure and run this firmware for specified hardware, something its competitors currently don\u2019t offer.<\/p>\n<p>For its rollout, Braiins OS will only be compatible with the Antminer S9 and DragonMint TI, as those are the most commonly used mining rigs currently in use. Going forward, the team plans to open up integration for other devices as well, including the Whatsminer M10.<\/p>\n<p>The project will also look to integrate with more <a href=\"https:\/\/bitcoinmagazine.com\/bitcoin-mining\/what-are-bitcoin-mining-pools\">mining pools<\/a> as it gains traction among developers. Currently, \u201cSlush Pool is one of the few pools that supports the version rolling extension of stratum protocol (BIP310),\u201d \u010capek said.<\/p>\n<p>This is in part due to caution. \u010capek told us that Braiins OS didn\u2019t want to have too many different images installed for the rollout \u201cjust in case there were any serious issues with transitions from factory firmware.\u201d Seeing as this is \u201can alpha release,\u201d he continued, \u201cmassive deployment was not desirable.\u201d<\/p>\n<p>In the meantime, the team looks forward to the community enriching its project, and \u010capek indicated that they\u2019ll be taking notes on developer activity in order to improve the project in future releases.<\/p>\n<p>\u201cCurrently, we are already gathering feedback from the community. The next release with regards to S9 will bring additional features like per hashboard frequency and voltage configuration.\u201d<\/p>\n<p><strong>Update, Friday October 19th:<\/strong>&nbsp;&#8220;Braiins today <a href=\"https:\/\/medium.com\/@braiins_systems\/bitmain-antminer-s9-asicboost-capability-verified-by-braiins-13-in-energy-savings-and-planned-da67c290152c\" target=\"_blank\" rel=\"noopener\">revealed<\/a> that they verified the existence of AsicBoost-functionality in Bitmain\u2019s S9 ASICs. For unknown (but possibly patent-related) reasons, this feature is not made available to regular users, however. The Braiins team plans to unlock this feature with BraiinsOS, which would mean that Bitmain S9 owners will be able to increase the effectiveness of their machines by more than ten percent.&#8221;<\/p>\n<p><em>An earlier version of this article incorrectly&nbsp;indicated that Braiins is an offshoot of Satoshi Labs. The article has since been corrected.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Braiins OS wants to redefine open-source mining software.<\/p>\n","protected":false},"author":3468,"featured_media":21160,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[197,928,3154,3491,3384,97,403,2448,451],"class_list":{"0":"post-21159","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-business","8":"tag-bitmain","9":"tag-braiins","10":"tag-braiins-os","11":"tag-dragonmint","12":"tag-jan-capek","13":"tag-mining","14":"tag-open-source","15":"tag-slush-pool","16":"tag-whatsminer"},"author_data":{"id":3468,"name":"Aaron Van Wirdum And Colin Harper","nicename":"aaron-van-wirdum-and-colin-harper","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/88b6c65a7515990786b1c04473e15469e5b0d0fffef947ed629a60854e1cb426?s=96&d=robohash&r=g"},"featured_image_url":"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/braiins-os-an-open-source-alternative-to-bitcoin-mining-firmware-updated.jpg","_links":{"self":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts\/21159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/users\/3468"}],"replies":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/comments?post=21159"}],"version-history":[{"count":0,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts\/21159\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/media\/21160"}],"wp:attachment":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/media?parent=21159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/categories?post=21159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/tags?post=21159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}