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 X270 (R0IETxxW) Whiteli...
Last Post: Kopturov
Today 01:48 PM
» Replies: 26
» Views: 15563
Acer TravelMate 4230 — Enable AHCI / Unl...
Last Post: maximiliano80
Today 03:18 AM
» Replies: 0
» Views: 101
[REQUEST] Dell Inspiron 15R 5520 BIOS Un...
Last Post: nguyenchitu
Yesterday 10:42 PM
» Replies: 46
» Views: 37908
Help for UnLock Ram Timing
Last Post: Brax16
Yesterday 01:55 PM
» Replies: 0
» Views: 101
Gigabyte GA-945PL-S3 (Rev. 1.0): Wolfdal...
Last Post: michamichael22
Yesterday 01:23 PM
» Replies: 8
» Views: 4169
Lenovo Y550 BIOS Unlocking (Advanced Men...
Last Post: kentsergeo
Yesterday 02:52 AM
» Replies: 7
» Views: 3579
Help with Foxconn H61S (weird miniITX ma...
Last Post: shiz_balls101
04-12-2026 08:20 AM
» Replies: 2
» Views: 265
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: Hooper
04-12-2026 02:15 AM
» Replies: 153
» Views: 157004
[REQUEST] Acer Aspire E1-571(G) BIOS Unl...
Last Post: RJMP
04-11-2026 01:07 PM
» Replies: 137
» Views: 115698
Fujitsu D3061-A1 & Xeon E3-1245
Last Post: DeathBringer
04-11-2026 08:00 AM
» Replies: 7
» Views: 213
[REQUEST] Lenovo ThinkPad T450(s) (JBETx...
Last Post: konam005
04-10-2026 10:20 PM
» Replies: 149
» Views: 134123
Dell R7610 sr-iov bios mod help
Last Post: IronFist
04-10-2026 02:43 PM
» Replies: 0
» Views: 247
[RESQUEST] Gigabyte A5 X1 Insyde BIOS un...
Last Post: SuperSantaSqualala
04-10-2026 12:04 PM
» Replies: 2
» Views: 244
[REQUEST] Lenovo L340-15API & L340-17API...
Last Post: Dudu2002
04-10-2026 11:43 AM
» Replies: 14
» Views: 10532
Acer Nitro AN16-42-R854 need bios
Last Post: QEDSE
04-10-2026 03:16 AM
» Replies: 0
» Views: 231
[REQUEST] HP Elitebook 8440p Whitelist R...
Last Post: ic0n_358_
04-09-2026 01:16 PM
» Replies: 72
» Views: 55111
BIOS secure flash check failed
Last Post: Tutis123
04-09-2026 08:58 AM
» Replies: 0
» Views: 238
[REQUEST] Lenovo Yoga 520-14IKB BIOS Unl...
Last Post: Nicolasdrummer
04-08-2026 10:40 AM
» Replies: 9
» Views: 4176
BIOS MOD FOR DELL N7110 UNLOCKED UEFI BO...
Last Post: biiza
04-08-2026 08:01 AM
» Replies: 38
» Views: 79779
Lenovo g780: BIOS is password-locked
Last Post: liliill
04-06-2026 02:35 PM
» Replies: 0
» Views: 355

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)