Prepare sd card to boot hps on arrowsockit

Hi all, I an new to SOC and bare metal programming I wanted to prepare SD card with files developed by me not from prebuilt files. How should I proceed