blob: 4f0db7227e896c775889a0be107d54be44f7647f [file] [log] [blame]
// use script intead real boot
// it is only used when no bootloader exists
// ----------------------------------------
// YinWenguan: this is Cortex-A9 load script for
// FPGA environment.
// ----------------------------------------
area.reset
sys.cpu CortexA9
TrOnchip.Set DABORT OFF ; used by Linux for page miss!
TrOnchip.Set PABORT OFF ; used by Linux for page miss!
sys.jtagclock 3.0MHz ; CPU needs 10M * 8 = 80M frequency. It should be reduced to 3.0MHz
sys.option enreset Off
sys.option resbreak off
Sys.Config.COREBASE 0x80110000 ; Cortex-A9
Sys.Config.debugaccessport 0
Sys.Mode PREPARE
Wait 1s ;
sys.up
// Release DDR reset
// data.set 0x01306100 %long 0x00cfffc0 // Allready released by M0
data.set 0x103004 %long 0x11111111 ;nand
//data.set 0x103004 %long 0x22222222 ;spifc
// Load ELF
data.load.elf ..\u-boot
//data.load.elf .\u-boot-dbg
B::B::Data.List
symbol.sourcepath.reset ; reset all source path informations
sYmbol.SourcePATH.Set ..\
sYmbol.SourcePATH.SetRecurseDir ..\board\zte\zx297520
sYmbol.SourcePATH.SetRecurseDir ..\arch\arm\cpu\armv7
sYmbol.SourcePATH.SetRecurseDir ..\arch\arm\cpu\armv7\zx297520
sYmbol.SourcePATH.SetRecurseDir ..\arch\arm\lib
sYmbol.SourcePATH.SetRecurseDir ..\api
sYmbol.SourcePATH.SetRecurseDir ..\common
sYmbol.SourcePATH.SetRecurseDir ..\tools
sYmbol.SourcePATH.SetRecurseDir ..\tools\gdb
sYmbol.SourcePATH.SetRecurseDir ..\tools\updater
sYmbol.SourcePATH.SetRecurseDir ..\net
sYmbol.SourcePATH.SetRecurseDir ..\include
sYmbol.SourcePATH.SetRecurseDir ..\include\asm-arm
sYmbol.SourcePATH.SetRecurseDir ..\include\asm-arm\arch-zx297520
sYmbol.SourcePATH.SetRecurseDir ..\post
sYmbol.SourcePATH.SetRecurseDir ..\lib_generic
sYmbol.SourcePATH.SetRecurseDir ..\disk
sYmbol.SourcePATH.SetRecurseDir ..\rtc
sYmbol.SourcePATH.SetRecurseDir ..\dtt
sYmbol.SourcePATH.SetRecurseDir ..\drivers
sYmbol.SourcePATH.SetRecurseDir ..\downloader
sYmbol.SourcePATH.SetRecurseDir ..\test
register.set PC _start
enddo