added bl1 patches comment

This commit is contained in:
Eljakim Herrewijnen 2024-08-17 12:25:35 +02:00
parent c4fac034a1
commit 8926897590

View File

@ -603,7 +603,10 @@ class ExynosDevice():
auth_bl1(DEBUGGER_ADDR) auth_bl1(DEBUGGER_ADDR)
self.usb_write(b"FLSH") # Flush cache self.usb_write(b"FLSH") # Flush cache
hijacked_fun = u32(self.cd.memdump_region(0x020200dc, 4)) hijacked_fun = u32(self.cd.memdump_region(0x020200dc, 4))
# INSERT YOUR BL1 PATCHES HERE
self.cd.memwrite_region(0x020200dc, p32(DEBUGGER_ADDR)) # hijack ROM_DOWNLOAD_USB for BL31 self.cd.memwrite_region(0x020200dc, p32(DEBUGGER_ADDR)) # hijack ROM_DOWNLOAD_USB for BL31
# END
jump_bl1(DEBUGGER_ADDR) jump_bl1(DEBUGGER_ADDR)