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
Fujitsu Esprimo P5710 - unlock [REQUEST]
Last Post: Maxinator500
Today 03:13 AM
» Replies: 16
» Views: 433
Asus h61m-d & xeon e3-1265l v2
Last Post: DeathBringer
Yesterday 04:28 PM
» Replies: 3
» Views: 121
[REQUEST] - Acer Swift 3 SF314-41G bios ...
Last Post: ersan
Yesterday 03:03 PM
» Replies: 1
» Views: 115
[REQUEST] Lenovo G780 advanced menu
Last Post: Dudu2002
Yesterday 09:41 AM
» Replies: 43
» Views: 17010
[REQUEST] ThinkPad T14 Gen1 Intel BIOS W...
Last Post: SSV CHAOTIC
Yesterday 05:19 AM
» Replies: 0
» Views: 102
[REQUEST] Lenovo Ideapad 100-14IBD & 100...
Last Post: Dudu2002
Yesterday 03:48 AM
» Replies: 15
» Views: 6865
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: 5CarPileup
Yesterday 02:04 AM
» Replies: 1767
» Views: 379955
HP Pro 3500: CPU Upgrade
Last Post: DeathBringer
Yesterday 12:13 AM
» Replies: 20
» Views: 4532
[READ FIRST] Access Advanced settings th...
Last Post: Klinzah
05-02-2024 05:11 PM
» Replies: 424
» Views: 568844
[REQUEST] Asus eeepc 1025C
Last Post: sloseba123
05-02-2024 04:44 PM
» Replies: 87
» Views: 110449
HP EliteBook 840 g2 NVMe
Last Post: x86-64
05-02-2024 06:30 AM
» Replies: 0
» Views: 109
[Request] Dell 7400 2 in 1 Computrace/Ab...
Last Post: Lorand187
05-01-2024 10:34 PM
» Replies: 0
» Views: 154
[REQUEST] Gigabyte B75M-D3H BIOS Unlock
Last Post: topadefir
05-01-2024 12:56 PM
» Replies: 10
» Views: 4043
[REQUEST] Lenovo B590 (H9ETxxWW) Whiteli...
Last Post: samugarob
05-01-2024 10:08 AM
» Replies: 674
» Views: 168627
[REQUEST] Asus GL504GV BIOS Unlock
Last Post: merjeu
05-01-2024 09:28 AM
» Replies: 5
» Views: 1714
[REQUEST] Asus ROG Strix GL702ZC BIOS Un...
Last Post: George205
05-01-2024 09:22 AM
» Replies: 167
» Views: 68721
[REQUEST] HP Gaming Pavilion 15-cx0xxx B...
Last Post: falkorikstv
05-01-2024 07:03 AM
» Replies: 10
» Views: 1672
[REQUEST] Gigabyte G5 KC Unlock BIOS
Last Post: Dudu2002
05-01-2024 04:06 AM
» Replies: 5
» Views: 2335
[REQUEST] M920q BIOS unlock
Last Post: d3vf0x
04-30-2024 04:50 PM
» Replies: 0
» Views: 183
[REQUEST] Lenovo G500 (78CNxxWW) Whiteli...
Last Post: MAVARACOMPLEX
04-30-2024 02:15 PM
» Replies: 1186
» Views: 269097

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)