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

Haneef Mohamed haneef_kernel at yahoo.in
Thu Mar 22 15:30:46 CET 2012

Dear wolfgang Denk,

How do we link with u-boot? i did not understand.

Thanks and Regards,
Mohamed Haneef M.A

From: Wolfgang Denk <wd at denx.de>
To: Haneef Mohamed <haneef_kernel at yahoo.in> 
Cc: "u-boot at lists.denx.de" <u-boot at lists.denx.de> 
Sent: Thursday, 22 March 2012 7:06 PM
Subject: Re: [U-Boot] exporting the U-Boot functions to standalone application

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
U-Boot mailing list
U-Boot at lists.denx.de

More information about the U-Boot mailing list