From: Sjoerd Simons Date: Mon, 30 Nov 2015 09:39:34 +0100 Subject: [U-Boot] [PATCH v5 00/21] Bring up rk3036 uboot In-Reply-To: <565C07AE.30108@denx.de> References: <1447151098-2628-1-git-send-email-hl@rock-chips.com> <56492A3B.50607@rock-chips.com> <1448871125.16783.13.camel@collabora.co.uk> <565C07AE.30108@denx.de> Message-ID: <1448872774.16783.18.camel@collabora.co.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 2015-11-30 at 09:24 +0100, Stefan Roese wrote: > Hi Sjoerd, > > On 30.11.2015 09:12, Sjoerd Simons wrote: > > On Fri, 2015-11-27 at 16:21 -0800, Simon Glass wrote: > > > +a few others who have submitted patches > > > > I suspect this is unrelated to the 3036 bringup, but at the moment > > i > > can't build the 3288 firefly SPL smaller then 32k :( (iotw small > > enoug > > to be used as an SD card image). The image ends up being about 250 > > bytes too big.. > > > > Playing silly games with nm, it seems the big items are the sdram > > bringup-code, mmc core/drivers and ofcourse (vs)printf related > > functions (followed by a long tail of smaller things). > > > > Seems like a bit of dieting is required ;) > > Did you try using the new tiny-printf implementation > (CONFIG_USE_TINY_PRINTF)? It should save you ~2.5KiB. Thanks for the tip, a first quick tried unfortunately shows that both the gpio uclass and the mmc core support fail to build when that option is enabled (missing?sprintf, and various _strtoXX functiosn). Probably worth a try in fixing that though given the pontential savings. -- Sjoerd Simons Collabora Ltd.