blob: 4f0db7227e896c775889a0be107d54be44f7647f [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001// use script intead real boot
2// it is only used when no bootloader exists
3// ----------------------------------------
4// YinWenguan: this is Cortex-A9 load script for
5// FPGA environment.
6// ----------------------------------------
7area.reset
8sys.cpu CortexA9
9TrOnchip.Set DABORT OFF ; used by Linux for page miss!
10 TrOnchip.Set PABORT OFF ; used by Linux for page miss!
11sys.jtagclock 3.0MHz ; CPU needs 10M * 8 = 80M frequency. It should be reduced to 3.0MHz
12sys.option enreset Off
13sys.option resbreak off
14
15Sys.Config.COREBASE 0x80110000 ; Cortex-A9
16Sys.Config.debugaccessport 0
17Sys.Mode PREPARE
18Wait 1s ;
19
20sys.up
21
22// Release DDR reset
23// data.set 0x01306100 %long 0x00cfffc0 // Allready released by M0
24data.set 0x103004 %long 0x11111111 ;nand
25//data.set 0x103004 %long 0x22222222 ;spifc
26// Load ELF
27
28data.load.elf ..\u-boot
29//data.load.elf .\u-boot-dbg
30
31B::B::Data.List
32symbol.sourcepath.reset ; reset all source path informations
33sYmbol.SourcePATH.Set ..\
34sYmbol.SourcePATH.SetRecurseDir ..\board\zte\zx297520
35sYmbol.SourcePATH.SetRecurseDir ..\arch\arm\cpu\armv7
36sYmbol.SourcePATH.SetRecurseDir ..\arch\arm\cpu\armv7\zx297520
37sYmbol.SourcePATH.SetRecurseDir ..\arch\arm\lib
38sYmbol.SourcePATH.SetRecurseDir ..\api
39sYmbol.SourcePATH.SetRecurseDir ..\common
40sYmbol.SourcePATH.SetRecurseDir ..\tools
41sYmbol.SourcePATH.SetRecurseDir ..\tools\gdb
42sYmbol.SourcePATH.SetRecurseDir ..\tools\updater
43sYmbol.SourcePATH.SetRecurseDir ..\net
44sYmbol.SourcePATH.SetRecurseDir ..\include
45sYmbol.SourcePATH.SetRecurseDir ..\include\asm-arm
46sYmbol.SourcePATH.SetRecurseDir ..\include\asm-arm\arch-zx297520
47sYmbol.SourcePATH.SetRecurseDir ..\post
48sYmbol.SourcePATH.SetRecurseDir ..\lib_generic
49sYmbol.SourcePATH.SetRecurseDir ..\disk
50sYmbol.SourcePATH.SetRecurseDir ..\rtc
51sYmbol.SourcePATH.SetRecurseDir ..\dtt
52sYmbol.SourcePATH.SetRecurseDir ..\drivers
53sYmbol.SourcePATH.SetRecurseDir ..\downloader
54sYmbol.SourcePATH.SetRecurseDir ..\test
55register.set PC _start
56
57enddo