From: Tom Rini Date: Fri, 9 Jan 2015 10:28:10 -0500 Subject: [U-Boot] arm: vf610: fix boot from SD-card In-Reply-To: <1420737505-32119-1-git-send-email-stefan@agner.ch> References: <1420737505-32119-1-git-send-email-stefan@agner.ch> Message-ID: <20150109152810.GH10826@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jan 08, 2015 at 06:18:25PM +0100, Stefan Agner wrote: > Boot from SD-card (and probably also from NAND) was broken since > commit d6d07a9bec ("arm: vf610: add NAND support for vf610twr"). > It looks like the increased size of U-Boot lead to a situation > where the boot ROM overwrote its own stack/heap while loading > U-Boot from the SD-card to the SRAM. However, U-Boot worked fine > when loaded through USB serial loader directly into SRAM. It > looks like loading from SD-card uses other stack/heap location > then the serial loader (or maybe no stack or heap at all). > This fix moves U-Boot to gfxRAM, which is 512kB in size and is not > used by the boot ROM nor the SD-card loader of it. > > Signed-off-by: Stefan Agner > Acked-by: Bill Pringlemeir Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: