Page 6 of 30
#76 RE: [Guide] How to update CPU microcodes (NCPUCODE.BIN/CPUCODE.BIN) on a non-UEFI Award/Phoenix BIOS by MiesMosel 01.03.2018 21:38

avatar

Hello dexter,

generally they should be not bigger as before, only if they are 2-in-1 Crossplattform.
Par example: two old, one with platform 0 (hex 2000) and another with platform 1 (hex 2000) -> the new 2-in-1 with platform 10 (0+1) (hex 4000).

Please verify your change with MCE.

best regards

#77 RE: [Guide] How to update CPU microcodes (NCPUCODE.BIN/CPUCODE.BIN) on a non-UEFI Award/Phoenix BIOS by davidm71 01.03.2018 21:39

avatar

Zitat von Phoenix48 im Beitrag #74
@davidm71

Maybe you are right. I didn't look into his file in details so maybe his bios don't need that. But better safe than sorry and it won't hurt to do it. At worst, a rebuild will do nothing at all. His bios has enough errors in it as it is and i just wanted to be sure that an other error won't be added on top of them.


As they are individually placed in his bios file I think the 'Safest' tool would be to use Pheonixtool to reintegrate them with the no slick option. I also think someone should reach out to Coderush about this bios file and the errors and warnings UefiTool throws upon opening his bios file. If I was Dexter I would go to Coderush's Github page and open up an issue.

#78 RE: [Guide] How to update CPU microcodes (NCPUCODE.BIN/CPUCODE.BIN) on a non-UEFI Award/Phoenix BIOS by Dexter1983 01.03.2018 21:48

My Cpu is 206A7 it seems updated!
Uefitool gives me no errors with the bios downloaded from dell and extracted from temp folder
also the new bios with updated microcodes gives no error on uefitool

#79 RE: [Guide] How to update CPU microcodes (NCPUCODE.BIN/CPUCODE.BIN) on a non-UEFI Award/Phoenix BIOS by Phoenix48 01.03.2018 21:56

avatar

First of all, be sure you have the right microcodes. I say this because it is rather rare that they are not the same and when it happens, it is worth a second look to be sure. One of the most common mistake is to choose the right CPUID but not the same platform number. If everything is alright and you are sure you got the right one then you can proceed but be sure to not copy over an other one. I didn't look into your bios with HxD but sometimes microcodes dont have any space between each other so be sure to not copy over an other CPU microcode. Other than that, you should be fine.

Because your new one is bigger, i now STRONGLY recommend to "rebuild" your GUID where the microcodes are with UEFITool after you are finished with HxD. A change in size increase the chance of a checksum error somewhere without a rebuild.

#80 RE: [Guide] How to update CPU microcodes (NCPUCODE.BIN/CPUCODE.BIN) on a non-UEFI Award/Phoenix BIOS by Phoenix48 01.03.2018 22:08

avatar

@davidm71

I completely agree with you, there are way too much errors in bad places in this bios. I was surprised to know when i opened it that it is a working one. Good idea to see Coderush about this.

#81 RE: [Guide] How to update CPU microcodes (NCPUCODE.BIN/CPUCODE.BIN) on a non-UEFI Award/Phoenix BIOS by davidm71 01.03.2018 22:14

avatar

@Phoenix48,

The interesting thing is his microcodes exist as separate files according to UefiTool NE47, but using UefiTool 22.4 and Phoenix Tool they exist inside a PAD file. Then theres the problem that there is no FIT table. I read that isn't always that important as long as the microcode is aligned properly in the last 2mb of the bios file. The problem is this PAD file also has other stuff trailing the microcodes. So you could extend the length of the PAD file and use Phoenixtool Structure option to replace that PAD_1881 file. Can't say if it would work safely but PhoenixTool is the only tool that doesn't say 'Unknown File Structure' like UefiTool does. Personally I would wait for @CodeRush to comment. Please forgive me for calling out the master but we do not want to see Dexter holding a brick in his hand!

Edit:

These are the exact errors UefiTool is complaining about:

parseVolume: unknown file system FFF12B8D-7696-4C8B-A985-2747075B4F50
parseVolume: unknown file system 00504624-8A59-4EEB-BD0F-6B36E96128E0
parseBios: volume size stored in header 20000h differs from calculated using block map 196608h
parseBios: one of volumes inside overlaps the end of data


The unknown filesystem doesn't bother me as much as the volume size issue and overlapping issue.

#82 RE: [Guide] How to update CPU microcodes (NCPUCODE.BIN/CPUCODE.BIN) on a non-UEFI Award/Phoenix BIOS by Dexter1983 01.03.2018 22:31

