Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    reducing linux image size

    I have to fit a linux image(kernel + application + bootloader) currently in 8MB flash to 4MB flash. Can anyone suggest me what approach to follow other than removing applications.

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2005
    The Hot Humid South
    Use a kernel from the 2.4.x tree and busybox with uClibc.

    The 2.6 line of kernels are very large, so using a 2.4 series kernel can help in reducing size. But if you have the extra space, go with the 2.6 as it's more up-to-date.

    Busybox and uClibc are actually 2 related projects. uClibc is a tiny implementation of the standard c library, and busybox includes most system application under a single executable.

    Another approach would be to use Minix as opposed to Linux. The biggest problem with Minix is drivers, but it's very small.
    "Today you are freer than ever to do what you want, provided you can pay for it!" --Bad Religion

  3. #3
    Thankx bidi,

    I'm already using busybox utils, also FYI memory footprint is

    kernel : 812 KB
    rootfs : 2500 KB
    kernel modules : 1500 KB
    bootloader : 400(approx.)

    Is there any scope in kernel image....?

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts