Dear unsik Kim, In message <[email protected]> you wrote: > Hello, all? > > Currently ext2ls, ext2load not working (I think sometimes it will work.) > The reason is incorrect operations of ext2fs_read_inode and ext2fs_blockgroup. > > I fix miscalculated block number(blkno) and offset (blkoff), and some > hard coded values.
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? 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: [email protected] I read part of it all the way through. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

