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 Z50-70 & Z40-70 (9BCNxx...
Last Post: Dudu2002
Today 03:08 AM
» Replies: 760
» Views: 392373
GA-Z68M-D2H NVMe
Last Post: spssw
Yesterday 09:30 PM
» Replies: 2
» Views: 3872
[REQUEST] HP Pavilion dm4-1000 series (I...
Last Post: pf007
Yesterday 12:45 PM
» Replies: 42
» Views: 10289
[REQUEST] Lenovo IdeaPad P400, P500, Z40...
Last Post: Generaltr
Yesterday 12:23 PM
» Replies: 79
» Views: 62100
Unlocking the E11IS2 BIOS
Last Post: Akira340
Yesterday 10:49 AM
» Replies: 39
» Views: 48676
[REQUEST] Unlock bios Machenike S15
Last Post: Dudu2002
Yesterday 01:29 AM
» Replies: 2
» Views: 2649
[REQUEST] Gigabyte MZ32-AR0 unlock and p...
Last Post: quarkpower
12-15-2025 02:43 PM
» Replies: 0
» Views: 125
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: miant
12-15-2025 11:54 AM
» Replies: 132
» Views: 135087
[REQUEST] Acer Predator PHN16-72 BIOS Un...
Last Post: Trixvr
12-14-2025 01:31 PM
» Replies: 6
» Views: 3170
[REQUEST] Acer Nitro 5 AN515-58 BIOS Unl...
Last Post: nork
12-14-2025 12:35 PM
» Replies: 48
» Views: 63354
[REQUEST] ASUS Zen AiO Z240IE CoffeeLake...
Last Post: MetalNight
12-14-2025 06:37 AM
» Replies: 0
» Views: 223
[REQUEST] Gigabyte G5 KC Unlock BIOS
Last Post: Dudu2002
12-13-2025 04:25 PM
» Replies: 7
» Views: 5669
Panasonic CF-D1 MK3 Advanced settings un...
Last Post: Bozzeh
12-13-2025 02:39 PM
» Replies: 15
» Views: 6178
[REQUEST] Lenovo ThinkCentre M93p Tiny (...
Last Post: mfrabbibd
12-12-2025 08:24 PM
» Replies: 61
» Views: 60563
[REQUEST] Acer Nitro 5 AN517-52 BIOS Unl...
Last Post: Syphys
12-12-2025 11:17 AM
» Replies: 25
» Views: 16392
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: Dudu2002
12-12-2025 10:15 AM
» Replies: 603
» Views: 363099
Possibly corrupted BIOS N100 alder lake ...
Last Post: PuntaLanza
12-12-2025 02:46 AM
» Replies: 0
» Views: 196
[REQUEST] SYWZ S210H Series - enable adv...
Last Post: 02point20
12-10-2025 04:12 PM
» Replies: 0
» Views: 194
[REQUEST] Lenovo Ideapad Z710 (7FCNxxWW)...
Last Post: Vanadius
12-10-2025 01:50 PM
» Replies: 228
» Views: 181033
[SOLVED] Change Serial Number, UUID, Mac...
Last Post: bq138
12-10-2025 12:55 PM
» Replies: 11
» Views: 24791

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)