Pages:
Author

Topic: Braiins OS & Braiins OS+ custom ASIC firmware: optimize performance & efficiency - page 40. (Read 45351 times)

newbie
Activity: 9
Merit: 0
hello, i installed braiins os by ssh on s9 13.5 all good, but when i go to cgminer, i have error

Code:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute cbi dispatcher target for entry '/admin/services/cgminer'.
The called action terminated with an exception:
/usr/lib/lua/luci/model/cbi/cgminer.lua:297: default configuration not available, create /etc/cgminer.conf
stack traceback:
    [C]: in function 'assert'
    /usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
    /usr/lib/lua/luci/dispatcher.lua:141: in function

plz help.
newbie
Activity: 2
Merit: 0
Hello, I just installed the latest build of braiins-os (via terminal) to my Dec 2017 batch S9s (auto tune, 13.5s).

And they are hashing OK (725 + 8.9v = ~15th), but on none of them are board temperatures being displayed/reported via your graph/web interface.

Bug?
copper member
Activity: 1
Merit: 0
Great work on this firmware.  Moved 10 S9s over and all have been working great for 3+ weeks.  Plans to include T9s?
jr. member
Activity: 112
Merit: 3
Linux Forever... Resistance is futile!!!
@braiins
Hi and thanks for your firmaware, I liked it a lot.

I waited a week to see if you are going to post an explanation on nick5429 post, but seems you forgot.
So can you please explain this, and is there any plans to fix it?

1) The temperature displayed (at least for my model of S9) is a complete lie. The miner (and this code comes from bitmain) tries to read both PCB and ASIC temp.  The ASIC temps are deemed unreliable by the algorithm and/or can't be read on my model, so the code basically takes the actual PCB temp reading (generally 50-65C for me) adds an arbitrary 30-35C to "fake" an estimate at the ASIC temps.

Braiins web UI displays the faked temp including the offset (~90C), bitmain stock UI (autofreq, pre-asicboost) displays the original PCB reading (~60C).
copper member
Activity: 15
Merit: 21
BTC mining: Slush Pool, Stratum V2 & Braiins OS+
please add a manual fan speed option also.

It's also in our plan Smiley
newbie
Activity: 9
Merit: 0
please add a manual fan speed option also.
copper member
Activity: 15
Merit: 21
BTC mining: Slush Pool, Stratum V2 & Braiins OS+
Great product Braiins, thank you.

Suggestion: There is no where I can find in the GUI to display the status of the supplied pools (i.e. if a pool is dead, and what pool is currently being used), it would be great to have that.

Hi,

thanks for your suggestion!

We would like to bring a new status page in the next Brains OS release.
Hopefully it will meet your expectations :-)

Have a nice day,
legendary
Activity: 1258
Merit: 1027
Great product Braiins, thank you.

Suggestion: There is no where I can find in the GUI to display the status of the supplied pools (i.e. if a pool is dead, and what pool is currently being used), it would be great to have that.
newbie
Activity: 1
Merit: 0
Hi,

thanks for providing braiins os! We have successfully tested it on our S9's. Now we have tried to
flash it into the NAND memory of some bricked devices.

I put the questions above:

Q1: Is there a way to flash braiins os into NAND memory, when booted braiins os from SD?

Q2: is the step flas_eraseall required to flash?

What we have tried is to boot the bricked device from SD with braiins os. That works perfectly.
But when trying to flash braiins OS into NAND, that's not prepared by the install scripts, we tried several ways.

A) Remote via ssh and 'upgrade2bos.py' . That does not work, ends with "braiins os is allready installed".

B) copy everything required for running stage1.sh (of folder 'factory_transition') into /tmp/firmware of the
  bricked device, which is booted from SD, and run installation locally.
  There are some pitfalls:

   - We found that some binaries are missing on braiins os, that it uses when running stage1.sh, utilzing the
  binaries still in place from the S9:like flash_erase_all, ... we copied them from another miner.

   - Also we found that the mtd layout of the running braiins OS from SD does not hold the installer stage2:

Code:
(mtdparts=pl35x-nand:512k(boot),2560k(uboot),2m(fpga1),2m(fpga2),512k(uboot_env),512k(miner_cfg),22m(recovery),95m(firmware1),95m(firmware2))

Code:
root@m55:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00020000 "boot"
mtd1: 00280000 00020000 "uboot"
mtd2: 00200000 00020000 "fpga1"
mtd3: 00200000 00020000 "fpga2"
mtd4: 00080000 00020000 "uboot_env"
mtd5: 00080000 00020000 "miner_cfg"
mtd6: 01600000 00020000 "recovery"
mtd7: 05f00000 00020000 "firmware1"
mtd8: 05f00000 00020000 "firmware2"

 - So we patched the SD so it reflects the mtdparams required:

Code:
mtdparts=pl35x-nand:32m(BOOT.bin-env-dts-kernel),144m(angstram-rootfs),60m(upgrade-rootfs),20m(upgrade-tmp)

Then run stage1.sh locally. This seems to work, except - the binary flash_erase_all returns a warning that it's deprecated:

Code:
'flash_eraseall has been replaced by `flash_erase 0 0`; please use it'

Though the script runs through, flashes braiins-os into the nand and completes. But after reboot and jumpering to boot from NAND, the system remains inaccessible.

Do you have any advice how to flash braiins-os into a bricked device?

Thanks and regards, mario!



