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
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: acidmonkey
Today 09:42 AM
» Replies: 131
» Views: 132118
[REQUEST] Lenovo Thinkpad X230(i) (G2ETx...
Last Post: Dudu2002
Today 09:37 AM
» Replies: 1097
» Views: 643156
[REQUEST] Lenovo IdeaPad Gaming 3 15IMH0...
Last Post: Dudu2002
Today 09:35 AM
» Replies: 63
» Views: 43832
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: xantio
Today 05:46 AM
» Replies: 1727
» Views: 1006566
[REQUEST] Acer Aspire A515-52(G) BIOS Un...
Last Post: VissarionovichIvan
11-27-2025 05:16 PM
» Replies: 7
» Views: 6709
BIOS Mod for Sony VGC RA940G (ASUS P5LP-...
Last Post: DTDeniz
11-27-2025 03:50 PM
» Replies: 9
» Views: 2507
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: elventorro
11-27-2025 03:08 PM
» Replies: 1786
» Views: 787831
[REQUEST] Acer Switch 10 SW5-012 BIOS Un...
Last Post: pedro691
11-27-2025 12:53 PM
» Replies: 45
» Views: 26950
[REQUEST] Lenovo Thinkpad T540p (GMETxxW...
Last Post: bildmacher
11-27-2025 10:49 AM
» Replies: 84
» Views: 57736
Hp probook 6560B Upgrade to Ivy Bridge
Last Post: Ricsi999
11-27-2025 10:20 AM
» Replies: 4
» Views: 254
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
11-27-2025 08:52 AM
» Replies: 4
» Views: 164
REQUEST Dell Latitude 6430U Bios extract
Last Post: Smarty
11-26-2025 07:08 PM
» Replies: 1
» Views: 2678
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: xubix
11-26-2025 03:22 PM
» Replies: 498
» Views: 262794
[REQUEST] HP ENVY - 17-r102nl (W6X06EA#A...
Last Post: SpaghettONE
11-25-2025 04:51 PM
» Replies: 0
» Views: 209
HP Elitebook 8540w Microcode for I7 920X...
Last Post: DeathBringer
11-25-2025 01:44 PM
» Replies: 9
» Views: 868
[REQUEST] HP Pavilion DM4-2101er BIOS F....
Last Post: Nylon
11-25-2025 01:43 AM
» Replies: 1
» Views: 321
ThinkPad W520 - Corrupted ME
Last Post: lovie_loveth
11-24-2025 10:07 PM
» Replies: 0
» Views: 163
[REQUEST] Lenovo IdeaPad S400 (6DCNxxWW)...
Last Post: MasterSil
11-24-2025 08:09 PM
» Replies: 336
» Views: 177073
BIOS ESS Xerox C60
Last Post: JSteen
11-24-2025 02:37 PM
» Replies: 0
» Views: 158
[REQUEST] Acer Nitro 5 AN517-54 BIOS Unl...
Last Post: Carlos_Eduardo13087
11-24-2025 12:25 PM
» Replies: 30
» Views: 12371

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)