[U-Boot] [PATCH v1 5/9] sunxi: generic sun7i build infrastructure.
Tom Rini
trini at ti.com
Mon Mar 17 16:04:41 CET 2014
On Sun, Mar 16, 2014 at 01:25:33PM +0000, Ian Campbell wrote:
> On Fri, 2014-03-14 at 10:17 -0400, Tom Rini wrote:
> > On Fri, Mar 14, 2014 at 10:33:47AM +0000, Ian Campbell wrote:
>
> > > +/*
> > > + * Size of malloc() pool
> > > + * 1MB = 0x100000, 0x100000 = 1024 * 1024
> > > + */
> > > +#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (1 << 20))
> >
> > This is really really small, and precludes using UBI on NAND for
> > example.
>
> What is a suitable value? I see a lots of boards using 128kB or <1MB and
> only a handful using more. Tegra uses 4MB -- is that a reasonable value?
4MB is reasonable when you start having to worry about 4KB page NAND and
UBI. I might have been a little harsh saying "really really small" and
1MB might be just enough to work with smaller page size NAND.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140317/38184e92/attachment.pgp>
More information about the U-Boot
mailing list