[U-Boot] BSS footprint of FAT very high - SPL issues

Mike Frysinger vapier at gentoo.org
Tue Feb 15 09:44:31 CET 2011


On Tuesday, February 01, 2011 00:23:46 Aneesh V wrote:
> BSS footprint of fat.c is very high. It has three buffers each of size
> 64KB. To workaround this problem I have done something like below(The
> way x-loader works around this problem today).
> CONFIG_SYS_SPL_FAT_BUFFER_BASE is in SDRAM.Is this ok?
> 
> Also, I was wondering why we need 3 such scratch buffers in this
> implementation. I do not understand this code. But I was wondering if we
> could work with just one 64K buffer?

i'd be pretty surprised if these couldnt be cleaned up in some way.  sucking 
up 64KiB * 3 just for vfat is pretty f-in crazy.  no other FS code needs this.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110215/47b48daf/attachment.pgp 


More information about the U-Boot mailing list