intel microcode update

Discussion in 'BIOS Mods' started by nexus76, Sep 1, 2017.

  1. nexus76

    nexus76 MDL Addicted

    Jan 25, 2009
    783
    296
    30
    #1 nexus76, Sep 1, 2017
    Last edited: Sep 1, 2017
    Hi,

    Intel delivered new microcode (20170707 Release), my processor is a 000306C3 and the MC is outdated.
    I splitted the microcode.dat using microdecode and now I got a bunch of binaries, one of them is
    cpu000306c3_plat00000032_ver00000022_date20170127.bin

    [​IMG] Q

    however MMTool 4.5 crashes at the CPUPatch tab and MMTool 5 shows greyed out options:
    [​IMG]

    does someone have a clue how to use UEFITool or
    MMTool from commandline to patch the microcode?

    best regards
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Lutschpuppe

    Lutschpuppe MDL Junior Member

    Dec 23, 2014
    75
    17
    0
    You can try to replace the actual microcode-sections in the bios-file manually using hex-editor. Only working with uncompressed/unencrypted files.
     
  3. nexus76

    nexus76 MDL Addicted

    Jan 25, 2009
    783
    296
    30
    #3 nexus76, Sep 1, 2017
    Last edited: Sep 1, 2017
    (OP)
    thanks Lutschpuppe, I would but the code isn't located in modules but raw file volumes between paddings and the new microcode has 22KB, the original one 20KB.
    [​IMG]
    UEFITool doesn't offer an option to re-insert a modified volume with corrected checksums here.

    these are the volumes:

    No CPU MicroCode Patch present in Volume 4.
    +------------------------------------------------------------------------+
    | MMTOOL 5.00.0007 |
    | Copyright (c)2014 American Megatrends, Inc. |
    +------------------------------------------------------------------------+
    | CPU Patch Information |
    +-----------------------------------------------------------------------------+
    |Vol|No| Boot |MicroCodeID|Platform|CPUID| Revision |Date(YYYY/MM/DD)| Size |
    +---+--+------+-----------+--------+-----+----------+----------------+--------+
    |05 |01| NO | 02267113 | 22 |0671 | 13 | 2015/08/03 |00002C00|
    |05 |02| NO | 0326C319 | 32 |06C3 | 19 | 2014/02/26 |00005000|
    |05 |03| NO | 0326C206 | 32 |06C2 | 06 | 2012/10/17 |00005800|
    |05 |04| NO | 0326C113 | 32 |06C1 | 13 | 2012/06/14 |00006000|
    +-----------------------------------------------------------------------------+
    | Total Patch Size: 00013400 |
    +-----------------------------------------------------------------------------+
    +------------------------------------------------------------------------+
    | MMTOOL 5.00.0007 |
    | Copyright (c)2014 American Megatrends, Inc. |
    +------------------------------------------------------------------------+
    | CPU Patch Information |
    +-----------------------------------------------------------------------------+
    |Vol|No| Boot |MicroCodeID|Platform|CPUID| Revision |Date(YYYY/MM/DD)| Size |
    +---+--+------+-----------+--------+-----+----------+----------------+--------+
    |06 |01| NO | 02267113 | 22 |0671 | 13 | 2015/08/03 |00002C00|
    |06 |02| NO | 0326C319 | 32 |06C3 | 19 | 2014/02/26 |00005000|
    |06 |03| NO | 0326C206 | 32 |06C2 | 06 | 2012/10/17 |00005800|
    |06 |04| NO | 0326C113 | 32 |06C1 | 13 | 2012/06/14 |00006000|
    +-----------------------------------------------------------------------------+
    | Total Patch Size: 00026800 |
    +-----------------------------------------------------------------------------+

    if I try to delete .., let's say patch Volume 06 Index 04 by
    mmtool bios.bin /d /p 04 06
    I get a "Patch block size not known", guess that's why it's greyed out in MMTool GUI.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Lutschpuppe

    Lutschpuppe MDL Junior Member

    Dec 23, 2014
    75
    17
    0
    Please upload your biosfile, type of mobo etc.
     
  5. nexus76

    nexus76 MDL Addicted

    Jan 25, 2009
    783
    296
    30
    #5 nexus76, Sep 2, 2017
    Last edited: Sep 2, 2017
    (OP)
    here it is:
    ASUS Z97 Pro Gamer
    BIOS Version: 2203 (latest)
    https://www.sendspace.com/file/vsv509
    meanwhile I tried to patch it using UBU but it drops other mc-patches for the latest one of 000306C3 and ends with:
    microcode for 06C1 and 06C2 gets dropped:

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Lutschpuppe

    Lutschpuppe MDL Junior Member

    Dec 23, 2014
    75
    17
    0
    Problem is the size: The new mc is bigger. So hexedit-method isn't working.
     
  7. nexus76

    nexus76 MDL Addicted

    Jan 25, 2009
    783
    296
    30
    thanks for your efforts, perhaps it would work if the FFS checksum of the raw file volume was correct,
    is there a way to do it manually?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. genius239

    genius239 MDL Novice

    Jan 25, 2014
    6
    1
    0
  9. nexus76

    nexus76 MDL Addicted

    Jan 25, 2009
    783
    296
    30
    #9 nexus76, Sep 4, 2017
    Last edited: Sep 4, 2017
    (OP)
    hi genius239,

    your module works but holds 2 microcode versions for one an the same CPU-id,
    no, I'm using FPT cause I've unlocked the flash descriptor region using my ch341a programmer earlier.

    due to the microcode updates I was digging deeper and found
    a UEFITool version (thanks to the amazing mr. coderush!) that worked with raw file volumes.
    [​IMG]
    [​IMG]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Lutschpuppe

    Lutschpuppe MDL Junior Member

    Dec 23, 2014
    75
    17
    0