Bitcoin Forum
May 08, 2024, 10:13:31 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17] 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 »
  Print  
Author Topic: Braiins OS & Braiins OS+ custom ASIC firmware: optimize performance & efficiency  (Read 45037 times)
Bitcguru77
Jr. Member
*
Offline Offline

Activity: 48
Merit: 14


View Profile
January 29, 2019, 06:36:07 PM
Last edit: January 30, 2019, 10:27:43 AM by frodocooper
 #321

Maybe you cloned the mac address? Try to see it in Interfaces using the web ui or via ssh using the ifconfig | grep HWaddr command on both miners.

Hi.

I understood you are using the SD-method?

In that case if you, like me, have a windows-machine with SD-card reader you can just remove the SD card from the miner, put it into your computer and change the mac addres in uEnv.txt on the SD card with notepad++ or similar.

I used the same mac-adress as my miner had with original FW, but if you have several miners the main thing is that you give each miner a unique mac.

BR.
Steff
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715163211
Hero Member
*
Offline Offline

Posts: 1715163211

View Profile Personal Message (Offline)

Ignore
1715163211
Reply with quote  #2

1715163211
Report to moderator
braiins (OP)
Copper Member
Newbie
*
Offline Offline

Activity: 15
Merit: 21

BTC mining: Slush Pool, Stratum V2 & Braiins OS+


View Profile WWW
January 29, 2019, 06:54:14 PM
 #322

NEW RELEASE: Braiins OS Cobalt is here with January release!

Current upgrades:

  • fan control completely rewritten (the automated fan control can be overridden and fan speed can be set manually)
  • firmware upgrade process is now more smooth
  • the web UI now contains an indicator of new release availability (+ single click to install)
  • macOS guide for factory firmware transition added
  • miner status web page no longer needs access to port 4028 of the miner, everything is provided via web proxy on the miner
  • miner status page is now the default section after login
  • ...and much more!

Visit braiins-os.org for more information and downloads.

Any feedback is appreciated!

=====

Say goodbye to backdoors, closed systems and “hidden features”. Braiins OS is completely open-source and transparent.
The code is available to anyone to understand, audit and verify. And of course, you are invited to build on top of it.

Braiins - bitcoin mining company:
Slush Pool, Stratum V2 & Braiins OS+
https://braiins.com/
qctechno_isback
Member
**
Offline Offline

Activity: 91
Merit: 17


View Profile
January 29, 2019, 10:05:19 PM
Last edit: January 30, 2019, 10:29:07 AM by frodocooper
 #323

Hi.

I understood you are using the SD-method?

In that case if you, like me, have a windows-machine with SD-card reader you can just remove the SD card from the miner, put it into your computer and change the mac addres in uEnv.txt on the SD card with notepad++ or similar.

I used the same mac-adress as my miner had with original FW, but if you have several miners the main thing is that you give each miner a unique mac.

BR.
Steff

Thanks, it make sense.
I find this on Braiins OS installation page.  I will try it soon... need to move JP4 again from controller ( need to unscrew fan plate ) Tongue

Quote
Adjusting MAC Address
If you know the MAC address of your device, mount the SD card and adjust the MAC address. in uEnv.txt (most desktop Linux systems have automount capabilities once you reinsert the card into your reader). The uEnv.txt is environment for the bootloader and resides in the first (FAT) partition of the SD card. That way, once the device boots with Braiins OS, it would have the same IP address as it had with the factory firmware.
Artemis3
Legendary
*
Offline Offline

Activity: 2030
Merit: 1563


CLEAN non GPL infringing code made in Rust lang


View Profile WWW
January 29, 2019, 11:12:36 PM
Last edit: January 29, 2019, 11:36:12 PM by Artemis3
Merited by frodocooper (2), somename (1)
 #324

NEW RELEASE: Braiins OS Cobalt is here with January release!

Current upgrades:

  • fan control completely rewritten (the automated fan control can be overridden and fan speed can be set manually)
  • firmware upgrade process is now more smooth
  • the web UI now contains an indicator of new release availability (+ single click to install)
  • macOS guide for factory firmware transition added
  • miner status web page no longer needs access to port 4028 of the miner, everything is provided via web proxy on the miner
  • miner status page is now the default section after login
  • ...and much more!

Visit braiins-os.org for more information and downloads.

