I have a SOC with a Power PC running on a Virtex II pro. On FPGA configuration, the PPC firmware runs correctly, heap reservation on firmware initialisation is correct. When I reset the SOC with the reset controller, the PPC restarts correctly, but when it tries to use the heap to initialize some dynamic variables, I get a fail on the malloc.
It seem that on the reset the power PC context is not reinitialized. I guess we have to add something in the boot sequence of the PPC to reset the heap pointer.
I'm I right ? It is something that must be standard in the power PC world, does someone have an exemple how to do this ??