Baremetal Application on U-Boot Cyclone V SoC

I’m am currently working on the Cyclone V DE1-SoC and want to boot a bare metal application from U-Boot such that the configuration of the device is handled by U Boot, and i can focus on the program itself. Does anybody know what needs to be done to convert a bare metal application from say DS-5 Eclipse in order for it to run on U-Boot?

I followed a Lab from RocketBoards ( ) which loads fft.bin on u-boot. I would like to know the process to generate a bare metal application like fft.bin.

Thanks in advance