From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 8 Oct 2017 23:12:28 -0400 Subject: [U-Boot] [PATCH] disk: part_dos: Use the original allocation scheme for the SPL case In-Reply-To: References: <1507134597-6831-1-git-send-email-fabio.estevam@nxp.com> <20171005043646.GB8685@largo.jsg.id.au> <20171008010634.GA93561@largo.jsg.id.au> <20171008140447.GA43745@largo.jsg.id.au> Message-ID: <20171009031228.GR25966@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Oct 08, 2017 at 10:56:26PM -0300, Fabio Estevam wrote: > On Sun, Oct 8, 2017 at 11:04 AM, Jonathan Gray wrote: > > > It turns out to be > > > > commit 2460098cffacd18729262e3ed36656e6943783ed > > Author: Tom Rini > > Date: Fri Sep 22 07:37:43 2017 -0400 > > > > fs/fat: Reduce stack usage > > > > We have limited stack in SPL builds. Drop itrblock and move to > > malloc/free of itr to move this off of the stack. As part of this fix a > > double-free issue in fat_size(). > > > > Signed-off-by: Tom Rini > > --- > > Rework to use malloc/free as moving this to a global overflows some SH > > targets. > > > > fs/fat/fat.c | 14 ++++++++++---- > > 1 file changed, 10 insertions(+), 4 deletions(-) > > > > With that reverted I just get the efi loader problem, no alignment errors. > > Thanks for doing the bisect. > > Tom, can you prepare a fix for this? No, this is a required fix for other platforms. Why is this failing in the particular case that it's failing in? -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: