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] Lenovo IdeaPad Gaming 3 15IMH0...
Last Post: ormcra
Today 01:40 AM
» Replies: 57
» Views: 41880
Foxconn 865G7MF Pinmodded Xeon Support
Last Post: Jackal1983
Yesterday 10:39 PM
» Replies: 12
» Views: 314
Optiplex 7060 SFF 9th Generation Intel C...
Last Post: loukylor
Yesterday 06:37 PM
» Replies: 69
» Views: 44829
[REQUEST] Lenovo Thinkpad T410 (6IETxxWW...
Last Post: egecc
Yesterday 05:11 PM
» Replies: 154
» Views: 63459
Lenovo G460 G560 Z460 Z560 NWL ADV MC
Last Post: Clecio1
11-07-2025 04:59 PM
» Replies: 5
» Views: 6141
X550VXK BIOS Unlock Request
Last Post: laret
11-07-2025 03:01 PM
» Replies: 3
» Views: 366
BIOS P09ABE and 32GB RAM with 2 16GB mod...
Last Post: japa543
11-07-2025 02:43 PM
» Replies: 4
» Views: 793
[REQUEST] Resizable BAR for Lenovo m720q...
Last Post: elfloko
11-07-2025 01:29 PM
» Replies: 1
» Views: 1564
ASUS X501A CPU 1000M > 3210M upgrade cl...
Last Post: senorjuan2244
11-07-2025 01:53 AM
» Replies: 4
» Views: 2543
[REQUEST] Acer E5-551(G) BIOS Unlock
Last Post: Hlebka
11-06-2025 07:59 AM
» Replies: 51
» Views: 39835
[GUIDE] How to modify AMI MSI BIOS to un...
Last Post: Juancho
11-06-2025 05:26 AM
» Replies: 57
» Views: 360166
asus ga503qm bios
Last Post: delav
11-06-2025 02:35 AM
» Replies: 0
» Views: 171
[REQUEST] Microcode modification a HP Pr...
Last Post: DeathBringer
11-06-2025 12:14 AM
» Replies: 1
» Views: 243
**Request** ASUS H81M-R Moded BIOS
Last Post: FourTwenty42
11-05-2025 05:37 PM
» Replies: 0
» Views: 204
[request] Asus ROG strix G15 2021 (g513q...
Last Post: delav
11-05-2025 11:07 AM
» Replies: 15
» Views: 16394
disabling amd prochot with moded bios.
Last Post: vorajeeah
11-03-2025 09:27 AM
» Replies: 2
» Views: 929
[REQUEST] ThinkPad X1 Carbon (20A7 & 20A...
Last Post: neax61
11-03-2025 05:46 AM
» Replies: 87
» Views: 51123
[REQUEST] Lenovo G50-80 (B0CNxxWW) White...
Last Post: Leonardosena
11-02-2025 04:17 PM
» Replies: 110
» Views: 66522
bios f.02 Help!!!
Last Post: karbonid777
11-02-2025 12:21 PM
» Replies: 0
» Views: 307
[REQUEST] Lenovo Ideadpad N581 Whitelist...
Last Post: Dudu2002
11-01-2025 02:07 PM
» Replies: 238
» Views: 116635

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)