From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Date: Mon, 08 Jun 2015 10:12:12 +0100 Subject: [U-Boot] [RFC 09/11] sunxi/nand: Enable UBI and NAND commands In-Reply-To: <55754679.4050403@ultimaker.com> References: <1433505164-24112-1-git-send-email-r.spliet@ultimaker.com> <1433505164-24112-10-git-send-email-r.spliet@ultimaker.com> <55730E29.8040807@redhat.com> <1433604973.3342.20.camel@hellion.org.uk> <55754679.4050403@ultimaker.com> Message-ID: <1433754732.7108.395.camel@hellion.org.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-06-08 at 09:38 +0200, Roy Spliet wrote: Please try and avoid sending HTML Mail as well as top posting. > Oh yes, thanks for pointing this one out. I increased the malloc pool > during debugging as google hinted towards UBI being rather > memory-hungry, but forgot to double-check whether it was required. I > just did, and as it turns out it really only needs to be increased to > 8MiB for UBI to work in my set-up. As we have plenty of memory anyway, > should I allocate some extra headroom for set-ups I haven't tested > (e.g. many partitions, large bad-block tables etc.) and go for 16MiB > instead? Either value WFM if the rationale for it is in the commit message. Ian.