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
Asrock b660m steel legend, Help Add supp...
Last Post: ffrog911
Today 11:54 AM
» Replies: 0
» Views: 32
[REQUEST] Medion Deputy P40 unlock / dis...
Last Post: Dudu2002
Today 10:02 AM
» Replies: 1
» Views: 68
[REQUEST] Lenovo ThinkPad T510 (6METxxWW...
Last Post: deepTeNk
Today 04:21 AM
» Replies: 59
» Views: 44167
[Request] Acer Aspire TC-281 B350 Ryzen ...
Last Post: Blagg2
Yesterday 05:31 PM
» Replies: 0
» Views: 126
[Request] Fujitsu Celcius H770 Whitelist...
Last Post: kalu
Yesterday 11:24 AM
» Replies: 0
» Views: 97
Compaq Presario R3000, HP Pavilion zv500...
Last Post: DeathBringer
12-04-2025 01:13 PM
» Replies: 28
» Views: 1193
hp 14-dq6002na raised power limits wante...
Last Post: Idkwhatimdoing
12-04-2025 01:02 AM
» Replies: 0
» Views: 142
[REQUEST] Toshiba Satellite C855-1QF-PSC...
Last Post: DeathBringer
12-03-2025 08:53 AM
» Replies: 1
» Views: 221
[REQUEST] Lenovo G50-70 (9ACNxxWW) White...
Last Post: rayz5
12-03-2025 06:14 AM
» Replies: 246
» Views: 135834
[REQUEST] Acer Nitro 5 AN515-58 BIOS Unl...
Last Post: Dudu2002
12-03-2025 03:07 AM
» Replies: 45
» Views: 62326
Enabling VT-d/VT-x on MSI Cubi 2 Bios
Last Post: janlugt
12-02-2025 07:12 PM
» Replies: 5
» Views: 367
BIOS for HP 250 G1 F45 Unlocked working ...
Last Post: Schibeki
12-02-2025 03:23 PM
» Replies: 0
» Views: 171
Can i cross-flash my...
Last Post: fr4nk1sh
12-02-2025 03:19 AM
» Replies: 2
» Views: 239
Any way to unbrick a chinese Windows Tab...
Last Post: huguito
12-01-2025 11:09 PM
» Replies: 0
» Views: 223
[REQUEST] Lenovo ThinkCentre M73z (FGKTx...
Last Post: lolo84
11-30-2025 05:35 PM
» Replies: 7
» Views: 292
BIOS Mod for Sony VGC RA940G (ASUS P5LP-...
Last Post: DTDeniz
11-30-2025 03:15 PM
» Replies: 10
» Views: 2812
[Request] Packard Bell EasyNote TE11HC B...
Last Post: MasTx
11-30-2025 06:23 AM
» Replies: 121
» Views: 92167
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: Gamepak40
11-30-2025 03:53 AM
» Replies: 142
» Views: 104695
[Request] Dell Precision M6800 A16 BIOS ...
Last Post: bytehat248
11-29-2025 05:04 PM
» Replies: 2
» Views: 324
[REQUEST] Lenovo IdeaPad Y410p & Y510p (...
Last Post: aleks57
11-29-2025 02:19 PM
» Replies: 100
» Views: 83095

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)