Dear "Piyush Shah",
In message <[EMAIL PROTECTED]> you wrote:
>
> I have to write some standalone applications to be run from U-boot. My
> questions are:
> 1) Can we include only those header files which are a part of the U-boot
> code? What needs to be done to use files from the /usr/include/ folder?
You can do anything you want, but you have to keep two thingsin mind:
1) The GPL license exception for standalone programs is pretty
specific. If you deviate, your resulting code will most likely
have to be released under GPL.
2) U-Boot provides only a very simple, restricted runtime environ-
ment. Any additional stull you include may require additional
libraries, which may rely on operating system features, or C
runtime features, that are not present in U-Boot context.
> 2) Does the code for the standalone application be always present in the
> examples/ folder?
No. These are just examples.
> 3) Can't we write our own Makefile which will create a .bin and .srec file
> from a simple C-Program and work from U-boot, instead of compiling entire
> U-boot?
Yes, of course you can.
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
Please stop posting hTML. This is strictly forbidden on this mailing
list.
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: [EMAIL PROTECTED]
If you want strict real-time behavior, run in the real time schedu-
ling class. But there are no seatbelts or airbags; main(){for(;;);}
can hard hang your system. -- Bart Smaalders
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users