Arduino image and freertos

how would I change which program is running on the small core? I am using the arduino image, I uploaded an arduino blink sketch, and now I’ve built a freertos program and I copy the uboot fip.bin into /dev/mmcblk0p1 and reboot. shouldn’t I now see the rtos task running? I guess I’ve built whatever runs the arduino stuff into uboot too. I think the most concise way I can say this is:
How can I disable the arduino sketch that’s running so my freertos code can boot?

Edit /mnt/system/ and remove/comment out the following section

  if test -e /lib/firmware/arduino.elf; then
    sleep 2
    echo stop  > /sys/class/remoteproc/remoteproc0/state
    echo start > /sys/class/remoteproc/remoteproc0/state

This will stop the auto start of the arduino code.

Thanks! note for anyone else with this use case: rebooting didn’t work, I had to cycle power.