Post
Topic
Board Mining (Altcoins)
Re: Custom R9 380 BIOS for 23-24Mh/s
by
nerdralph
on 20/09/2016, 12:59:01 UTC

So it's just an offset to VDDC?  I'd like to keep VDDCI fixed, while still having VDDC change according to the dpm state.

No it's an offset to VDDCI/AUX, they both have seperate offsets in the rom. In 90% of the cases you won't find VDDCI offset, so you can add it Smiley

8D = VDDC , 8E = VDDCI/AUX or MVDDC

So where would you add it?  I only recently found ATOM BIOS reader, and still haven't figured out the dynamic voltage control for Tonga.
I know when Voltage Table2 in PowerPlayInfo has values that start with FF, that indicates dynamic voltage control.  Otherwise it's just the voltage in mV for that DPM state (i.e. 84 03 = 0x384 = 900mV).
For the values that start with FF (i.e. 0xFF08), I think the 08 is an index to another table that contains values for calculating the dynamic voltage.  But I haven't found where that table is in the ROM.


You add it in VoltageObjectInfo. Note this changes the length - this means go back and fix ALL the offsets in the main table lists, and check your padding at the end to keep the size right.

Not only those things. Also need to change the starting pointer which states how long the table is.
+ you will need to make sure the rom has the exact same size as it has before.
This doesn't mean, scroll way down and remove some FF's. No, you'll need to remove these where the Legacy part of your rom ends.

Wink

Ugh.  Now I really miss Hawaii with it's really simple VDDCI table.  :-(
If there's an easy way to completely disable VDDCI control, I might try that, and just control the NCP81022 through i2c.  If I can figure out how to read the memory errors from the HWinfo source, then I could could write a small program that cranks up VDDCI until the memory errors drop below a minimal threshold...