Re: OMAP4 Panda - MMC access broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 10, 2012 at 2:53 PM, Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote:
On Mon, Apr 02, 2012 at 08:07:16PM +0530, Anand Gadiyar wrote:
> On Fri, Mar 30, 2012 at 10:04 PM, Anand Gadiyar <gadiyar@xxxxxxxxx> wrote:
>
> > Hi all,
> >
> > I've just started playing with barebox on OMAP4. I see that with "Release
> > v2011.11.0", my Panda could access the SD card contents, but with the
> > current release it can no longer do so.
> >
> > Git bisect shows commit 82db23d3f4c1de25bbd4b222a3bd9e81d00414f8 (Use
> > generic block layer to access the drives and do partition parsing) is when
> > it stopped working.
> >
> > Any pointers?
> >
> > Thanks in advance,
> > Anand
> >
> >
> Found the problem. I was using a 4GB SD card with just a single FAT32
> partition. The pentry.size is reported as 7744449 which fails the
> check_offset_value() call.
> I think this is the same issue Sanjeev reported in February.
>
> Below patch seems to fix the issue for now. But I'm not sure what's the
> correct way to fix this.

The correct way would be to make all this stuff 64bit types. I am
working for this for quite some time and have a series for an older
barebox doing this. I would have to rebase it.

Okay. Will be happy to test when you send it out.

Thanks,
Anand

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox

[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux