Files
Jibo-Platform-Tools-OLD/depricated payloads/source/jibo_mule.c
Kevin a83ea3324f Shofel payloader source & prebuild for jib with some old payloads i had made
these payloads may not work , i have no clue honestly i attached them ,
also there are 2 helper py scripts that might work with some of these
payloads
2026-03-03 22:16:28 +02:00

20 lines
547 B
C

#define SRC_ADDR \
0x00000000 // Let's try to grab the very beginning of the EMMC/ROM
#define DEST_ADDR 0x40008000 // Safe staging area in IRAM
#define COPY_SIZE 0x2000 // 8KB chunk
#define PMC_SCRATCH0 0x7000e450
void _start() {
unsigned int *src = (unsigned int *)SRC_ADDR;
unsigned int *dest = (unsigned int *)DEST_ADDR;
for (int i = 0; i < (COPY_SIZE / 4); i++) {
dest[i] = src[i];
}
*(volatile unsigned int *)PMC_SCRATCH0 = 0x55AA55AA;
while (1)
;
}