[U-Boot] [U-Boot, v3, 3/9] fat/fs: convert to directory iterators

Rob Clark robdclark at gmail.com
Sun Sep 17 12:53:23 UTC 2017


On Sun, Sep 17, 2017 at 7:08 AM, Adam Ford <aford173 at gmail.com> wrote:
>
> Adding the debug to master made no difference.  No debug messages appeared.
> Interestingly enough, some junk appeard, and the name of U-Boot name
> wasn't correctly displayed:
>
> **Sș017.09-00178-g08cebee-dirty (Sep 17 2017 - 06:01:07)
> Trying to boot from MMC1
>
> (hang)
>

hmm, one thing I noticed in doc/README.SPL:

"When building SPL with DEBUG set you may also need to set CONFIG_PANIC_HANG
as in most cases do_reset is not defined within SPL."

not sure if that would help.

Also, it has a section about estimating stack usage.. not sure if this
implies that stack size is constrained in spl?  If so, maybe that is
related.  The new directory iterators do move the buffer for current
block of dir_entry's to the stack.  Reducing
CONFIG_FS_FAT_MAX_CLUSTSIZE might help.

BR,
-R


More information about the U-Boot mailing list