Baremetal Application on U-Boot Cyclone V SoC

Hi,
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 ( https://rocketboards.org/foswiki/view/Documentation/SoCSWWS1IntroToAlteraSoCDevicesLab3BareMetalApplication?cover=print.nat&template=Applications.ClassificationApp.ClassifiedTopicView ) 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