mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 17:38:51 +09:00
![Mike Frysinger](/assets/img/avatar_default.png)
This creates a standalone ELF that executes just the Blackfin initcode. This is useful for people who want to program the low level aspects of the CPU (memory/clocks/etc...) and can easily be used with JTAG for quick booting while developing. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
10 lines
169 B
ArmAsm
10 lines
169 B
ArmAsm
#include <asm/blackfin.h>
|
|
ENTRY(_start)
|
|
sp.l = LO(L1_SRAM_SCRATCH_END - 20);
|
|
sp.h = HI(L1_SRAM_SCRATCH_END - 20);
|
|
call _initcode;
|
|
1:
|
|
emuexcpt;
|
|
jump 1b;
|
|
END(_start)
|