Line 275:
Line 275:
if (memcmp(dst_addr, src_addr, size))
if (memcmp(dst_addr, src_addr, size))
{
{
−
MEMORY[0xC16FFFFC] = 0x1000000;
+
*(u32 *)0xC16FFFFC = 0x1000000;
while (1);
while (1);
}
}
Line 632:
Line 632:
u32 state = MSR
u32 state = MSR
−
if (*(u32 *)0xE00007A0 != 1)
+
if (!is_evaluation)
SCR &= 0xCFFFFFFF
SCR &= 0xCFFFFFFF
Line 733:
Line 733:
// Execution will jump to entry_addr - 4
// Execution will jump to entry_addr - 4
return;
return;
+
+
== BootInfo ==
+
This is a structure mapped by the Espresso boot ROM to address 0xC16FFFF0.
+
+
{| class="wikitable" border="1"
+
|-
+
! Offset || Size || Description
+
|-
+
| 0x0 || 0x4 || BootMainTime
+
|-
+
| 0x4 || 0x4 || BootDecryptTime
+
|-
+
| 0x8 || 0x4 || BootVerifyTime
+
|-
+
| 0xC || 0x4 || BootState
+
|}