mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-03 22:53:58 +08:00
8652988d62
Remove the now unnecessary files (merge-srec.pl, ldscript-ram-jtag) Note that this drops the dependency on perl for bootrom build, so end-users who don't touch the FPGA bitstream will not need perl anymore
38 lines
884 B
ArmAsm
38 lines
884 B
ArmAsm
.extern CopyBootToRAM
|
|
|
|
.section .startup,"ax"
|
|
.code 32
|
|
.align 0
|
|
|
|
.global flashstart
|
|
flashstart:
|
|
b Reset
|
|
b UndefinedInstruction
|
|
b SoftwareInterrupt
|
|
b PrefetchAbort
|
|
b DataAbort
|
|
b Reserved
|
|
b Irq
|
|
b Fiq
|
|
|
|
Reset:
|
|
ldr sp, = 0x0020FFF8 @ initialize stack pointer to top of RAM
|
|
bl CopyBootToRAM @ copy bootloader to RAM (in case the
|
|
@ user re-flashes the bootloader)
|
|
ldr r3, = 0x00200000 @ start address of RAM bootloader
|
|
bx r3 @ jump to it
|
|
|
|
Fiq:
|
|
b Fiq
|
|
UndefinedInstruction:
|
|
b UndefinedInstruction
|
|
SoftwareInterrupt:
|
|
b SoftwareInterrupt
|
|
PrefetchAbort:
|
|
b PrefetchAbort
|
|
DataAbort:
|
|
b DataAbort
|
|
Reserved:
|
|
b Reserved
|
|
Irq:
|
|
b Irq
|