Changes

Jump to navigation Jump to search
43 bytes added ,  15:27, 12 August 2017
no edit summary
Line 248: Line 248:     
== Keygen ==
 
== Keygen ==
In this final stage the Falcon device key is generated by reading SOR registers modified by Falcon.
+
The Falcon device key is generated by reading SOR registers modified by Falcon.
 
  // Clear host1x sync config
 
  // Clear host1x sync config
 
  *(u32 *)0x50003300 = 0;
 
  *(u32 *)0x50003300 = 0;
Line 271: Line 271:  
  memcpy(out_buf, falcon_device_key, out_size);
 
  memcpy(out_buf, falcon_device_key, out_size);
    +
== Cleanup ==
 +
Clocks and resets are disabled before returning.
 
  // Deprogram KFUSE clock and resets
 
  // Deprogram KFUSE clock and resets
 
  // Uses RST_DEVICES_H, CLK_OUT_ENB_H and CLK_H_KFUSE
 
  // Uses RST_DEVICES_H, CLK_OUT_ENB_H and CLK_H_KFUSE

Navigation menu