cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
139 Views
Registered: ‎12-02-2014

Zynqmp: scratch area (persistent registers)?

Hi,

I'm wondering if the zynqmp SoC has a scratch area that I can write some values that will persist across EL3 soft reset?

I am able to write to locations in RAM that stay around after uboot SPL soft resets, but not after uboot FULL or Linux resets.

My goal is to know if there was an error loading the kernel from uboot full, and then reset with that error being detectable.

 

Thanks,


Justin D.

0 Kudos
1 Reply
Highlighted
Explorer
Explorer
107 Views
Registered: ‎12-02-2014

Alternatively, can someone explain to me how I could utilize these registers from Uboot (EL3)?

Register NamePERS_GLOB_GEN_STORAGE0
Relative Address0x00000050
Absolute Address0xFFD80050 (PMU_GLOBAL)
Width32
Typerw
Reset Value0x00000000
DescriptionPersistent Global Storage, Reg 0.


Eight 32-bit general-purpose registers provide 256 bits of storage. Four registers are used by the FSBL and other Xilinx software products: PERS_GLOB_GEN_STORAGE{4:7}. Register is reset only by a POR reset. A system reset will not affect the
 persistent registers.

0 Kudos