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

Re: [microblaze-uclinux] Error -3 while decompressing!



Jivin Monthadar Al-Jaberi lays it down ...
> Hi,
> 
> Thank you for clarifying, but why would the pre-built image.bin that
> comes with peta-linux work? It is also using cramfs.

Sorry for a slow response,  I was hoping someone with MB experience
might know what could be casing you RAM to be bad or getting corrupted
at runtime.

I have no better ideas sorry,

Cheers,
Davidm

> On Fri, Oct 10, 2008 at 2:07 AM, David McCullough
> <David_Mccullough@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > Jivin Monthadar Al-Jaberi lays it down ...
> >> Just an update,
> >>
> >> I changed the filesystem from cramfs to romfs. And it booted and
> >> everything seems to work.
> >> Only thing was that the image became larger from ~4MB to ~6MB.  Other
> >> than that it seems it is fairly safe to use romfs instead cramfs?
> >>
> >> This also confirms my suspicion about zlib. Becuase installing in
> >> ubuntu zlib1g-dev is not the solution. We are cross-compiling right? I
> >> should link to the zlib in the petalinux distribution.
> >
> > Your problem is more likely due to unreliable RAM.
> >
> > cramfs (due to decompression) works RAM a lot harder than romfs even if
> > both are in RAM.  If your romfs in in ROM,  the RAM is not working
> > anywhere near as hard ;-)
> >
> > Also,  cramfs's decompression actually checks things are making sense.
> > romfs does not.
> >
> > Cheers,
> > Davidm
> >
> > --
> > David McCullough,  david_mccullough@xxxxxxxxxxxxxxxxxxx,   Ph:+61 734352815
> > Secure Computing - SnapGear  http://www.uCdot.org   http://www.snapgear.com
> > ___________________________
> > microblaze-uclinux mailing list
> > microblaze-uclinux@xxxxxxxxxxxxxx
> > Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> > Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
> >
> >
> 
> 
> 
> -- 
> //Monthadar Al Jaberi
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
> 

-- 
David McCullough,  david_mccullough@xxxxxxxxxxxxxxxxxxx,   Ph:+61 734352815
Secure Computing - SnapGear  http://www.uCdot.org   http://www.snapgear.com
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/