While generating the pdi we need to give range and size of the Image store using cdo commands.
Image store CDO :
marker 0x64 "PMC_FW_CONFIG"
# Image Store Location: 64-bit address
# Higher 32-bit Address
write 0xF2014288 0x0
# Lower 32-bit Address
write 0xf201428C 0x3e000000
# Size
write 0xf2014290 0x00400000
marker 0x65 "PMC_FW_CONFIG"
We need to add cdo command for this under “PMC_FW_CONFIG” marker in overlay CDO. Apart from this, we need to add RPU and APU subsystems block in BIF file using imagestore attribute(DDR Memory)
RPU application powers down the APU subsystem using API XPm_ForcePowerDown.
PLM remembers the subsystem through the cdo commands during the system boot. When it receives the request for XPm_ForcePowerDown with subsystem as argument, it releases all the peripheral nodes requested / allocated to the subsystem. If the nodes are not used by any other subsystem, then those nodes are idled and reset as well.
Now, RPU applicaton writes Payload in the buffer using API XIpiPsu_WriteMessage, As a Payload argument DDR low and high address.
After that the API XIpiPsu_TriggerIpi triggers subsystems loading from the DDR address. PLM receives ipi call, reloads the subsystem from the DDR address and the subsystem requests necessary nodes.