I use the P1020RDB-PC and the SDK(1.3.2 fsl-image-minimal), I compil the helloworld.c to a exec file, copy it to nandflash /dev/mtdblock10. My u-boot, uImage, rootfs write to norflsh and boot from it.
I use these command to download and run the app:
$mount -t jffs2 /dev/mtdblock10 ./tmp
$cd tmp
$tftp -g -r hellword 10.10.10.1
$./helloworld
how to configure and rebuild the image for auto run the helloworld on linux boot up?