This has been resolved by the fantastic support, providing an updated bos2bos.py. Thank you!
newbie
Activity: 86
Merit: 0
Nice work mate.
So in other words we have no clue what temps the chips are running? wow, gotta take it easy with OC.
Have mine in the garage so i have a colder enviroment....
member
Activity: 79
Merit: 14
Dug through the source, recompiled, made several cgminer modifications and tried several tweaks.

Learnings, tested on a 13.5TH autofreq miner from Dec 2017, overclocked to ~15.5TH with asicboost enabled on Braiins and playing with the code:

1) The temperature displayed (at least for my model of S9) is a complete lie. The miner (and this code comes from bitmain) tries to read both PCB and ASIC temp.  The ASIC temps are deemed unreliable by the algorithm and/or can't be read on my model, so the code basically takes the actual PCB temp reading (generally 50-65C for me) adds an arbitrary 30-35C to "fake" an estimate at the ASIC temps.

Braiins web UI displays the faked temp including the offset (~90C), bitmain stock UI (autofreq, pre-asicboost) displays the original PCB reading (~60C).

2) Auto fan control works fine, it's just maybe biased a little slower than bitmain's -- mine hovered around 70% PWM in braiins.  I made modifications to cgminer to push the fan curve higher for mine to ensure good cooling for overclocking, I'm now generally at 80-90% PWM now. The difference between 70% PWM fan and 100% PWM fan is at least 20-40W power increase to run the fans.

3) Power usage on pre-asicboost bitmain firmware at 13.5TH is roughly equivalent to Braiins with asicboost at 15TH (9V and 712mhz set on each chain) for me

4) The 'recommended voltage' goes down as frequency goes up based on Bitmain's internally coded tables, which are intended to help the device stay within a given power usage envelope.  [until you hit the point of frying the thing], more voltage is always going to help the chain go faster -- it's just going to suck more power (and possibly more power than your PSU or cooling can handle)

I'm also working on an auto-frequency-adjuster that can lower frequency per-asic-chip on each board (like that one with the cool red/green UI, but automated).

It works well for modifying frequency on a per-asic basis, but the heuristic I was basing 'when should I turn down the frequency' on appears invalid, at least for some of the chips (I've been using 'reported per-asic hashrate not within 15% of ideal per-asic hashrate').  Anyone know what that red/green UI uses to determine when to display red?
newbie
Activity: 4
Merit: 0
Are there some screen shots of this BrainOS firmware's UI somewhere? Curious what it looks like compared to the stock firmware
member
Activity: 159
Merit: 12
ok, i understand!!!
Do you have a time to upload your web api page?

J-F

i uploaded it on github, use the following topic to check:
https://bitcointalksearch.org/topic/miners-stats-on-single-page-5065875
newbie
Activity: 16
Merit: 0
on one of my s9 from feb-2017 batch it is not showing chip and board temps

ok, i understand!!!
Do you have a time to upload your web api page?

J-F



I'm also seeing reported temperatures *much* higher (~20C hotter) than what the bitmain stock firmware reported.  I'm just not sure if the two are reporting the same measurement -- if not, they're not really comparable.  If these are the same measurements though, that's not great.

My S9's are in an air conditioned room at ~15C ambient air temp.

Stock bitmain 13.5TH: 65-70C reported temps
Braiins at similar hashrate: 85-90C reported temps

I sent in a ticket to braiins to ask for clarification...

Hi Nick, i have a stupid question. Smiley Where i open ticket to braiins?
member
Activity: 159
Merit: 12
Hi Sergw, why you would rollback?

on one of my s9 from feb-2017 batch it is not showing chip and board temps
newbie
Activity: 16
Merit: 0
is it possible to upload bitmain firmware via Brains OS web - interface? i would like to roll back firmware.

Hi Sergw, why you would rollback?
member
Activity: 159
Merit: 12
is it possible to upload bitmain firmware via Brains OS web - interface? i would like to roll back firmware.
newbie
Activity: 16
Merit: 0
I'm also seeing reported temperatures *much* higher (~20C hotter) than what the bitmain stock firmware reported.  I'm just not sure if the two are reporting the same measurement -- if not, they're not really comparable.  If these are the same measurements though, that's not great.

My S9's are in an air conditioned room at ~15C ambient air temp.

Stock bitmain 13.5TH: 65-70C reported temps
Braiins at similar hashrate: 85-90C reported temps

I sent in a ticket to braiins to ask for clarification...

Good idea, keep me in touch!

J-F Aubin
full member
Activity: 500
Merit: 105
I'm also seeing reported temperatures *much* higher (~20C hotter) than what the bitmain stock firmware reported.  I'm just not sure if the two are reporting the same measurement -- if not, they're not really comparable.  If these are the same measurements though, that's not great.

My S9's are in an air conditioned room at ~15C ambient air temp.

Stock bitmain 13.5TH: 65-70C reported temps
Braiins at similar hashrate: 85-90C reported temps

I sent in a ticket to braiins to ask for clarification...

Same here but I see the fabs on braiins spin slower, can tell from the lower pitch. Guess that's why they're hotter.

member
Activity: 79
Merit: 14
I'm also seeing reported temperatures *much* higher (~20C hotter) than what the bitmain stock firmware reported.  I'm just not sure if the two are reporting the same measurement -- if not, they're not really comparable.  If these are the same measurements though, that's not great.

My S9's are in an air conditioned room at ~15C ambient air temp.

Stock bitmain 13.5TH: 65-70C reported temps
Braiins at similar hashrate: 85-90C reported temps

I sent in a ticket to braiins to ask for clarification...
Pages:
Jump to: