[U-Boot] exporting the U-Boot functions to standalone application

Wolfgang Denk wd at denx.de
Thu Mar 22 14:36:32 CET 2012


Dear Haneef Mohamed,

In message <1332421701.4976.YahooMailNeo at web193301.mail.sg3.yahoo.com> you wrote:
> 
> I wanted to make use of the uboot command functions like do_bdinfo and do_mmc. 

You cannot do this in standalone code.

If you want to access U-Boot features in access to the exported
(intentionally very narrow) interface, then link your code with
U-Boot.  Standalone applications cannot do that.

> I read the README.standalone but of no use could some one please let
> me know how should i go about it. 

Link your code with the U-Boot image.

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
Murder is contrary to the laws of man and God.
	-- M-5 Computer, "The Ultimate Computer", stardate 4731.3


More information about the U-Boot mailing list