From b72a68f62255f034afee5880ee4c7414975cdbdb Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sun, 16 Dec 2018 17:38:10 -0800 Subject: [PATCH] exo: follow hekate's example, disable warmboot signature checks via bootrom arbwrite. (rip mariko) --- exosphere/src/lp0.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/exosphere/src/lp0.c b/exosphere/src/lp0.c index e38693cf0..effb2dc13 100644 --- a/exosphere/src/lp0.c +++ b/exosphere/src/lp0.c @@ -240,6 +240,10 @@ void save_se_and_power_down_cpu(void) { /* Save context for warmboot to restore. */ save_tzram_state(); save_se_state(); + + /* Patch the bootrom to disable warmboot signature checks. */ + MAKE_REG32(PMC_BASE + 0x118) = 0x2202E012; + MAKE_REG32(PMC_BASE + 0x11C) = 0x6001DC28; if (!configitem_is_retail()) { uart_send(UART_A, "OYASUMI", 8);