From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aneesh V Date: Tue, 01 Feb 2011 13:57:55 +0530 Subject: [U-Boot] BSS footprint of FAT very high - SPL issues In-Reply-To: <4D47B20B.5040104@free.fr> References: <4D4798E2.3050500@ti.com> <4D47B08D.8040905@free.fr> <4D47B20B.5040104@free.fr> Message-ID: <4D47C40B.7060201@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 Hi Albert, On Tuesday 01 February 2011 12:41 PM, Albert ARIBAUD wrote: > Le 01/02/2011 08:04, Albert ARIBAUD a ?crit : > >> I'd like to make sure I understand the issue. Do these three BSS >> variables occupy space in the U-Boot binary? If they do, then *that* >> must be fixed rather than allocating a fixed address for them. In ARM >> achitectures, the linker file makes sure the BSS is at the end of the >> image and is not loadable, so the ELF to bin conversion just skips them. >> Maybe the linker file you're using here does not do this? > > Answering myself: after reading Vaibhav's answer, I should amend my > question aboce. Seems like the issue is the SPL has a BSS in IRAM, or in > whatever memory it lands in. In that case, there's indeed no fix except > putting the buffers in DRAM. Yes, that's right. SPL has code, data and bss in internal RAM. Best regards, Aneesh