1

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 ?

  • I added the "busybox" tag here as I believe that is what petalinux uses and it manages init services, which is what you want to use for this. – goldilocks Apr 17 '14 at 14:00
  • @TAFKA'goldilocks' Thansk for adding the tag. – user2799508 Apr 17 '14 at 14:04
1

It looks like Petalinux uses /etc/rcS.d for its init scripts, the following is a step by step that should allow you to resolve this issue: http://www.xilinx.com/support/answers/55998.htm

Please let us know if you have any further issues.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.