From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikhail Kshevetskiy Date: Tue, 10 Jul 2012 23:29:54 +0400 Subject: [U-Boot] [PATCH V3 3/3] arm/davinci: spl - add compressed u-boot image support In-Reply-To: <20120710184926.GB24958@Hardy> References: <1341860020-11507-1-git-send-email-mikhail.kshevetskiy@gmail.com> <1341860020-11507-3-git-send-email-mikhail.kshevetskiy@gmail.com> <20120710184926.GB24958@Hardy> Message-ID: <20120710232954.156008d9@weasel.local> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 11 Jul 2012 00:19:26 +0530 Sughosh Ganu wrote: > hi Mikhail, > On Mon Jul 09, 2012 at 10:53:40PM +0400, Mikhail Kshevetskiy wrote: > > Motivation: > > * we have a board with 128 Kb spi flash, so normal u-boot.ais does not > > fit on it. > > > > This patch add support of compressed 2-nd u-boot stage. To create a > > compressed ais image its required: > > * define CONFIG_SPL_GUNZIP_SUPPORT --- enable compressed ais image supports > > * define CONFIG_SPL_GUNZIP_MAX_SIZE --- define a maximum size of compressed > > u-boot part > > * define CONFIG_SPL_GUNZIP_LOAD_ADDR --- memory address to load compressed > > u-boot part (CONFIG_SPL_GUNZIP_LOAD_ADDR region should not overlap with > > CONFIG_SYS_TEXT_BASE region) > > * use: make u-boot-gzip.ais to get a compressed ais image > > I don't see any of these macros being defined for any board in your > patch series. Which boards are they being used on. Also, i think these > defines need to be added to the README. Definitely. This modification were created for our omap l138 based board. The board is in early development state, so i think it's not reasonable to add it to u-boot for now. Anyway, I test this changes on da850evm board, so I can resubmit this patch with defconfig modification for da850evm. Mikhail