From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 17 Jun 2013 15:52:24 +0200 Subject: [U-Boot] [PATCH 3/3] arm: omap3: Add SPL support to cm_t35 In-Reply-To: <51BF1171.5010400@compulab.co.il> References: <1371200101-11510-1-git-send-email-sr@denx.de> <1371200101-11510-3-git-send-email-sr@denx.de> <51BEF8B7.3050003@compulab.co.il> <20130617123850.GA8619@bill-the-cat> <51BF1171.5010400@compulab.co.il> Message-ID: <51BF1498.1020604@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 17.06.2013 15:38, Igor Grinberg wrote: >>>> +/* >>>> + * 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 >>> >>> Now this is a problem. >>> This breaks the backward compatibility with our X-Loader and we >>> cannot just switch to 80100000... >> >> And thinking back to when I was doing more OMAP3 conversions, there's no >> requirement to break compatibility with x-loader either. You just need >> to take care where you place things, see doc/SPL/README.omap3 for the >> SPL and X-Loader compatible setup. > > Actually, I was thinking about adding a target in boards.cfg, but > if we can make both (X-Loader and SPL) live in piece, then IMO, > we should go for it. I just did a quick check with moving CONFIG_SYS_TEXT_BASE back to 0x80008000 and CONFIG_SPL_BSS_START_ADDR up to 0x80100000. Seems to work just fine. I'll submit a new version in a short while. Thanks, Stefan