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
Working Dell E5440 will not flash BIOS
Last Post: Karlicok
Today 10:42 AM
» Replies: 1
» Views: 2419
[REQUEST] Acer Aspire 5742(G,Z) BIOS Unl...
Last Post: charlyholland
Today 10:36 AM
» Replies: 169
» Views: 86726
[REQUEST] Lenovo Ideapad S410p (89CNxxWW...
Last Post: vothcito
Today 03:36 AM
» Replies: 43
» Views: 31485
[REQUEST] Lenovo Thinkpad X230 Tablet (G...
Last Post: spithink
04-18-2026 09:24 PM
» Replies: 355
» Views: 259457
Fujitsu D3061-A1 & Xeon E3-1245
Last Post: Nikandros
04-18-2026 02:31 PM
» Replies: 11
» Views: 1479
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: miant
04-18-2026 12:20 PM
» Replies: 154
» Views: 158960
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: Triple_A
04-18-2026 07:02 AM
» Replies: 108
» Views: 74319
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
04-17-2026 11:55 AM
» Replies: 51
» Views: 27981
Acer Veriton M4620G Slic 2.1 Request
Last Post: rouger0831
04-17-2026 03:10 AM
» Replies: 5
» Views: 7024
[REQUEST] Lenovo B590 (H1ETxxWW) Whiteli...
Last Post: steberrr
04-16-2026 01:07 PM
» Replies: 800
» Views: 543722
GA-M68M-S2P (rev. 1.0) F5 BIOS unlock
Last Post: TheExplorer
04-16-2026 12:50 PM
» Replies: 17
» Views: 25229
[Request] Unlock Bios for Asus TUF FX505...
Last Post: antonio1985
04-16-2026 08:26 AM
» Replies: 12
» Views: 14558
[Request] Panasonic Toughbook CF-30K (MK...
Last Post: Yoshi128k
04-15-2026 03:45 PM
» Replies: 0
» Views: 984
[REQUEST] Lenovo Thinkpad T440p (GLETxxW...
Last Post: Dudu2002
04-15-2026 10:57 AM
» Replies: 532
» Views: 333888
[Request] Dell Inspiron N5010 A15 Full U...
Last Post: smnghosh
04-15-2026 06:08 AM
» Replies: 24
» Views: 38326
[REQUEST] Lenovo X270 (R0IETxxW) Whiteli...
Last Post: Kopturov
04-14-2026 01:48 PM
» Replies: 26
» Views: 16491
Acer TravelMate 4230 — Enable AHCI / Unl...
Last Post: maximiliano80
04-14-2026 03:18 AM
» Replies: 0
» Views: 1031
[REQUEST] Dell Inspiron 15R 5520 BIOS Un...
Last Post: nguyenchitu
04-13-2026 10:42 PM
» Replies: 46
» Views: 38927
Help for UnLock Ram Timing
Last Post: Brax16
04-13-2026 01:55 PM
» Replies: 0
» Views: 1049
Gigabyte GA-945PL-S3 (Rev. 1.0): Wolfdal...
Last Post: michamichael22
04-13-2026 01:23 PM
» Replies: 8
» Views: 5154

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)