Any feedback is appreciated!

=====

Say goodbye to backdoors, closed systems and “hidden features”. Braiins OS is completely open-source and transparent.
The code is available to anyone to understand, audit and verify. And of course, you are invited to build on top of it.

Yay!, lets get that "...much more!" part detailed:

2019-01-24-0

All mining hardware types
  • [feature] bOS now automatically detects availability of a new version. The web UI now contains an indicator of new release availability (+ single click to install)
  • [feature] firmware upgrade process is now more smooth when upgrading from bOS that is more than 2 releases old
  • [feature] miner status web page no longer needs access to port 4028 of the miner, everything is provided via web proxy on the miner
  • [feature] a new script discover.py scans the network range and provides information about bOS devices as well as factory firmware devices
  • [feature] fancontrol completely rewritten, all mining hardware now uses the same PID controller algorithm. The automated fan control can be overriden and fan speed can be set manually
  • [feature] it is now possible to run upgrade2bos.py with --dry-run parameter to create system backup and check if the firmware is likely succeed in transitioning to bOS
  • [feature] miner status page is now the default section after login
  • [feature] transition from factory firmware to bOS can now be supplied with a post-upgrade script that runs during the first boot of the machine running bOS for the first time. Official documentation provides more details.
  • [feature] macOS guide for factory firmware transition added
  • [feature] DHCP client now sends its system hostname to its DHCP server = there is a single source of truth with regards to the machine hostname

Antminer S9
  • [feature] upgrade to bOS is now possible for S9's running older firmware that has 4 NAND partitions
  • [feature] a multiplier allows changing frequency of either per-chip calibration settings from the factory or of user configured per hash board base frequency. Web interace adjusted accordingly. The functionality is also available through the API.
  • [feature] it is now possible to restore the factory firmware without having a backup of the original firmware. The configuration is tailored from the running bOS and the restore2factory.py tool can be supplied with a factory firmware image downloaded from manufacturer's website.
  • [feature] firmware now supports the reset button used for rebooting the machine. If the push button is held down for more than 5 seconds the machine is also "factory" reset and all bOS settings are erased (Note, that it doesn't switch back to original factory firmware)

██████
███████
███████
████████
BRAIINS OS+|AUTOTUNING
MINING FIRMWARE
|
Increase hashrate on your Bitcoin ASICs,
improve efficiency as much as 25%, and
get 0% pool fees on Braiins Pool
qctechno_isback
Member
**
Offline Offline

Activity: 91
Merit: 17


View Profile
January 30, 2019, 12:17:17 AM
 #325

Convert my noisy S9 to a quiet space heater.
Having control over my hardware feel great.
No mentions about  asic boost  ON/OFF option  ?
Artemis3
Legendary
*
Offline Offline

Activity: 2030
Merit: 1563


CLEAN non GPL infringing code made in Rust lang


View Profile WWW
January 30, 2019, 12:33:11 AM
Merited by frodocooper (2)
 #326

Convert my noisy S9 to a quiet space heater.
Having control over my hardware feel great.
No mentions about  asic boost  ON/OFF option  ?

This was already present since the october version:

[feature] bmminer now supports overt AsicBoost via version rolling, latest bitstream from Bitmain has been integrated and BIP310 support has been enabled. AsicBoost can be turned off in the interface.

AsicBoost support

  • Braiins OS supports overt (version-rolling) AsicBoost in accordance with BIP310.

Trying to use AsicBoost on a pool that is not supporting it will result in an error message (the device will not start mining at all). Please note there is no automatic detection present at the moment, meaning AsicBoost can be only turned on/off manually.

Antminer S9

AsicBoost is turned on by default. This setting can be changed in:
   
  • web interface Services > CGMiner menu
  • config file /etc/cgminer.conf by altering the multi-version value to 1 (disabled) or 4 (enabled)

DragonMint T1

AsicBoost is turned on by default and can not be turned off. The device is incapable of mining efficiently without AsicBoost.

The DragonMint T1 always uses asicboost.

██████
███████
███████
████████
BRAIINS OS+|AUTOTUNING
MINING FIRMWARE
|
Increase hashrate on your Bitcoin ASICs,
improve efficiency as much as 25%, and
get 0% pool fees on Braiins Pool
philipma1957
Legendary
*
Offline Offline

Activity: 4116
Merit: 7862


'The right to privacy matters'


View Profile WWW
January 30, 2019, 12:40:06 AM
Last edit: January 30, 2019, 10:33:03 AM by frodocooper
 #327

In other news, this message from the Braiins OS Telegram channel might be of interest to all:

Quote from: Jan Čapek
S15's will be added to the longterm list. Let's roll the January update out first.

We are basically rewriting the mining software from scratch as through out the years it contains so much crappy/disfunctional and/or duplicate code that is very hard to maintain support for all the devices at a time, stay tuned ;-)

