cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
unixboy
Observer
Observer
697 Views
Registered: ‎07-31-2018

Zynqmp Ultrascale+ Reset Reason bit works?

Hi there~

 

I am now working PS-domain only reset and it worked by following set of commands;

 

# mount -t debugfs debug /sys/kernel/debug

# echo "PM_SYSTEM_SHUTDOWN 1 1" > /sys/kernel/debug/zynqmp-firmware/pm 

 

Yes, it is just asking PMU firmware "please reset me". Then after resetting when I came back to shell mode again, the "PS-only reset" field of the following register wasn't set. Why? How can I differentiate between whether I am from normal power-up booting or software reset? I need to skip PL bitstream download when I came from the PS-only reset....

 

aa.png

0 Kudos
1 Reply
stephenm
Xilinx Employee
Xilinx Employee
647 Views
Registered: ‎09-12-2007

You need to enable this in the SRST_EN register

reset.PNG

 

For example, below I have the system setup to detect a lockstep error and inject a fault to test the PMU_RESET_REASON:

JTAG.PNG

 

Then upon reset, if I read this in the FSBL. I can seethat this is detected correctly

fsbl.PNG

 

0 Kudos