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 Thinkpad Edge E430 & E5...
Last Post: RuryGame
Today 06:23 PM
» Replies: 494
» Views: 171014
Lenovo ThinkCentre M700 10GS - Kaby Lake...
Last Post: tommi22012
Today 04:22 PM
» Replies: 9
» Views: 3724
[Request] Asus H110M-R Mainboard - Xeon ...
Last Post: kusslegyen
Today 03:31 PM
» Replies: 14
» Views: 6686
2x CPU Dell Workstation BIOS modding
Last Post: William P
Today 03:30 PM
» Replies: 0
» Views: 45
[REQUEST] Lenovo T440(S) (GJETxxWW) Whit...
Last Post: Dudu2002
Today 01:28 PM
» Replies: 492
» Views: 185679
[Request] ECS P6LX-A bios mod for HDD si...
Last Post: pdesrosiers
Yesterday 11:20 PM
» Replies: 0
» Views: 321
Sony Vaio AW11Z - Support for Quad CPU -...
Last Post: lala2025
Yesterday 08:19 PM
» Replies: 12
» Views: 3848
[REQUEST] HP Pavilion G42-272BR Whitelis...
Last Post: eepromm
Yesterday 06:14 PM
» Replies: 1
» Views: 172
[REQUEST] Bios for packard bell tj65 wit...
Last Post: THECAIDA
Yesterday 03:49 PM
» Replies: 2
» Views: 125
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
Yesterday 02:47 PM
» Replies: 476
» Views: 168320
[REQUEST] Lenovo Thinkpad X230(i) (G2ETx...
Last Post: Dudu2002
Yesterday 02:46 PM
» Replies: 1089
» Views: 450267
[REQUEST] Lenovo G50-70 (9ACNxxWW) White...
Last Post: tarikyeter
Yesterday 02:44 PM
» Replies: 236
» Views: 89254
[REQUEST] Remove whitelist in a Panasoni...
Last Post: coco62
Yesterday 11:20 AM
» Replies: 2
» Views: 1602
Lenovo ThinkPad SL510 Whitelist Removal....
Last Post: deepTeNk
11-23-2024 03:32 PM
» Replies: 5
» Views: 6401
[REQUEST] Acer Aspire 5738(G,Z): CPU Upg...
Last Post: DeathBringer
11-21-2024 03:44 PM
» Replies: 49
» Views: 33029
[REQUEST] HP Mini 110-4100 BIOS Unlock
Last Post: DSI INF
11-21-2024 09:24 AM
» Replies: 7
» Views: 322
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: Dudu2002
11-21-2024 03:11 AM
» Replies: 1780
» Views: 496961
Lenovo ThinkCentre M715q 2nd Gen & AMD R...
Last Post: Elmurley
11-20-2024 09:37 PM
» Replies: 2
» Views: 1325
[REQUEST] Lenovo Y50-70 (9ECNxxWW) White...
Last Post: SWZSSR
11-20-2024 09:34 PM
» Replies: 1775
» Views: 556118
[REQUEST] Lenovo Thinkpad X240 (GIETxxWW...
Last Post: Dudu2002
11-20-2024 04:58 PM
» Replies: 337
» Views: 144461

Option ROM loaded but no boot device
#11
Well wouldn't the drive number be determined by what SATA port is plugged into?
www find
quote
#12
yes but in my case was 00 ?
BIOS is not making a call to BCV as result option ROM doesn't know what number was assigned to respective disk.
Now I try to make this call to BCV using other option ROM (for network card,and set boot from network first in BIOS)
Calling BCV increase number of disks in BIOS data area.But after that computer freeze.
And still don't know how to put in ESBig GrinI pointer to PnP installation check.
PnP installation check is at 000FE2D0h
How can I make ESBig GrinI Pointer to System BIOS PnP Installation Check Structure?
All my tries resulted in wrong data in ESBig GrinI
find
quote
#13
Yess 00 is right because the First SATA drive is numbered 0, not 1 (applies to a lot of things in computer programming, this is one of them). As for your second question, I'm still catching up with all you've posted in the last couple days Smile
www find
quote
#14
is a little confusion I think.
On Intel board ,where BIOS detect disk,inside initialized option ROM I have BIOS disk number
80 if is first drive
81 if is second drive

On Dell board where BIOS doesn't detect disk this field is empty , 00
I use another option ROM (for network card and set boot from network so BIOS is loading and exectute ) which do next things
-display int13 vector
-display number of disks from BIOS data area
-set ESBig GrinI to point to PnP installation check
-display ESBig GrinI
-make a far call to BCV
-display int13 vector
-display number of disks from BIOS data area
-exit by choice with retf or int18

int13 vector is changed and in BDA number of disks is increased after calling BCV but ESBig GrinI is not right.
exiting from that option ROM with retf is freezing computer and exiting with int18 is restarting at any keypress.
find
quote
#15
Man you are really great at ASM, something I still haven't quite gripped yet as Im a C# programmer etc. How's it coming along?
www find
quote
#16
I'm not great at ASM, I just use info collected and get help on other forums.
Now I don't know where thing go wrong.
BIOS load Option ROM > Option ROM initialization > BIOS write protect shadow RAM area and continue POST > boot
In this time if BIOS was follow PnP BIOS specification then it must see that is a disk device (Device type code in expansion PnP header,which is OK inside and is working with other manufacturer BIOS's) then after Option ROM initialization make a call to its BCV.

I don't know when Option ROM decide what BIOS disk number have their attached drive.
(80 is first disk;81 is second disk ... in my case on Dell is 00 and on Intel board 80 if is single disk or 81 if I have another one attached to onboard ICH chip.)
But since in BDA number of disk is not touched until BCV is called and in any case Option ROM read offset 75h of BDA (or 0475h of RAM) then decide what BIOS disk number get and I get 00 always I think sequence is
BIOS load Option ROM > Option ROM initialization > BIOS call BCV > Option ROM increase number of disks detected in BDA > depending on what value was readed from BDA assign a number (80 81 82 ... ) to their attached disk > BIOS write protect shadow RAM area and continue POST > boot

The problem now I think is when I force a call to BCV using that trick from network boot RAM region where Option rom is shadowed is read-only.
Since number of disks in BDA is increased,INT13 vector is changed but option rom can't update itself with assigned BIOS disk number.

Maybe if I can re-enable write in shadow RAM region I can get more results.

find
quote
#17
Nobody ,any idea if and how can shadow ram region be write possible?

I have patched Sil option ROM so it keep BIOS disk number assigned in initialization stage.But calling BCV and trying to boot still not success.

I have found this in RAM,is coming from BIOS
Code:
Offset 0 1 2 3 4 5 6 7 8 9 A B C D E F

00000000 F0 01 F6 03 E0 00 0E 08 00 04 95 08 00 00 11 6E ð.ö.à.....•....n
00000010 78 00 37 11 30 22 A5 0B 00 00 A0 BF FA 00 67 81 x.7.0"¥... ¿ú.g
00000020 F0 01 F6 03 B0 00 0E 00 00 00 00 00 00 00 11 00 ð.ö.°...........
00000030 58 02 00 00 00 00 00 00 00 00 00 00 FA 01 50 81 X...........ú.P
00000040 70 01 76 03 A0 00 0F 00 00 00 00 00 00 00 11 00 p.v. ...........
00000050 58 02 00 00 00 00 00 00 00 00 00 00 FA 02 75 81 X...........ú.u
00000060 70 01 76 03 B0 00 0F 00 00 00 00 00 00 00 11 00 p.v.°...........
00000070 58 02 00 00 00 00 00 00 00 00 00 00 FA 03 50 81 X...........ú.P
00000080 F0 FF F0 FF B0 00 FF 00 00 00 00 00 00 00 11 AC ðÿðÿ°.ÿ........¬
00000090 58 02 35 01 00 00 00 00 00 00 00 00 00 40 57 81 X.5..........@W

It looks like an IPL table with entries for primary -master slave secondary -master slave and one that could be for USB boot device.

As far as I can interpret this data for first entry:
F0 01 1F0h controller I/O base address of primary ide channel
F6 03 3F6h controller port address of primary ide channel
E0 00 E0 ???
0E 08 0Eh IRQ14 08h ??
00 04 04h PIO mode?
95 08 0895h DPTE flag
00 00 ???
11 6E ???
78 00 device present? (58 no dev,78 dev exist?)
37 11 ???
30 22 - 0BA52230h 195371568 LBA sectors of attached HDD
A5 0B /
00 00 ???
A0 BF BFA0h I/O range of ICH7-M D31:F2
FA 00 ???
67 81 ???

I'm thinking to try to mod one of these entries to see what is happening but I don't know some fields.
find
quote
#18
Basically PIO is a method of data transfer on the harddisk. Today though DMA is highly perferred and faster and PIO has become a last resort really. Can you post the ASM output?
www find
quote
#19
Early I was thinking to mod IPL table builded by BIOS.
I looked into BIOS and find this field blank and in RAM was populated with some info then looking at some info gathered with various soft I see some matching data

This is with HDD connected to onboard sata.
Code:
EDD version: 2.1
EDD features: Fixed disk access, EDD support
EDD flags: 0001h
Physical drive #0 geometry LBA sectors: 195371568 (100 GB), sector=512 B
Device Path Information: absent
Device Parameter Table Extension pointer: F000:81A9h
DPTE revision: 1.1 [OK]
DPTE flags: 0895h
Controller I/O base address: 1F0h, control port: 3F6h
IRQ: 14, DMA channel: 0
PIO mode: 4, Ultra DMA: enabled
32-bit transfer mode: enabled, LBA: enabled, LBA48: disabled
ATA read/write multiple command max sectors: 8, enabled
ATAPI: no, uses command packet interrupt: no, nonremovable media
Host Protected Area: inactive

But any attempt to mod one of these five blocks ended with a bricked BIOS.
find
quote
#20
Almost done.
Still BIOS can't boot native from disks.
Main problem was:
-BIOS doesn't make a call to BCV (after initialization OROM resize itself but also clear any configuration,that is make so when calling BCV, OROM get his disk BIOS assigned number.
-trying to make later a far call to this BCV shadow RAM area was RO so OROM can't configure well.

After writing few chipset registers of DRAM controller,first,to enabe RW on shadow RAM and then next making a call to BCV and booting from USB I can see and get access to HDD,now using GRUB to remap disks and then boot from one attached to sata card is working fine.

find
quote


Forum Jump:


Users browsing this thread: 3 Guest(s)