Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
uefi mod for mac pro 1.1/21. support xeo...
Last Post: DeathBringer
Today 02:50 PM
» Replies: 1
» Views: 42
Asus h110m-a & xeon e3-1280v5
Last Post: DeathBringer
Today 02:48 PM
» Replies: 13
» Views: 219
[REQUEST] DNS A35FB, Pegatron A35
Last Post: Polkash51
Today 01:28 PM
» Replies: 4
» Views: 2819
[REQUEST] Lenovo ThinkPad Edge E531 (HEE...
Last Post: MANIANA18
Today 07:20 AM
» Replies: 120
» Views: 21998
ASUS R1F CPU upgrade
Last Post: DeathBringer
Today 12:22 AM
» Replies: 1
» Views: 145
[REQUEST] Lenovo IdeaPad Flex 15 (8ACNxx...
Last Post: psycomaffo
Yesterday 10:36 AM
» Replies: 69
» Views: 26124
Request for Modded BIOS with AI Tweaker ...
Last Post: CertifiedCosmos
04-17-2024 05:04 PM
» Replies: 0
» Views: 129
Lenovo ThinkCentre M71e GPU Whitelist re...
Last Post: saschalein
04-17-2024 03:23 PM
» Replies: 0
» Views: 116
[REQUEST] Lenovo Ideapad 330S-15ARR (7WC...
Last Post: nadolivbios
04-17-2024 01:26 PM
» Replies: 25
» Views: 6215
How To Add SLIC 2.1 To An Intel Motherbo...
Last Post: sanya.silitskiy
04-17-2024 11:52 AM
» Replies: 73
» Views: 220092
[REQUEST] 13w Yoga Gen 2 (Type 82YR) (KB...
Last Post: SiberianTiger97
04-17-2024 09:48 AM
» Replies: 2
» Views: 194
Acer Extensa 5620: CPU replace
Last Post: MPM
04-17-2024 08:28 AM
» Replies: 2
» Views: 181
[REQUEST] Sony Vaio VPCEH & VPCEJ series...
Last Post: nrns
04-16-2024 08:08 PM
» Replies: 232
» Views: 98760
[REQUEST] Lenovo Y70-70 (9ECNxxWW) White...
Last Post: Dudu2002
04-16-2024 02:35 PM
» Replies: 103
» Views: 24110
[REQUEST] Lenovo Yoga 2 Pro (76CNxxWW) W...
Last Post: Dudu2002
04-16-2024 07:29 AM
» Replies: 847
» Views: 324645
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
04-16-2024 07:28 AM
» Replies: 26
» Views: 1055
[REQUEST] Lenovo ThinkPad P14s 3rd Gen 1...
Last Post: Dudu2002
04-16-2024 07:26 AM
» Replies: 4
» Views: 341
Add CPU support Lenovo M715s
Last Post: pashtet440
04-16-2024 06:56 AM
» Replies: 0
» Views: 167
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: Dudu2002
04-14-2024 09:02 AM
» Replies: 1733
» Views: 542593
Dell Latitude 5520 - get to know passwor...
Last Post: yeti1299
04-14-2024 06:48 AM
» Replies: 2
» Views: 271

Dell N5010: trying to update microcode
#1
I originally posted the below in the general help section, but I thought I might get better results here as it is related to CPU microcode.  I'm not trying to expand CPU functionality, but I am trying to manually update the microcode for security.

I tried to add the updated microcode for my i7 640m processsor since Dell isn't applying the updates. The latest microcode has a Spectre patch I wanted to apply.

I booted into DOS and used AFUDOS  3.07.01 command /O to backup my current BIOS.

I used MMTOOL 4.50.0.23 to insert the 06-25-05 file from Intel located here.  There was only one other microcode listed under the CPU Patch tab, but it was for a different CPU ID.  Which seems odd as my i7 640m was an upgrade, but I haven't had any issues with it. Did I need to delete that other microcode?

I then booted back into DOS and flashed with AFUDOS using the /P /B /K command per this guide.  That gave me a ROM ID does not match BIOS ID error, so I added /X to the command.  That happily bricked my laptop.

I have a hardware flasher so I can recover it, but I'd prefer to hardware flash it with a bios file patched with the latest micro code.  Before I do that I could use some help determining where I went wrong.

Thanks in advance for any help.

This is my backup file.

This is my modified file.
find
quote
#2
Quote:determining where I went wrong.

Okay, now we'll think. I open your backup file using the mmtool program using different versions and I see the following:
   
Which can I make a preliminary conclusion?
find
quote
#3
woowoo, you changed size of microcode's section and didn't aligned lengths of each microcode by 0x800. I think that's the reason.
find
quote
#4
(06-11-2018, 11:20 PM)LLC Wrote:
Quote:determining where I went wrong.

Okay, now we'll think. I open your backup file using the mmtool program using different versions and I see the following:

Which can I make a preliminary conclusion?

Thank you LLC.  I am seeing the same thing now that I am using 5.007.  However 5.007 isn't letting me remove or add microcode.  Is there something else I need to do in that version of MMTool to enable editing?
find
quote
#5
(06-12-2018, 02:09 AM)DeathBringer Wrote: woowoo, you changed size of microcode's section and didn't aligned lengths of each microcode by 0x800. I think that's the reason.

Thank you DeathBringer. I think part of the problem was I was using an out dated version of MMTool like LLC mentioned. 

For the alignment you've mentioned do I need to check something in a hex editor to see?

In the meantime I got a little impatient and removed the bios chip and tried manually flashing.  This time I edited the full bios image by deleting the one micro code I could see in MMTool 4.50 and adding the micro code I wanted.  It works, but InSepctre from Gibson Research Corporation www.grc.com is still saying I'm not protected. 

This is the link to the full 4mb rom I modified and hard flashed.
find
quote
#6
This bios was type aptio 4 ,so open it from mmtool 4.53.xxxxx is correct.
DeathBringer said was right ,you can made some mod for ucode module  ,it will show normally on cpu path from mmtool .

Test my mod and open it on mmtool 4.5 version ,then going to [CPU path] tab.
http://www.mediafire.com/file/jyu8jvuuc0...0.rom/file

===========
If ME need to update??

find
quote
#7
genius239, in your modified file, ucodes is not aligned at 0x800, and include old version patch of same cpuid and platform. So alignment is necessary or not to get update the cpu patch (when you need to actually load not the first records), is it something depending on the bios version? Has anyone checked? I have not found a free download for version mmtool 4.53, it lists the sequence with no alignments already as in version 5.00.0007 and have ability to add/remove patchs ?
find
quote
#8
Sorry let you misconstrue ,my really mean is ,this ucode module need to modify.

find
quote
#9
(06-12-2018, 08:11 PM)woowoo Wrote: ... and adding the micro code I wanted.  It works, but InSepctre from Gibson Research Corporation www.grc.com is still saying I'm not protected.
You added old version: 0x04, date - 06/28/2013, but you need new one: 0x06, date - 01/23/2018.

(06-13-2018, 01:11 AM)LLC Wrote: So alignment is necessary or not to get update the cpu patch (when you need to actually load not the first records), is it something depending on the bios version? Has anyone checked?
I've checked - alignment is necessary in this BIOS.
find
quote
#10
(06-13-2018, 12:09 PM)DeathBringer Wrote:
(06-12-2018, 08:11 PM)woowoo Wrote: ... and adding the micro code I wanted.  It works, but InSepctre from Gibson Research Corporation www.grc.com is still saying I'm not protected.
You added old version: 0x04, date - 06/28/2013, but you need new one: 0x06, date - 01/23/2018.

(06-13-2018, 01:11 AM)LLC Wrote: So alignment is necessary or not to get update the cpu patch (when you need to actually load not the first records), is it something depending on the bios version? Has anyone checked?
I've checked - alignment is necessary in this BIOS.

Thank you for all of your help with this DeathBringer.  Where did you get the file you linked from 1/23/18?  Intel's page links to a file dated 4/25/2018, but when I loaded it in MMTool it showed 6/28/13 like you pointed out. I thought it might have just been a problem with MMtool. 

Edit, I just looked at the link and realized platomav is hosting a repository of all of them. 

I'll have to research how to do the alignment you're talking about.  I'll post another rom once I figure it out before I flash.
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)