This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

remote proc getting error on loading pru fw on Beagle Bone Black

I was previously able to build and load pru code upon boot.

Now I keep getting this error:

[    4.210451] pruss-rproc 4a300000.pruss: creating platform devices for PRU cores
[    4.292721]  remoteproc0: 4a334000.pru0 is available
[    4.297332]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    4.440934]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    4.461967]  remoteproc0: registered virtio0 (type 7)
[    4.522386] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss@4a300000/pru@4a334000 probed successfully
[    4.597549]  remoteproc1: 4a338000.pru1 is available
[    4.650903]  remoteproc1: Note: remoteproc is still under development and considered experimental.
[    4.659236]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    4.846215]  remoteproc1: registered virtio1 (type 7)
[    4.914185] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss@4a300000/pru@4a338000 probed successfully
[    6.870039]  remoteproc0: powering up 4a334000.pru0
[    6.884851] usbcore: registered new interface driver usbfs
[    6.912557]  remoteproc0: Booting fw image am335x-pru0-fw, size 37804
[    6.918628]  remoteproc0: bad phdr da 0x12fa8 mem 0x61
[    6.924303] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    6.950193] usbcore: registered new interface driver hub
[    6.977148] usbcore: registered new device driver usb
[    7.000990]  remoteproc0: Failed to load program segments: -22
[    7.006449]  remoteproc0: rproc_boot() failed -22
[    7.094834] virtio_rpmsg_bus: probe of virtio0 failed with error -22
[    7.131349]  remoteproc1: powering up 4a338000.pru1
[    7.151842]  remoteproc1: Booting fw image am335x-pru1-fw, size 97140
[    7.175629]  remoteproc1: bad phdr da 0x12fa8 mem 0x61
[    7.180447]  remoteproc1: Failed to load program segments: -22
[    7.198104]  remoteproc1: rproc_boot() failed -22
[    7.207883] virtio_rpmsg_bus: probe of virtio1 failed with error -22

How can I fix this error?