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 Thinkpad X230(i) (G2ETx...
Last Post: DImanu
Today 04:29 AM
» Replies: 1095
» Views: 633982
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: EncryptedDataGS
Today 03:51 AM
» Replies: 130
» Views: 130172
FPT Backup Errors
Last Post: plusiasocial
Today 01:49 AM
» Replies: 1
» Views: 9747
[REQUEST] Lenovo X280
Last Post: plusiasocial
Today 01:46 AM
» Replies: 4
» Views: 2635
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: dfenton
Yesterday 06:13 PM
» Replies: 140
» Views: 100766
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
Yesterday 04:09 PM
» Replies: 46
» Views: 28792
[REQUEST] Lenovo B590 (H1ETxxWW) Whiteli...
Last Post: basil021985
Yesterday 01:25 PM
» Replies: 798
» Views: 489699
Looking for Medion H110H4-EM V2.0 Bios
Last Post: ocsabi
Yesterday 08:46 AM
» Replies: 0
» Views: 130
Asus EEEPC 1015PN enable 64 bit operatio...
Last Post: pathickel
11-17-2025 12:10 AM
» Replies: 0
» Views: 211
[REQUEST] Lenovo Y50-70 (9ECNxxWW) White...
Last Post: PhySix66
11-16-2025 05:05 PM
» Replies: 1775
» Views: 837298
[REQUEST] Lenovo B590 (H5ETxxWW) Whiteli...
Last Post: Cokeef
11-16-2025 01:57 PM
» Replies: 280
» Views: 130747
Toshiba C855 replacement battery problem
Last Post: Rad25
11-16-2025 09:45 AM
» Replies: 0
» Views: 143
CSM unlock Lenovo Ideapad Slim 3
Last Post: mario011
11-16-2025 09:36 AM
» Replies: 0
» Views: 174
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: winged
11-16-2025 07:32 AM
» Replies: 498
» Views: 258526
[REQUEST] Lenovo ThinkPad Edge E330 (H3E...
Last Post: flyingscott
11-15-2025 01:02 PM
» Replies: 652
» Views: 340806
[Request] Microcode support on cpu A8 76...
Last Post: boblemagnifique
11-15-2025 07:17 AM
» Replies: 0
» Views: 215
New Members Say Hi Here
Last Post: boblemagnifique
11-15-2025 06:14 AM
» Replies: 162
» Views: 265770
Lenovo G460 G560 Z460 Z560 NWL ADV MC
Last Post: ArkuS
11-14-2025 09:37 AM
» Replies: 10
» Views: 6849
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: Dudu2002
11-14-2025 03:43 AM
» Replies: 601
» Views: 353303
HP Elitebook 8540w Microcode for I7 920X...
Last Post: blackcat1996@
11-14-2025 03:25 AM
» Replies: 7
» Views: 613

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)