Forum FAQForum FAQ SearchSearch MemberlistMemberlist   UsergroupsUsergroups RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Wim's BIOS RSS FeedRSS Log inLog in

awdhack using and help

 
Post new topic   Reply to topic    Wim's BIOS Forum Index -> In-depth High-tech BIOS section

Recommended by Wim's BIOS...

BIOS Agent scan: Upgrade your BIOS! Driver Agent scan: Instant Access to 116,215 Device Drivers Updates!

View previous topic :: View next topic  
Author Message
zhang yunhong
New visitors - please read the rules.


Joined: 12 Jun 2002
Posts: 4

PostPosted: Wed Jun 12, 2002 11:45 am     Post subject: awdhack using and help Reply with quote

i try to use the awdhack,but i can release
a modified award.bin.Only extract ORIGINAL.TMP file
(system BIOS). after being Modified by hiew,
How to add to award.bin.i want to modify pci irq
routing table.


My step by step:
> awdhack mybios.bin
//no release ORIGINAL.TMP files,only have award.bin.
> modbin // release ORIGINAL.TMP files only after checking
//mybios.bin configuration

>hiew ORIGINAL.TMP //modify irq routing table

Please tell me,How to add ORIGINAL.TMP modified to award.bin?

Thanks in advance

zyh
geminizyh@hotmail.com
Back to top
View user's profile Send private message Send e-mail
NickS
BIOS Bodhisattva


Joined: 03 May 2002
Posts: 3143
Location: Thames Valley, UK

PostPosted: Wed Jun 12, 2002 1:50 pm     Post subject: Reply with quote

For M577 BIOS, I used CBROM 1.30 not awdhack to extract and release all the loadable modules (using /other 4100:0 for awardext.rom module, not present in all BIOSes).

The compressed Original.tmp finished at about 0x1A200 so I cut everything up to 0x1B000 out of the original BIOS to make file "part2".
I got the original.tmp using MODBIN and patched it.
I compressed the new original.tmp using LHARC, and then filled it out to length 0x1AFFF with 0xFF to make file "part1".
I joined the part1 and part 2 with "copy /b part1+part2 mybios.bin".
Check that CBROM shows only the original.tmp in mybios.bin*
I loaded the loadable modules back in with CBROM.
I loaded the BIOS into MODBIN, changed the BIOS message and saved it.
Finished!

[edit]*It may be necessary here to load the BIOS into MODBIN and make a minor change e.g. to the BIOS message, then save using "update file", if CBROM shows more than one module. See this post for an example of CBROM output during this exercise.


Last edited by NickS on Fri Mar 14, 2003 8:33 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
zhang yunhong
New visitors - please read the rules.


Joined: 12 Jun 2002
Posts: 4

PostPosted: Thu Jun 13, 2002 10:28 am     Post subject: but i have a little problem Reply with quote

Nicks,Thank you for your help!
But i have a little problem:

-->Check that Modbin shows only the original.tmp in mybios.bin

this step is ok!

-->I loaded the loadable modules back in with CBROM.

this step is also ok! but next step is bad.

-->I loaded the BIOS into MODBIN....

" Binary file checksum error!!!"
I don't konw where i mistake,can you give me advice?
at the last moment!

Thank you

Crying or Very sad
Back to top
View user's profile Send private message Send e-mail
KachiWachi
The New Guy


Joined: 29 Mar 2002
Posts: 1374
Location: Pennsylvania, USA

PostPosted: Thu Jun 13, 2002 3:27 pm     Post subject: Reply with quote

Nick...a question on MODBIN...

Do you release and extract, or extract and release? New to MODBIN, not really sure of the sequence to do things...

Right now just peeking inside...but who knows in the future... Rolling Eyes
Back to top
View user's profile Send private message
NickS
BIOS Bodhisattva


Joined: 03 May 2002
Posts: 3143
Location: Thames Valley, UK

PostPosted: Thu Jun 13, 2002 4:25 pm     Post subject: Re: but i have a little problem Reply with quote

zhang yunhong wrote:
-->I loaded the BIOS into MODBIN...." Binary file checksum error!!!"Crying or Very sad


