All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Standalone application vs. command
@ 2006-01-25 10:23 do
  2006-01-25 11:26 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: do @ 2006-01-25 10:23 UTC (permalink / raw)
  To: u-boot

Hello,
When should I write some routines for custom board as a standalone 
u-boot program and when as a u-boot command. What are differences 
between writing standalone applications and commands?
Best regards!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] Standalone application vs. command
  2006-01-25 10:23 [U-Boot-Users] Standalone application vs. command do
@ 2006-01-25 11:26 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2006-01-25 11:26 UTC (permalink / raw)
  To: u-boot

In message <dr7jj3$5nd$1@sea.gmane.org> you wrote:
>
> When should I write some routines for custom board as a standalone 
> u-boot program and when as a u-boot command. What are differences 
> between writing standalone applications and commands?

The main  difference  is  that  standalone  programs  can  be  loaded
dynamically.  So  everything which is needed only infrequently and/or
which may add too much to the memory footprint would  be  implemented
in a standalone application.

For example, many customers implement hardware test and burn-in  code
as  standalone  program;  they  use  this  code  in manufacturing and
service, but don't ship it with the product to the end customer. This
is possible as standalone programs don't have to  be  released  under
GPL.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In the pitiful, multipage, connection-boxed form to which  the  flow-
chart  has  today  been  elaborated, it has proved to be useless as a
design tool -- programmers draw flowcharts after, not before, writing
the programs they describe.                        - Fred Brooks, Jr.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-25 11:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-25 10:23 [U-Boot-Users] Standalone application vs. command do
2006-01-25 11:26 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.