From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Hobi Date: Wed, 10 Nov 2010 14:57:08 +0100 Subject: [U-Boot] kirkwood: CONFIG_SYS_INIT_SP_ADDR wrong? Message-ID: <4CDAA4B4.6070703@schmid-telecom.ch> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Prafulla, In commit 0b20ed76 (Kirkwood: Changes specific to ARM relocation support), you set CONFIG_SYS_INIT_SP_ADDR to 0xC8012000 which is supposed to lie within the internal Security SRAM. However, the Kirkwood Functional Specification (chapter 2.13 Default Address Map) and arch/arm/include/asm/arch-kirkwood/cpu.h suggest that the Security SRAM is mapped to 0xC8010000. Given the size of 2 KiB, the upper end would be 0xC8010800. So I am wondering whether the value 0xC8012000 works at all. In addition, "CONFIG_SYS_INIT_SP_ADDR should point to RAM with enough space for global data above and enough stack space below", as Reinhard Meyer points out in: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/87490 Since you use quite a large print buffer (CONFIG_SYS_PBSIZE > 1 KiB), I assume something like 0xC8010700 might work. @Heiko: include/configs/km_arm.h may have the same problem. Best regards, Daniel