Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] zImage corruption
@ 2008-03-20 19:07 Will Wagner
  2008-03-21  8:05 ` Christian SCHWARZ
  0 siblings, 1 reply; 2+ messages in thread
From: Will Wagner @ 2008-03-20 19:07 UTC (permalink / raw)
  To: buildroot

Hi All,

I have been happily using buildroot for a while (thanks all its a great 
tool).

However I have started seeing a problem where the linux zImage being 
built gets corrupted and does not boot.

I am building a custom arm device using initramfs. If I checkout from 
clean and build it all works great and get a working zImage that is 
~7.5MB. However if I then run make again I get a zImage file that is 
~6.5MB and does not boot.

I have compared the root filesystems before and after calling make again 
and can see no difference. I have also tried doing a dirclean on the 
kernel and rebuilding and this still leads to a corrupt zImage.

Has anyone seen this before? Can anyone suggest what could be going on?

I can supply more config info if needed.

Thanks,
Will
-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Senior Project Engineer                  Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] zImage corruption
  2008-03-20 19:07 [Buildroot] zImage corruption Will Wagner
@ 2008-03-21  8:05 ` Christian SCHWARZ
  0 siblings, 0 replies; 2+ messages in thread
From: Christian SCHWARZ @ 2008-03-21  8:05 UTC (permalink / raw)
  To: buildroot

Hey Will,

I have similar troubles related to the rootfs created by buildroot, also 
on a custom ARM11 target. In my case, the Linux kernel is not able to 
start init (errors either -2, -8 or -14). In my case I had to replace 
the bin/ and etc/ directories with ones created outside in an (older) 
busybox directory.
The image sizes created by a "make" in buildroot vary greatly, sometimes 
there are 3 - 4 MB of space left in the image, sometimes only a few 
hundred kB.

cheers,
Christian


Will Wagner wrote:
> Hi All,
> 
> I have been happily using buildroot for a while (thanks all its a great 
> tool).
> 
> However I have started seeing a problem where the linux zImage being 
> built gets corrupted and does not boot.
> 
> I am building a custom arm device using initramfs. If I checkout from 
> clean and build it all works great and get a working zImage that is 
> ~7.5MB. However if I then run make again I get a zImage file that is 
> ~6.5MB and does not boot.
> 
> I have compared the root filesystems before and after calling make again 
> and can see no difference. I have also tried doing a dirclean on the 
> kernel and rebuilding and this still leads to a corrupt zImage.
> 
> Has anyone seen this before? Can anyone suggest what could be going on?
> 
> I can supply more config info if needed.
> 
> Thanks,
> Will

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-21  8:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-20 19:07 [Buildroot] zImage corruption Will Wagner
2008-03-21  8:05 ` Christian SCHWARZ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox