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
12 lines
198 B
C
12 lines
198 B
C
#define PMC_SCRATCH0 0x7000e450
|
|
|
|
void _start() {
|
|
unsigned int val = *(volatile unsigned int *)0x40000000;
|
|
|
|
*(volatile unsigned int *)PMC_SCRATCH0 = val;
|
|
|
|
while (1) {
|
|
__asm__("nop");
|
|
}
|
|
}
|