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

Rob Herring robherring2 at gmail.com
Sun Sep 2 23:34:09 CEST 2012


On 09/02/2012 06:36 AM, Wolfgang Denk wrote:
> Dear Rob Herring,
> 
> In message <502963FC.70706 at 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/
<DIR>       4096 .
<DIR>       4096 ..
<DIR>      69632 bin
<DIR>       4096 games
<DIR>      20480 include
<DIR>      36864 lib
<DIR>       4096 local
<DIR>      12288 sbin
<DIR>      12288 share
<DIR>       4096 src
<DIR>       4096 x86_64-linux-gnu
<DIR>       4096 arm-linux-gnueabihf
<DIR>       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


More information about the U-Boot mailing list