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 Ideadpad N581 Whitelist...
Last Post: Dudu2002
Yesterday 02:07 PM
» Replies: 238
» Views: 115233
[REQUEST] Lenovo ThinkPad T480s (N22ETxx...
Last Post: Dudu2002
Yesterday 06:31 AM
» Replies: 25
» Views: 15263
[REQUEST] Lenovo G500 (78CNxxWW) BIOS Un...
Last Post: dump_bios_gg
Yesterday 04:59 AM
» Replies: 290
» Views: 200627
X550VXK BIOS Unlock Request
Last Post: laret
Yesterday 03:35 AM
» Replies: 1
» Views: 195
[REQUEST] HP EliteBook 640 G9 – Remove W...
Last Post: dlareklami
10-31-2025 04:20 AM
» Replies: 0
» Views: 159
Help with DMI Info Lenovo Bios
Last Post: force9da
10-30-2025 04:04 PM
» Replies: 0
» Views: 205
Lenovo z510 i5-4200m to i7-4700mq upgrad...
Last Post: ClaudeSpeed
10-30-2025 03:42 PM
» Replies: 7
» Views: 296
Dell Optiplex 790 bypass Press F1 during...
Last Post: jozsef_kacso
10-30-2025 04:19 AM
» Replies: 5
» Views: 16930
[REQUEST] Whitelist Removal for lenovo v...
Last Post: konjiki no yami
10-29-2025 07:36 PM
» Replies: 0
» Views: 217
[REQUEST] HP dv6-6b57el hidden menu
Last Post: Alcatraz
10-29-2025 04:28 PM
» Replies: 1
» Views: 281
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: Dudu2002
10-29-2025 03:19 PM
» Replies: 97
» Views: 54993
[REQUEST] Acer Aspire V5-121 Bios Unlock
Last Post: Strongbox256
10-29-2025 11:15 AM
» Replies: 5
» Views: 9102
[REQUEST] Eglobal S210H BIOS Unlock
Last Post: ShawnSuter
10-29-2025 10:50 AM
» Replies: 145
» Views: 64368
Request: Unlock CPU Voltage (Vcore) for ...
Last Post: hoomaan
10-29-2025 10:35 AM
» Replies: 0
» Views: 183
[REQUEST] Bios Unlock - Packard Bell Eas...
Last Post: Overtune2005
10-29-2025 08:37 AM
» Replies: 3
» Views: 2135
asrock 970 extreme3 slic 2.1
Last Post: 3xy
10-29-2025 03:34 AM
» Replies: 12
» Views: 18572
[Request] Dell Inspiron 17r SE 7720 Unlo...
Last Post: Bennett
10-29-2025 12:05 AM
» Replies: 92
» Views: 117524
[REQUEST] HP Probook 6570b Whitelist Rem...
Last Post: nexxus2
10-28-2025 01:07 PM
» Replies: 4
» Views: 6024
Gigabyte GA-MF3 CPU upgrade mod
Last Post: dm-
10-28-2025 10:53 AM
» Replies: 25
» Views: 22861
BIOS fix Lenovo c460
Last Post: waldek69
10-28-2025 07:33 AM
» Replies: 16
» Views: 3890

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