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 x121e (AMD, 8RETxxWW) W...
Last Post: Quill6290
Today 03:31 AM
» Replies: 56
» Views: 42814
Sony vaio UX Boot animation/jingle remov...
Last Post: appletechgeek
Yesterday 11:55 PM
» Replies: 0
» Views: 45
BIOS fix Lenovo c460
Last Post: DeathBringer
Yesterday 04:33 PM
» Replies: 15
» Views: 3613
[REQUEST] Lenovo G500 (78CNxxWW) BIOS Un...
Last Post: robgee65
Yesterday 11:33 AM
» Replies: 288
» Views: 198988
[REQUEST] Acer Aspire V3-772G BIOS Unloc...
Last Post: Radiux
Yesterday 11:00 AM
» Replies: 458
» Views: 261207
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: SteveJaye
10-26-2025 09:39 PM
» Replies: 45
» Views: 19572
[REQUEST] Lenovo Z50-70 & Z40-70 (9BCNxx...
Last Post: Timyan
10-26-2025 03:51 PM
» Replies: 758
» Views: 372484
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Moparman_OCN
10-26-2025 03:48 PM
» Replies: 18
» Views: 14445
[REQUEST] Sony Vaio VPC-EE (R0210Z5) Adv...
Last Post: kI3RO
10-25-2025 07:05 PM
» Replies: 57
» Views: 34408
[REQUEST] Lenovo Y50-70 (9ECNxxWW) BIOS ...
Last Post: chironghost
10-25-2025 03:35 PM
» Replies: 1971
» Views: 1093085
[REQUEST] Lenovo IdeaPad S540-15IWL GTX ...
Last Post: Dudu2002
10-25-2025 01:56 PM
» Replies: 5
» Views: 2236
[REQUEST] Lenovo B590 (H9ETxxWW) Whiteli...
Last Post: Dudu2002
10-25-2025 12:32 PM
» Replies: 686
» Views: 325139
[REQUEST] X230s (GGET15WW)
Last Post: Dudu2002
10-25-2025 12:31 PM
» Replies: 1
» Views: 375
[Request] Mod bios asus strix rog g614ji
Last Post: elbob89
10-25-2025 07:43 AM
» Replies: 0
» Views: 198
[REQUEST] Lenovo B590 (H1ETxxWW) Whiteli...
Last Post: Dudu2002
10-24-2025 03:35 AM
» Replies: 798
» Views: 480001
[REQUEST] Lenovo B490 (H5ET73WW 1.16) Wh...
Last Post: yamicazanova2
10-24-2025 03:19 AM
» Replies: 0
» Views: 157
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: Dudu2002
10-23-2025 12:44 PM
» Replies: 137
» Views: 96112
[REQUEST] GIGABYTE G6 MF (2024) Bios Unl...
Last Post: Dudu2002
10-23-2025 12:43 PM
» Replies: 4
» Views: 20661
disabling amd prochot with moded bios.
Last Post: lucillegross2
10-23-2025 01:25 AM
» Replies: 1
» Views: 685
Gigabyte GA-EP45-UD3P (Rev 1.0) - BIOS F...
Last Post: zamar26
10-22-2025 09:54 AM
» Replies: 17
» Views: 18372

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)