]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_A9_Cyclone_V_SoC_DK/preloader.ds
Update version number in preparation for maintenance release.
[freertos] / FreeRTOS / Demo / CORTEX_A9_Cyclone_V_SoC_DK / preloader.ds
1 ############################################################\r
2 #\r
3 # Copyright Altera 2013\r
4 # All Rights Reserved\r
5 # File: preloader.ds\r
6 #\r
7 ############################################################\r
8 \r
9 #\r
10 # stop processor if running\r
11 #\r
12 stop\r
13 wait 5s\r
14 reset system\r
15 wait 5s\r
16 \r
17 #set semihosting enabled 0\r
18 \r
19 #\r
20 # load the preloader (a.k.a the spl from our uboot dist)\r
21 #\r
22 loadfile "$sdir/uboot-socfpga/spl/u-boot-spl" 0x0\r
23 \r
24 #\r
25 # set pc to entry point\r
26 #\r
27 set debug-from *$entrypoint     # Set start-at setting to address of $entrypoint\r
28 start \r
29 \r
30 #\r
31 # delete any breakpoints\r
32 #\r
33 delete\r
34 \r
35 #\r
36 # set hw breakpoint in spl in function, spl_boot_device,\r
37 # The function, spl_boot_device, is called right before the spl tries\r
38 # to load.  We stop here so we don't have to change any spl.\r
39 #\r
40 tbreak spl_boot_device\r
41 \r
42 # tell target to continue executing spl\r
43 cont\r
44 \r
45 # wait for breakpoint\r
46 wait 60s\r
47 \r
48 \r