[U-Boot] load file to memory in standalone program

Scott A yldog at hotmail.com
Sat May 18 17:14:30 CEST 2013


Hi,I am attempting to read a set of files from the fat file system into a location in memory.This is easy using the command interface using something likefatload mmc 0:1 0x48000000 file.txt
However i want to do this in a standalone program. Is there a function call available to do this in a standalone program.if so could someone give an example.
Note: i tried do_fat_fsload function call however compiling threw undefined reference. If this is the correct method maybe i am just using it wrong.
Thanks Scott 		 	   		  


More information about the U-Boot mailing list