From: Wolfgang Denk Date: Tue, 31 Mar 2009 22:49:27 +0200 Subject: [U-Boot] Problems with ext2ls & SD In-Reply-To: <22756563.post@talk.nabble.com> References: <22728281.post@talk.nabble.com> <22756563.post@talk.nabble.com> Message-ID: <20090331204927.E031E83797DC@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear DVM, In message <22756563.post@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