[U-Boot-Users] Standalone application vs. command

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!

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
participants (2)
-
do
-
Wolfgang Denk