I like this a lot. I am getting a s15 in a week.  So I have an interest  in  finding out how much it can be improved.  Would be nice to get  45 watts a th Grin

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
Apprentice
Full Member
***
Offline Offline

Activity: 500
Merit: 105


View Profile
January 30, 2019, 02:06:39 PM
Last edit: January 31, 2019, 12:12:45 PM by frodocooper
 #328

I like this a lot. I am getting a s15 in a week.  So I have an interest  in  finding out how much it can be improved.  Would be nice to get  45 watts a th Grin

only the S15? no T15?

I've got T15s, it's cheaper to get them overall $/Ths
Bitcguru77
Jr. Member
*
Offline Offline

Activity: 48
Merit: 14


View Profile
January 30, 2019, 08:11:28 PM
Last edit: January 31, 2019, 12:13:37 PM by frodocooper
 #329

For some reason my miner got a new IP from the router even though I set the same mac-address as with Bitmain FW. However we put BOS into my friends miner simultaneously (connected to same router) using his Bitmain FW-mac and got no conflicts. I can't remember if his miner got a new IP though.

Just saying that don't be to sure about the "it would have the same IP address as it had with the factory firmware" part.

BR.
Steff
Apprentice
Full Member
***
Offline Offline

Activity: 500
Merit: 105


View Profile
January 31, 2019, 07:37:13 AM
Last edit: January 31, 2019, 12:13:58 PM by frodocooper
 #330

you can change the MAC address from the Braiins interface in networks->interfaces->edit->advanced settings... save & reboot
Bbrodka
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
January 31, 2019, 09:50:23 AM
 #331

Currently running November version of braiins on bootable SD
Can someone explain how to upgrade to January version
Can it be done via ssh? Or do I have to burn image to ssd card again?
Docs are confusing for us non programmers
Apprentice
Full Member
***
Offline Offline

Activity: 500
Merit: 105


View Profile
January 31, 2019, 09:52:34 AM
 #332

Currently running November version of braiins on bootable SD
Can someone explain how to upgrade to January version
Can it be done via ssh? Or do I have to burn image to ssd card again?
Docs are confusing for us non programmers

I think it is best to reflash the SD card.
braiins (OP)
Copper Member
Newbie
*
Offline Offline

Activity: 15
Merit: 21

BTC mining: Slush Pool, Stratum V2 & Braiins OS+


View Profile WWW
January 31, 2019, 11:26:37 AM
 #333

Currently running November version of braiins on bootable SD
Can someone explain how to upgrade to January version
Can it be done via ssh? Or do I have to burn image to ssd card again?
Docs are confusing for us non programmers

Hi,

you can upgrade to January release directly via the web interface.

We have described the process step-by-step here:
https://docs.braiins-os.org/#firmware-upgrade

Braiins - bitcoin mining company:
Slush Pool, Stratum V2 & Braiins OS+
https://braiins.com/
Artemis3
Legendary
*
Offline Offline

Activity: 2030
Merit: 1563


CLEAN non GPL infringing code made in Rust lang


View Profile WWW
January 31, 2019, 12:43:30 PM
Last edit: February 01, 2019, 03:55:17 AM by frodocooper
 #334

Currently running November version of braiins on bootable SD
Can someone explain how to upgrade to January version
Can it be done via ssh? Or do I have to burn image to ssd card again?
Docs are confusing for us non programmers

Upgrade the package firmware after refreshing the packages. Using the web ui:

  • Update the repository information by clicking on Update lists button in the System > Software menu. In case the button is missing, the system has to be rebooted!
  • Once done, proceed to update the firmware package.

Or via ssh: opkg update && opkg install firmware

Yes, you are just going to upgrade a package called "firmware", that's it.
Use of the sd card is always optional. Can be used for temporary testing, or if your controller nand flash storage is damaged somehow.

