Changes

Jump to navigation Jump to search
331 bytes added ,  19:16, 22 June 2018
Line 35: Line 35:  
During SEND_OP_COND the function pointer from <code>set_emmc_hook</code> is called, it performs syscon init. It enables syscon device using gpio and sends syscon commands 1 (get syscon ver), 5 (get vita model info), 2 (get syscon date string), optionally 0x80.
 
During SEND_OP_COND the function pointer from <code>set_emmc_hook</code> is called, it performs syscon init. It enables syscon device using gpio and sends syscon commands 1 (get syscon ver), 5 (get vita model info), 2 (get syscon date string), optionally 0x80.
   −
=== TODO ===
+
=== Model/devkit checks ===
    
<pre>
 
<pre>
Line 83: Line 83:  
   dword_E3100180 = v7;
 
   dword_E3100180 = v7;
 
   set_status(67LL);
 
   set_status(67LL);
 +
</pre>
 +
 +
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 ===
 +
 +
<pre>
 
   boot_type = 0;
 
   boot_type = 0;
 
   v8 = syscon_cmd_0x10_get_boot_type_80452A((__int64)&boot_type);
 
   v8 = syscon_cmd_0x10_get_boot_type_80452A((__int64)&boot_type);

Navigation menu