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
Dell Vostro 3450 Advanced Options unlock...
Last Post: ĐINH CHÍ MINH
Today 07:37 PM
» Replies: 185
» Views: 180431
[REQUEST] Lenovo G780 (5ECNxxWW) Whiteli...
Last Post: Lenovo_ENjoyer
Yesterday 10:56 AM
» Replies: 889
» Views: 582183
[REQUEST] HP Pavilion 15-cc1xx Insyde F....
Last Post: Memakorn
Yesterday 09:04 AM
» Replies: 0
» Views: 126
[Request] hp pavillion dv4-1431us whitel...
Last Post: HpDV4
04-25-2026 09:07 PM
» Replies: 0
» Views: 141
HP Pro 3330 (H-POPEYE-H61-uATX): Ivy Bri...
Last Post: Hooper
04-25-2026 09:05 PM
» Replies: 38
» Views: 9503
[REQUEST] Gigabyte EG31M-S2 Rev 2.0 AHCI...
Last Post: Gigaboyz
04-25-2026 06:12 PM
» Replies: 0
» Views: 135
[REQUEST] Lenovo IdeaPad Y410p & Y510p (...
Last Post: Yeremei
04-25-2026 02:05 PM
» Replies: 100
» Views: 90786
[REQUEST] ASRock X470 Master SLI a/c
Last Post: ryliea
04-25-2026 10:55 AM
» Replies: 0
» Views: 117
Ms-6309 v2.0 bios tualatin
Last Post: DeathBringer
04-25-2026 02:21 AM
» Replies: 9
» Views: 933
[REQUEST] Lenovo ThinkCentre M93p Tiny (...
Last Post: bobo6
04-24-2026 06:01 PM
» Replies: 57
» Views: 66816
[REQUEST] Sony Vaio VPCEH & VPCEJ series...
Last Post: skyoff11
04-23-2026 10:03 PM
» Replies: 247
» Views: 204304
Lenovo Y570 Project Bios and Display
Last Post: dNAUREZ
04-22-2026 08:57 AM
» Replies: 1
» Views: 320
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: Tomwelling
04-22-2026 06:45 AM
» Replies: 109
» Views: 75743
[REQUEST] Lenovo Flex 2 Pro-15 (B9CNxxWW...
Last Post: savio78
04-21-2026 09:12 PM
» Replies: 0
» Views: 204
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: blawstem
04-21-2026 03:53 PM
» Replies: 220
» Views: 146508
Problem with intel DX79SR
Last Post: Tomyx85
04-21-2026 12:23 PM
» Replies: 0
» Views: 635
Packard Bell Aloh@
Last Post: moltensoftware
04-21-2026 10:31 AM
» Replies: 2
» Views: 3842
[REQUEST] Acer Aspire 7560(G) BIOS Unloc...
Last Post: Slavvvva
04-21-2026 09:14 AM
» Replies: 33
» Views: 26889
Working Dell E5440 will not flash BIOS
Last Post: DannoXYZ
04-20-2026 08:19 PM
» Replies: 2
» Views: 2730
[REQUEST] Acer Aspire 5742(G,Z) BIOS Unl...
Last Post: charlyholland
04-20-2026 10:36 AM
» Replies: 169
» Views: 88155

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)