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
Help me please
Last Post: DarkKnight0
Today 04:39 AM
» Replies: 0
» Views: 25
[REQUEST] Clevo P150SM Prema Bios Reques...
Last Post: DsErick
Today 03:32 AM
» Replies: 3
» Views: 1266
[REQUEST] Acer Aspire E5-473(G) BIOS Unl...
Last Post: KUSANAGUI777
Today 12:45 AM
» Replies: 20
» Views: 13735
[REQUEST] Lenovo Thinkpad SL400 & SL500 ...
Last Post: FilhoSenhor
Yesterday 09:39 PM
» Replies: 19
» Views: 11231
[REQUEST] HP ProBook 4720s whitelist rem...
Last Post: Paxviffpack
06-30-2025 04:26 PM
» Replies: 15
» Views: 11194
[REQUEST] Lenovo IdeaPad Z570 (45CNxxWW)...
Last Post: Dudu2002
06-30-2025 08:49 AM
» Replies: 95
» Views: 113770
[REQUEST] Acer Aspire VN7-791(G) BIOS Un...
Last Post: Dudu2002
06-30-2025 02:16 AM
» Replies: 91
» Views: 89678
BIOS Unlock Request – Dell Latitude 5420
Last Post: gata.infernum
06-29-2025 09:14 PM
» Replies: 0
» Views: 167
Asus T100
Last Post: EmmetIsOfficial
06-29-2025 02:33 PM
» Replies: 6
» Views: 11831
BIOS Unlock Request – Dell Latitude 7480
Last Post: na3nou3.electronics
06-28-2025 10:33 AM
» Replies: 1
» Views: 287
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: Dudu2002
06-27-2025 12:58 PM
» Replies: 597
» Views: 299146
[REQUEST] Lenovo G570 (40CNxxWW) Whiteli...
Last Post: Mark738
06-27-2025 12:07 PM
» Replies: 172
» Views: 160491
Lenovo Y550 BIOS Unlocking (Advanced Men...
Last Post: kentsergeo
06-27-2025 01:23 AM
» Replies: 1
» Views: 650
[REQUEST] Toshiba Satellite L650 WhiteLi...
Last Post: averagenokiauser
06-26-2025 02:58 PM
» Replies: 15
» Views: 7449
[REQUEST] Thunderobot 911s Core BIOS Unl...
Last Post: EgaschNSK
06-26-2025 07:28 AM
» Replies: 0
» Views: 433
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: Roago
06-25-2025 06:50 PM
» Replies: 215
» Views: 108857
[REQUEST] Toshiba Satellite L750 & L755 ...
Last Post: EiadSherif2008
06-25-2025 05:12 PM
» Replies: 78
» Views: 57587
Lenovo B590 unlock the checking original...
Last Post: leecher1337
06-25-2025 02:42 PM
» Replies: 34
» Views: 26585
[REQUEST] Sony Vaio SVE141 & SVE151 seri...
Last Post: Reza1
06-25-2025 12:28 PM
» Replies: 52
» Views: 31855
BIOS Mod to Disable Intel iGPU on Acer V...
Last Post: DeathBringer
06-25-2025 05:14 AM
» Replies: 7
» Views: 653

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)