From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 30 Nov 2011 10:20:48 -0700 Subject: [U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss In-Reply-To: <1322672741-27396-1-git-send-email-simonschwarzcor@gmail.com> References: <1322672741-27396-1-git-send-email-simonschwarzcor@gmail.com> Message-ID: <4ED665F0.2060806@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/30/2011 10:05 AM, Simon Schwarz wrote: > This moves CONFIG_SYS_TEXT_BASE one MB after beginning of SD-RAM. Move > CONFIG_SYS_SPL_MALLOC_START to have one MB of free space for the u-boot image. > > CONFIG_SYS_TEXT_BASE was in the middle of the bss-section. This was the reason > for the problems with MMC boot described here: Ah-ha! Good catch. Note that on beagle/evm we do: /* * 1MB into the SDRAM to allow for SPL's bss at the beginning of SDRAM * 64 bytes before this address should be set aside for u-boot.img's * header. That is 0x800FFFC0--0x80100000 should not be used for any * other needs. */ #define CONFIG_SYS_TEXT_BASE 0x80100000 #define CONFIG_SYS_SPL_MALLOC_START 0x80208000 #define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000 So (a) I like the bigger comment and (b) I guess we don't need quite as much space set aside? -- Tom