mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	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)
 |