[U-Boot] [PATCH] Fix block device accesses beyond 2TiB

Frédéric Leroy fredo at starox.org
Mon Jun 24 11:46:46 CEST 2013


Le 22/06/2013 17:31, Albert ARIBAUD a écrit :
> Hi Frédéric,
>
> > However, the patch issues no warning at compile time and fixes the ide
> > block layer.
>
> OK -- anyone has any idea why Sasha's patch fixes reading from "far"
> blocks but does not fix ex2ls? Frankly, I'd prefer it if the patch
> fixed it all. :)

I did a quick look.
Ext2 code use "unsigned long" for the partition offset and "int" for
sector computation.
I will try to fix it, and try to test the other fs ( ext4, xfs, fat).
I would see one patch for the ide code, and one or more patch for the fs
code.
IMHO, Sascha patch can be applied as.

Regards,

-- 
Frederic Leroy


More information about the U-Boot mailing list