[U-Boot] [PATCH/RFC] Some speed improvements to U-Boot JFFS2 code

Joakim Tjernlund joakim.tjernlund at transmode.se
Tue Nov 11 09:19:10 CET 2008


On Mon, 2008-11-10 at 22:49 -0800, Alexey Neyman wrote:
> Michael,
> 
> I tried to reproduce the bug you mentioned (multiple appearance of 
> directories in ls output) using the script you provided, to no avail: 
> ls correctly showed the top-level directory, both with and without 
> CFG_JFFS2_SORT_FRAGMENTS option.
> 
> I am inclined to suspect the same cause as you mentioned below:
> 
> > Our u-boot is not placed in flash were it is located to on compilation
> > time. static const char * points into flash space at some not properly
> > initialized flash space.
> 
> This would affect all global and static variables, with unpredictable 
> results. Could you try to reproduce this bug with u-boot placed at the 
> address it was linked to?

You can't do that. What you need is to enable fixup support. Try undoing
this commit 1c3dd43338a077165e7e0309cb3994e65d2bdbf8


More information about the U-Boot mailing list