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
Can i cross-flash my...
Last Post: fr4nk1sh
Today 03:19 AM
» Replies: 2
» Views: 122
Any way to unbrick a chinese Windows Tab...
Last Post: huguito
Yesterday 11:09 PM
» Replies: 0
» Views: 85
Compaq Presario R3000 add Turion and Sem...
Last Post: DeathBringer
Yesterday 03:25 PM
» Replies: 1
» Views: 114
Enabling VT-d/VT-x on MSI Cubi 2 Bios
Last Post: janlugt
Yesterday 11:58 AM
» Replies: 4
» Views: 204
[REQUEST] Lenovo ThinkCentre M73z (FGKTx...
Last Post: lolo84
11-30-2025 05:35 PM
» Replies: 7
» Views: 189
BIOS Mod for Sony VGC RA940G (ASUS P5LP-...
Last Post: DTDeniz
11-30-2025 03:15 PM
» Replies: 10
» Views: 2679
[Request] Packard Bell EasyNote TE11HC B...
Last Post: MasTx
11-30-2025 06:23 AM
» Replies: 121
» Views: 91777
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: Gamepak40
11-30-2025 03:53 AM
» Replies: 142
» Views: 104204
[Request] Dell Precision M6800 A16 BIOS ...
Last Post: bytehat248
11-29-2025 05:04 PM
» Replies: 2
» Views: 258
[REQUEST] Lenovo IdeaPad Y410p & Y510p (...
Last Post: aleks57
11-29-2025 02:19 PM
» Replies: 100
» Views: 82800
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: acidmonkey
11-29-2025 09:42 AM
» Replies: 131
» Views: 133070
[REQUEST] Lenovo Thinkpad X230(i) (G2ETx...
Last Post: Dudu2002
11-29-2025 09:37 AM
» Replies: 1097
» Views: 645602
[REQUEST] Lenovo IdeaPad Gaming 3 15IMH0...
Last Post: Dudu2002
11-29-2025 09:35 AM
» Replies: 63
» Views: 44152
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: xantio
11-29-2025 05:46 AM
» Replies: 1727
» Views: 1009290
[REQUEST] Acer Aspire A515-52(G) BIOS Un...
Last Post: VissarionovichIvan
11-27-2025 05:16 PM
» Replies: 7
» Views: 6781
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: elventorro
11-27-2025 03:08 PM
» Replies: 1786
» Views: 790707
[REQUEST] Acer Switch 10 SW5-012 BIOS Un...
Last Post: pedro691
11-27-2025 12:53 PM
» Replies: 45
» Views: 27101
[REQUEST] Lenovo Thinkpad T540p (GMETxxW...
Last Post: bildmacher
11-27-2025 10:49 AM
» Replies: 84
» Views: 57902
Hp probook 6560B Upgrade to Ivy Bridge
Last Post: Ricsi999
11-27-2025 10:20 AM
» Replies: 4
» Views: 317
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
11-27-2025 08:52 AM
» Replies: 4
» Views: 217

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)