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] Gigabyte G5 KC Unlock BIOS
Last Post: Dudu2002
Today 04:25 PM
» Replies: 7
» Views: 5487
Panasonic CF-D1 MK3 Advanced settings un...
Last Post: Bozzeh
Today 02:39 PM
» Replies: 15
» Views: 6021
[REQUEST] Lenovo ThinkCentre M93p Tiny (...
Last Post: mfrabbibd
Yesterday 08:24 PM
» Replies: 61
» Views: 60143
[REQUEST] Acer Nitro 5 AN517-52 BIOS Unl...
Last Post: Syphys
Yesterday 11:17 AM
» Replies: 25
» Views: 16175
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: Dudu2002
Yesterday 10:15 AM
» Replies: 603
» Views: 361881
[REQUEST] Acer Nitro 5 AN515-58 BIOS Unl...
Last Post: Dudu2002
Yesterday 10:14 AM
» Replies: 47
» Views: 62789
Possibly corrupted BIOS N100 alder lake ...
Last Post: PuntaLanza
Yesterday 02:46 AM
» Replies: 0
» Views: 110
[REQUEST] Unlock bios Machenike S15
Last Post: judamex
12-11-2025 12:48 AM
» Replies: 1
» Views: 2553
[REQUEST] SYWZ S210H Series - enable adv...
Last Post: 02point20
12-10-2025 04:12 PM
» Replies: 0
» Views: 153
[REQUEST] Lenovo Ideapad Z710 (7FCNxxWW)...
Last Post: Vanadius
12-10-2025 01:50 PM
» Replies: 228
» Views: 180669
[SOLVED] Change Serial Number, UUID, Mac...
Last Post: bq138
12-10-2025 12:55 PM
» Replies: 11
» Views: 24614
[REQUEST] Acer Aspire E5-575(G) BIOS unl...
Last Post: e_favero
12-10-2025 10:27 AM
» Replies: 120
» Views: 96773
[REQUEST] POS-PIQ77CL unlock options
Last Post: Lincoln
12-10-2025 05:34 AM
» Replies: 1
» Views: 1987
How To Add SLIC 2.1 To An Intel Motherbo...
Last Post: C2WRtm36y
12-09-2025 09:58 PM
» Replies: 74
» Views: 259951
Lenovo B590 unlock the checking original...
Last Post: leecher1337
12-09-2025 07:59 PM
» Replies: 36
» Views: 45824
[REQUEST] Lenovo G500 (78CNxxWW) Whiteli...
Last Post: Dudu2002
12-09-2025 04:34 PM
» Replies: 1227
» Views: 563642
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
12-09-2025 04:09 PM
» Replies: 500
» Views: 268285
New Members Say Hi Here
Last Post: wojtas.87
12-09-2025 11:57 AM
» Replies: 168
» Views: 268088
[REQUEST] Lenovo IdeaPad S540-15IWL GTX ...
Last Post: Dudu2002
12-09-2025 10:24 AM
» Replies: 7
» Views: 2627
[REQUEST] Medion Deputy P40 unlock / dis...
Last Post: haavod
12-08-2025 01:17 PM
» Replies: 2
» Views: 273

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)