Porting of petalinux meta-user recipes (petalinux rootfs apps) and adding R5 processor elf file during to pynq Custom Image


I would like to integrate my custom PETALINUX/apps (remoteboot) in my custom pynq workflow.
I found a similar topic here

In pynq rep/boards//packages/boot_leds has boot.py and pre.sh, however, in petalinux. the meta-user/recipes/remoteboot has remoteboot.bb and files folder.

I am not sure how to create ‘‘associated qemu packages’’ for my remoteboot app.

Additionally, I would like to integrate the additional r5.elf file to the Linux boot.

The response is appreciated.