I think it is best to reflash the SD card.

Be careful you don't end with cloned mac addresses.

██████
███████
███████
████████
BRAIINS OS+|AUTOTUNING
MINING FIRMWARE
|
Increase hashrate on your Bitcoin ASICs,
improve efficiency as much as 25%, and
get 0% pool fees on Braiins Pool
Bbrodka
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
January 31, 2019, 03:24:50 PM
Last edit: February 01, 2019, 03:55:38 AM by frodocooper
 #335

I get error Unknown package 'firmware'.

Code:
root@S9003:~# opkg update && opkg upgrade firmware
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_neon/base/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_base
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_neon/base/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_neon/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_luci
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_neon/luci/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_neon/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_packages
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_neon/packages/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_neon/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_routing
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_neon/routing/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_neon/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_telephony
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_neon/telephony/Packages.sig
Signature check passed.
Unknown package 'firmware'.
root@S9003:~#
Artemis3
Legendary
*
Offline Offline

Activity: 2030
Merit: 1563


CLEAN non GPL infringing code made in Rust lang


View Profile WWW
February 01, 2019, 02:48:46 PM
Merited by frodocooper (3)
 #336

I get error Unknown package 'firmware'.

That is strange, but i think i experienced that once or twice before. Try removing the package firmware to force a reset: opkg remove firmware

If that doesn't work, then you could follow the procedure to return to the factory firmware, and then again install Braiins OS.

