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] HP ENVY - 17-r102nl (W6X06EA#A...
Last Post: SpaghettONE
Yesterday 04:51 PM
» Replies: 0
» Views: 104
HP Elitebook 8540w Microcode for I7 920X...
Last Post: DeathBringer
Yesterday 01:44 PM
» Replies: 9
» Views: 796
[REQUEST] HP Pavilion DM4-2101er BIOS F....
Last Post: Nylon
Yesterday 01:43 AM
» Replies: 1
» Views: 278
ThinkPad W520 - Corrupted ME
Last Post: lovie_loveth
11-24-2025 10:07 PM
» Replies: 0
» Views: 98
[REQUEST] Lenovo IdeaPad S400 (6DCNxxWW)...
Last Post: MasterSil
11-24-2025 08:09 PM
» Replies: 336
» Views: 176057
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: acidmonkey
11-24-2025 03:14 PM
» Replies: 129
» Views: 131229
BIOS ESS Xerox C60
Last Post: JSteen
11-24-2025 02:37 PM
» Replies: 0
» Views: 99
[REQUEST] Acer Nitro 5 AN517-54 BIOS Unl...
Last Post: Carlos_Eduardo13087
11-24-2025 12:25 PM
» Replies: 30
» Views: 12177
[REQUEST] Acer Predator PHN16-72 BIOS Un...
Last Post: Dudu2002
11-24-2025 07:11 AM
» Replies: 3
» Views: 2644
[REQUEST] Lenovo T440(S) (GJETxxWW) Whit...
Last Post: Cevox
11-24-2025 06:36 AM
» Replies: 500
» Views: 271903
[REQUEST] Please help unlock em64t in bi...
Last Post: MonoTightt
11-24-2025 02:48 AM
» Replies: 3
» Views: 2940
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: Dudu2002
11-24-2025 12:55 AM
» Replies: 141
» Views: 103258
Need HP BIOS 080B0 (080B0.bin + .sig) fo...
Last Post: AldoRmz
11-23-2025 11:06 PM
» Replies: 0
» Views: 139
[REQUEST] HP dc7600 CMT BIOS Modding for...
Last Post: C2WRtm36y
11-23-2025 05:47 PM
» Replies: 7
» Views: 737
[Request] Dell Precision M6800 A16 BIOS ...
Last Post: bytehat248
11-23-2025 12:39 PM
» Replies: 1
» Views: 128
[REQUEST] Lanner FW-7573 (7571)
Last Post: romankul
11-23-2025 03:36 AM
» Replies: 0
» Views: 146
[REQUEST] Dell Precision T3600 Xeon E5 v...
Last Post: DeathBringer
11-23-2025 01:19 AM
» Replies: 1
» Views: 228
Acer M5-518t Boot Loop (No bootloader)
Last Post: Cfox
11-23-2025 12:16 AM
» Replies: 0
» Views: 153
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: winged
11-20-2025 04:16 PM
» Replies: 499
» Views: 260984
[REQUEST] Lenovo Z410 & Z510 (8DCNxxWW) ...
Last Post: palych88
11-20-2025 03:54 PM
» Replies: 502
» Views: 251974

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)