It is difficult to diagnose remotely what may be going wrong. I'll just go through it again:
1. You extracted the original.tmp by running MODBIN.
2. You modified the original.tmp and recompressed it using LHA255.exe.
3. You extracted then released all the loadable modules to leave only original.tmp in the BIOS file (the bootblock and decompressor do not show up in CBROM).
4. You used hiew to find out where the original.tmp finished in the BIOS file.
5a. If this was longer than your new compressed original.tmp you added "FF" bytes to your new original.tmp to make it the same length, and deleted up to the end of original.tmp in the BIOS file.
or
5b. If this was shorter than your new compressed original.tmp, you deleted up to the length of the new compressed original.tmp in the BIOS file.
6. You used "copy /b filea+fileb mybios.bin" to concatenate the files.
7. cbrom showed just the original.tmp in mybios.bin.
8. You loaded the modules back in using CBROM, in the order they were originally displayed.
9. You loaded the file into MODBIN and it fell over with the BIOS checksum error ?

I am puzzled. If you try again and it still doesn't work, send me your original BIOS and your patched original.tmp.
_________________
Tested patched BIOSes. Untested patched BIOSes .
Emails *will* be ignored unless the subject line starts "Wim's BIOS forum"


Last edited by NickS on Thu Jun 13, 2002 4:28 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
NickS
BIOS Bodhisattva


Joined: 03 May 2002
Posts: 3143
Location: Thames Valley, UK

PostPosted: Thu Jun 13, 2002 4:27 pm     Post subject: Reply with quote

KachiWachi wrote:
Nick...a question on MODBIN...

Do you release and extract, or extract and release? New to MODBIN, not really sure of the sequence to do things...

Right now just peeking inside...but who knows in the future... Rolling Eyes


Extract (gives you a (decompressed) copy of that module) then release (removes it from the ROM image).
_________________
Tested patched BIOSes. Untested patched BIOSes .
Emails *will* be ignored unless the subject line starts "Wim's BIOS forum"
Back to top
View user's profile Send private message Send e-mail
zhang yunhong
New visitors - please read the rules.


Joined: 12 Jun 2002
Posts: 4

PostPosted: Fri Jun 14, 2002 3:13 am     Post subject: Good! i finished a new BIOS,but.... Reply with quote

Nick ,thanks for your detail guide.
i finished the first step: modify the award bios's pci irq routing table,
make a patched bios, it work well.

but i want to assign irq resource(irq10) to my device on board.
but PCI device use this irq10 in the PCI host bridge configuration space
. pci host bridge integrated 8259 interrupt controller assign irq10 to
INTA#、INTC#.
next step : i need to look for PCI host bridge configuration space in BIOS module and modify. i think that the it is in an BIOS module such as PCI ROM..

Where are the PCI host bridge configuration space ?
welcome more suggestions.

BIOS module( use CBROM 1.30):

system Bios: original.tmp
XGROUP code: awardext.rom
EPA LOGO : gxivideo.205
VSA driver: gxm55304.317 ( PCI bridge)
PCI ROM : ncr40.bin

others:
Decompress block and Boot Block: R00fa000.dec , R00fe000.dec.

Thanks in advance,

zyh

Question
Back to top
View user's profile Send private message Send e-mail
NickS
BIOS Bodhisattva


Joined: 03 May 2002
Posts: 3143
Location: Thames Valley, UK

PostPosted: Fri Jun 14, 2002 10:31 am     Post subject: Re: Good! i finished a new BIOS,but.... Reply with quote

zhang yunhong wrote:
I want to assign irq resource(irq10) to my device on board.
but PCI device use this irq10 in the PCI host bridge configuration space
. pci host bridge integrated 8259 interrupt controller assign irq10 to
INTA#、INTC#.
next step : i need to look for PCI host bridge configuration space in BIOS module and modify. i think that the it is in an BIOS module such as PCI ROM..

Where are the PCI host bridge configuration space ?
welcome more suggestions.
Question


Sorry, I do not have enough knowledge to help you with this. Confused In PC-Chips M577 BIOS it looks like the "PCI ROM" is the SCSI/IDE driver?, "NCR307.16K".
If no-one else replies to this, you could try posting again with a new subject "Which BIOS module contains PCI Host Bridge configuration space?"
_________________
Tested patched BIOSes. Untested patched BIOSes .
Emails *will* be ignored unless the subject line starts "Wim's BIOS forum"
Back to top
View user's profile Send private message Send e-mail
winkill
New visitors - please read the rules.


