From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sricharan R Date: Wed, 4 Sep 2013 14:26:14 +0530 Subject: [U-Boot] SPL binary too large for OMAP4460 OCM In-Reply-To: References: <5226E1DC.8010909@gmail.com> <5226F2D6.6050908@ti.com> Message-ID: <5226F5AE.5070903@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 Wednesday 04 September 2013 02:18 PM, Michael Trimarchi wrote: > Hi > > On Wed, Sep 4, 2013 at 10:44 AM, Sricharan R wrote: >> On Wednesday 04 September 2013 01:01 PM, bin4ry wrote: >>> Hi everybody, >>> >>> I need to add functionality to the SPL code. I tried to implement in a >>> memory-saving way, however, the SPL is about 45 kB after compilation. To >>> get compilation working, I had to set CONFIG_SPL_MAX_SIZE to (45 * >>> 1024). Now, the SPL as well as u-boot won't boot. After the device' >>> (PandaBoard ES - OMAP4460) reset, nothing happens regarding it's output >>> on terminal. >>> >>> My question: is it theoretically possible to to establish a successfully >>> booting SPL with ~45 kB in size for this device? The device' >>> on-chip-memory is 56kB so it could fit in there. If so, what needs to be >>> configured / tuned to get it working? Are there any other features I >>> could omit from the binary to make it smaller? >>> >>> Thanks a lot, >>> -b >>> _______________________________________________ >>> U-Boot mailing list >>> U-Boot at lists.denx.de >>> http://lists.denx.de/mailman/listinfo/u-boot >>> >> Do you have a Secure device or GP ? >> > if it is Pandaboard? No he has not. I have increased up to 40Kb and it > works with serial boot and > sdcard/emmc boot. Sorry i missed to read PANDA. So it is anyways GP. and you changed the CONFIG_SPL_TEXT_BASE as well right ? Regards, Sricharan