Thank you to anyone who has already donated - your generous donations helped make three months of treatment possible.

My brother Nate continues to fight stage IV Hodgkin's lymphoma. He's just 31, with a wife and baby girl. They have no active income (since he's been unable to return to work), no insurance, and cannot afford the treatment he needs. Nate and his family need your help. Please consider a donation, every dollar helps. Thanks.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/rbutil/mkamsboot/mkamsboot.c b/rbutil/mkamsboot/mkamsboot.c
index 2897e48..d321a73 100644
--- a/rbutil/mkamsboot/mkamsboot.c
+++ b/rbutil/mkamsboot/mkamsboot.c
@@ -484,6 +484,10 @@ void patch_firmware(
     for (i=1; i < 8; i++)
         memcpy(buf + 0x400 + 4*i, b_1b, sizeof(b_1b));
 
+    static const uint8_t mov_pc_0x0[4] = { 0xe3, 0xa0, 0xf0, 0x00 }; // mov pc, #0
+    for (i=1; i < 128; i++)
+        memcpy(buf + 0x400 + 4*i, mov_pc_0x0, 4);
+
     /* We are filling the firmware buffer backwards from the end */
     p = buf + 0x400 + firmware_size;