
Hi Christian,
On Wed, Jan 25, 2012 at 3:57 PM, Christian Riesch < christian.riesch@omicron.at> wrote:
Hi,
On Wed, Jan 25, 2012 at 10:52 AM, Prabhakar Lad prabhakar.csengg@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?
For davinci soc I wanted to add "clocks" command not particularly for SPL only when I move some piece of code from arc/arm/cpu/arm926ejs/cpu.c to say arc/arm/cpu/arm926ejs/speed.c and implement the command I get following errors,
arm-none-linux-gnueabi-ld: error: no memory region specified for loadable section `.u_boot_cmd' make[2]: *** [/home/plad/ti/uboot/denx_uboot/uboot-ti/u-boot-ti/spl/u-boot-spl] Error 1 make[2]: Leaving directory `/home/plad/ti/uboot/denx_uboot/uboot-ti/u-boot-ti/spl' I get these errors for SPL enabled
*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 get errors for hawkboard_nand board puts works fine. Is printf being removed as of buffer overriding
*issues
or *is there a support yet* to be added for printf?
Could you please post an example of what you are trying to do? Are you using Sughosh Ganu's Hawkboard SPL patches or not? Without those patches hawkboard does not use the new SPL framework.
I didn't use this patches, ill now.
I didn't use these patches though ill try it
[U-Boot,1/2,V4] arm926: Flush the data cache before disabling it http://patchwork.ozlabs.org/patch/136079/
[U-Boot,2/2,V4] Changes to move hawkboard to the new spl infrastructure http://patchwork.ozlabs.org/patch/135433/
Regards, Christian
Thanks, Regards --Prabhakar Lad