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] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: Dudu2002
07-31-2025 02:57 PM
» Replies: 133
» Views: 69447
[REQUEST] HP Stream 13 (13-c100nm) White...
Last Post: krusic22
07-29-2025 06:42 PM
» Replies: 0
» Views: 478
Acer Aspire 7741G BIOS
Last Post: lucky42
07-28-2025 08:53 AM
» Replies: 1
» Views: 1190
[REQUEST] [AMIBIOS8] MSI MS-1731 unlock
Last Post: wololo
07-27-2025 02:07 PM
» Replies: 0
» Views: 783
REQUEST - Unlock bios for Toshiba Satell...
Last Post: SaadC50
07-27-2025 10:14 AM
» Replies: 0
» Views: 672
[REQUEST] Lenovo G500(S) (7BCNxxWW) Whit...
Last Post: Tchistiakov
07-27-2025 08:52 AM
» Replies: 566
» Views: 306215
[REQUEST] HP Envy 15-k203nl bios mod
Last Post: Maxinator500
07-26-2025 12:44 PM
» Replies: 1
» Views: 819
[REQUEST] HP Pavilion dv7-6153er - F.1B ...
Last Post: swmint
07-26-2025 08:31 AM
» Replies: 2
» Views: 5638
[REQUEST] Lenovo G580 (62CNxxWW) Whiteli...
Last Post: Rt1213
07-26-2025 06:03 AM
» Replies: 817
» Views: 398649
Soltek SL-65KIV2
Last Post: DeathBringer
07-26-2025 05:44 AM
» Replies: 20
» Views: 1842
[REQUEST] Lenovo IdeaPad 3 15ALC6 (GLCNx...
Last Post: KADCORP
07-26-2025 12:30 AM
» Replies: 11
» Views: 7134
[REQUEST] GIGABYTE G6 MF (2024) Bios Unl...
Last Post: cwaras
07-25-2025 06:14 PM
» Replies: 2
» Views: 1438
[REQUEST] Lenovo Thinkpad E130 (H4ETxxWW...
Last Post: Dudu2002
07-25-2025 01:55 PM
» Replies: 495
» Views: 191865
[REQUEST] Acer Aspire VN7-791(G) BIOS Un...
Last Post: Dudu2002
07-25-2025 01:48 PM
» Replies: 93
» Views: 92944
[REQUEST] Lenovo Z410 & Z510 (8DCNxxWW) ...
Last Post: oleg-kv
07-25-2025 01:43 PM
» Replies: 501
» Views: 218189
BA92-10824B P04RAC phoenix bios rom requ...
Last Post: thi
07-25-2025 04:11 AM
» Replies: 0
» Views: 1228
[REQUEST] Acer Aspire 5742(G,Z) BIOS Unl...
Last Post: men92
07-24-2025 08:38 AM
» Replies: 166
» Views: 58603
[REQUEST] Lenovo Legion T5 (O54KT1DA) BI...
Last Post: kutoramo
07-24-2025 07:34 AM
» Replies: 1
» Views: 2004
[REQUEST] Unlocking / Enabling WoL for A...
Last Post: StarFluxGames
07-23-2025 06:23 AM
» Replies: 0
» Views: 1175
[REQUEST] Lenovo G510 (79CNxxWW) BIOS Un...
Last Post: Dudu2002
07-23-2025 02:47 AM
» Replies: 80
» Views: 60556

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)