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
Request to unlock advance features in Ac...
Last Post: napsteronly
Today 07:57 AM
» Replies: 71
» Views: 93375
[Request] Unlocking BIOS for iMedia D361...
Last Post: SplatPie
Today 04:20 AM
» Replies: 0
» Views: 74
[Request] Lenovo ThinkPad x100e Whitelis...
Last Post: Komzpa
Today 04:10 AM
» Replies: 2
» Views: 6880
[REQUEST] Lenovo Thinkpad W540 & W541 (G...
Last Post: nameerfk1
Yesterday 09:20 PM
» Replies: 51
» Views: 38487
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: Hooper
Yesterday 08:59 PM
» Replies: 138
» Views: 143791
Asus Rog Strix Scar 15 G533QS/G733QS Key...
Last Post: rakecikas
Yesterday 02:55 PM
» Replies: 2
» Views: 2862
[Unlocked] Acer Aspire One D255E
Last Post: clearest
Yesterday 02:38 AM
» Replies: 2
» Views: 5111
[REQUEST] Sony Vaio VPCEH & VPCEJ series...
Last Post: shum25
03-01-2026 12:56 PM
» Replies: 245
» Views: 192935
Lenovo ThinkPad Edge E530: I'm trying to...
Last Post: MadBerry
03-01-2026 12:40 PM
» Replies: 0
» Views: 128
[REQUEST] Sony Vaio SVT131 (R1xx0D4) BIO...
Last Post: dumbpartition
03-01-2026 11:54 AM
» Replies: 3
» Views: 3022
Asus G513RC Bios hidden settings unlock
Last Post: ormcra
03-01-2026 04:51 AM
» Replies: 0
» Views: 145
ACER Aspire 7736ZG BIOS microcode update...
Last Post: DeathBringer
03-01-2026 02:04 AM
» Replies: 11
» Views: 542
Lenovo Legion 5 15ITH6H – “Device Freeze...
Last Post: laret
02-28-2026 09:32 AM
» Replies: 5
» Views: 272
sony vaio VGN-Z56MG insydeH20 bios unloc...
Last Post: DevilEpic2
02-28-2026 08:37 AM
» Replies: 0
» Views: 196
Modded BIOS for HP 6730b to support Q900...
Last Post: DeathBringer
02-27-2026 05:00 AM
» Replies: 6
» Views: 568
Asus P5Q Deluxe EFI
Last Post: maoshen1234
02-27-2026 12:55 AM
» Replies: 7
» Views: 18734
[REQUEST] Lenovo IdeaPad P400, P500, Z40...
Last Post: anto77562
02-26-2026 11:39 PM
» Replies: 686
» Views: 362892
[REQUEST] Lenovo Legion 5 (EFCNxxWW) BIO...
Last Post: SQ0O
02-26-2026 06:29 PM
» Replies: 53
» Views: 40234
[REQUEST] Lenovo G500(s) (7BCNxxWW) BIOS...
Last Post: INARIUS
02-26-2026 03:34 PM
» Replies: 65
» Views: 50059
[REQUEST] Lenovo T440(S) (GJETxxWW) Whit...
Last Post: cnv
02-26-2026 01:59 PM
» Replies: 502
» Views: 290775

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: 2 Guest(s)