diff options
Diffstat (limited to 'bsps/arm/xilinx-zynqmp/README')
-rw-r--r-- | bsps/arm/xilinx-zynqmp/README | 43 |
1 files changed, 30 insertions, 13 deletions
diff --git a/bsps/arm/xilinx-zynqmp/README b/bsps/arm/xilinx-zynqmp/README index eef9159926..96f6564e47 100644 --- a/bsps/arm/xilinx-zynqmp/README +++ b/bsps/arm/xilinx-zynqmp/README @@ -1,13 +1,30 @@ -Tested only on Qemu. - -git clone git://git.qemu.org/qemu.git qemu -cd qemu -git checkout 1b0d3845b454eaaac0b2064c78926ca4d739a080 -mkdir build -cd build -../configure --prefix=/opt/qemu --interp-prefix=/opt/qemu -make -make install -export PATH="$PATH:/opt/qemu/bin" - -qemu-system-arm -no-reboot -serial null -serial mon:stdio -net none -nographic -M xilinx-zynq-a9 -m 256M -kernel ticker.exe +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 |