
On 30.11.2015 09:39, Sjoerd Simons wrote:
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).
Ah, right. This new option has not been enabled on a SPL-DM platform yet. Something might be missing there.
Probably worth a try in fixing that though given the pontential savings.
Yes, this should hopefully not be too hard to fix.
Thanks, Stefan