I am working on zc702 board having ARM Cortex A 9 processor. I have a binary that I got after cross-compilation for ARM (LED blinking). Now I want that this file should execute as soon as the the kernel (petalinux) boots. I am having initramfs as my root file system. How do I proceed to do it? What files I have to modify?
Please note that this is a volatile system, so I cannot make required changes in a running system. I have to instead put my binary in some folder in file system (rootfs.cpio). But where ?