Started by jakent, January 25, 2010, 14:26:30 PM
Quote from: jakent on January 25, 2010, 14:26:30 PMI have begain to implement an option ROM header that hooks int19h. That way the bootloader isn't copied to RAM before int19h is called. My x86 asm isn't great, so any pointers in the right direction would be appreciated, especially preconditions on the entry point at 2000h:100h.
plpbt-5.0.8/cfg/plpcfgbt vm=text stm=menu cnt=off dbt=usb stf=off zan=off font=bios usb1=1 int19h=off hotkey=no plpbtrom.bin
plpbt-5.0.8/cfg/plpcfgbt vm=text stm=hidden cnt=on cntval=1 dbt=usb stf=off zan=off font=bios usb1=1 int19h=off hotkey=no plpbtrom.bin
firewall:~# plpbt-5.0.8/cfg/plpcfgbt vm=text stm=menu cnt=off dbt=usb stf=off zan=off font=bios usb1=1 int19h=off hotkey=no plpbtrom.bindata changedfirewall:~# plpbt-5.0.8/rom/plpbtrom -pci -vendorid 10B7 -deviceid 9200 plpbtrom.bin plpbt.romplpbt.rom createdfirewall:~# dd if=/dev/zero bs=512 count=43 >> plpbt.rom43+0 records in43+0 records out22016 bytes (22 kB) copied, 0.000724249 s, 30.4 MB/sfirewall:~# flashrom-0.9.1/flashrom -p nic3com -w plpbt.romflashrom v0.9.1-r710Found "3COM 3C905C: EtherLink 10/100 PCI (TX)" (10b7:9200, BDF 01:08.0).Calibrating delay loop... OK.Found chip "ST M29W512B" (64 KB, Parallel) at physical address 0xffff0000.===This flash part has status UNTESTED for operations: PROBE READ ERASE WRITEPlease email a report to email@example.com if any of the above operationswork correctly for you with this flash part. Please include the flashromoutput with the additional -V option for all operations you tested (-V, -rV,-wV, -EV), and mention which mainboard you tested. Thanks for your help!===Flash image seems to be a legacy BIOS. Disabling checks.Writing flash chip... Programming page: 0000 at address: 0x00000000COMPLETE.Verifying flash... VERIFIED.