[U-Boot] load file to memory in standalone program
Wolfgang Denk
wd at denx.de
Tue May 21 14:29:52 CEST 2013
Dear Scott A,
In message <COL126-W15B9EDAC5841A2C364A531B6AD0 at phx.gbl> you wrote:
>
> 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 somethin
> g 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 e
> xample.
> 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.
No, such functionality is not available in standalone programs.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A failure will not appear until a unit has passed final inspection.
More information about the U-Boot
mailing list