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
BIOS Mod for Dell Inspiron 7447 A09 to E...
Last Post: hoangha16497
Today 04:00 AM
» Replies: 1
» Views: 299
[REQUEST] Acer Nitro 5 AN515-58 BIOS Unl...
Last Post: Dudu2002
Yesterday 09:27 AM
» Replies: 35
» Views: 13337
HP probook4436s(e2-3000m)can update to a...
Last Post: DeathBringer
Yesterday 04:17 AM
» Replies: 1
» Views: 119
[Request] Lenovo v520s sff unit bios sup...
Last Post: DeathBringer
06-14-2025 01:48 PM
» Replies: 5
» Views: 559
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: flastac
06-14-2025 09:45 AM
» Replies: 212
» Views: 105902
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
06-14-2025 02:26 AM
» Replies: 40
» Views: 12383
[Request] Bios is locked need to unlock ...
Last Post: Xperjo
06-14-2025 12:59 AM
» Replies: 0
» Views: 239
Ailenware M15 R2
Last Post: axdy
06-13-2025 05:17 PM
» Replies: 0
» Views: 196
ASUS P5LD2 Deluxe & Conroe CPU
Last Post: k24a1
06-13-2025 03:05 PM
» Replies: 20
» Views: 9669
Request: Modded BIOS with NVMe support f...
Last Post: thadrusta
06-13-2025 01:08 PM
» Replies: 1
» Views: 794
[REQUEST] Lenovo Yoga 500 (BDCNxxWW) BIO...
Last Post: soren
06-12-2025 05:19 PM
» Replies: 21
» Views: 15888
Unlock EMT64 / 64-bit UEFI support on In...
Last Post: ordi
06-12-2025 01:41 PM
» Replies: 4
» Views: 462
H-Joshua-H61-uATX with i5-2500K or i7-37...
Last Post: EQX
06-12-2025 12:49 PM
» Replies: 33
» Views: 19048
[REQUEST] Lenovo Thinkpad X240 (GIETxxWW...
Last Post: Yaserxi
06-12-2025 08:50 AM
» Replies: 341
» Views: 173602
[Request] Alienware X51 R2 BIOS Unlock
Last Post: thadrusta
06-11-2025 08:22 PM
» Replies: 14
» Views: 14382
[REQUEST] Lenovo B575 (52CNxxWW) Whiteli...
Last Post: ptnom
06-11-2025 06:36 PM
» Replies: 57
» Views: 30376
[REQUEST] Lenovo G50-70 (9ACNxxWW) White...
Last Post: Dudu2002
06-11-2025 05:46 PM
» Replies: 245
» Views: 111313
[REQUEST] Acer Aspire One AOD255E BIOS U...
Last Post: stormy
06-11-2025 03:24 PM
» Replies: 63
» Views: 37653
[Request] Dell Vostro 3268 Bios Modd for...
Last Post: izzner1
06-11-2025 08:34 AM
» Replies: 0
» Views: 288
HP Pavilion DV6318ea Whitelist
Last Post: kaczorekbw
06-11-2025 06:45 AM
» Replies: 0
» Views: 183

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)