Re: [U-Boot] SPL Framework: Add support for U_BOOT_CMD

2012-01-25 Thread Tom Rini
On Wed, Jan 25, 2012 at 11:55 AM, Scott Wood wrote: > On 01/25/2012 12:19 PM, Tom Rini wrote: >> Maybe we should poke to nop out U_BOOT_CMD for >> CONFIG_SPL_BUILD?  OTOH, #ifndef'ing U_BOOT_CMD and the code itself >> gets us a space savings we wouldn't get otherwise (I suspect giving >> the MTD/

Re: [U-Boot] SPL Framework: Add support for U_BOOT_CMD

2012-01-25 Thread Scott Wood
On 01/25/2012 12:19 PM, Tom Rini wrote: > Maybe we should poke to nop out U_BOOT_CMD for > CONFIG_SPL_BUILD? OTOH, #ifndef'ing U_BOOT_CMD and the code itself > gets us a space savings we wouldn't get otherwise (I suspect giving > the MTD/NAND issue I've mentioned before)... Commands should be st

Re: [U-Boot] SPL Framework: Add support for U_BOOT_CMD

2012-01-25 Thread Tom Rini
On Wed, Jan 25, 2012 at 4:43 AM, Christian Riesch wrote: > Hi, > > On Wed, Jan 25, 2012 at 11:50 AM, Prabhakar Lad > wrote: >> On Wed, Jan 25, 2012 at 3:57 PM, Christian Riesch < >> christian.rie...@omicron.at> wrote: >> >>> Hi, >>> >>> On Wed, Jan 25, 2012 at 10:52 AM, Prabhakar Lad >>> wrote:

Re: [U-Boot] SPL Framework: Add support for U_BOOT_CMD

2012-01-25 Thread Christian Riesch
Hi, On Wed, Jan 25, 2012 at 11:50 AM, Prabhakar Lad wrote: > On Wed, Jan 25, 2012 at 3:57 PM, Christian Riesch < > christian.rie...@omicron.at> wrote: > >> Hi, >> >> On Wed, Jan 25, 2012 at 10:52 AM, Prabhakar Lad >> wrote: >> > *I want to add a command using U_BOOT_CMD in uboot, where SPL_BUILD

Re: [U-Boot] SPL Framework: Add support for U_BOOT_CMD

2012-01-25 Thread Prabhakar Lad
Hi Christian, On Wed, Jan 25, 2012 at 3:57 PM, Christian Riesch < christian.rie...@omicron.at> wrote: > Hi, > > On Wed, Jan 25, 2012 at 10:52 AM, Prabhakar Lad > wrote: > > *I want to add a command using U_BOOT_CMD in uboot, where SPL_BUILD is > > enabled for example for da850evm in spl frame w

Re: [U-Boot] SPL Framework: Add support for U_BOOT_CMD

2012-01-25 Thread Christian Riesch
On Wed, Jan 25, 2012 at 11:37 AM, Wolfgang Denk wrote: > In message > you > wrote: >> *is there a support yet* to be added for printf? > > This makes also no sense to me - printf is available in the SPL. As long as CONFIG_SPL_LIBCOMMON_SUPPORT is defined. Regards, Christian ___

Re: [U-Boot] SPL Framework: Add support for U_BOOT_CMD

2012-01-25 Thread Wolfgang Denk
Dear Prabhakar Lad, In message you wrote: > > *I want to add a command using U_BOOT_CMD in uboot, where SPL_BUILD is > enabled for example for da850evm in spl frame work how can i do that * This makes no sense. Commands can only be executed when we have full U-Boot running (actually even only

Re: [U-Boot] SPL Framework: Add support for U_BOOT_CMD

2012-01-25 Thread Christian Riesch
Hi, On Wed, Jan 25, 2012 at 10:52 AM, Prabhakar Lad wrote: > *I want to add a command using U_BOOT_CMD in uboot, where SPL_BUILD is > enabled for example for da850evm in spl frame work how can i do that * Why do you want to do that? A command in an SPL? > *When I tried to that I get following e

[U-Boot] SPL Framework: Add support for U_BOOT_CMD

2012-01-25 Thread Prabhakar Lad
*Hi Folks*, *I want to add a command using U_BOOT_CMD in uboot, where SPL_BUILD is enabled for example for da850evm in spl frame work how can i do that * *When I tried to that I get following error, "error: no memory region specified for loadable section* " *When i add printf statements and build