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] ASUS R5E10 reBAR injecting
Last Post: Helmut79
Today 04:05 PM
» Replies: 0
» Views: 67
[REQUEST] Lenovo IdeaPad U330, U430 & U5...
Last Post: Amertsu
Today 04:42 AM
» Replies: 412
» Views: 248715
[REQUEST] HP Pavilion dv6-6101er (HPMH-4...
Last Post: Aleksandr_SPb
Today 03:17 AM
» Replies: 0
» Views: 96
[REQUEST] Acer Aspire 4930G BIOS Unlock
Last Post: BIUW
Today 01:23 AM
» Replies: 22
» Views: 6627
[Recovery – NOT an unlock request] HP En...
Last Post: heather1202
Yesterday 04:23 PM
» Replies: 0
» Views: 125
[REQUEST] Lenovo IdeaPad Y410p & Y510p (...
Last Post: puqui
Yesterday 02:18 PM
» Replies: 101
» Views: 94720
Help me with a CMOS Passworded HP Proboo...
Last Post: TheKungFuRobber
Yesterday 01:43 PM
» Replies: 0
» Views: 150
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: FFNN
07-08-2026 08:55 AM
» Replies: 44
» Views: 40227
[REQUEST] Lenovo T520 (8AETxxWW) Whiteli...
Last Post: zahaar
07-08-2026 01:47 AM
» Replies: 149
» Views: 146519
Lenovo ThinkPad x130e 8RET54WW(V1.17) WH...
Last Post: nervtechdept
07-07-2026 03:49 PM
» Replies: 5
» Views: 5140
[REQUEST] Lenovo Thinkpad T540p (GMETxxW...
Last Post: Dudu2002
07-07-2026 01:23 PM
» Replies: 88
» Views: 67975
[REQUEST] Lenovo Yoga 500-14ISK (D3CNxxW...
Last Post: Dudu2002
07-07-2026 01:21 PM
» Replies: 5
» Views: 4810
[REQUEST] HP 15-bs000 (Intel) series BIO...
Last Post: gouthuuu
07-07-2026 11:43 AM
» Replies: 7
» Views: 9573
Foxconn H61MXE & Xeon
Last Post: Elmurley
07-07-2026 04:40 AM
» Replies: 2
» Views: 893
[REQUEST] Lenovo B490 (H1ETxxWW) Whiteli...
Last Post: samuelmenegatti
07-06-2026 01:56 PM
» Replies: 91
» Views: 65648
Lenovo Z470 Wifi Whitelist
Last Post: Schneider90210
07-06-2026 06:14 AM
» Replies: 25
» Views: 19726
[REQUEST] Clevo P751ZM (mobo P750ZM-G) B...
Last Post: EuReKa-LoS
07-04-2026 08:55 AM
» Replies: 5
» Views: 3663
Dell Inspiron 3910 BIOS Password Removal...
Last Post: 5518
07-02-2026 06:27 AM
» Replies: 0
» Views: 1348
Modded bios m3-581tg wont flash
Last Post: gazan
07-02-2026 06:15 AM
» Replies: 57
» Views: 52753
[Request] Rog g22ch Bios Unlock (PL1, pl...
Last Post: Echelon36
07-01-2026 08:21 PM
» Replies: 0
» Views: 1219

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: 2 Guest(s)