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
[REQUEST] Lenovo ThinkPad X380 Yoga 20LJ...
Last Post: heralva2k5
Today 10:17 PM
» Replies: 0
» Views: 11
[REQUEST] HP dv6 7000 Whitelist Removal
Last Post: slonique
Today 12:13 PM
» Replies: 1
» Views: 378
Lenovo T430 clean Bios needed
Last Post: Milovanovic1992
Today 10:15 AM
» Replies: 0
» Views: 59
[REQUEST] Acer Nitro 5 AN515-55 BIOS Unl...
Last Post: Dudu2002
Today 03:56 AM
» Replies: 92
» Views: 50701
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: uhmp87
Today 02:56 AM
» Replies: 472
» Views: 162890
[REQUEST] Lenovo G550 (18CNxxWW) BIOS Un...
Last Post: Dellenovohp
Yesterday 02:18 PM
» Replies: 9
» Views: 4950
Lenovo Z580 BIOS Mod V3.1 FINAL [02/07] ...
Last Post: azo_27
Yesterday 07:21 AM
» Replies: 250
» Views: 253106
Phoenix Bios Editor PRO
Last Post: Maxinator500
Yesterday 07:05 AM
» Replies: 6
» Views: 11252
msi bios re-flash - mx25u256 no post aft...
Last Post: bomba
Yesterday 06:05 AM
» Replies: 0
» Views: 77
[REQUEST] HP 15-d008se Notebook PC BIOS ...
Last Post: Blaze150
Yesterday 04:08 AM
» Replies: 0
» Views: 83
[REQUEST] Lenovo G460, G560, Z460 & Z560...
Last Post: Agret
10-22-2024 07:37 PM
» Replies: 34
» Views: 16507
AORUS MODEL S 12th unlock bios
Last Post: SnopyYear
10-22-2024 04:16 PM
» Replies: 0
» Views: 105
[REQUEST] Lenovo G500 (78CNxxWW) Whiteli...
Last Post: Dudu2002
10-22-2024 03:22 PM
» Replies: 1203
» Views: 335336
[REQUEST]HP Stream 11 Pro G4 EE bios mod
Last Post: MrMimejr
10-22-2024 09:23 AM
» Replies: 0
» Views: 82
P5P800 (NON SE) MOBO supporting Pentium ...
Last Post: darkstar252
10-21-2024 01:54 PM
» Replies: 6
» Views: 4770
Sony Vaio AW11Z - Support for Quad CPU -...
Last Post: BootlegScarce
10-20-2024 07:49 PM
» Replies: 7
» Views: 3426
OptiPlex 5055 AMD Ryzen 3000 / 5000 Upgr...
Last Post: Autian
10-20-2024 06:32 PM
» Replies: 1
» Views: 601
BIOS for bricked HP EliteDesk 800 G1 DM ...
Last Post: KristinaFutur
10-20-2024 01:09 PM
» Replies: 0
» Views: 119
Lenovo ideapad c340-14iml bios file for ...
Last Post: ZeDarkGamerYT
10-20-2024 08:32 AM
» Replies: 2
» Views: 121
IBM ThinkPad G40 Wifi Whitelist removal
Last Post: Maxinator500
10-20-2024 05:57 AM
» Replies: 3
» Views: 296

AWARD BIOS - extracting and rebuilding ACPI tables from module BIN
#1
Hi, first time posting, I hope someone here can help.

BLUF: Please can anyone advise me on how to extract the "ACPITBL.BIN" from a Phoenix/AWARD v6.00PG BIOS into the various AML and ACPI data tables that it contains, and how to reverse the process to compile the ACPI tables into a BIN module that can then be inserted into a BIOS?


Long version:

I have an Intel GM45/ICH9M-E based Jetway NF93R-LF motherboard salvaged from an old network appliance, which I have abused greatly beyond the intent of its designers and which is now running various services on my home network.  It's quite a neat little board, it fits nicely in a very small case and I intend to push it as long as I can rather than replace it if possible.

This board originally came with some anaemic Celeron CPU which I have since upgraded to a slightly less anaemic core 2 extreme (quad) QX9300, which sort of half works so long as I disable the speedstep / cpufreq driver in linux.

Looking at the ACPI SSDT configuration, the BIOS was clearly never intended to run with speedstep active as the _PSS list is gibberish (eg. frequencies at 17.6GHz, nonsense register values etc.).  As a result, with speedstep active the CPU sits locked to 1600MHz and won't scale over this as there are no valid speedstep profiles in the _PSS list.  With cpufreq disabled the cpu runs at spec of 2533MHz when unloaded, but cores drop to 1600MHz when loaded which is a bit counterproductive from a performance standpoint.

I have reverse engineered the DSDT and the 6 SSDTs, and with some detective work, educated guessing and experimentation I have built a valid table of frequency/voltage modes that the CPU will correctly run at.  I can now enable and control speedstep manually by writing the magic values to the relevant CPU model specific registers.  I can also override the BIOS ACPI tables by manually overwriting the DSDT and SSDTs from the OS kernel at boot time, which then works perfectly, though this is a bit clunky to do in linux.

Now that I know for a fact that the board itself is fully capable of running C2D/C2Q CPUs with speedstep, I want to roll my corrected ACPI tables back into the BIOS (which is otherwise fine) and have a fully speedstep-enabled (and properly performing) board with no need for boot-time overrides.

It seems that the ACPI tables live in a BIOS module called "ACPITBL.BIN".  I can extract the file from the BIOS image using CBROM, and I can see that it seems to contain the relevant tables, but I can also see that it seems to be some sort of compressed archive with a header that I don't recognise.  I can't figure out what sort of archive they are compressed into and therefore how to decompress or recompress them.  It doesn't seem to be a simple concatenation (as it has a ~50% compression ratio), nor LHA / LZH which I believe is commonly used for BIOS modules, as it's missing the correct header.  I'm sure the answer must be quite simple, but several evenings of reading have not yielded the answer so can anyone here point me in the right direction?

The first few lines of "ACPITBL.BIN" are shown in the attached image.

Any help much appreciated, thanks.


Attached Files Thumbnail(s)
   
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)