[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Error -3 while decompressing!
Isn't there anyone who had problems when running
yes "" | make oldconfig dep all
and got zlib.h not found? And didn't just install sudo apt-get install
libz1g-dev?!
br
On Fri, Oct 10, 2008 at 12:54 PM, Monthadar Al-Jaberi
<monthadar@xxxxxxxxx> wrote:
> Hi,
>
> Thank you for clarifying, but why would the pre-built image.bin that
> comes with peta-linux work? It is also using cramfs.
>
> best regards,
>
> 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
>
--
//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/