When I am trying to program RPU cores from Petalinux and the elf file has size less than ~800KB everything works perfect.
When the size of the elf file became greater than ~800KB, echo start > /sys/class/remoteproc/remoteprocX/state with X=0,1, does not managed to create the rpmsg endpoint so RPUs and APU cannot communicate. Also it's throwing an pcie error (nwl-pcie fd0e0000.pcie: Slave error) even if I do not use anything around pcie.
The temporary solution I have found is to use some flags to reduce elf file size.
Could you help me to understand why the is the limit of 800KB and how I can fix it without using flags to reduce elf size?