[U-Boot] Problems with ext2ls & SD

Wolfgang Denk wd at denx.de
Tue Mar 31 22:49:27 CEST 2009


Dear DVM,

In message <22756563.post at talk.nabble.com> you wrote:
> 
> Further debugging reveals UBoot uses a fixed length for inodes (128 bye). The
> inodes on my 2GB SD card are 256 bytes There was a patch that fizzled out
> back in January looking at this
...
> This seems to improve matters for me BUT I dont have any other hardware to
> test on and I am no ext2fs guru. Does anyone else have any ideas?

If you read my reply to that e-mail you read what I'm replying to you:

|Hm.... I tried the current code without your patch but I could not
|find any error case.
|
|But with your patch applied, I got this:
|
|=> ext2ls ide 0:4 bin
| ** ext2fs_devread() read outside partition sector 536870912
|Failed to mount ext2 filesystem...
|** Bad ext2 partition or disk - ide 0:4 **
|
|
|I tested this on a PowerPC system (big endian). Any chance there might
|be some endianess issues with your patch?

Please provide at least a test image!

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's not an optical illusion, it just looks like one.   -- Phil White


More information about the U-Boot mailing list