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 ?

enedil
  • 1,674
  • 4
  • 17
  • 32
user2799508
  • 1,652
  • 8
  • 27
  • 46

1 Answers1

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.

DevOops
  • 141
  • 8