Joined: 19 Oct 2002
Posts: 5

PostPosted: Mon Apr 21, 2003 5:18 am     Post subject: Reply with quote

when i tried running awdhack, i couldnt get it to work. it would load, show modbin's interface, and then exit. sometimes i would get the message
Hiew: not enough memory
and it would exit, whether i ran it from windows or pure dos
i had extracted original.tmp from my vi0106wg.bin using winrar after creating a backup vi0106wg.bak , and modified it.
after that i did not know how to put it back.
anyway, i ran modbin from windows, opened my file vi0106wg.bin, found out that it creates 2 files in the modbin directory - bios.rom and original.tmp
the bios.rom seems to be a copy of vi0106wg.bin
anyway, i overwrote the original.tmp with my patched original.tmp, then in modbin, i selected update file, then exited. after this, i had the patched copy of original.tmp in my vi0106wg.bin

vi0106wg.bin has the modified original.tmp
vi0106wg.bak has the original original.tmp

here is the output of cbrom vi0106wg.bin /d

CBROM V1.32 (C)Award Software 1999 All Rights Reserved.

******** vi0106wg.bin BIOS component ********

No. Item-Name Original-Size Compressed-Size Original-File-Name
================================================================================
0. System BIOS 20000h(128.00K) 13C89h(79.13K) original.tmp
1. XGROUP CODE 0551Eh(21.28K) 03B88h(14.88K) awardext.rom
2. ACPI table 01D37h(7.30K) 00BCEh(2.95K) ACPITBL.BIN
3. EPA pattern 0168Ch(5.64K) 0030Dh(0.76K) AwardBmp.bmp
4. VRS ROM 02274h(8.61K) 014AAh(5.17K) ANTI_VIR.BIN

Total compress code space = 1A000h(104.00K)
Total compressed code size = 19B96h(102.90K)
Remain compress code space = 0046Ah(1.10K)

** Micro Code Information **
Update ID CPUID | Update ID CPUID | Update ID CPUID | Update ID CPUID
------------------+--------------------+--------------------+-------------------


and the output of cbrom vi0106wg.bak /d

CBROM V1.32 (C)Award Software 1999 All Rights Reserved.

******** vi0106wg.bak BIOS component ********

No. Item-Name Original-Size Compressed-Size Original-File-Name
================================================================================
0. System BIOS 20000h(128.00K) 13C8Eh(79.14K) original.tmp
1. XGROUP CODE 0551Eh(21.28K) 03B88h(14.88K) awardext.rom
2. ACPI table 01D37h(7.30K) 00BCEh(2.95K) ACPITBL.BIN
3. EPA pattern 0168Ch(5.64K) 0030Dh(0.76K) AwardBmp.bmp
4. VRS ROM 02274h(8.61K) 014AAh(5.17K) ANTI_VIR.BIN

Total compress code space = 1A000h(104.00K)
Total compressed code size = 19B9Bh(102.90K)
Remain compress code space = 00465h(1.10K)

** Micro Code Information **
Update ID CPUID | Update ID CPUID | Update ID CPUID | Update ID CPUID
------------------+--------------------+--------------------+-------------------
Back to top
View user's profile Send private message
NickS
BIOS Bodhisattva


Joined: 03 May 2002
Posts: 3143
Location: Thames Valley, UK

PostPosted: Wed Apr 23, 2003 9:20 am     Post subject: Reply with quote

If that works for you, good. Some operating systems won't let you overwrite the original.tmp, saying that it's in use. What OS were you using ?
_________________
Tested patched BIOSes. Untested patched BIOSes .
Emails *will* be ignored unless the subject line starts "Wim's BIOS forum"
Back to top
View user's profile Send private message Send e-mail
winkill
New visitors - please read the rules.


Joined: 19 Oct 2002
Posts: 5

PostPosted: Wed Apr 23, 2003 11:45 am     Post subject: Reply with quote

windows 98 second edition
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Wim's BIOS Forum Index -> In-depth High-tech BIOS section All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group