I Worked and studied hard, may you have a look inside?
Thank you! Hope is ok

#83 RE: [Guide] How to update CPU microcodes (NCPUCODE.BIN/CPUCODE.BIN) on a non-UEFI Award/Phoenix BIOS by MiesMosel 01.03.2018 22:45

avatar

Zitat von davidm71 im Beitrag #81
These are the exact errors UefiTool is complaining about:

parseVolume: unknown file system FFF12B8D-7696-4C8B-A985-2747075B4F50
parseVolume: unknown file system 00504624-8A59-4EEB-BD0F-6B36E96128E0
parseBios: volume size stored in header 20000h differs from calculated using block map 196608h
parseBios: one of volumes inside overlaps the end of data


The unknown filesystem doesn't bother me as much as the volume size issue and overlapping issue.

Maybe, that Dexter insert the new one, but not overwrite it exactly.

One the other hand I see big problem in his pictures.
Dexter, you maybe insert the wrong MC. The old one has platform 23, the new platform 29.
This could be a vrey big problem ...

#84 RE: [Guide] How to update CPU microcodes (NCPUCODE.BIN/CPUCODE.BIN) on a non-UEFI Award/Phoenix BIOS by Dexter1983 01.03.2018 22:47

no 23 is the patch level...29 is the updated one, must be different the only difference is the size:

old: 0x2400
new: 0x2800

#85 RE: [Guide] How to update CPU microcodes (NCPUCODE.BIN/CPUCODE.BIN) on a non-UEFI Award/Phoenix BIOS by MiesMosel 01.03.2018 23:53

avatar

Fine, thank you.

Now, there is still the question, how do you compensated the oversize.
I would had watched for 400h space, that could be dangerless to delete (maybe 00s or FFs).

Then you have to actualize the checksum in that way.

Best regards & good night!

#86 RE: [Guide] How to update CPU microcodes (NCPUCODE.BIN/CPUCODE.BIN) on a non-UEFI Award/Phoenix BIOS by davidm71 02.03.2018 00:25

avatar

Theres another way. He only updates his microcode over writing the next one in the Pad file preferably the last one and blanking out the leftover bytes with 'FF's keeping the file size the same. Only draw back is it would be one microcode short but I think its the safest way.

#87 RE: [Guide] How to update CPU microcodes (NCPUCODE.BIN/CPUCODE.BIN) on a non-UEFI Award/Phoenix BIOS by Dexter1983 02.03.2018 15:20

I proceeded like this:
- I have established that in the original bios the old microcodes starts from 3500F8 and ends in 35ACF7
- From 35ACF8 to 36130B the values ​​are all setted to FF.
- The new microcodes are longer than the old ones, I have selected them all and copied them in the bios patched from 3500F8 to 35B0F7 overwriting the old microcodes, so the excess length from 35ACF8 to 35B0F7 has not overwritten useful sectors but only sectors setted to FF, so in theory I should not have done any damage
The only thing that leaves me baffled and that UEFITOOL with the bios patched gives checksum error "parseFile: invalid data checksum A6H, should be 14H, how can I correct the checksum in 14h?
and how do I do the rebuild with uefitool precisely? Explain it to a beginner! What is a padfile?

Thank you!

#88 RE: [Guide] How to update CPU microcodes (NCPUCODE.BIN/CPUCODE.BIN) on a non-UEFI Award/Phoenix BIOS by Dexter1983 02.03.2018 15:25

I checked a modded bios with updated microcodes and are as long as those of the original bios !!!! How is it possible that I can get longer?

#89 RE: [Guide] How to update CPU microcodes (NCPUCODE.BIN/CPUCODE.BIN) on a non-UEFI Award/Phoenix BIOS by davidm71 02.03.2018 16:26

avatar

I would use Phoenixtool. Your microcode files exist as a pad file that Phoenixtool dumps out in its DUMP folder. Make it longer and see what happens if you want. Just use the Structure option to do the replacing of the module.

#90 RE: [Guide] How to update CPU microcodes (NCPUCODE.BIN/CPUCODE.BIN) on a non-UEFI Award/Phoenix BIOS by Phoenix48 02.03.2018 18:13

avatar

@Dexter1983

To fix this, double click on the error at the bottom. UEFITool will automaticly select the GUID of the error. All you have to do after that is to right click on the GUID and click "Rebuild". then save your file. When you open it again, you will see that the error is gone.

Xobor Forum Software von Xobor
Datenschutz