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
ASUS R1F CPU upgrade
Last Post: DeathBringer
Today 12:22 AM
» Replies: 1
» Views: 74
Asus h110m-a & xeon e3-1280v5
Last Post: DeathBringer
Yesterday 01:41 PM
» Replies: 1
» Views: 91
[REQUEST] Lenovo IdeaPad Flex 15 (8ACNxx...
Last Post: psycomaffo
Yesterday 10:36 AM
» Replies: 69
» Views: 26036
Request for Modded BIOS with AI Tweaker ...
Last Post: CertifiedCosmos
04-17-2024 05:04 PM
» Replies: 0
» Views: 110
Lenovo ThinkCentre M71e GPU Whitelist re...
Last Post: saschalein
04-17-2024 03:23 PM
» Replies: 0
» Views: 94
[REQUEST] Lenovo Ideapad 330S-15ARR (7WC...
Last Post: nadolivbios
04-17-2024 01:26 PM
» Replies: 25
» Views: 6150
How To Add SLIC 2.1 To An Intel Motherbo...
Last Post: sanya.silitskiy
04-17-2024 11:52 AM
» Replies: 73
» Views: 219987
[REQUEST] 13w Yoga Gen 2 (Type 82YR) (KB...
Last Post: SiberianTiger97
04-17-2024 09:48 AM
» Replies: 2
» Views: 164
Acer Extensa 5620: CPU replace
Last Post: MPM
04-17-2024 08:28 AM
» Replies: 2
» Views: 149
[REQUEST] Sony Vaio VPCEH & VPCEJ series...
Last Post: nrns
04-16-2024 08:08 PM
» Replies: 232
» Views: 98565
[REQUEST] Lenovo Y70-70 (9ECNxxWW) White...
Last Post: Dudu2002
04-16-2024 02:35 PM
» Replies: 103
» Views: 24040
[REQUEST] Lenovo Yoga 2 Pro (76CNxxWW) W...
Last Post: Dudu2002
04-16-2024 07:29 AM
» Replies: 847
» Views: 324211
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
04-16-2024 07:28 AM
» Replies: 26
» Views: 1000
[REQUEST] Lenovo ThinkPad P14s 3rd Gen 1...
Last Post: Dudu2002
04-16-2024 07:26 AM
» Replies: 4
» Views: 302
Add CPU support Lenovo M715s
Last Post: pashtet440
04-16-2024 06:56 AM
» Replies: 0
» Views: 143
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: Dudu2002
04-14-2024 09:02 AM
» Replies: 1733
» Views: 542267
Dell Latitude 5520 - get to know passwor...
Last Post: yeti1299
04-14-2024 06:48 AM
» Replies: 2
» Views: 247
[REQUEST]: Asus TP420IA - how to dump bi...
Last Post: quantumx3
04-14-2024 05:34 AM
» Replies: 0
» Views: 213
[REQUEST] Lenovo Y50-70 (9ECNxxWW) BIOS ...
Last Post: Nightdemon2001
04-14-2024 01:13 AM
» Replies: 2319
» Views: 656837
[REQUEST] Lenovo B575 (52CNxxWW) Whiteli...
Last Post: thepwrtank18
04-13-2024 06:13 PM
» Replies: 56
» Views: 20454

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