2010-01-12 05:47:41     Small uClinux Kernel

Document created by Aaronwu Employee on Aug 20, 2013
Version 1Show Document
  • View in full screen mode

2010-01-12 05:47:41     Small uClinux Kernel

Vinay Kumar (INDIA)

Message: 84457   

 

Hi,

 

I am a new bee to linux,

 

I am using Blackfin uClinux-Dist2009R1 to build the kernel for BF527 board, I have only 4MB Flash, I randomly removed few features just by going through the help but still the Kernel(vmLinux) size remains to be 2.2MB and filesystem(rootfs.initramfs) size is around 3.5MB.

 

Please suggest me, what should i do to reduce the size of the kernel.

QuoteReplyEditDelete

 

 

2010-01-12 07:00:15     Small uClinux Kernel

Michael Hennerich (GERMANY)

Message: 84460    It is possible to fit kernel + user space into 1MB of flash.

Take a look here:

  docs.blackfin.uclinux.org/doku.php?id=fast_boot_example&s[]=fastboot

 

When you disable unused kernel modules - you should clean your uclinux-dist/romfs/lib directory.

Simply rm the entire romfs dir.

 

-Michael

QuoteReplyEditDelete

 

 

2010-01-12 08:48:27     Re: Small uClinux Kernel

Robin Getz (UNITED STATES)

Message: 84464   

 

Vinay:

 

Also have a look at the faq - it has a few tips:

 

https://docs.blackfin.uclinux.org/doku.php?id=faq#folded_25 (My uImage is too large to burn in my flash)

 

-Robin

QuoteReplyEditDelete

 

 

2010-01-12 21:34:10     Re: Small uClinux Kernel

Vinay Kumar (INDIA)

Message: 84490   

 

Thank you Robin and Michael, I am able my kernel size.

Attachments

    Outcomes