[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 I

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 prabhakar.cse...@gmail.com 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

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

2012-01-25 Thread Wolfgang Denk
Dear Prabhakar Lad, In message ca+v-a8vtoyw3x82hnrrzq--cbuhdvvsrr7srhkwm9q6huwz...@mail.gmail.com 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

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 w...@denx.de wrote: In message ca+v-a8vtoyw3x82hnrrzq--cbuhdvvsrr7srhkwm9q6huwz...@mail.gmail.com 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

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 prabhakar.cse...@gmail.com wrote: *I want to add a command using U_BOOT_CMD in uboot, where SPL_BUILD is enabled for example for

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 prabhakar.cse...@gmail.com 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 prabhakar.cse...@gmail.com wrote: *I want to add a command using

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 christian.rie...@omicron.at wrote: Hi, On Wed, Jan 25, 2012 at 11:50 AM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: On Wed, Jan 25, 2012 at 3:57 PM, Christian Riesch christian.rie...@omicron.at wrote: Hi, On Wed, Jan 25, 2012 at

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 command.h 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

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 scottw...@freescale.com wrote: On 01/25/2012 12:19 PM, Tom Rini wrote: Maybe we should poke command.h 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