In the official docs, ignore where they mention an SD card, their English isn't perfect and that wording is imprecise. That is the procedure to return the firmware in the NAND (not SD) of your miner's controller (tho it could work the same if you had an SD card with the jp4 jumper moved, i guess?:

Quote
cd braiins-os_am1-s9_ssh_VERSION
python3 restore2factory.py backup/2ce9c4aab53c-2018-09-19/ your-miner-hostname-or-ip

This part 2ce9c4aab53c-2018-09-19 changes on each unit install. In Linux use tab to autocomplete the actual folder, or just look at them inside ./backup/.

If you installed it with the python script, you should already have a backup and going back to Bitmain's firmware is easy using that method.
But it is now possible to use the (current) python script to go back to a factory firmware downloaded from bitmain when you don't have a backup.

The restore2factory.py python script should have an argument that accepts Bitmain's firmware file directly, but I have yet to try that procedure.

██████
███████
███████
████████
BRAIINS OS+|AUTOTUNING
MINING FIRMWARE
|
Increase hashrate on your Bitcoin ASICs,
improve efficiency as much as 25%, and
get 0% pool fees on Braiins Pool
papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
February 02, 2019, 12:01:10 PM
Last edit: February 02, 2019, 11:54:42 PM by frodocooper
Merited by frodocooper (3)
 #337

Does the mac address adjustment needed for latest cobalt 2019-01-24 to flash permanent via ssh or its only needed for sd card?



Hi guys and thanks Braiins for the great firmware!

I am wondering if someone has an idea how to perform different freq and voltages set up on a schedule?
For example to set up frequency 500 with voltage 8 at 7:00-22:59 and to set up frequency 750 with voltage 9 at 23:00-6:59.

Any ideas are very much appreciated.

Add 2 cgminer.conf with your desired configs

Example:

Code:
/root/cgminer.conf.500 
/root/cgminer.conf.750

Then edit crontab and set it to copy them before reload cgminer like this

Code:
0 7 * * * cp /root/cgminer.conf.500 /etc/cgminer.conf && /etc/init.d/cgminer reload
0 23 * * * cp /root/cgminer.conf.750 /etc/cgminer.conf && /etc/init.d/cgminer reload

Dont know if you need to stop cgminer before copy new config or not, if so you can do this:

Code:
59 6 * * * /etc/init.d/cgminer stop
0 7 * * * cp /root/cgminer.conf.500 /etc/cgminer.conf
1 7 * * * /etc/init.d/cgminer start
59 22* * * /etc/init.d/cgminer stop
0 23 * * * cp /root/cgminer.conf.750 /etc/cgminer.conf
1 23 * * * /etc/init.d/cgminer start

Artemis3
Legendary
*
Offline Offline

Activity: 2030
Merit: 1563


CLEAN non GPL infringing code made in Rust lang


View Profile WWW
February 02, 2019, 01:15:10 PM
Last edit: February 02, 2019, 11:56:30 PM by frodocooper
 #338

Does the mac address adjustment needed for latest cobalt 2019-01-24 to flash permanent via ssh or its only needed for sd card?

Its not needed. But the SD card users tend to flash the exact same image (from a PC) to multiple SDs, therefore cloning the mac address.
If your devices are already using different mac addresses, don't worry.

██████
███████
███████
████████
BRAIINS OS+|AUTOTUNING
MINING FIRMWARE
|
Increase hashrate on your Bitcoin ASICs,
improve efficiency as much as 25%, and
get 0% pool fees on Braiins Pool
papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
February 02, 2019, 02:39:42 PM
Last edit: February 05, 2019, 12:23:43 AM by frodocooper
 #339

Its not needed. But the SD card users tend to flash the exact same image (from a PC) to multiple SDs, therefore cloning the mac address.
If your devices are already using different mac addresses, don't worry.

Thanks for clarify.



I just flashed an S9J with ssh image successfully and am going to do the rest of my miners

Need a little help here,
At the end of the operation it print out "Content of U-Boot configuration" as bellow:

Code:
Content of U-Boot configuration:
miner_pool_host=stratum+tcp://stratum.slushpool.com
miner_pool_port=3333
miner_pool_user=!non-existent-user!
load_addr=0x2000000
fdt_high=0x7FFFFFF
initrd_high=0x7FFFFFF
bitstream_addr=0x2100000
bootenv=uEnv.txt
set_bootargs=setenv bootargs console=ttyPS0,115200 root=/dev/ram0 r rootfstype=squashfs ${mtdparts} earlyprintk
uenv_load=load mmc 0 ${load_addr} ${bootenv} && echo Loaded environment from ${bootenv} && env import -t ${load_addr} ${filesize}
load_fpga=nand read ${load_addr} ${bitstream_off} ${bitstream_size} && unzip ${load_addr} ${bitstream_addr} && fpga loadb 0 ${bitstream_addr} ${bitstream_size}
nandboot=echo Copying FIT from NAND flash to RAM... && run uenv_load; test x${sd_boot} = xyes && run sdboot; run set_bootargs && run load_fpga && nand read ${load_addr} ${kernel_off} ${kernel_size} && bootm ${load_addr}
sdboot=echo Copying FIT from SD to RAM... && run set_bootargs && run uenv_load; load mmc 0 ${load_addr} fit.itb && bootm ${load_addr}
mtdids=nand0=pl35x-nand
mtdparts=mtdparts=pl35x-nand:512k(boot),2560k(uboot),2m(fpga1),2m(fpga2),512k(uboot_env),512k(miner_cfg),22m(recovery),95m(firmware1),95m(firmware2)
bootcmd=run $modeboot
bitstream_off=0x300000
bitstream_size=0x74a74
kernel_off=0xB000000
kernel_size=0x6b5274
stage2_off=0x3D00000
stage2_size=0x1076b99
stage2_mtd=8
ethaddr=0c:19:d1:fc:4e:a9
miner_hwid=TKGqkuaOSqj1UIaz
miner_freq=550
miner_voltage=0706
net_ip=192.168.1.81
net_mask=255.255.255.0
net_gateway=192.168.1.1
net_dns_servers=192.168.1.1

And then:

Code:
Upgrade was successful!

Where can I find "U-Boot configuration" to edit so I dont need to manually edit all the other miners after flash.

Artemis3
Legendary
*
Offline Offline

Activity: 2030
Merit: 1563


CLEAN non GPL infringing code made in Rust lang


View Profile WWW
February 04, 2019, 02:35:39 AM
Last edit: February 05, 2019, 12:24:14 AM by frodocooper
 #340

Hi all! Trying to ssh braiins to my Dragonmint T1 (g19) and im getting this: "Error log: Unsupported miner RAM size: 250544 kB" . Any clues to what i'm doing wrong?

Does it have the SD slot? If not, you can't use it.
That error simply means 256M of ram is not supported, maybe it needs 512M?

██████
███████
███████
████████
BRAIINS OS+|AUTOTUNING
MINING FIRMWARE
|
Increase hashrate on your Bitcoin ASICs,
improve efficiency as much as 25%, and
get 0% pool fees on Braiins Pool
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17] 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!