Files
rtems/bsps/arm/xilinx-zynqmp
Sebastian Huber c344e5828c Use RTEMS_SYSINIT_ORDER_LAST_BUT_5
Use RTEMS_SYSINIT_ORDER_LAST_BUT_5 instead of RTEMS_SYSINIT_ORDER_LAST
to allow applications and support functions to place system
initialization handlers behind the standard handlers.

Update #3838.
2020-02-04 06:06:42 +01:00
..

Tested on an Ultra96 board with JTAG boot.

Make sure to configure the boot mode switches for JTAG mode.

Using the xsct tool, load and run the application with

connect

targets -set -filter {name =~ "PSU"}
rst -system
source psu_init.tcl
psu_init

targets -set -filter {name =~ "Cortex-A53 #0"}
rst -processor
dow ticker.exe

# Set generic timer frequency
rwr sys 14 cntfrq_el0 100000000

# Switch to AArch32 Supervisor mode
rwr cpsr 0x2001d3

# Boot arguments
rwr r0 0
rwr r1 0
rwr r2 0
rwr r3 0

con