Read and Write file from SD Card with fpga
From page 8 of Altera University Program Secure Data Card IP Core and modified for your string, you could try:
alt_up_sd_card_dev *sd_card_dev = alt_up_sd_card_open_dev(&quot;/dev/Altera_UP_SD_Card_Avalon_Interface_0&quot;);