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] Acer Aspire E1-571(G) BIOS Unl...
Last Post: RJMP
Today 01:07 PM
» Replies: 137
» Views: 114812
Fujitsu D3061-A1 & Xeon E3-1245
Last Post: DeathBringer
Today 08:00 AM
» Replies: 7
» Views: 39
[REQUEST] Lenovo ThinkPad T450(s) (JBETx...
Last Post: konam005
Yesterday 10:20 PM
» Replies: 149
» Views: 133096
Dell R7610 sr-iov bios mod help
Last Post: IronFist
Yesterday 02:43 PM
» Replies: 0
» Views: 126
[RESQUEST] Gigabyte A5 X1 Insyde BIOS un...
Last Post: SuperSantaSqualala
Yesterday 12:04 PM
» Replies: 2
» Views: 134
[REQUEST] Lenovo L340-15API & L340-17API...
Last Post: Dudu2002
Yesterday 11:43 AM
» Replies: 14
» Views: 10371
Acer Nitro AN16-42-R854 need bios
Last Post: QEDSE
Yesterday 03:16 AM
» Replies: 0
» Views: 150
Lenovo Y550 BIOS Unlocking (Advanced Men...
Last Post: kentsergeo
Yesterday 01:41 AM
» Replies: 6
» Views: 3457
[REQUEST] HP Elitebook 8440p Whitelist R...
Last Post: ic0n_358_
04-09-2026 01:16 PM
» Replies: 72
» Views: 54565
BIOS secure flash check failed
Last Post: Tutis123
04-09-2026 08:58 AM
» Replies: 0
» Views: 171
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: ngocthienta
04-09-2026 05:54 AM
» Replies: 150
» Views: 155878
[REQUEST] Lenovo Yoga 520-14IKB BIOS Unl...
Last Post: Nicolasdrummer
04-08-2026 10:40 AM
» Replies: 9
» Views: 4115
BIOS MOD FOR DELL N7110 UNLOCKED UEFI BO...
Last Post: biiza
04-08-2026 08:01 AM
» Replies: 38
» Views: 79589
Lenovo g780: BIOS is password-locked
Last Post: liliill
04-06-2026 02:35 PM
» Replies: 0
» Views: 309
[REQUEST] Acer Aspire One 532h BIOS Unlo...
Last Post: zpunout
04-06-2026 02:44 AM
» Replies: 47
» Views: 35980
[REQUEST] Lenovo T440(S) (GJETxxWW) Whit...
Last Post: dx88ct
04-05-2026 09:18 PM
» Replies: 503
» Views: 299226
[REQUEST] Unlock Sony Vaio SX 12 VJS125 ...
Last Post: LindaFero
04-05-2026 04:08 PM
» Replies: 0
» Views: 236
Disable Prochot ryzen 5 5500u
Last Post: vorajeeah
04-05-2026 10:01 AM
» Replies: 0
» Views: 232
HP Pro 3330 (H-POPEYE-H61-uATX): Ivy Bri...
Last Post: Hooper
04-05-2026 06:03 AM
» Replies: 10
» Views: 8090
[REQUEST] Lenovo G700 (7ACNxxWW) Whiteli...
Last Post: Dudu2002
04-04-2026 01:44 AM
» Replies: 167
» Views: 111020

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