[U-Boot] fatls shows duplicated entries with long and short names
Tom Rini
trini at ti.com
Mon Oct 14 18:07:37 CEST 2013
On Mon, Oct 14, 2013 at 06:00:20PM +0200, Hector Palacios wrote:
> Dear Marek,
>
> I noticed that 'fatls' displays duplicated filenames (short and
> long) for every file in the media:
>
> # fatls mmc 0
> 2083460 uimage-myplatform
> 2083460 uimage~1
> 1520 rootfs-dummy.jffs2
> 1520 rootfs~1.jff
> 3294952 uimage
> 3294952 uimage
>
> The guilty commit is ff04f6d1224d8952b566b8671222151495883073 by
> you, who moved the chksum calculation out of an if() and now the
> code never enters this:
>
> #ifdef CONFIG_SUPPORT_VFAT
> else if (dols == LS_ROOT && csum == prevcksum) {
> prevcksum = 0xffff;
> dentptr++;
> continue;
> }
> #endif
>
> Could you please check?
Can you please provide more details about your platform and what U-Boot
rev you see this on exactly? I haven't seen anything like this on
Beaglebone Black recently, for example.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131014/146f80ab/attachment.pgp>
More information about the U-Boot
mailing list