CPU microcode Upgrade - several questions

Only for programmers and BIOS gurus with technical questions.
Post Reply
shadewither
New visitors - please read the rules.
Posts: 3
Joined: Wed Mar 22, 2006 7:51 am

1. how to extract&pack cpu microde in Award BIOS?
(DFI LP 875p-T BIOS 2005.09.22; phoenix awardbios 6.0)
CBROM32 V1.40 [04/30/04 release] (C)Phoenix Technologies 2001-2004

******** 75TLD922.bin BIOS component ********

No. Item-Name Original-Size Compressed-Size Original-File-Name
================================================================================
0. System BIOS 20000h(128.00K)13B16h(78.77K)75TLD922.BIN
1. XGROUP CODE 0EAB0h(58.67K)0A0BFh(40.19K)awardext.rom
2. ACPI table 043C4h(16.94K)01A3Ah(6.56K)ACPITBL.BIN
3. YGROUP ROM 0F610h(61.52K)0484Ah(18.07K)awardeyt.rom
4. GROUP ROM[ 0] 05E90h(23.64K)029D7h(10.46K)_EN_CODE.BIN
5. SETUP0 01E60h(7.59K)00BAEh(2.92K)_ITEM.BIN
6. EPA LOGO 021B4h(8.43K)00427h(1.04K)EPALOGO.BMP
7. PCI ROM[A] 0D800h(54.00K)08100h(32.25K)RAID_OR.BIN
8. PCI ROM 0F800h(62.00K)088F5h(34.24K)YUKPXE.LOM
(SP) NCPUCODE 0E000h(56.00K)0E000h(56.00K)NCPUCODE.BIN

Total compress code space = 4B000h(300.00K)
Total compressed code size = 461FAh(280.49K)
Remain compress code space = 04E06h(19.51K)

** Micro Code Information **
Update ID CPUID | Update ID CPUID | Update ID CPUID | Update ID CPUID
------------------+--------------------+--------------------+-------------------
PGA423 2C 0F25| PGA423 21 0F24| SLOT1 02 0F4A| SLOT1 03 0F49
SLOT1 05 0F43| SLOT1 12 0F41| SLOT1 17 0F41| SLOT1 02 0F37
SLOT1 17 0F34| SLOT1 0E 0F34| SLOT1 08 0F34| SLOT1 0C 0F33
SLOT1 0A 0F32| SLOT1 0B 0F31| SLOT1 05 0F31| PGA478 12 0F30

a) how to extract cpu microde in Award BIOS? (how to get the starting location of cpucode? well, it's not difficult to seek the bios image with cpuid, etc. Any other methods?)

b) how to pack or modify cpu microde in Award BIOS?
I tried to use /nc_cpucode switch to add a cpu microcode file with different size, different data. But when I did a hex compare, only 8 bytes are different. The cpu microcode was almost unchanged, which seemed wrong. Then I tried to use /nc_cpucode to add a cpu microcode file which is manually copied from the bios image(thus of same length and contents). Again the same 8 bytes are changed, which was apparently wrong.
I'm wondering if I can hex edit that BIOS image directly?
Is there any checksum, and how to calculate and edit them?

2. how about AMI BIOS?
I've got some gigabyte ga-8ipe775-g bios. They are 256KB files, together with a flash utility named "flash891.exe". Those 256KB bios files has a lzh header, and can be opened with winrar to show a 128KB files, which seems to be the 128KB system bios.

5. How is the cpu's voltage controlled?
Does a motherboard supply all voltage or only some voltage mentioned in vrd?
what will happen if a motherboard cannot supply the correct voltage? e.g. cpu=1.3-v while MB can only supply 1.4v+. does bios check the vid to see if that cpu can be supported?

6. Is cpu microcode universal(independent of motherboards)?

Thanks a lot for help.
maman
Master Flasher
Posts: 173
Joined: Sun Mar 31, 2002 2:08 pm
Location: Taka Bonerate National Park, Indonesia
Contact:

shadewither wrote: ...
2. how about AMI BIOS?
I've got some gigabyte ga-8ipe775-g bios. They are 256KB files, together with a flash utility named "flash891.exe". Those 256KB bios files has a lzh header, and can be opened with winrar to show a 128KB files, which seems to be the 128KB system bios.
hmm.. I'm not really sure if this kind of mainboard you were talking about is using AMI BIOS. It seems to be that BIOS is just another Award BIOS.
shadewither wrote: 6. Is cpu microcode universal(independent of motherboards)?
I think so. As long as we're talking about Intel's CPU at this point. I mean processors from different vendors has their own kind of microcode update procedure.
shadewither
New visitors - please read the rules.
Posts: 3
Joined: Wed Mar 22, 2006 7:51 am

maman wrote:
shadewither wrote: ...
2. how about AMI BIOS?
I've got some gigabyte ga-8ipe775-g bios. They are 256KB files, together with a flash utility named "flash891.exe". Those 256KB bios files has a lzh header, and can be opened with winrar to show a 128KB files, which seems to be the 128KB system bios.
hmm.. I'm not really sure if this kind of mainboard you were talking about is using AMI BIOS. It seems to be that BIOS is just another Award BIOS.
I don't know whether it is Award or not, because I have no gigabyte MB...
I just saw "flash891.exe" in the package.
maman
Master Flasher
Posts: 173
Joined: Sun Mar 31, 2002 2:08 pm
Location: Taka Bonerate National Park, Indonesia
Contact:

shadewither wrote: I don't know whether it is Award or not, because I have no gigabyte MB...
I just saw "flash891.exe" in the package.
After downloading and verifying the contents of the BIOS file, I can assure that it's indeed an Award version 6.0PG BIOS binary.
Post Reply