User Tools

Site Tools

A PCRE internal error occured. This might be caused by a faulty plugin

start

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

start [2013/06/16 09:34]
xvilka
start [2014/01/09 13:47] (current)
xvilka
Line 59: Line 59:
  
 See example here http://​xvilka.me/​ami_bios.bin See example here http://​xvilka.me/​ami_bios.bin
 +
 +Download example from http://​xvilka.me/​asrock_p4i65g.bin and open it as usual.
 +Also you can download r2 database file with all mentioned stuff (and more) from http://​xvilka.me/​asrock_p4i65g.r2 (Just load ut after loading *.bin file using '​.'​ command).
 +It is based on ICH5 southbridge,​ download datasheet here http://​www.intel.com/​content/​dam/​doc/​datasheet/​82801eb-82801er-io-controller-hub-datasheet.pdf
  
 4. Disassembly,​ set flag to this as bios_entry 4. Disassembly,​ set flag to this as bios_entry
Line 312: Line 316:
 **48 0b** - here our word. This mean, that rest of code completely wrong. Lets fix that. **48 0b** - here our word. This mean, that rest of code completely wrong. Lets fix that.
   [f000:​0b3c]>​ Cd 2 @ f000:0b46   [f000:​0b3c]>​ Cd 2 @ f000:0b46
- 
-==== Award ==== 
- 
-==== Phoenix ==== 
- 
-Download example from http://​xvilka.me/​asrock_p4i65g.bin and open it as usual. 
-It is based on ICH5 southbridge,​ download datasheet here http://​www.intel.com/​content/​dam/​doc/​datasheet/​82801eb-82801er-io-controller-hub-datasheet.pdf 
  
 ... [some reversing process]... ... [some reversing process]...
Line 381: Line 378:
   ​   ​
 Also add these local labels: Also add these local labels:
-  [f000:​574d]>​ f SMB_Send_CMD ​0xf000:​0x5755 +  [f000:​574d]>​ f .SMB_Send_CMD ​0xf000:​0x5755 
-  [f000:​574d]>​ f SMB_Prepare_Controller ​0xf000:​0x5762 +  [f000:​574d]>​ f .SMB_Prepare_Controller ​0xf000:​0x5762 
-  [f000:​574d]>​ f SMB_Read_Data ​0xf000:​0x5779 +  [f000:​574d]>​ f .SMB_Read_Data ​0xf000:​0x5779 
-  [f000:​574d]>​ f SMB_delay_loop ​0xf000:​0x576d+  [f000:​574d]>​ f .SMB_delay_loop ​0xf000:​0x576d
   ​   ​
 And here is what we have got (in VISUAL mode - **Vp** command to enter): And here is what we have got (in VISUAL mode - **Vp** command to enter):
Line 438: Line 435:
      ​| ​       f000:​57a2 ​     a4               ​movsb ​                                                                                                                              ​| ​       f000:​57a2 ​     a4               ​movsb ​                                                                                                                        
      ​| ​       f000:​57a3 ​     57               push di                                                                                                                             ​| ​       f000:​57a3 ​     57               push di                                                                                                                       
-     ​| ​       f000:​57a4 ​     b87200 ​          mov ax, 0x72                                                                                                                  +     ​| ​       f000:​57a4 ​     b87200 ​          mov ax, 0x72       
 + 
 +==== Award ==== 
 + 
 +==== Phoenix ==== 
 + 
 +                                                                                                            ​
  
 ==== HP BIOS ==== ==== HP BIOS ====
start.1371375295.txt.gz · Last modified: 2013/06/16 09:34 by xvilka