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
Unlock BIOS Asus Rog Flow X16 GV601VV.31...
Last Post: olixp
Today 04:58 PM
» Replies: 0
» Views: 23
[REQUEST] Lenove Yoga 3 14 80JH Whitelis...
Last Post: Dudu2002
Today 04:35 PM
» Replies: 28
» Views: 18432
[REQUEST] REQUEST REMOVE WHITELIST THINK...
Last Post: panlydo
Yesterday 01:14 PM
» Replies: 0
» Views: 129
[REQUEST] Acer Aspire 7560(G) BIOS Unloc...
Last Post: naowut
Yesterday 03:56 AM
» Replies: 32
» Views: 23655
[REQUEST] Acer Aspire V3-772G BIOS Unloc...
Last Post: Dudu2002
12-18-2025 05:33 PM
» Replies: 460
» Views: 274791
[REQUEST] Sony Vaio VPCEH & VPCEJ series...
Last Post: Half-Life
12-18-2025 03:24 PM
» Replies: 244
» Views: 183085
[Request] Acer Aspire V3-771(G) BIOS unl...
Last Post: vincetek
12-18-2025 09:44 AM
» Replies: 262
» Views: 173737
Lenovo Miix 510-12IKB
Last Post: plusiaedge
12-17-2025 09:55 PM
» Replies: 5
» Views: 3775
Help to interchange diferent uefi bios o...
Last Post: plusiaedge
12-17-2025 09:53 PM
» Replies: 2
» Views: 1147
MS-7525 QUAD CORE Q8400 UPDATE
Last Post: Nonameman
12-17-2025 02:12 PM
» Replies: 0
» Views: 127
[REQUEST] Lenovo Z50-70 & Z40-70 (9BCNxx...
Last Post: Dudu2002
12-17-2025 03:08 AM
» Replies: 760
» Views: 393510
GA-Z68M-D2H NVMe
Last Post: spssw
12-16-2025 09:30 PM
» Replies: 2
» Views: 3911
[REQUEST] HP Pavilion dm4-1000 series (I...
Last Post: pf007
12-16-2025 12:45 PM
» Replies: 42
» Views: 10469
[REQUEST] Lenovo IdeaPad P400, P500, Z40...
Last Post: Generaltr
12-16-2025 12:23 PM
» Replies: 79
» Views: 62379
Unlocking the E11IS2 BIOS
Last Post: Akira340
12-16-2025 10:49 AM
» Replies: 39
» Views: 48829
[REQUEST] Unlock bios Machenike S15
Last Post: Dudu2002
12-16-2025 01:29 AM
» Replies: 2
» Views: 2694
[REQUEST] Gigabyte MZ32-AR0 unlock and p...
Last Post: quarkpower
12-15-2025 02:43 PM
» Replies: 0
» Views: 192
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: miant
12-15-2025 11:54 AM
» Replies: 132
» Views: 135558
[REQUEST] Acer Predator PHN16-72 BIOS Un...
Last Post: Trixvr
12-14-2025 01:31 PM
» Replies: 6
» Views: 3223
[REQUEST] Acer Nitro 5 AN515-58 BIOS Unl...
Last Post: nork
12-14-2025 12:35 PM
» Replies: 48
» Views: 63561

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)