[U-Boot] [PATCH] disk: part_dos: Use the original allocation scheme for the SPL case
Jonathan Gray
jsg at jsg.id.au
Sun Oct 8 14:04:47 UTC 2017
On Sun, Oct 08, 2017 at 09:56:15AM -0300, Fabio Estevam wrote:
> On Sat, Oct 7, 2017 at 10:06 PM, Jonathan Gray <jsg at jsg.id.au> wrote:
>
> > I wonder if you have the same kind of fat filesystem.
>
> No, I have only used ext4 file system.
>
> > Can you try writing
> > https://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/miniroot-cubox-62.fs
> > to an sd card then write a new SPL/U-Boot at the standard raw offsets?
>
> Maybe it will be easier if you try a 'git bisect' to find out where
> the regression is coming from.
It turns out to be
commit 2460098cffacd18729262e3ed36656e6943783ed
Author: Tom Rini <trini at konsulko.com>
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 <trini at konsulko.com>
---
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.
More information about the U-Boot
mailing list