[U-Boot] [PATCH V5 1/2] ext4fs ls load support

Rob Herring
2012-09-02T21:34:09Z

On 09/02/2012 06:36 AM, Wolfgang Denk wrote:
> Dear Rob Herring,
>
> In message <502963FC.70706@gmail.com> you wrote:
>>
>>> Can you upload the image somewhere? And indicate which exact
>>> problems we should look for?
>>
>> Yes, I'll have to recreate one with a reasonable size.
>
> Did you manage to find time to create an image that couldbe used for
> testing this issue?

I tried, but unfortunately with a smaller partition it all works fine.
So a 1.2GB partition was fine and a ~250GB partition was not. I'm not
sure where the breaking point is. Perhaps just taking a hard disk with
an x86 install to ext4 fs would be enough to test this. Doing this using
highbank qemu model and the disk image being my laptop's drive, I don't
see 0 length directories, but I do see other issues reading some
directories:

Highbank #ext2ls scsi 0:1 /usr/
4096 .
4096 ..
69632 bin
4096 games
20480 include
36864 lib
4096 local
12288 sbin
12288 share
4096 src
4096 x86_64-linux-gnu
4096 arm-linux-gnueabihf
4096 arm-linux-gnueabi
Highbank #ext2ls scsi 0:1 /usr/bin
invalid extent block

I would say go ahead and merge this. It's at least usable for smaller
/boot type partitions and may not show up on SD and MMC cards.

Rob