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
Bios Lenovo m70e motherboard 71y8150 + x...
Last Post: rodiigox
Yesterday 08:38 PM
» Replies: 8
» Views: 2954
[Request] Lenovo v520s sff unit bios sup...
Last Post: DeathBringer
Yesterday 02:05 PM
» Replies: 9
» Views: 834
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: VictorLima
Yesterday 01:52 PM
» Replies: 213
» Views: 106776
[REQUEST] Acer PT715-51 (Triton 700) ins...
Last Post: count1100
Yesterday 08:45 AM
» Replies: 27
» Views: 15731
[Request] Support for Intel Xeon E3-1230...
Last Post: biospains
Yesterday 04:40 AM
» Replies: 36
» Views: 15494
Acer Aspire 5738 Restore full ram speed
Last Post: IrRaziel
06-20-2025 04:50 PM
» Replies: 10
» Views: 430
[REQUEST] Acer Aspire E1-510 BIOS Unlock
Last Post: banusri123
06-20-2025 03:31 PM
» Replies: 41
» Views: 37980
[REQUEST] Machenike F117-FPE BIOS Unlock
Last Post: mortalrun
06-20-2025 11:23 AM
» Replies: 0
» Views: 168
[REQUEST] Axioo Hype 5 AMD X3 Bios Unloc...
Last Post: Aseptartar
06-20-2025 12:39 AM
» Replies: 0
» Views: 190
BIOS Hex Offset
Last Post: Pacho
06-19-2025 03:33 PM
» Replies: 0
» Views: 185
[REQUEST] hp 14-cm0xxx bios unlock(ami f...
Last Post: Anneaham
06-18-2025 11:34 PM
» Replies: 1
» Views: 501
[REQUEST] BIOS Unlock for Gigabyte G5-KD...
Last Post: Dudu2002
06-18-2025 06:52 AM
» Replies: 10
» Views: 3589
[REQUEST] HP 15-ac109nx – Insyde BIOS F....
Last Post: Naifaey13
06-18-2025 06:08 AM
» Replies: 0
» Views: 221
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
06-18-2025 02:45 AM
» Replies: 44
» Views: 13040
HP probook4436s(e2-3000m)can update to a...
Last Post: hurricaning
06-17-2025 09:21 AM
» Replies: 2
» Views: 384
[REQUEST] Acer Nitro 5 AN515-58 BIOS Unl...
Last Post: Neonka
06-17-2025 05:05 AM
» Replies: 36
» Views: 14076
[REQUEST] Asus ROG Strix GL702ZC BIOS Un...
Last Post: bip_bop
06-17-2025 02:16 AM
» Replies: 171
» Views: 99118
[SOLVED] Lenovo E545 (HRETxxWW) WiFi + B...
Last Post: Vigor89
06-16-2025 04:51 PM
» Replies: 268
» Views: 117872
[Test, sp54926] HP Pavilion dm1-4000sd
Last Post: symbios24
06-16-2025 08:14 AM
» Replies: 36
» Views: 28833
[Request] Bios is locked need to unlock ...
Last Post: Xperjo
06-14-2025 12:59 AM
» Replies: 0
» Views: 559

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)