Changes

Jump to navigation Jump to search
146 bytes added ,  19:35, 22 June 2018
Line 87: Line 87:  
Model info is retrieved from a global set by syscon command 5. Some checks are performed to determine if the vita is a devkit, if it is then a flag to enable debug LEDs is set. Syscon hw version from command 1 is written to keyslot 0x508 and vita model info is written to keyslot 0x51B.
 
Model info is retrieved from a global set by syscon command 5. Some checks are performed to determine if the vita is a devkit, if it is then a flag to enable debug LEDs is set. Syscon hw version from command 1 is written to keyslot 0x508 and vita model info is written to keyslot 0x51B.
   −
=== TODO ===
+
=== Retrieve boot type from syscon ===
    
<pre>
 
<pre>
Line 105: Line 105:  
   }
 
   }
 
   set_status(68LL);
 
   set_status(68LL);
 +
</pre>
 +
 +
Boot type is retrieved from syscon cmd 0x10, 0xFF14 on cold boot or 0xFF80 on resume boot.
 +
 +
=== TODO ===
 +
 +
<pre>
 
   ret_from_E002_1 = dword_E0020004;
 
   ret_from_E002_1 = dword_E0020004;
 
   ret_from_E002 = ret_from_E002_1;
 
   ret_from_E002 = ret_from_E002_1;

Navigation menu