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
delete whitelist for thinkpad l460
Last Post: andromedych007
Yesterday 07:25 PM
» Replies: 0
» Views: 118
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: miant
Yesterday 02:35 PM
» Replies: 140
» Views: 145098
[Request] Enabling PCI-E bifurcation on ...
Last Post: fenomena6909
Yesterday 05:03 AM
» Replies: 3
» Views: 4353
Asus Zephyrus G16 GU605CR request for bi...
Last Post: FlorikDT
Yesterday 04:42 AM
» Replies: 0
» Views: 106
[REQUEST] Lenovo G700 (7ACNxxWW) Whiteli...
Last Post: Duh-bm
03-04-2026 07:57 PM
» Replies: 165
» Views: 107270
[REQUEST] Lenovo Thinkpad X240 (GIETxxWW...
Last Post: Defekt2008
03-03-2026 02:18 PM
» Replies: 344
» Views: 226311
Lenovo ThinkPad Edge E530: I'm trying to...
Last Post: MadBerry
03-03-2026 01:53 PM
» Replies: 1
» Views: 219
Request to unlock advance features in Ac...
Last Post: napsteronly
03-03-2026 07:57 AM
» Replies: 71
» Views: 93883
[Request] Unlocking BIOS for iMedia D361...
Last Post: SplatPie
03-03-2026 04:20 AM
» Replies: 0
» Views: 160
[Request] Lenovo ThinkPad x100e Whitelis...
Last Post: Komzpa
03-03-2026 04:10 AM
» Replies: 2
» Views: 6940
[REQUEST] Lenovo Thinkpad W540 & W541 (G...
Last Post: nameerfk1
03-02-2026 09:20 PM
» Replies: 51
» Views: 38803
Asus Rog Strix Scar 15 G533QS/G733QS Key...
Last Post: rakecikas
03-02-2026 02:55 PM
» Replies: 2
» Views: 2923
[Unlocked] Acer Aspire One D255E
Last Post: clearest
03-02-2026 02:38 AM
» Replies: 2
» Views: 5169
[REQUEST] Sony Vaio VPCEH & VPCEJ series...
Last Post: shum25
03-01-2026 12:56 PM
» Replies: 245
» Views: 193613
[REQUEST] Sony Vaio SVT131 (R1xx0D4) BIO...
Last Post: dumbpartition
03-01-2026 11:54 AM
» Replies: 3
» Views: 3080
Asus G513RC Bios hidden settings unlock
Last Post: ormcra
03-01-2026 04:51 AM
» Replies: 0
» Views: 191
ACER Aspire 7736ZG BIOS microcode update...
Last Post: DeathBringer
03-01-2026 02:04 AM
» Replies: 11
» Views: 644
Lenovo Legion 5 15ITH6H – “Device Freeze...
Last Post: laret
02-28-2026 09:32 AM
» Replies: 5
» Views: 328
sony vaio VGN-Z56MG insydeH20 bios unloc...
Last Post: DevilEpic2
02-28-2026 08:37 AM
» Replies: 0
» Views: 263
Modded BIOS for HP 6730b to support Q900...
Last Post: DeathBringer
02-27-2026 05:00 AM
» Replies: 6
» Views: 629

About Option ROM scan process
#1
Smile 
Dear all,
I have a question about the process of Option ROM scan and maybe you can help me to clarify it Smile

In chapter 6, Bios Boot Specification v1.01 said
Quote:The POST sequence is:
1. Power-on initialization
...
- All option ROM must be mapped into system memory between C0000~EFFFFh
2. PnP Option ROM initialization
...
- Option ROM in PnP card will be called in the order of lowest to highest ...

Thus I guess first BIOS should copy the Option ROM to memory for "all" devices then sequentially call its INIT(lowest memory address called first)... Am I correct ?

And in https://sites.google.com/site/pinczakko/...t_func_ext
Quote:For example, a device expansion ROM may require 24 KB for its initialization and runtime code, but only 8 KB for the runtime code. The image in the ROM will show a size of 24 KB, so that the POST code copies the whole thing into RAM. Then when the INIT function is running, it can adjust the size byte down to 8 KB. When the INIT function returns, the POST code sees that the runtime size is 8 KB and can copy the next expansion BIOS to the optimum location.

That means after INIT function completed BIOS could release memory and copy the next option ROM to the optimum location.

My question is: what is the current scheme for Option ROM scan ? (assume 3 option ROM to be processed...)

way 1:
- copy OPROM a to memory
- copy OPROM b to memory
- copy OPROM c to memory
- init OPROM a and downsize
- init OPROM b and downsize
- init OPROM c and downsize

way 2:
- copy OPROM a to memory
- init OPROM a and downsize
- copy OPROM b to memory <- OPROM b will be in optimum location !
- init OPROM b and downsize
- copy OPROM c to memory
- init OPROM c and downsize

Thanks !
liaoo
find
quote
#2
(10-29-2012, 11:35 PM)liaoo Wrote: Dear all,
I have a question about the process of Option ROM scan and maybe you can help me to clarify it Smile

In chapter 6, Bios Boot Specification v1.01 said
Quote:The POST sequence is:
1. Power-on initialization
...
- All option ROM must be mapped into system memory between C0000~EFFFFh
2. PnP Option ROM initialization
...
- Option ROM in PnP card will be called in the order of lowest to highest ...

Thus I guess first BIOS should copy the Option ROM to memory for "all" devices then sequentially call its INIT(lowest memory address called first)... Am I correct ?

And in https://sites.google.com/site/pinczakko/...t_func_ext
Quote:For example, a device expansion ROM may require 24 KB for its initialization and runtime code, but only 8 KB for the runtime code. The image in the ROM will show a size of 24 KB, so that the POST code copies the whole thing into RAM. Then when the INIT function is running, it can adjust the size byte down to 8 KB. When the INIT function returns, the POST code sees that the runtime size is 8 KB and can copy the next expansion BIOS to the optimum location.

That means after INIT function completed BIOS could release memory and copy the next option ROM to the optimum location.

My question is: what is the current scheme for Option ROM scan ? (assume 3 option ROM to be processed...)

way 1:
- copy OPROM a to memory
- copy OPROM b to memory
- copy OPROM c to memory
- init OPROM a and downsize
- init OPROM b and downsize
- init OPROM c and downsize

way 2:
- copy OPROM a to memory
- init OPROM a and downsize
- copy OPROM b to memory <- OPROM b will be in optimum location !
- init OPROM b and downsize
- copy OPROM c to memory
- init OPROM c and downsize

Thanks !
liaoo

I think it's way 2 because it's most logic and also on way 1 where do you copy your data when you need to downsize everything? Read here also: http://www.bios-mods.com/forum/Thread-Op...ice?page=2. In the bottom of the thread the op talks about option rom init and resizing.
find
quote
#3
It is the second way.
And btw, not all oroms need to be at C0000~EFFFFh, this requirement has been lifted for PCIe 3.0 compliant oroms.
find
quote


Forum Jump:


Users browsing this thread: 3 Guest(s)