Program NIOS II processor form HPS

hi,
I am able to generate .elf files after building my project from eclipse for NIOS II, and my program runs well.
But its not good for packing my project up :: i want to program my NIOS II from HPS (via giving some Linux command). "so later i will be able to execute a script in linux to start my NIOS II "

is it possible to do that… ? is there any documentation availabe for same…?

regards

Pratik Sharma
IIT Kanpur,