Re: [U-Boot] fatls shows duplicated entries with long and short names

2013-11-22 Thread drambo
I reverted my local change and the directory listing shows no duplicates anymore which is surprising. An inspection of the generated assembly shows more or less the same code with the exception of the early branch taken if 'dols' is 0. The 16/8 comparison is still awkward, but at this point I'm not

Re: [U-Boot] fatls shows duplicated entries with long and short names

2013-11-22 Thread Wolfgang Denk
Dear Tom, In message <20131122205046.GU420@bill-the-cat> you wrote: > > So, the last report said that they had a tree missing > 6ad77d88e57f6ab815ec7e85c5ac329054318c73, but yours can't be. Can you > add some debug prints and see what's going on? Having > u8 foo = bar(); > if (a && foo == baz)

Re: [U-Boot] fatls shows duplicated entries with long and short names

2013-11-22 Thread Tom Rini
On Fri, Nov 22, 2013 at 11:31:29AM -0800, drambo wrote: > Hello, > > If it helps, I would respectfully like to add that I reverted this change > and it fixes my problem nicely. I'm on an ARM platform (not yet upstreamed > to u-boot), with a microSD card inserted with valid files on it that I can >

Re: [U-Boot] fatls shows duplicated entries with long and short names

2013-11-22 Thread drambo
Hello, If it helps, I would respectfully like to add that I reverted this change and it fixes my problem nicely. I'm on an ARM platform (not yet upstreamed to u-boot), with a microSD card inserted with valid files on it that I can read on other systems. I have an Oct 16, 2013 version of U-Boot 201

Re: [U-Boot] fatls shows duplicated entries with long and short names

2013-10-15 Thread Albert ARIBAUD
Hi Jagan, On Tue, 15 Oct 2013 12:51:19 +0530, Jagan Teki wrote: > On Tue, Oct 15, 2013 at 12:46 PM, Hector Palacios > wrote: > > Dear Jagan, > > > > > > On 10/14/2013 06:57 PM, Jagan Teki wrote: > >> > >> On Mon, Oct 14, 2013 at 9:37 PM, Tom Rini wrote: > >>> > >>> On Mon, Oct 14, 2013 at 06:0

Re: [U-Boot] fatls shows duplicated entries with long and short names

2013-10-15 Thread Jagan Teki
On Tue, Oct 15, 2013 at 12:46 PM, Hector Palacios wrote: > Dear Jagan, > > > On 10/14/2013 06:57 PM, Jagan Teki wrote: >> >> On Mon, Oct 14, 2013 at 9:37 PM, Tom Rini wrote: >>> >>> On Mon, Oct 14, 2013 at 06:00:20PM +0200, Hector Palacios wrote: Dear Marek, I noticed that 'fa

Re: [U-Boot] fatls shows duplicated entries with long and short names

2013-10-15 Thread Hector Palacios
Dear Jagan, On 10/14/2013 06:57 PM, Jagan Teki wrote: On Mon, Oct 14, 2013 at 9:37 PM, Tom Rini wrote: 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

Re: [U-Boot] fatls shows duplicated entries with long and short names

2013-10-14 Thread Jagan Teki
On Mon, Oct 14, 2013 at 9:37 PM, Tom Rini wrote: > 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 >> 2

Re: [U-Boot] fatls shows duplicated entries with long and short names

2013-10-14 Thread Tom Rini
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 >

Re: [U-Boot] fatls shows duplicated entries with long and short names

2013-10-14 Thread Marek Vasut
Dear Hector Palacios, > 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 uim

[U-Boot] fatls shows duplicated entries with long and short names

2013-10-14 Thread Hector Palacios
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 ff